Searched defs:TrueCount (Results 1 - 3 of 3) sorted by relevance

/external/clang/lib/CodeGen/
H A DCodeGenPGO.cpp842 llvm::MDNode *CodeGenPGO::createBranchWeights(uint64_t TrueCount, argument
845 if (!TrueCount && !FalseCount)
849 uint64_t Scale = calculateWeightScale(std::max(TrueCount, FalseCount));
852 return MDHelper.createBranchWeights(scaleBranchWeight(TrueCount, Scale),
H A DCodeGenFunction.cpp1026 uint64_t TrueCount) {
1043 TrueCount);
1052 TrueCount);
1058 // The counter tells us how often we evaluate RHS, and all of TrueCount
1072 EmitBranchOnBoolExpr(CondBOp->getRHS(), TrueBlock, FalseBlock, TrueCount);
1089 TrueCount);
1098 TrueCount);
1108 uint64_t RHSCount = TrueCount - LHSCount;
1132 uint64_t FalseCount = PGO.getCurrentRegionCount() - TrueCount;
1154 if (TrueCount) {
1023 EmitBranchOnBoolExpr(const Expr *Cond, llvm::BasicBlock *TrueBlock, llvm::BasicBlock *FalseBlock, uint64_t TrueCount) argument
[all...]
H A DCoverageMappingGen.cpp831 Counter TrueCount = getRegionCounter(E); local
833 propagateCounts(TrueCount, E->getTrueExpr());
834 propagateCounts(subtractCounters(ParentCount, TrueCount),

Completed in 204 milliseconds