Searched refs:TrueCount (Results 1 – 5 of 5) sorted by relevance
/external/clang/lib/CodeGen/ |
D | CodeGenFunction.cpp | 1189 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 …]
|
D | CodeGenPGO.cpp | 537 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()
|
D | CoverageMappingGen.cpp | 889 Counter TrueCount = getRegionCounter(E); in VisitAbstractConditionalOperator() local 895 propagateCounts(TrueCount, E->getTrueExpr()); in VisitAbstractConditionalOperator() 898 propagateCounts(subtractCounters(ParentCount, TrueCount), in VisitAbstractConditionalOperator()
|
D | CodeGenFunction.h | 971 llvm::MDNode *createProfileWeights(uint64_t TrueCount, uint64_t FalseCount); 3185 llvm::BasicBlock *FalseBlock, uint64_t TrueCount);
|
D | CGStmtOpenMP.cpp | 1458 llvm::BasicBlock *FalseBlock, uint64_t TrueCount) { in emitPreCond() argument 1471 CGF.EmitBranchOnBoolExpr(Cond, TrueBlock, FalseBlock, TrueCount); in emitPreCond()
|