Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DProfileSummaryInfo.cpp74 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 DModuleSummaryAnalysis.cpp443 auto ScaledCount = PSI->getProfileCount(*CB, BFI); in computeFunctionSummary()
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DProfileSummaryInfo.h105 getProfileCount(const CallBase &CallInst, BlockFrequencyInfo *BFI,
344 if (auto CallCount = getProfileCount(cast<CallBase>(I), nullptr))
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGStmt.cpp949 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 DCodeGenFunction.cpp1930 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 DCodeGenPGO.cpp1564 uint64_t CodeGenFunction::getProfileCount(const Stmt *S) { in getProfileCount() function in CodeGenFunction
H A DCGStmtOpenMP.cpp1980 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 DCGExprComplex.cpp1401 CGF.getProfileCount(E)); in VisitAbstractConditionalOperator()
H A DCGObjC.cpp1902 createProfileWeights(EntryCount, getProfileCount(S.getBody()))); in EmitObjCForCollectionStmt()
2084 createProfileWeights(getProfileCount(S.getBody()), EntryCount)); in EmitObjCForCollectionStmt()
H A DCGExprScalar.cpp5289 CGF.getProfileCount(E->getRHS())); in VisitBinLAnd()
5433 CGF.getProfileCount(E->getRHS())); in VisitBinLOr()
5645 CGF.getProfileCount(lhsExpr)); in VisitAbstractConditionalOperator()
H A DCGExprAgg.cpp1414 CGF.getProfileCount(E)); in VisitAbstractConditionalOperator()
H A DCodeGenFunction.h1691 uint64_t getProfileCount(const Stmt *S);
H A DCGExpr.cpp5438 CGF.getProfileCount(E)); in EmitConditionalBlocks()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DInlineFunction.cpp2059 PSI ? PSI->getProfileCount(TheCall, CallerBFI) : std::nullopt; in updateCallProfile()