Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/lib/Analysis/
H A DProfileSummaryInfo.cpp91 ProfileSummaryInfo::getProfileCount(const Instruction *Inst, in getProfileCount() function in ProfileSummaryInfo
143 if (auto CallCount = getProfileCount(&I, nullptr)) in isFunctionHotInCallGraph()
172 if (auto CallCount = getProfileCount(&I, nullptr)) in isFunctionColdInCallGraph()
264 auto C = getProfileCount(CS.getInstruction(), BFI); in isHotCallSite()
270 auto C = getProfileCount(CS.getInstruction(), BFI); in isColdCallSite()
H A DModuleSummaryAnalysis.cpp309 auto ScaledCount = PSI->getProfileCount(&I, BFI); in computeFunctionSummary()
/freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/
H A DCGStmt.cpp644 getProfileCount(S.getThen())); in EmitIfStmt()
728 createProfileWeightsForLoop(S.getCond(), getProfileCount(S.getBody()))); in EmitWhileStmt()
810 uint64_t BackedgeCount = getProfileCount(S.getBody()) - ParentCount; in EmitDoStmt()
883 createProfileWeightsForLoop(S.getCond(), getProfileCount(S.getBody()))); in EmitForStmt()
964 createProfileWeightsForLoop(S.getCond(), getProfileCount(S.getBody()))); in EmitCXXForRangeStmt()
1163 uint64_t Total = getProfileCount(&S); in EmitCaseStmtRange()
1202 uint64_t ThisCount = getProfileCount(&S); in EmitCaseStmtRange()
1251 SwitchWeights->push_back(getProfileCount(&S)); in EmitCaseStmt()
1267 SwitchWeights->push_back(getProfileCount(&S)); in EmitCaseStmt()
1289 SwitchWeights->push_back(getProfileCount(NextCase)); in EmitCaseStmt()
[all …]
H A DCodeGenFunction.cpp1567 uint64_t RHSCount = getProfileCount(CondBOp->getRHS()); in EmitBranchOnBoolExpr()
1577 setCurrentProfileCount(getProfileCount(CondBOp->getRHS())); in EmitBranchOnBoolExpr()
1615 getCurrentProfileCount() - getProfileCount(CondBOp->getRHS()); in EmitBranchOnBoolExpr()
1626 setCurrentProfileCount(getProfileCount(CondBOp->getRHS())); in EmitBranchOnBoolExpr()
1656 getProfileCount(CondOp)); in EmitBranchOnBoolExpr()
1666 getProfileCount(CondOp) / (double)getCurrentProfileCount(); in EmitBranchOnBoolExpr()
H A DCGStmtOpenMP.cpp1347 EmitBranchOnBoolExpr(LoopCond, LoopBody, ExitBlock, getProfileCount(&S)); in EmitOMPInnerLoop()
1710 CGF.getProfileCount(&S)); in emitOMPSimdRegion()
2258 getProfileCount(&S)); in EmitOMPWorksharingLoop()
3312 getProfileCount(&S)); in EmitOMPDistributeLoop()
4911 CGF.getProfileCount(&S)); in EmitOMPTaskLoopBasedDirective()
H A DCGExprComplex.cpp1013 CGF.getProfileCount(E)); in VisitAbstractConditionalOperator()
H A DCGExprScalar.cpp3857 CGF.getProfileCount(E->getRHS())); in VisitBinLAnd()
3942 CGF.getProfileCount(E->getRHS())); in VisitBinLOr()
4106 CGF.getProfileCount(lhsExpr)); in VisitAbstractConditionalOperator()
H A DCGObjC.cpp1664 createProfileWeights(EntryCount, getProfileCount(S.getBody()))); in EmitObjCForCollectionStmt()
1810 createProfileWeights(getProfileCount(S.getBody()), EntryCount)); in EmitObjCForCollectionStmt()
H A DCGExprAgg.cpp1189 CGF.getProfileCount(E)); in VisitAbstractConditionalOperator()
H A DCodeGenFunction.h1341 uint64_t getProfileCount(const Stmt *S) {
H A DCGExpr.cpp4080 EmitBranchOnBoolExpr(condExpr, lhsBlock, rhsBlock, getProfileCount(expr)); in EmitConditionalOperatorLValue()
/freebsd-12.1/contrib/llvm/include/llvm/Analysis/
H A DProfileSummaryInfo.h89 Optional<uint64_t> getProfileCount(const Instruction *CallInst,
/freebsd-12.1/contrib/llvm/lib/Transforms/Utils/
H A DInlineFunction.cpp1450 auto CallSiteCount = PSI ? PSI->getProfileCount(TheCall, CallerBFI) : None; in updateCallProfile()
1482 auto CallCount = PSI->getProfileCount(CallInst, CallerBFI); in updateCalleeCount()