Home
last modified time | relevance | path

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

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
DProfileSummaryInfo.cpp84 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()
DModuleSummaryAnalysis.cpp292 auto ScaledCount = PSI->getProfileCount(&I, BFI); in computeFunctionSummary()
/external/clang/lib/CodeGen/
DCGStmt.cpp614 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 …]
DCodeGenFunction.cpp1221 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()
DCGStmtOpenMP.cpp1295 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()
DCGExprScalar.cpp3073 CGF.getProfileCount(E->getRHS())); in VisitBinLAnd()
3152 CGF.getProfileCount(E->getRHS())); in VisitBinLOr()
3314 CGF.getProfileCount(lhsExpr)); in VisitAbstractConditionalOperator()
DCGExprAgg.cpp935 CGF.getProfileCount(E)); in VisitAbstractConditionalOperator()
DCGExprComplex.cpp964 CGF.getProfileCount(E)); in VisitAbstractConditionalOperator()
DCGObjC.cpp1554 createProfileWeights(EntryCount, getProfileCount(S.getBody()))); in EmitObjCForCollectionStmt()
1699 createProfileWeights(getProfileCount(S.getBody()), EntryCount)); in EmitObjCForCollectionStmt()
DCodeGenFunction.h985 uint64_t getProfileCount(const Stmt *S) { in getProfileCount() function
DCGExpr.cpp3512 EmitBranchOnBoolExpr(condExpr, lhsBlock, rhsBlock, getProfileCount(expr)); in EmitConditionalOperatorLValue()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Analysis/
DProfileSummaryInfo.h89 Optional<uint64_t> getProfileCount(const Instruction *CallInst,
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
DInlineFunction.cpp1442 auto CallSiteCount = PSI ? PSI->getProfileCount(TheCall, CallerBFI) : None; in updateCallProfile()
1474 auto CallCount = PSI->getProfileCount(CallInst, CallerBFI); in updateCalleeCount()