Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/
H A DProfileSummaryInfo.cpp69 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 DModuleSummaryAnalysis.cpp399 auto ScaledCount = PSI->getProfileCount(*CB, BFI); in computeFunctionSummary()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DProfileSummaryInfo.h103 std::optional<uint64_t> getProfileCount(const CallBase &CallInst,
340 if (auto CallCount = getProfileCount(cast<CallBase>(I), nullptr))
/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/
H A DCGStmt.cpp836 uint64_t ThenCount = getProfileCount(S.getThen()); in EmitIfStmt()
934 createProfileWeightsForLoop(S.getCond(), getProfileCount(S.getBody())); in EmitWhileStmt()
1028 uint64_t BackedgeCount = getProfileCount(S.getBody()) - ParentCount; in EmitDoStmt()
1114 createProfileWeightsForLoop(S.getCond(), getProfileCount(S.getBody())); in EmitForStmt()
1199 createProfileWeightsForLoop(S.getCond(), getProfileCount(S.getBody())); in EmitCXXForRangeStmt()
1459 uint64_t Total = getProfileCount(&S); in EmitCaseStmtRange()
1501 uint64_t ThisCount = getProfileCount(&S); in EmitCaseStmtRange()
1570 SwitchWeights->push_back(getProfileCount(&S)); in EmitCaseStmt()
1586 SwitchWeights->push_back(getProfileCount(&S)); in EmitCaseStmt()
1612 SwitchWeights->push_back(getProfileCount(NextCase)); in EmitCaseStmt()
[all …]
H A DCodeGenFunction.cpp1774 uint64_t RHSCount = getProfileCount(CondBOp->getRHS()); in EmitBranchOnBoolExpr()
1788 setCurrentProfileCount(getProfileCount(CondBOp->getRHS())); in EmitBranchOnBoolExpr()
1832 getCurrentProfileCount() - getProfileCount(CondBOp->getRHS()); in EmitBranchOnBoolExpr()
1847 setCurrentProfileCount(getProfileCount(CondBOp->getRHS())); in EmitBranchOnBoolExpr()
1888 getProfileCount(CondOp), Stmt::LH_None); in EmitBranchOnBoolExpr()
1898 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()
5634 getProfileCount(&S)); in EmitOMPDistributeLoop()
7647 CGF.getProfileCount(&S)); in EmitOMPTaskLoopBasedDirective()
H A DCGExprComplex.cpp1324 CGF.getProfileCount(E)); in VisitAbstractConditionalOperator()
H A DCGObjC.cpp1857 createProfileWeights(EntryCount, getProfileCount(S.getBody()))); in EmitObjCForCollectionStmt()
2038 createProfileWeights(getProfileCount(S.getBody()), EntryCount)); in EmitObjCForCollectionStmt()
H A DCGExprScalar.cpp4618 CGF.getProfileCount(E->getRHS())); in VisitBinLAnd()
4759 CGF.getProfileCount(E->getRHS())); in VisitBinLOr()
4960 CGF.getProfileCount(lhsExpr)); in VisitAbstractConditionalOperator()
H A DCGExprAgg.cpp1266 CGF.getProfileCount(E)); in VisitAbstractConditionalOperator()
H A DCodeGenFunction.h1595 uint64_t getProfileCount(const Stmt *S) {
H A DCGExpr.cpp5039 CGF.getProfileCount(E)); in EmitConditionalBlocks()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DInlineFunction.cpp1887 PSI ? PSI->getProfileCount(TheCall, CallerBFI) : std::nullopt; in updateCallProfile()