/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Analysis/ |
D | ProfileSummaryInfoTest.cpp | 103 ProfileSummaryInfo PSI = buildPSI(M.get()); in TEST_F() local 104 EXPECT_FALSE(PSI.hasProfileSummary()); in TEST_F() 105 EXPECT_FALSE(PSI.hasSampleProfile()); in TEST_F() 106 EXPECT_FALSE(PSI.hasInstrumentationProfile()); in TEST_F() 109 EXPECT_FALSE(PSI.isHotCount(1000)); in TEST_F() 110 EXPECT_FALSE(PSI.isHotCount(0)); in TEST_F() 111 EXPECT_FALSE(PSI.isColdCount(1000)); in TEST_F() 112 EXPECT_FALSE(PSI.isColdCount(0)); in TEST_F() 114 EXPECT_FALSE(PSI.isFunctionEntryHot(F)); in TEST_F() 115 EXPECT_FALSE(PSI.isFunctionEntryCold(F)); in TEST_F() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Instrumentation/ |
D | IndirectCallPromotion.cpp | 213 bool processFunction(ProfileSummaryInfo *PSI); 351 bool ICallPromotionFunc::processFunction(ProfileSummaryInfo *PSI) { in processFunction() argument 360 (PSI && PSI->hasProfileSummary() && !PSI->isHotCount(TotalCount))) in processFunction() 382 static bool promoteIndirectCalls(Module &M, ProfileSummaryInfo *PSI, in promoteIndirectCalls() argument 413 bool FuncChanged = ICallPromotion.processFunction(PSI); in promoteIndirectCalls() 428 ProfileSummaryInfo *PSI = in runOnModule() local 432 return promoteIndirectCalls(M, PSI, InLTO | ICPLTOMode, in runOnModule() 438 ProfileSummaryInfo *PSI = &AM.getResult<ProfileSummaryAnalysis>(M); in run() local 440 if (!promoteIndirectCalls(M, PSI, InLTO | ICPLTOMode, in run()
|
/external/llvm/lib/Analysis/ |
D | ProfileSummaryInfo.cpp | 129 if (!PSI) in getPSI() 130 PSI.reset(new ProfileSummaryInfo(M)); in getPSI() 131 return PSI.get(); in getPSI() 152 ProfileSummaryInfo &PSI = AM.getResult<ProfileSummaryAnalysis>(M); in run() local 157 if (PSI.isHotFunction(&F)) in run() 159 else if (PSI.isColdFunction(&F)) in run()
|
D | InlineCost.cpp | 82 ProfileSummaryInfo *PSI; member in __anond8f3b4e60111::CallAnalyzer 207 ProfileSummaryInfo *PSI, Function &Callee, int Threshold, in CallAnalyzer() argument 209 : TTI(TTI), ACT(ACT), PSI(PSI), F(Callee), CandidateCS(CSArg), in CallAnalyzer() 639 PSI->isHotCount(TotalWeight)) in updateThreshold() 646 PSI->isHotFunction(&Callee) || in updateThreshold() 651 bool ColdCallee = PSI->isColdFunction(&Callee); in updateThreshold() 960 CallAnalyzer CA(TTI, ACT, PSI, *F, InlineConstants::IndirectCallThreshold, in visitCallSite() 1450 ProfileSummaryInfo *PSI) { in getInlineCost() argument 1452 ACT, PSI); in getInlineCost() 1472 ProfileSummaryInfo *PSI) { in getInlineCost() argument [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/ |
D | ModuleSummaryAnalysis.cpp | 122 ProfileSummaryInfo *PSI) { in getHotness() argument 123 if (!PSI) in getHotness() 125 if (PSI->isHotCount(ProfileCount)) in getHotness() 127 if (PSI->isColdCount(ProfileCount)) in getHotness() 225 ProfileSummaryInfo *PSI, bool HasLocalsInUsedOrAsm, in computeFunctionSummary() argument 292 auto ScaledCount = PSI->getProfileCount(&I, BFI); in computeFunctionSummary() 293 auto Hotness = ScaledCount ? getHotness(ScaledCount.getValue(), PSI) in computeFunctionSummary() 339 .updateHotness(getHotness(Candidate.Count, PSI)); in computeFunctionSummary() 422 ProfileSummaryInfo *PSI) { in buildModuleSummaryIndex() argument 423 assert(PSI); in buildModuleSummaryIndex() [all …]
|
D | ProfileSummaryInfo.cpp | 279 PSI.reset(new ProfileSummaryInfo(M)); in doInitialization() 284 PSI.reset(); in doFinalization() 296 ProfileSummaryInfo &PSI = AM.getResult<ProfileSummaryAnalysis>(M); in run() local 301 if (PSI.isFunctionEntryHot(&F)) in run() 303 else if (PSI.isFunctionEntryCold(&F)) in run()
|
D | InlineCost.cpp | 109 ProfileSummaryInfo *PSI; member in __anon5999813e0111::CallAnalyzer 275 ProfileSummaryInfo *PSI, OptimizationRemarkEmitter *ORE, in CallAnalyzer() argument 278 PSI(PSI), F(Callee), DL(F.getParent()->getDataLayout()), ORE(ORE), in CallAnalyzer() 798 if (PSI && PSI->hasProfileSummary()) in isColdCallSite() 799 return PSI->isColdCallSite(CS, CallerBFI); in isColdCallSite() 823 if (PSI && PSI->hasProfileSummary() && PSI->isHotCallSite(CS, CallerBFI)) in getHotCallSiteThreshold() 939 } else if (PSI) { in updateThreshold() 942 if (PSI->isFunctionEntryHot(&Callee)) { in updateThreshold() 948 } else if (PSI->isFunctionEntryCold(&Callee)) { in updateThreshold() 1295 CallAnalyzer CA(TTI, GetAssumptionCache, GetBFI, PSI, ORE, *F, CS, in visitCallSite() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/IPO/ |
D | SampleProfile.cpp | 136 ProfileSummaryInfo *PSI) const; 138 ProfileSummaryInfo *PSI) const; 141 ProfileSummaryInfo *PSI) const; 295 ProfileSummaryInfo *PSI = nullptr; member in __anon535113db0111::SampleProfileLoader 360 ProfileSummaryInfo *PSI) { in callsiteIsHot() argument 364 assert(PSI && "PSI is expected to be non null"); in callsiteIsHot() 366 return PSI->isHotCount(CallsiteTotalSamples); in callsiteIsHot() 390 ProfileSummaryInfo *PSI) const { in countUsedRecords() 403 if (callsiteIsHot(CalleeSamples, PSI)) in countUsedRecords() 404 Count += countUsedRecords(CalleeSamples, PSI); in countUsedRecords() [all …]
|
D | PartialInlining.cpp | 206 : GetAssumptionCache(GetAC), GetTTI(GTTI), GetBFI(GBFI), PSI(ProfSI) {} in PartialInlinerImpl() 271 ProfileSummaryInfo *PSI; member 361 ProfileSummaryInfo *PSI = in runOnModule() local 374 return PartialInlinerImpl(&GetAssumptionCache, &GetTTI, NoneType::None, PSI) in runOnModule() 398 if (!PSI->hasInstrumentationProfile()) in computeOutliningColdRegionsInfo() 471 if (PSI->isColdBB(thisBB, BFI) || in computeOutliningColdRegionsInfo() 767 *GetAssumptionCache, GetBFI, PSI, &ORE); in shouldPartialInline() 1251 if (PSI->isFunctionEntryCold(F)) in unswitchFunction() 1261 if (PSI->hasProfileSummary() && F->hasProfileData() && in unswitchFunction() 1270 dbgs() << "HotCountThreshold = " << PSI->getHotCountThreshold() << "\n"; in unswitchFunction() [all …]
|
D | ThinLTOBitcodeWriter.cpp | 205 ProfileSummaryInfo PSI(M); in splitAndWriteThinLTOBitcode() local 207 ModuleSummaryIndex Index = buildModuleSummaryIndex(M, nullptr, &PSI); in splitAndWriteThinLTOBitcode() 381 ProfileSummaryInfo PSI(M); in splitAndWriteThinLTOBitcode() local 382 ModuleSummaryIndex Index = buildModuleSummaryIndex(M, nullptr, &PSI); in splitAndWriteThinLTOBitcode() 388 buildModuleSummaryIndex(*MergedM, nullptr, &PSI); in splitAndWriteThinLTOBitcode()
|
D | Inliner.cpp | 467 ProfileSummaryInfo *PSI, TargetLibraryInfo &TLI, in inlineCallsImpl() argument 542 InlineFunctionInfo InlineInfo(&CG, &GetAssumptionCache, PSI); in inlineCallsImpl() 695 PSI = getAnalysis<ProfileSummaryInfoWrapperPass>().getPSI(); in inlineCalls() 700 return inlineCallsImpl(SCC, CG, GetAssumptionCache, PSI, TLI, InsertLifetime, in inlineCalls() 813 ProfileSummaryInfo *PSI = MAM.getCachedResult<ProfileSummaryAnalysis>(M); in run() local 942 PSI, &ORE); in run() 980 /*cg=*/nullptr, &GetAssumptionCache, PSI, in run()
|
D | InlineSimple.cpp | 73 /*GetBFI=*/None, PSI, in getInlineCost()
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Transforms/Utils/ |
D | Cloning.h | 181 ProfileSummaryInfo *PSI = nullptr, 184 : CG(cg), GetAssumptionCache(GetAssumptionCache), PSI(PSI), in CG() 191 ProfileSummaryInfo *PSI; variable
|
/external/llvm/include/llvm/Analysis/ |
D | InlineCost.h | 115 AssumptionCacheTracker *ACT, ProfileSummaryInfo *PSI); 124 AssumptionCacheTracker *ACT, ProfileSummaryInfo *PSI);
|
D | ProfileSummaryInfo.h | 66 std::unique_ptr<ProfileSummaryInfo> PSI; variable
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Analysis/ |
D | InlineCost.h | 196 ProfileSummaryInfo *PSI, OptimizationRemarkEmitter *ORE = nullptr); 208 ProfileSummaryInfo *PSI, OptimizationRemarkEmitter *ORE);
|
D | ProfileSummaryInfo.h | 131 std::unique_ptr<ProfileSummaryInfo> PSI; variable 138 return &*PSI; in getPSI()
|
D | ModuleSummaryAnalysis.h | 39 ProfileSummaryInfo *PSI);
|
/external/llvm/include/llvm/Transforms/IPO/ |
D | InlinerPass.h | 89 ProfileSummaryInfo *PSI; member
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Transforms/IPO/ |
D | Inliner.h | 77 ProfileSummaryInfo *PSI; member
|
/external/llvm/lib/Transforms/IPO/ |
D | InlineSimple.cpp | 64 return llvm::getInlineCost(CS, DefaultThreshold, TTI, ACT, PSI); in getInlineCost()
|
/external/clang/lib/StaticAnalyzer/Core/ |
D | ExprEngineCallAndReturn.cpp | 351 for (ExplodedNodeSet::iterator PSI = Dst.begin(), PSE = Dst.end(); in processCallExit() local 352 PSI != PSE; ++PSI) { in processCallExit() 353 Engine.getWorkList()->enqueue(*PSI, calleeCtx->getCallSiteBlock(), in processCallExit()
|
/external/icu/icu4c/source/data/translit/ |
D | el_el_Latn_BGN.txt | 325 Δ} $lower → Dh ; # GREEK CAPITAL LETTER PSI 415 Ψ} $lower → Ps ; # GREEK CAPITAL LETTER PSI 416 Ψ → PS ; # GREEK CAPITAL LETTER PSI 417 ψ → ps ; # GREEK SMALL LETTER PSI
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/ |
D | InlineFunction.cpp | 1437 ProfileSummaryInfo *PSI, in updateCallProfile() argument 1442 auto CallSiteCount = PSI ? PSI->getProfileCount(TheCall, CallerBFI) : None; in updateCallProfile() 1466 ProfileSummaryInfo *PSI) { in updateCalleeCount() argument 1472 if (!CalleeCount.hasValue() || !PSI) in updateCalleeCount() 1474 auto CallCount = PSI->getProfileCount(CallInst, CallerBFI); in updateCalleeCount() 1677 IFI.PSI, IFI.CallerBFI); in InlineFunction() 1679 updateCalleeCount(IFI.CallerBFI, OrigBB, TheCall, CalledFunc, IFI.PSI); in InlineFunction()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AMDGPU/ |
D | AMDGPUInline.cpp | 207 None, PSI, RemarksEnabled ? &ORE : nullptr); in getInlineCost()
|