Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/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()
/netbsd-src/external/apache2/llvm/dist/clang/lib/CodeGen/
H A DCGStmt.cpp755 uint64_t Count = getProfileCount(S.getThen()); in EmitIfStmt()
840 createProfileWeightsForLoop(S.getCond(), getProfileCount(S.getBody())); in EmitWhileStmt()
934 uint64_t BackedgeCount = getProfileCount(S.getBody()) - ParentCount; in EmitDoStmt()
1020 createProfileWeightsForLoop(S.getCond(), getProfileCount(S.getBody())); in EmitForStmt()
1105 createProfileWeightsForLoop(S.getCond(), getProfileCount(S.getBody())); in EmitCXXForRangeStmt()
1331 uint64_t Total = getProfileCount(&S); in EmitCaseStmtRange()
1373 uint64_t ThisCount = getProfileCount(&S); in EmitCaseStmtRange()
1427 SwitchWeights->push_back(getProfileCount(&S)); in EmitCaseStmt()
1443 SwitchWeights->push_back(getProfileCount(&S)); in EmitCaseStmt()
1469 SwitchWeights->push_back(getProfileCount(NextCase)); in EmitCaseStmt()
[all …]
H A DCodeGenFunction.cpp1636 uint64_t RHSCount = getProfileCount(CondBOp->getRHS()); in EmitBranchOnBoolExpr()
1650 setCurrentProfileCount(getProfileCount(CondBOp->getRHS())); in EmitBranchOnBoolExpr()
1689 getCurrentProfileCount() - getProfileCount(CondBOp->getRHS()); in EmitBranchOnBoolExpr()
1704 setCurrentProfileCount(getProfileCount(CondBOp->getRHS())); in EmitBranchOnBoolExpr()
1739 getProfileCount(CondOp), Stmt::LH_None); in EmitBranchOnBoolExpr()
1749 getProfileCount(CondOp) / (double)getCurrentProfileCount(); in EmitBranchOnBoolExpr()
H A DCGStmtOpenMP.cpp1873 getProfileCount(D.getBody())); in EmitOMPLoopBody()
2065 EmitBranchOnBoolExpr(LoopCond, LoopBody, ExitBlock, getProfileCount(&S)); in EmitOMPInnerLoop()
2497 CGF.getProfileCount(&S)); in emitOMPSimdRegion()
3080 getProfileCount(&S)); in EmitOMPWorksharingLoop()
5073 getProfileCount(&S)); in EmitOMPDistributeLoop()
6879 CGF.getProfileCount(&S)); in EmitOMPTaskLoopBasedDirective()
H A DCGExprComplex.cpp1040 CGF.getProfileCount(E)); in VisitAbstractConditionalOperator()
H A DCGExprScalar.cpp4303 CGF.getProfileCount(E->getRHS())); in VisitBinLAnd()
4420 CGF.getProfileCount(E->getRHS())); in VisitBinLOr()
4610 CGF.getProfileCount(lhsExpr)); in VisitAbstractConditionalOperator()
H A DCGObjC.cpp1809 createProfileWeights(EntryCount, getProfileCount(S.getBody()))); in EmitObjCForCollectionStmt()
1990 createProfileWeights(getProfileCount(S.getBody()), EntryCount)); in EmitObjCForCollectionStmt()
H A DCGExprAgg.cpp1238 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()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Analysis/
H A DProfileSummaryInfo.h100 Optional<uint64_t> getProfileCount(const CallBase &CallInst,
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/
H A DInlineFunction.cpp1610 auto CallSiteCount = PSI ? PSI->getProfileCount(TheCall, CallerBFI) : None; in updateCallProfile()