Searched refs:getProfileCount (Results 1 – 13 of 13) sorted by relevance
| /openbsd-src/gnu/llvm/llvm/lib/Analysis/ |
| H A D | ProfileSummaryInfo.cpp | 79 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 D | ModuleSummaryAnalysis.cpp | 377 auto ScaledCount = PSI->getProfileCount(*CB, BFI); in computeFunctionSummary()
|
| /openbsd-src/gnu/llvm/clang/lib/CodeGen/ |
| H A D | CGStmt.cpp | 829 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 D | CodeGenFunction.cpp | 1733 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 D | CGStmtOpenMP.cpp | 1907 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 D | CGExprComplex.cpp | 1213 CGF.getProfileCount(E)); in VisitAbstractConditionalOperator()
|
| H A D | CGExprScalar.cpp | 4550 CGF.getProfileCount(E->getRHS())); in VisitBinLAnd() 4667 CGF.getProfileCount(E->getRHS())); in VisitBinLOr() 4858 CGF.getProfileCount(lhsExpr)); in VisitAbstractConditionalOperator()
|
| H A D | CGObjC.cpp | 1868 createProfileWeights(EntryCount, getProfileCount(S.getBody()))); in EmitObjCForCollectionStmt() 2049 createProfileWeights(getProfileCount(S.getBody()), EntryCount)); in EmitObjCForCollectionStmt()
|
| H A D | CGExprAgg.cpp | 1263 CGF.getProfileCount(E)); in VisitAbstractConditionalOperator()
|
| H A D | CodeGenFunction.h | 1538 uint64_t getProfileCount(const Stmt *S) {
|
| H A D | CGExpr.cpp | 4634 CGF.getProfileCount(E)); in EmitConditionalBlocks()
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/Analysis/ |
| H A D | ProfileSummaryInfo.h | 101 std::optional<uint64_t> getProfileCount(const CallBase &CallInst,
|
| /openbsd-src/gnu/llvm/llvm/lib/Transforms/Utils/ |
| H A D | InlineFunction.cpp | 1861 PSI ? PSI->getProfileCount(TheCall, CallerBFI) : std::nullopt; in updateCallProfile()
|