Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/llvm/lib/Analysis/
H A DProfileSummaryInfo.cpp77 Optional<uint64_t> ProfileSummaryInfo::getProfileCount( in getProfileCount() function in ProfileSummaryInfo
127 if (auto CallCount = getProfileCount(cast<CallBase>(I), nullptr)) in isFunctionHotInCallGraph()
156 if (auto CallCount = getProfileCount(cast<CallBase>(I), nullptr)) in isFunctionColdInCallGraph()
190 if (auto CallCount = getProfileCount(cast<CallBase>(I), nullptr)) in isFunctionHotOrColdInCallGraphNthPercentile()
360 auto C = getProfileCount(CB, BFI); in isHotCallSite()
366 auto C = getProfileCount(CB, BFI); in isColdCallSite()
H A DModuleSummaryAnalysis.cpp339 auto ScaledCount = PSI->getProfileCount(*CB, BFI); in computeFunctionSummary()
/freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/
H A DCGStmt.cpp758 uint64_t Count = getProfileCount(S.getThen()); in EmitIfStmt()
843 createProfileWeightsForLoop(S.getCond(), getProfileCount(S.getBody())); in EmitWhileStmt()
937 uint64_t BackedgeCount = getProfileCount(S.getBody()) - ParentCount; in EmitDoStmt()
1023 createProfileWeightsForLoop(S.getCond(), getProfileCount(S.getBody())); in EmitForStmt()
1108 createProfileWeightsForLoop(S.getCond(), getProfileCount(S.getBody())); in EmitCXXForRangeStmt()
1369 uint64_t Total = getProfileCount(&S); in EmitCaseStmtRange()
1411 uint64_t ThisCount = getProfileCount(&S); in EmitCaseStmtRange()
1465 SwitchWeights->push_back(getProfileCount(&S)); in EmitCaseStmt()
1481 SwitchWeights->push_back(getProfileCount(&S)); in EmitCaseStmt()
1507 SwitchWeights->push_back(getProfileCount(NextCase)); in EmitCaseStmt()
[all …]
H A DCodeGenFunction.cpp1650 uint64_t RHSCount = getProfileCount(CondBOp->getRHS()); in EmitBranchOnBoolExpr()
1664 setCurrentProfileCount(getProfileCount(CondBOp->getRHS())); in EmitBranchOnBoolExpr()
1703 getCurrentProfileCount() - getProfileCount(CondBOp->getRHS()); in EmitBranchOnBoolExpr()
1718 setCurrentProfileCount(getProfileCount(CondBOp->getRHS())); in EmitBranchOnBoolExpr()
1753 getProfileCount(CondOp), Stmt::LH_None); in EmitBranchOnBoolExpr()
1763 getProfileCount(CondOp) / (double)getCurrentProfileCount(); in EmitBranchOnBoolExpr()
H A DCGStmtOpenMP.cpp1881 getProfileCount(D.getBody())); in EmitOMPLoopBody()
2073 EmitBranchOnBoolExpr(LoopCond, LoopBody, ExitBlock, getProfileCount(&S)); in EmitOMPInnerLoop()
2502 CGF.getProfileCount(&S)); in emitOMPSimdRegion()
3107 getProfileCount(&S)); in EmitOMPWorksharingLoop()
5099 getProfileCount(&S)); in EmitOMPDistributeLoop()
6912 CGF.getProfileCount(&S)); in EmitOMPTaskLoopBasedDirective()
H A DCGExprComplex.cpp1040 CGF.getProfileCount(E)); in VisitAbstractConditionalOperator()
H A DCGExprScalar.cpp4316 CGF.getProfileCount(E->getRHS())); in VisitBinLAnd()
4433 CGF.getProfileCount(E->getRHS())); in VisitBinLOr()
4623 CGF.getProfileCount(lhsExpr)); in VisitAbstractConditionalOperator()
H A DCGObjC.cpp1810 createProfileWeights(EntryCount, getProfileCount(S.getBody()))); in EmitObjCForCollectionStmt()
1992 createProfileWeights(getProfileCount(S.getBody()), EntryCount)); in EmitObjCForCollectionStmt()
H A DCGExprAgg.cpp1242 CGF.getProfileCount(E)); in VisitAbstractConditionalOperator()
H A DCodeGenFunction.h1494 uint64_t getProfileCount(const Stmt *S) {
H A DCGExpr.cpp4559 EmitBranchOnBoolExpr(condExpr, lhsBlock, rhsBlock, getProfileCount(expr)); in EmitConditionalOperatorLValue()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DProfileSummaryInfo.h100 Optional<uint64_t> getProfileCount(const CallBase &CallInst,
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DInlineFunction.cpp1613 auto CallSiteCount = PSI ? PSI->getProfileCount(TheCall, CallerBFI) : None; in updateCallProfile()