Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/llvm/lib/Analysis/
H A DProfileSummaryInfo.cpp79 std::optional<uint64_t> ProfileSummaryInfo::getProfileCount( in getProfileCount() function in ProfileSummaryInfo
129 if (auto CallCount = getProfileCount(cast<CallBase>(I), nullptr)) in isFunctionHotInCallGraph()
158 if (auto CallCount = getProfileCount(cast<CallBase>(I), nullptr)) in isFunctionColdInCallGraph()
192 if (auto CallCount = getProfileCount(cast<CallBase>(I), nullptr)) in isFunctionHotOrColdInCallGraphNthPercentile()
362 auto C = getProfileCount(CB, BFI); in isHotCallSite()
368 auto C = getProfileCount(CB, BFI); in isColdCallSite()
H A DModuleSummaryAnalysis.cpp377 auto ScaledCount = PSI->getProfileCount(*CB, BFI); in computeFunctionSummary()
/openbsd-src/gnu/llvm/clang/lib/CodeGen/
H A DCGStmt.cpp829 uint64_t ThenCount = getProfileCount(S.getThen()); in EmitIfStmt()
915 createProfileWeightsForLoop(S.getCond(), getProfileCount(S.getBody())); in EmitWhileStmt()
1009 uint64_t BackedgeCount = getProfileCount(S.getBody()) - ParentCount; in EmitDoStmt()
1095 createProfileWeightsForLoop(S.getCond(), getProfileCount(S.getBody())); in EmitForStmt()
1180 createProfileWeightsForLoop(S.getCond(), getProfileCount(S.getBody())); in EmitCXXForRangeStmt()
1441 uint64_t Total = getProfileCount(&S); in EmitCaseStmtRange()
1483 uint64_t ThisCount = getProfileCount(&S); in EmitCaseStmtRange()
1552 SwitchWeights->push_back(getProfileCount(&S)); in EmitCaseStmt()
1568 SwitchWeights->push_back(getProfileCount(&S)); in EmitCaseStmt()
1594 SwitchWeights->push_back(getProfileCount(NextCase)); in EmitCaseStmt()
[all …]
H A DCodeGenFunction.cpp1733 uint64_t RHSCount = getProfileCount(CondBOp->getRHS()); in EmitBranchOnBoolExpr()
1747 setCurrentProfileCount(getProfileCount(CondBOp->getRHS())); in EmitBranchOnBoolExpr()
1786 getCurrentProfileCount() - getProfileCount(CondBOp->getRHS()); in EmitBranchOnBoolExpr()
1801 setCurrentProfileCount(getProfileCount(CondBOp->getRHS())); in EmitBranchOnBoolExpr()
1836 getProfileCount(CondOp), Stmt::LH_None); in EmitBranchOnBoolExpr()
1846 getProfileCount(CondOp) / (double)getCurrentProfileCount(); in EmitBranchOnBoolExpr()
H A DCGStmtOpenMP.cpp1907 getProfileCount(D.getBody())); in EmitOMPLoopBody()
2115 EmitBranchOnBoolExpr(LoopCond, LoopBody, ExitBlock, getProfileCount(&S)); in EmitOMPInnerLoop()
2537 CGF.getProfileCount(&S)); in emitOMPSimdRegion()
3299 getProfileCount(&S)); in EmitOMPWorksharingLoop()
5600 getProfileCount(&S)); in EmitOMPDistributeLoop()
7567 CGF.getProfileCount(&S)); in EmitOMPTaskLoopBasedDirective()
H A DCGExprComplex.cpp1213 CGF.getProfileCount(E)); in VisitAbstractConditionalOperator()
H A DCGExprScalar.cpp4550 CGF.getProfileCount(E->getRHS())); in VisitBinLAnd()
4667 CGF.getProfileCount(E->getRHS())); in VisitBinLOr()
4858 CGF.getProfileCount(lhsExpr)); in VisitAbstractConditionalOperator()
H A DCGObjC.cpp1868 createProfileWeights(EntryCount, getProfileCount(S.getBody()))); in EmitObjCForCollectionStmt()
2049 createProfileWeights(getProfileCount(S.getBody()), EntryCount)); in EmitObjCForCollectionStmt()
H A DCGExprAgg.cpp1263 CGF.getProfileCount(E)); in VisitAbstractConditionalOperator()
H A DCodeGenFunction.h1538 uint64_t getProfileCount(const Stmt *S) {
H A DCGExpr.cpp4634 CGF.getProfileCount(E)); in EmitConditionalBlocks()
/openbsd-src/gnu/llvm/llvm/include/llvm/Analysis/
H A DProfileSummaryInfo.h101 std::optional<uint64_t> getProfileCount(const CallBase &CallInst,
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Utils/
H A DInlineFunction.cpp1861 PSI ? PSI->getProfileCount(TheCall, CallerBFI) : std::nullopt; in updateCallProfile()