Home
last modified time | relevance | path

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

123

/netbsd/external/apache2/llvm/dist/llvm/lib/Analysis/
H A DProfileSummaryInfo.cpp58 void ProfileSummaryInfo::refresh() { in refresh()
77 Optional<uint64_t> ProfileSummaryInfo::getProfileCount( in getProfileCount()
114 bool ProfileSummaryInfo::isFunctionHotInCallGraph( in isFunctionHotInCallGraph()
143 bool ProfileSummaryInfo::isFunctionColdInCallGraph( in isFunctionColdInCallGraph()
237 void ProfileSummaryInfo::computeThresholds() { in computeThresholds()
290 bool ProfileSummaryInfo::isHotCount(uint64_t C) const { in isHotCount()
339 bool ProfileSummaryInfo::isHotOrColdBlockNthPercentile( in isHotOrColdBlockNthPercentile()
348 bool ProfileSummaryInfo::isHotBlockNthPercentile( in isHotBlockNthPercentile()
353 bool ProfileSummaryInfo::isColdBlockNthPercentile( in isColdBlockNthPercentile()
390 PSI.reset(new ProfileSummaryInfo(M)); in doInitialization()
[all …]
H A DOptimizationRemarkEmitter.cpp105 if (ProfileSummaryInfo *PSI = in runOnFunction()
137 if (ProfileSummaryInfo *PSI = in run()
/netbsd/external/apache2/llvm/dist/llvm/lib/CodeGen/
H A DMachineSizeOpts.cpp32 ProfileSummaryInfo *PSI, in isColdBlock()
39 ProfileSummaryInfo *PSI, in isColdBlock()
48 ProfileSummaryInfo *PSI, in isHotBlockNthPercentile()
56 ProfileSummaryInfo *PSI, in isHotBlockNthPercentile()
82 ProfileSummaryInfo *PSI, in isFunctionColdInCallGraph()
98 ProfileSummaryInfo *PSI, in isFunctionHotInCallGraphNthPercentile()
133 ProfileSummaryInfo *PSI, in isFunctionHotInCallGraphNthPercentile()
145 ProfileSummaryInfo *PSI, in isColdBlock()
150 ProfileSummaryInfo *PSI, in isColdBlock()
184 ProfileSummaryInfo *PSI, in shouldOptimizeForSize()
[all …]
H A DBranchFolding.h29 class ProfileSummaryInfo; variable
38 ProfileSummaryInfo *PSI,
132 ProfileSummaryInfo *PSI;
/netbsd/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/
H A 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()
H A DSampleProfileLoaderBaseUtil.cpp56 bool callsiteIsHot(const FunctionSamples *CallsiteFS, ProfileSummaryInfo *PSI, in callsiteIsHot()
90 ProfileSummaryInfo *PSI) const { in countUsedRecords()
115 ProfileSummaryInfo *PSI) const { in countBodyRecords()
134 ProfileSummaryInfo *PSI) const { in countBodySamples()
/netbsd/external/apache2/llvm/dist/llvm/include/llvm/Analysis/
H A DProfileSummaryInfo.h39 class ProfileSummaryInfo {
61 ProfileSummaryInfo(const Module &M) : M(&M) { refresh(); } in ProfileSummaryInfo() function
62 ProfileSummaryInfo(ProfileSummaryInfo &&Arg) = default;
186 std::unique_ptr<ProfileSummaryInfo> PSI;
192 ProfileSummaryInfo &getPSI() { return *PSI; } in getPSI()
193 const ProfileSummaryInfo &getPSI() const { return *PSI; } in getPSI()
206 typedef ProfileSummaryInfo Result;
H A DInlineCost.h28 class ProfileSummaryInfo; variable
231 ProfileSummaryInfo *PSI = nullptr,
245 ProfileSummaryInfo *PSI = nullptr,
270 ProfileSummaryInfo *PSI = nullptr,
H A DModuleSummaryAnalysis.h27 class ProfileSummaryInfo; variable
39 ProfileSummaryInfo *PSI,
/netbsd/external/apache2/llvm/dist/llvm/include/llvm/Transforms/Utils/
H A DSampleProfileLoaderBaseUtil.h30 class ProfileSummaryInfo; variable
45 ProfileSummaryInfo *PSI) const;
47 ProfileSummaryInfo *PSI) const;
50 ProfileSummaryInfo *PSI) const;
93 bool callsiteIsHot(const FunctionSamples *CallsiteFS, ProfileSummaryInfo *PSI,
H A DSizeOpts.h41 static inline bool isPGSOColdCodeOnly(ProfileSummaryInfo *PSI) { in isPGSOColdCodeOnly()
52 bool shouldFuncOptimizeForSizeImpl(const FuncT *F, ProfileSummaryInfo *PSI, in shouldFuncOptimizeForSizeImpl()
73 bool shouldOptimizeForSizeImpl(BlockTOrBlockFreq BBOrBlockFreq, ProfileSummaryInfo *PSI, in shouldOptimizeForSizeImpl()
94 bool shouldOptimizeForSize(const Function *F, ProfileSummaryInfo *PSI,
100 bool shouldOptimizeForSize(const BasicBlock *BB, ProfileSummaryInfo *PSI,
H A DCloning.h46 class ProfileSummaryInfo; variable
198 ProfileSummaryInfo *PSI = nullptr,
209 ProfileSummaryInfo *PSI;
H A DUnrollLoop.h32 class ProfileSummaryInfo; variable
126 BlockFrequencyInfo *BFI, ProfileSummaryInfo *PSI, int OptLevel,
H A DSimplifyLibCalls.h30 class ProfileSummaryInfo; variable
107 ProfileSummaryInfo *PSI;
141 BlockFrequencyInfo *BFI, ProfileSummaryInfo *PSI,
/netbsd/external/apache2/llvm/dist/llvm/include/llvm/CodeGen/
H A DMachineSizeOpts.h20 class ProfileSummaryInfo; variable
28 bool shouldOptimizeForSize(const MachineFunction *MF, ProfileSummaryInfo *PSI,
34 ProfileSummaryInfo *PSI,
40 ProfileSummaryInfo *PSI,
H A DTailDuplicator.h35 class ProfileSummaryInfo; variable
47 ProfileSummaryInfo *PSI;
74 ProfileSummaryInfo *PSI,
/netbsd/external/apache2/llvm/dist/llvm/include/llvm/Transforms/IPO/
H A DHotColdSplitting.h20 class ProfileSummaryInfo; variable
35 HotColdSplitting(ProfileSummaryInfo *ProfSI, in HotColdSplitting()
53 ProfileSummaryInfo *PSI;
H A DInliner.h26 class ProfileSummaryInfo; variable
79 ProfileSummaryInfo *PSI;
/netbsd/external/apache2/llvm/dist/llvm/include/llvm/Transforms/Vectorize/
H A DLoopVectorize.h75 class ProfileSummaryInfo; variable
153 ProfileSummaryInfo *PSI;
164 OptimizationRemarkEmitter &ORE_, ProfileSummaryInfo *PSI_);
/netbsd/external/apache2/llvm/dist/llvm/lib/Transforms/Instrumentation/
H A DIndirectCallPromotion.cpp212 bool processFunction(ProfileSummaryInfo *PSI);
357 bool ICallPromotionFunc::processFunction(ProfileSummaryInfo *PSI) { in processFunction()
388 static bool promoteIndirectCalls(Module &M, ProfileSummaryInfo *PSI, in promoteIndirectCalls()
431 ProfileSummaryInfo *PSI = in runOnModule()
441 ProfileSummaryInfo *PSI = &AM.getResult<ProfileSummaryAnalysis>(M); in run()
/netbsd/external/apache2/llvm/dist/llvm/include/llvm/CodeGen/GlobalISel/
H A DInstructionSelect.h22 class ProfileSummaryInfo; variable
57 ProfileSummaryInfo *PSI = nullptr;
H A DInstructionSelector.h442 ProfileSummaryInfo *PSI = nullptr;
453 CodeGenCoverage &covinfo, ProfileSummaryInfo *psi, in setupMF()
H A DUtils.h37 class ProfileSummaryInfo; variable
384 bool shouldOptForSize(const MachineBasicBlock &MBB, ProfileSummaryInfo *PSI,
/netbsd/external/apache2/llvm/dist/llvm/include/llvm/Transforms/Scalar/
H A DConstantHoisting.h60 class ProfileSummaryInfo; variable
131 ProfileSummaryInfo *PSI);
155 ProfileSummaryInfo *PSI;
/netbsd/external/apache2/llvm/dist/llvm/include/llvm/Transforms/InstCombine/
H A DInstCombiner.h37 class ProfileSummaryInfo; variable
75 ProfileSummaryInfo *PSI;
88 BlockFrequencyInfo *BFI, ProfileSummaryInfo *PSI, in InstCombiner()
376 ProfileSummaryInfo *getProfileSummaryInfo() const { return PSI; } in getProfileSummaryInfo()

123