Home
last modified time | relevance | path

Searched refs:ProfileSummaryInfo (Results 1 – 25 of 131) sorted by relevance

123456

/external/llvm-project/llvm/lib/Analysis/
DProfileSummaryInfo.cpp94 void ProfileSummaryInfo::refresh() { in refresh()
113 Optional<uint64_t> ProfileSummaryInfo::getProfileCount( in getProfileCount()
135 bool ProfileSummaryInfo::isFunctionEntryHot(const Function *F) const { in isFunctionEntryHot()
150 bool ProfileSummaryInfo::isFunctionHotInCallGraph( in isFunctionHotInCallGraph()
179 bool ProfileSummaryInfo::isFunctionColdInCallGraph( in isFunctionColdInCallGraph()
203 bool ProfileSummaryInfo::isFunctionHotnessUnknown(const Function &F) const { in isFunctionHotnessUnknown()
209 bool ProfileSummaryInfo::isFunctionHotOrColdInCallGraphNthPercentile( in isFunctionHotOrColdInCallGraphNthPercentile()
243 bool ProfileSummaryInfo::isFunctionHotInCallGraphNthPercentile( in isFunctionHotInCallGraphNthPercentile()
249 bool ProfileSummaryInfo::isFunctionColdInCallGraphNthPercentile( in isFunctionColdInCallGraphNthPercentile()
258 bool ProfileSummaryInfo::isFunctionEntryCold(const Function *F) const { in isFunctionEntryCold()
[all …]
/external/llvm-project/llvm/lib/CodeGen/
DMachineSizeOpts.cpp32 ProfileSummaryInfo *PSI, in isColdBlock()
39 ProfileSummaryInfo *PSI, in isColdBlock()
48 ProfileSummaryInfo *PSI, in isHotBlockNthPercentile()
56 ProfileSummaryInfo *PSI, in isHotBlockNthPercentile()
64 ProfileSummaryInfo *PSI, in isColdBlockNthPercentile()
72 ProfileSummaryInfo *PSI, in isColdBlockNthPercentile()
82 ProfileSummaryInfo *PSI, in isFunctionColdInCallGraph()
98 ProfileSummaryInfo *PSI, in isFunctionHotInCallGraphNthPercentile()
111 int PercentileCutoff, const MachineFunction *MF, ProfileSummaryInfo *PSI, in isFunctionColdInCallGraphNthPercentile()
126 ProfileSummaryInfo *PSI, in isFunctionColdInCallGraph()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DProfileSummaryInfo.cpp87 bool ProfileSummaryInfo::computeSummary() { in computeSummary()
105 ProfileSummaryInfo::getProfileCount(const Instruction *Inst, in getProfileCount()
130 bool ProfileSummaryInfo::isFunctionEntryHot(const Function *F) { in isFunctionEntryHot()
145 bool ProfileSummaryInfo::isFunctionHotInCallGraph(const Function *F, in isFunctionHotInCallGraph()
174 bool ProfileSummaryInfo::isFunctionColdInCallGraph(const Function *F, in isFunctionColdInCallGraph()
199 bool ProfileSummaryInfo::isFunctionHotInCallGraphNthPercentile( in isFunctionHotInCallGraphNthPercentile()
226 bool ProfileSummaryInfo::isFunctionEntryCold(const Function *F) { in isFunctionEntryCold()
241 void ProfileSummaryInfo::computeThresholds() { in computeThresholds()
263 Optional<uint64_t> ProfileSummaryInfo::computeThreshold(int PercentileCutoff) { in computeThreshold()
278 bool ProfileSummaryInfo::hasHugeWorkingSetSize() { in hasHugeWorkingSetSize()
[all …]
/external/llvm/lib/Analysis/
DProfileSummaryInfo.cpp57 void ProfileSummaryInfo::computeSummary() { in computeSummary()
69 bool ProfileSummaryInfo::isHotFunction(const Function *F) { in isHotFunction()
85 bool ProfileSummaryInfo::isColdFunction(const Function *F) { in isColdFunction()
104 void ProfileSummaryInfo::computeThresholds() { in computeThresholds()
116 bool ProfileSummaryInfo::isHotCount(uint64_t C) { in isHotCount()
122 bool ProfileSummaryInfo::isColdCount(uint64_t C) { in isColdCount()
128 ProfileSummaryInfo *ProfileSummaryInfoWrapperPass::getPSI(Module &M) { in getPSI()
130 PSI.reset(new ProfileSummaryInfo(M)); in getPSI()
143 ProfileSummaryInfo ProfileSummaryAnalysis::run(Module &M, in run()
145 return ProfileSummaryInfo(M); in run()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DMachineSizeOpts.cpp30 ProfileSummaryInfo *PSI, in isColdBlock()
39 ProfileSummaryInfo *PSI, in isHotBlockNthPercentile()
49 ProfileSummaryInfo *PSI, in isFunctionColdInCallGraph()
65 ProfileSummaryInfo *PSI, in isFunctionHotInCallGraphNthPercentile()
81 ProfileSummaryInfo *PSI, in isFunctionColdInCallGraph()
88 ProfileSummaryInfo *PSI, in isFunctionHotInCallGraphNthPercentile()
94 ProfileSummaryInfo *PSI, in isColdBlock()
100 ProfileSummaryInfo *PSI, in isHotBlockNthPercentile()
109 ProfileSummaryInfo *PSI, in shouldOptimizeForSize()
117 ProfileSummaryInfo *PSI, in shouldOptimizeForSize()
/external/llvm/include/llvm/Analysis/
DProfileSummaryInfo.h41 class ProfileSummaryInfo {
51 ProfileSummaryInfo(Module &M) : M(M) {} in ProfileSummaryInfo() function
52 ProfileSummaryInfo(ProfileSummaryInfo &&Arg) in ProfileSummaryInfo() function
66 std::unique_ptr<ProfileSummaryInfo> PSI;
72 ProfileSummaryInfo *getPSI(Module &M);
82 typedef ProfileSummaryInfo Result;
DInlineCost.h26 class ProfileSummaryInfo; variable
115 AssumptionCacheTracker *ACT, ProfileSummaryInfo *PSI);
124 AssumptionCacheTracker *ACT, ProfileSummaryInfo *PSI);
/external/llvm-project/llvm/lib/Transforms/Utils/
DSizeOpts.cpp63 ProfileSummaryInfo *PSI, in isFunctionColdInCallGraph()
69 ProfileSummaryInfo *PSI, in isFunctionHotInCallGraphNthPercentile()
75 ProfileSummaryInfo *PSI, in isFunctionColdInCallGraphNthPercentile()
80 ProfileSummaryInfo *PSI, in isColdBlock()
86 ProfileSummaryInfo *PSI, in isHotBlockNthPercentile()
91 ProfileSummaryInfo *PSI, in isColdBlockNthPercentile()
98 bool llvm::shouldOptimizeForSize(const Function *F, ProfileSummaryInfo *PSI, in shouldOptimizeForSize()
105 bool llvm::shouldOptimizeForSize(const BasicBlock *BB, ProfileSummaryInfo *PSI, in shouldOptimizeForSize()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/
DProfileSummaryInfo.h43 class ProfileSummaryInfo {
66 ProfileSummaryInfo(Module &M) : M(M) {} in ProfileSummaryInfo() function
67 ProfileSummaryInfo(ProfileSummaryInfo &&Arg) in ProfileSummaryInfo() function
160 std::unique_ptr<ProfileSummaryInfo> PSI;
166 ProfileSummaryInfo &getPSI() { return *PSI; } in getPSI()
167 const ProfileSummaryInfo &getPSI() const { return *PSI; } in getPSI()
180 typedef ProfileSummaryInfo Result;
DInlineCost.h28 class ProfileSummaryInfo; variable
219 ProfileSummaryInfo *PSI, OptimizationRemarkEmitter *ORE = nullptr);
231 ProfileSummaryInfo *PSI, OptimizationRemarkEmitter *ORE);
DModuleSummaryAnalysis.h27 class ProfileSummaryInfo; variable
38 ProfileSummaryInfo *PSI);
/external/llvm-project/llvm/include/llvm/Analysis/
DProfileSummaryInfo.h39 class ProfileSummaryInfo {
61 ProfileSummaryInfo(const Module &M) : M(M) { refresh(); } in ProfileSummaryInfo() function
63 ProfileSummaryInfo(ProfileSummaryInfo &&Arg) = default;
187 std::unique_ptr<ProfileSummaryInfo> PSI;
193 ProfileSummaryInfo &getPSI() { return *PSI; } in getPSI()
194 const ProfileSummaryInfo &getPSI() const { return *PSI; } in getPSI()
207 typedef ProfileSummaryInfo Result;
DInlineCost.h28 class ProfileSummaryInfo; variable
231 ProfileSummaryInfo *PSI = nullptr,
245 ProfileSummaryInfo *PSI = nullptr,
270 ProfileSummaryInfo *PSI = nullptr,
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DSizeOpts.cpp53 ProfileSummaryInfo *PSI, in isFunctionColdInCallGraph()
59 ProfileSummaryInfo *PSI, in isFunctionHotInCallGraphNthPercentile()
64 ProfileSummaryInfo *PSI, in isColdBlock()
70 ProfileSummaryInfo *PSI, in isHotBlockNthPercentile()
77 bool llvm::shouldOptimizeForSize(const Function *F, ProfileSummaryInfo *PSI, in shouldOptimizeForSize()
84 bool llvm::shouldOptimizeForSize(const BasicBlock *BB, ProfileSummaryInfo *PSI, in shouldOptimizeForSize()
/external/llvm-project/llvm/include/llvm/CodeGen/
DMachineSizeOpts.h20 class ProfileSummaryInfo; variable
28 bool shouldOptimizeForSize(const MachineFunction *MF, ProfileSummaryInfo *PSI,
34 ProfileSummaryInfo *PSI,
40 ProfileSummaryInfo *PSI,
DTailDuplicator.h35 class ProfileSummaryInfo; variable
47 ProfileSummaryInfo *PSI;
74 ProfileSummaryInfo *PSI,
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/Utils/
DSizeOpts.h33 class ProfileSummaryInfo; variable
42 bool shouldFuncOptimizeForSizeImpl(const FuncT *F, ProfileSummaryInfo *PSI, in shouldFuncOptimizeForSizeImpl()
67 bool shouldOptimizeForSizeImpl(const BlockT *BB, ProfileSummaryInfo *PSI, in shouldOptimizeForSizeImpl()
93 bool shouldOptimizeForSize(const Function *F, ProfileSummaryInfo *PSI,
99 bool shouldOptimizeForSize(const BasicBlock *BB, ProfileSummaryInfo *PSI,
/external/llvm-project/llvm/include/llvm/Transforms/Utils/
DSizeOpts.h42 static inline bool isPGSOColdCodeOnly(ProfileSummaryInfo *PSI) { in isPGSOColdCodeOnly()
53 bool shouldFuncOptimizeForSizeImpl(const FuncT *F, ProfileSummaryInfo *PSI, in shouldFuncOptimizeForSizeImpl()
74 bool shouldOptimizeForSizeImpl(BlockTOrBlockFreq BBOrBlockFreq, ProfileSummaryInfo *PSI, in shouldOptimizeForSizeImpl()
95 bool shouldOptimizeForSize(const Function *F, ProfileSummaryInfo *PSI,
101 bool shouldOptimizeForSize(const BasicBlock *BB, ProfileSummaryInfo *PSI,
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DMachineSizeOpts.h20 class ProfileSummaryInfo; variable
27 bool shouldOptimizeForSize(const MachineFunction *MF, ProfileSummaryInfo *PSI,
33 ProfileSummaryInfo *PSI,
DTailDuplicator.h34 class ProfileSummaryInfo; variable
46 ProfileSummaryInfo *PSI;
73 ProfileSummaryInfo *PSI,
/external/llvm-project/llvm/unittests/Analysis/
DProfileSummaryInfoTest.cpp39 ProfileSummaryInfo buildPSI(Module *M) { in buildPSI()
40 return ProfileSummaryInfo(*M); in buildPSI()
128 ProfileSummaryInfo PSI = buildPSI(M.get()); in TEST_F()
159 ProfileSummaryInfo PSI = buildPSI(M.get()); in TEST_F()
198 ProfileSummaryInfo PSI = buildPSI(M.get()); in TEST_F()
265 ProfileSummaryInfo PSI = buildPSI(M.get()); in TEST_F()
293 ProfileSummaryInfo PSI = buildPSI(M.get()); in TEST_F()
365 ProfileSummaryInfo PSI = buildPSI(M.get()); in TEST_F()
398 ProfileSummaryInfo PSI1 = buildPSI(M1.get()); in TEST_F()
411 ProfileSummaryInfo PSI2 = buildPSI(M2.get()); in TEST_F()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/IPO/
DHotColdSplitting.h20 class ProfileSummaryInfo; variable
35 HotColdSplitting(ProfileSummaryInfo *ProfSI, in HotColdSplitting()
53 ProfileSummaryInfo *PSI;
/external/llvm-project/llvm/include/llvm/Transforms/IPO/
DHotColdSplitting.h20 class ProfileSummaryInfo; variable
35 HotColdSplitting(ProfileSummaryInfo *ProfSI, in HotColdSplitting()
53 ProfileSummaryInfo *PSI;
/external/llvm-project/llvm/include/llvm/Transforms/Vectorize/
DLoopVectorize.h75 class ProfileSummaryInfo; variable
153 ProfileSummaryInfo *PSI;
164 OptimizationRemarkEmitter &ORE_, ProfileSummaryInfo *PSI_);
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/Vectorize/
DLoopVectorize.h75 class ProfileSummaryInfo; variable
144 ProfileSummaryInfo *PSI;
154 OptimizationRemarkEmitter &ORE_, ProfileSummaryInfo *PSI_);

123456