Searched refs:getProfileCount (Results 1 – 14 of 14) sorted by relevance
| /freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | ProfileSummaryInfo.cpp | 74 std::optional<uint64_t> ProfileSummaryInfo::getProfileCount( in getProfileCount() function in ProfileSummaryInfo 206 auto C = getProfileCount(CB, BFI); in isHotCallSite() 212 auto C = getProfileCount(CB, BFI); in isColdCallSite()
|
| H A D | ModuleSummaryAnalysis.cpp | 443 auto ScaledCount = PSI->getProfileCount(*CB, BFI); in computeFunctionSummary()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/ |
| H A D | ProfileSummaryInfo.h | 105 getProfileCount(const CallBase &CallInst, BlockFrequencyInfo *BFI, 344 if (auto CallCount = getProfileCount(cast<CallBase>(I), nullptr))
|
| /freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGStmt.cpp | 949 uint64_t ThenCount = getProfileCount(S.getThen()); in EmitIfStmt() 1133 createProfileWeightsForLoop(S.getCond(), getProfileCount(S.getBody())); in EmitWhileStmt() 1256 uint64_t BackedgeCount = getProfileCount(S.getBody()) - ParentCount; in EmitDoStmt() 1366 createProfileWeightsForLoop(S.getCond(), getProfileCount(S.getBody())); in EmitForStmt() 1485 createProfileWeightsForLoop(S.getCond(), getProfileCount(S.getBody())); in EmitCXXForRangeStmt() 1787 uint64_t Total = getProfileCount(&S); in EmitCaseStmtRange() 1829 uint64_t ThisCount = getProfileCount(&S); in EmitCaseStmtRange() 1898 SwitchWeights->push_back(getProfileCount(&S)); in EmitCaseStmt() 1914 SwitchWeights->push_back(getProfileCount(&S)); in EmitCaseStmt() 1940 SwitchWeights->push_back(getProfileCount(NextCase)); in EmitCaseStmt() [all …]
|
| H A D | CodeGenFunction.cpp | 1930 uint64_t RHSCount = getProfileCount(CondBOp->getRHS()); in EmitBranchOnBoolExpr() 1944 setCurrentProfileCount(getProfileCount(CondBOp->getRHS())); in EmitBranchOnBoolExpr() 1988 getCurrentProfileCount() - getProfileCount(CondBOp->getRHS()); in EmitBranchOnBoolExpr() 2003 setCurrentProfileCount(getProfileCount(CondBOp->getRHS())); in EmitBranchOnBoolExpr() 2044 getProfileCount(CondOp), Stmt::LH_None); in EmitBranchOnBoolExpr() 2054 getProfileCount(CondOp) / (double)getCurrentProfileCount(); in EmitBranchOnBoolExpr()
|
| H A D | CodeGenPGO.cpp | 1564 uint64_t CodeGenFunction::getProfileCount(const Stmt *S) { in getProfileCount() function in CodeGenFunction
|
| H A D | CGStmtOpenMP.cpp | 1980 getProfileCount(D.getBody())); in EmitOMPLoopBody() 2190 EmitBranchOnBoolExpr(LoopCond, LoopBody, ExitBlock, getProfileCount(&S)); in EmitOMPInnerLoop() 2692 CGF.getProfileCount(&S)); in emitOMPSimdRegion() 3488 getProfileCount(&S)); in EmitOMPWorksharingLoop() 5896 getProfileCount(&S)); in EmitOMPDistributeLoop() 7943 CGF.getProfileCount(&S)); in EmitOMPTaskLoopBasedDirective()
|
| H A D | CGExprComplex.cpp | 1401 CGF.getProfileCount(E)); in VisitAbstractConditionalOperator()
|
| H A D | CGObjC.cpp | 1902 createProfileWeights(EntryCount, getProfileCount(S.getBody()))); in EmitObjCForCollectionStmt() 2084 createProfileWeights(getProfileCount(S.getBody()), EntryCount)); in EmitObjCForCollectionStmt()
|
| H A D | CGExprScalar.cpp | 5289 CGF.getProfileCount(E->getRHS())); in VisitBinLAnd() 5433 CGF.getProfileCount(E->getRHS())); in VisitBinLOr() 5645 CGF.getProfileCount(lhsExpr)); in VisitAbstractConditionalOperator()
|
| H A D | CGExprAgg.cpp | 1414 CGF.getProfileCount(E)); in VisitAbstractConditionalOperator()
|
| H A D | CodeGenFunction.h | 1691 uint64_t getProfileCount(const Stmt *S);
|
| H A D | CGExpr.cpp | 5438 CGF.getProfileCount(E)); in EmitConditionalBlocks()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
| H A D | InlineFunction.cpp | 2059 PSI ? PSI->getProfileCount(TheCall, CallerBFI) : std::nullopt; in updateCallProfile()
|