Home
last modified time | relevance | path

Searched refs:TrueCount (Results 1 – 5 of 5) sorted by relevance

/external/clang/lib/CodeGen/
DCodeGenFunction.cpp1189 uint64_t TrueCount) { in EmitBranchOnBoolExpr() argument
1204 TrueCount); in EmitBranchOnBoolExpr()
1213 TrueCount); in EmitBranchOnBoolExpr()
1235 EmitBranchOnBoolExpr(CondBOp->getRHS(), TrueBlock, FalseBlock, TrueCount); in EmitBranchOnBoolExpr()
1250 TrueCount); in EmitBranchOnBoolExpr()
1259 TrueCount); in EmitBranchOnBoolExpr()
1270 uint64_t RHSCount = TrueCount - LHSCount; in EmitBranchOnBoolExpr()
1296 uint64_t FalseCount = getCurrentProfileCount() - TrueCount; in EmitBranchOnBoolExpr()
1318 if (TrueCount) { in EmitBranchOnBoolExpr()
1321 LHSScaledTrueCount = TrueCount * LHSRatio; in EmitBranchOnBoolExpr()
[all …]
DCodeGenPGO.cpp537 uint64_t TrueCount = setCount(PGO.getRegionCount(E)); in VisitAbstractConditionalOperator() local
538 CountMap[E->getTrueExpr()] = TrueCount; in VisitAbstractConditionalOperator()
542 uint64_t FalseCount = setCount(ParentCount - TrueCount); in VisitAbstractConditionalOperator()
847 llvm::MDNode *CodeGenFunction::createProfileWeights(uint64_t TrueCount, in createProfileWeights() argument
850 if (!TrueCount && !FalseCount) in createProfileWeights()
854 uint64_t Scale = calculateWeightScale(std::max(TrueCount, FalseCount)); in createProfileWeights()
857 return MDHelper.createBranchWeights(scaleBranchWeight(TrueCount, Scale), in createProfileWeights()
DCoverageMappingGen.cpp889 Counter TrueCount = getRegionCounter(E); in VisitAbstractConditionalOperator() local
895 propagateCounts(TrueCount, E->getTrueExpr()); in VisitAbstractConditionalOperator()
898 propagateCounts(subtractCounters(ParentCount, TrueCount), in VisitAbstractConditionalOperator()
DCodeGenFunction.h971 llvm::MDNode *createProfileWeights(uint64_t TrueCount, uint64_t FalseCount);
3185 llvm::BasicBlock *FalseBlock, uint64_t TrueCount);
DCGStmtOpenMP.cpp1458 llvm::BasicBlock *FalseBlock, uint64_t TrueCount) { in emitPreCond() argument
1471 CGF.EmitBranchOnBoolExpr(Cond, TrueBlock, FalseBlock, TrueCount); in emitPreCond()