Searched refs:getProfileCount (Results 1 – 13 of 13) sorted by relevance
| /llvm-project-15.0.7/llvm/lib/Analysis/ |
| H A D | ProfileSummaryInfo.cpp | 76 Optional<uint64_t> ProfileSummaryInfo::getProfileCount( in getProfileCount() function in ProfileSummaryInfo 126 if (auto CallCount = getProfileCount(cast<CallBase>(I), nullptr)) in isFunctionHotInCallGraph() 155 if (auto CallCount = getProfileCount(cast<CallBase>(I), nullptr)) in isFunctionColdInCallGraph() 189 if (auto CallCount = getProfileCount(cast<CallBase>(I), nullptr)) in isFunctionHotOrColdInCallGraphNthPercentile() 359 auto C = getProfileCount(CB, BFI); in isHotCallSite() 365 auto C = getProfileCount(CB, BFI); in isColdCallSite()
|
| H A D | ModuleSummaryAnalysis.cpp | 370 auto ScaledCount = PSI->getProfileCount(*CB, BFI); in computeFunctionSummary()
|
| /llvm-project-15.0.7/clang/lib/CodeGen/ |
| H A D | CGStmt.cpp | 819 uint64_t Count = getProfileCount(S.getThen()); in EmitIfStmt() 904 createProfileWeightsForLoop(S.getCond(), getProfileCount(S.getBody())); in EmitWhileStmt() 998 uint64_t BackedgeCount = getProfileCount(S.getBody()) - ParentCount; in EmitDoStmt() 1084 createProfileWeightsForLoop(S.getCond(), getProfileCount(S.getBody())); in EmitForStmt() 1169 createProfileWeightsForLoop(S.getCond(), getProfileCount(S.getBody())); in EmitCXXForRangeStmt() 1430 uint64_t Total = getProfileCount(&S); in EmitCaseStmtRange() 1472 uint64_t ThisCount = getProfileCount(&S); in EmitCaseStmtRange() 1541 SwitchWeights->push_back(getProfileCount(&S)); in EmitCaseStmt() 1557 SwitchWeights->push_back(getProfileCount(&S)); in EmitCaseStmt() 1583 SwitchWeights->push_back(getProfileCount(NextCase)); in EmitCaseStmt() [all …]
|
| H A D | CodeGenFunction.cpp | 1710 uint64_t RHSCount = getProfileCount(CondBOp->getRHS()); in EmitBranchOnBoolExpr() 1724 setCurrentProfileCount(getProfileCount(CondBOp->getRHS())); in EmitBranchOnBoolExpr() 1763 getCurrentProfileCount() - getProfileCount(CondBOp->getRHS()); in EmitBranchOnBoolExpr() 1778 setCurrentProfileCount(getProfileCount(CondBOp->getRHS())); in EmitBranchOnBoolExpr() 1813 getProfileCount(CondOp), Stmt::LH_None); in EmitBranchOnBoolExpr() 1823 getProfileCount(CondOp) / (double)getCurrentProfileCount(); in EmitBranchOnBoolExpr()
|
| H A D | CGExprComplex.cpp | 1040 CGF.getProfileCount(E)); in VisitAbstractConditionalOperator()
|
| H A D | CGStmtOpenMP.cpp | 1899 getProfileCount(D.getBody())); in EmitOMPLoopBody() 2107 EmitBranchOnBoolExpr(LoopCond, LoopBody, ExitBlock, getProfileCount(&S)); in EmitOMPInnerLoop() 2529 CGF.getProfileCount(&S)); in emitOMPSimdRegion() 3241 getProfileCount(&S)); in EmitOMPWorksharingLoop() 5536 getProfileCount(&S)); in EmitOMPDistributeLoop() 7591 CGF.getProfileCount(&S)); in EmitOMPTaskLoopBasedDirective()
|
| H A D | CGExprScalar.cpp | 4379 CGF.getProfileCount(E->getRHS())); in VisitBinLAnd() 4496 CGF.getProfileCount(E->getRHS())); in VisitBinLOr() 4687 CGF.getProfileCount(lhsExpr)); in VisitAbstractConditionalOperator()
|
| H A D | CGObjC.cpp | 1816 createProfileWeights(EntryCount, getProfileCount(S.getBody()))); in EmitObjCForCollectionStmt() 1997 createProfileWeights(getProfileCount(S.getBody()), EntryCount)); in EmitObjCForCollectionStmt()
|
| H A D | CGExprAgg.cpp | 1245 CGF.getProfileCount(E)); in VisitAbstractConditionalOperator()
|
| H A D | CodeGenFunction.h | 1536 uint64_t getProfileCount(const Stmt *S) {
|
| H A D | CGExpr.cpp | 4658 CGF.getProfileCount(E)); in EmitConditionalBlocks()
|
| /llvm-project-15.0.7/llvm/include/llvm/Analysis/ |
| H A D | ProfileSummaryInfo.h | 100 Optional<uint64_t> getProfileCount(const CallBase &CallInst,
|
| /llvm-project-15.0.7/llvm/lib/Transforms/Utils/ |
| H A D | InlineFunction.cpp | 1639 auto CallSiteCount = PSI ? PSI->getProfileCount(TheCall, CallerBFI) : None; in updateCallProfile()
|