Searched refs:getProfileCount (Results 1 – 13 of 13) sorted by relevance
| /src/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | ProfileSummaryInfo.cpp | 69 std::optional<uint64_t> ProfileSummaryInfo::getProfileCount( in getProfileCount() function in ProfileSummaryInfo 202 auto C = getProfileCount(CB, BFI); in isHotCallSite() 208 auto C = getProfileCount(CB, BFI); in isColdCallSite()
|
| H A D | ModuleSummaryAnalysis.cpp | 430 auto ScaledCount = PSI->getProfileCount(*CB, BFI); in computeFunctionSummary()
|
| /src/contrib/llvm-project/llvm/include/llvm/Analysis/ |
| H A D | ProfileSummaryInfo.h | 103 std::optional<uint64_t> getProfileCount(const CallBase &CallInst, 340 if (auto CallCount = getProfileCount(cast<CallBase>(I), nullptr))
|
| /src/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGStmt.cpp | 861 uint64_t ThenCount = getProfileCount(S.getThen()); in EmitIfStmt() 1040 createProfileWeightsForLoop(S.getCond(), getProfileCount(S.getBody())); in EmitWhileStmt() 1156 uint64_t BackedgeCount = getProfileCount(S.getBody()) - ParentCount; in EmitDoStmt() 1255 createProfileWeightsForLoop(S.getCond(), getProfileCount(S.getBody())); in EmitForStmt() 1358 createProfileWeightsForLoop(S.getCond(), getProfileCount(S.getBody())); in EmitCXXForRangeStmt() 1638 uint64_t Total = getProfileCount(&S); in EmitCaseStmtRange() 1680 uint64_t ThisCount = getProfileCount(&S); in EmitCaseStmtRange() 1749 SwitchWeights->push_back(getProfileCount(&S)); in EmitCaseStmt() 1765 SwitchWeights->push_back(getProfileCount(&S)); in EmitCaseStmt() 1791 SwitchWeights->push_back(getProfileCount(NextCase)); in EmitCaseStmt() [all …]
|
| H A D | CodeGenFunction.cpp | 1853 uint64_t RHSCount = getProfileCount(CondBOp->getRHS()); in EmitBranchOnBoolExpr() 1867 setCurrentProfileCount(getProfileCount(CondBOp->getRHS())); in EmitBranchOnBoolExpr() 1911 getCurrentProfileCount() - getProfileCount(CondBOp->getRHS()); in EmitBranchOnBoolExpr() 1926 setCurrentProfileCount(getProfileCount(CondBOp->getRHS())); in EmitBranchOnBoolExpr() 1967 getProfileCount(CondOp), Stmt::LH_None); in EmitBranchOnBoolExpr() 1977 getProfileCount(CondOp) / (double)getCurrentProfileCount(); in EmitBranchOnBoolExpr()
|
| H A D | CGStmtOpenMP.cpp | 1935 getProfileCount(D.getBody())); in EmitOMPLoopBody() 2143 EmitBranchOnBoolExpr(LoopCond, LoopBody, ExitBlock, getProfileCount(&S)); in EmitOMPInnerLoop() 2564 CGF.getProfileCount(&S)); in emitOMPSimdRegion() 3344 getProfileCount(&S)); in EmitOMPWorksharingLoop() 5688 getProfileCount(&S)); in EmitOMPDistributeLoop() 7719 CGF.getProfileCount(&S)); in EmitOMPTaskLoopBasedDirective()
|
| H A D | CGExprComplex.cpp | 1394 CGF.getProfileCount(E)); in VisitAbstractConditionalOperator()
|
| H A D | CGObjC.cpp | 1858 createProfileWeights(EntryCount, getProfileCount(S.getBody()))); in EmitObjCForCollectionStmt() 2039 createProfileWeights(getProfileCount(S.getBody()), EntryCount)); in EmitObjCForCollectionStmt()
|
| H A D | CGExprScalar.cpp | 4955 CGF.getProfileCount(E->getRHS())); in VisitBinLAnd() 5096 CGF.getProfileCount(E->getRHS())); in VisitBinLOr() 5307 CGF.getProfileCount(lhsExpr)); in VisitAbstractConditionalOperator()
|
| H A D | CGExprAgg.cpp | 1280 CGF.getProfileCount(E)); in VisitAbstractConditionalOperator()
|
| H A D | CodeGenFunction.h | 1685 uint64_t getProfileCount(const Stmt *S) {
|
| H A D | CGExpr.cpp | 5099 CGF.getProfileCount(E)); in EmitConditionalBlocks()
|
| /src/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | InlineFunction.cpp | 1971 PSI ? PSI->getProfileCount(TheCall, CallerBFI) : std::nullopt; in updateCallProfile()
|