Searched refs:getProfileCount (Results 1 – 13 of 13) sorted by relevance
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/ |
D | ProfileSummaryInfo.cpp | 84 ProfileSummaryInfo::getProfileCount(const Instruction *Inst, in getProfileCount() function in ProfileSummaryInfo 136 if (auto CallCount = getProfileCount(&I, nullptr)) in isFunctionHotInCallGraph() 165 if (auto CallCount = getProfileCount(&I, nullptr)) in isFunctionColdInCallGraph() 251 auto C = getProfileCount(CS.getInstruction(), BFI); in isHotCallSite() 257 auto C = getProfileCount(CS.getInstruction(), BFI); in isColdCallSite()
|
D | ModuleSummaryAnalysis.cpp | 292 auto ScaledCount = PSI->getProfileCount(&I, BFI); in computeFunctionSummary()
|
/external/clang/lib/CodeGen/ |
D | CGStmt.cpp | 614 getProfileCount(S.getThen())); in EmitIfStmt() 708 createProfileWeightsForLoop(S.getCond(), getProfileCount(S.getBody()))); in EmitWhileStmt() 788 uint64_t BackedgeCount = getProfileCount(S.getBody()) - ParentCount; in EmitDoStmt() 860 createProfileWeightsForLoop(S.getCond(), getProfileCount(S.getBody()))); in EmitForStmt() 938 createProfileWeightsForLoop(S.getCond(), getProfileCount(S.getBody()))); in EmitCXXForRangeStmt() 1123 uint64_t Total = getProfileCount(&S); in EmitCaseStmtRange() 1162 uint64_t ThisCount = getProfileCount(&S); in EmitCaseStmtRange() 1211 SwitchWeights->push_back(getProfileCount(&S)); in EmitCaseStmt() 1227 SwitchWeights->push_back(getProfileCount(&S)); in EmitCaseStmt() 1249 SwitchWeights->push_back(getProfileCount(NextCase)); in EmitCaseStmt() [all …]
|
D | CodeGenFunction.cpp | 1221 uint64_t RHSCount = getProfileCount(CondBOp->getRHS()); in EmitBranchOnBoolExpr() 1231 setCurrentProfileCount(getProfileCount(CondBOp->getRHS())); in EmitBranchOnBoolExpr() 1269 getCurrentProfileCount() - getProfileCount(CondBOp->getRHS()); in EmitBranchOnBoolExpr() 1280 setCurrentProfileCount(getProfileCount(CondBOp->getRHS())); in EmitBranchOnBoolExpr() 1310 getProfileCount(CondOp)); in EmitBranchOnBoolExpr() 1320 getProfileCount(CondOp) / (double)getCurrentProfileCount(); in EmitBranchOnBoolExpr()
|
D | CGStmtOpenMP.cpp | 1295 EmitBranchOnBoolExpr(LoopCond, LoopBody, ExitBlock, getProfileCount(&S)); in EmitOMPInnerLoop() 1610 CGF.getProfileCount(&S)); in EmitOMPSimdDirective() 1969 getProfileCount(&S)); in EmitOMPWorksharingLoop() 2652 getProfileCount(&S)); in EmitOMPDistributeLoop() 3526 CGF.getProfileCount(&S)); in EmitOMPTaskLoopBasedDirective()
|
D | CGExprScalar.cpp | 3073 CGF.getProfileCount(E->getRHS())); in VisitBinLAnd() 3152 CGF.getProfileCount(E->getRHS())); in VisitBinLOr() 3314 CGF.getProfileCount(lhsExpr)); in VisitAbstractConditionalOperator()
|
D | CGExprAgg.cpp | 935 CGF.getProfileCount(E)); in VisitAbstractConditionalOperator()
|
D | CGExprComplex.cpp | 964 CGF.getProfileCount(E)); in VisitAbstractConditionalOperator()
|
D | CGObjC.cpp | 1554 createProfileWeights(EntryCount, getProfileCount(S.getBody()))); in EmitObjCForCollectionStmt() 1699 createProfileWeights(getProfileCount(S.getBody()), EntryCount)); in EmitObjCForCollectionStmt()
|
D | CodeGenFunction.h | 985 uint64_t getProfileCount(const Stmt *S) { in getProfileCount() function
|
D | CGExpr.cpp | 3512 EmitBranchOnBoolExpr(condExpr, lhsBlock, rhsBlock, getProfileCount(expr)); in EmitConditionalOperatorLValue()
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Analysis/ |
D | ProfileSummaryInfo.h | 89 Optional<uint64_t> getProfileCount(const Instruction *CallInst,
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/ |
D | InlineFunction.cpp | 1442 auto CallSiteCount = PSI ? PSI->getProfileCount(TheCall, CallerBFI) : None; in updateCallProfile() 1474 auto CallCount = PSI->getProfileCount(CallInst, CallerBFI); in updateCalleeCount()
|