Home
last modified time | relevance | path

Searched refs:getProfileCount (Results 1 – 13 of 13) sorted by relevance

/llvm-project-15.0.7/llvm/lib/Analysis/
H A DProfileSummaryInfo.cpp76 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 DModuleSummaryAnalysis.cpp370 auto ScaledCount = PSI->getProfileCount(*CB, BFI); in computeFunctionSummary()
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCGStmt.cpp819 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 DCodeGenFunction.cpp1710 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 DCGExprComplex.cpp1040 CGF.getProfileCount(E)); in VisitAbstractConditionalOperator()
H A DCGStmtOpenMP.cpp1899 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 DCGExprScalar.cpp4379 CGF.getProfileCount(E->getRHS())); in VisitBinLAnd()
4496 CGF.getProfileCount(E->getRHS())); in VisitBinLOr()
4687 CGF.getProfileCount(lhsExpr)); in VisitAbstractConditionalOperator()
H A DCGObjC.cpp1816 createProfileWeights(EntryCount, getProfileCount(S.getBody()))); in EmitObjCForCollectionStmt()
1997 createProfileWeights(getProfileCount(S.getBody()), EntryCount)); in EmitObjCForCollectionStmt()
H A DCGExprAgg.cpp1245 CGF.getProfileCount(E)); in VisitAbstractConditionalOperator()
H A DCodeGenFunction.h1536 uint64_t getProfileCount(const Stmt *S) {
H A DCGExpr.cpp4658 CGF.getProfileCount(E)); in EmitConditionalBlocks()
/llvm-project-15.0.7/llvm/include/llvm/Analysis/
H A DProfileSummaryInfo.h100 Optional<uint64_t> getProfileCount(const CallBase &CallInst,
/llvm-project-15.0.7/llvm/lib/Transforms/Utils/
H A DInlineFunction.cpp1639 auto CallSiteCount = PSI ? PSI->getProfileCount(TheCall, CallerBFI) : None; in updateCallProfile()