Home
last modified time | relevance | path

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

/src/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.cpp430 auto ScaledCount = PSI->getProfileCount(*CB, BFI); in computeFunctionSummary()
/src/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))
/src/contrib/llvm-project/clang/lib/CodeGen/
H A DCGStmt.cpp861 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 DCodeGenFunction.cpp1853 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 DCGStmtOpenMP.cpp1935 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 DCGExprComplex.cpp1394 CGF.getProfileCount(E)); in VisitAbstractConditionalOperator()
H A DCGObjC.cpp1858 createProfileWeights(EntryCount, getProfileCount(S.getBody()))); in EmitObjCForCollectionStmt()
2039 createProfileWeights(getProfileCount(S.getBody()), EntryCount)); in EmitObjCForCollectionStmt()
H A DCGExprScalar.cpp4955 CGF.getProfileCount(E->getRHS())); in VisitBinLAnd()
5096 CGF.getProfileCount(E->getRHS())); in VisitBinLOr()
5307 CGF.getProfileCount(lhsExpr)); in VisitAbstractConditionalOperator()
H A DCGExprAgg.cpp1280 CGF.getProfileCount(E)); in VisitAbstractConditionalOperator()
H A DCodeGenFunction.h1685 uint64_t getProfileCount(const Stmt *S) {
H A DCGExpr.cpp5099 CGF.getProfileCount(E)); in EmitConditionalBlocks()
/src/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DInlineFunction.cpp1971 PSI ? PSI->getProfileCount(TheCall, CallerBFI) : std::nullopt; in updateCallProfile()