Home
last modified time | relevance | path

Searched refs:BlockFrequencyInfo (Results 1 – 25 of 87) sorted by relevance

1234

/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DBlockFrequencyInfo.cpp99 struct GraphTraits<BlockFrequencyInfo *> {
104 static NodeRef getEntryNode(const BlockFrequencyInfo *G) { in getEntryNode()
114 static nodes_iterator nodes_begin(const BlockFrequencyInfo *G) { in nodes_begin()
118 static nodes_iterator nodes_end(const BlockFrequencyInfo *G) { in nodes_end()
124 BFIDOTGraphTraitsBase<BlockFrequencyInfo, BranchProbabilityInfo>;
127 struct DOTGraphTraits<BlockFrequencyInfo *> : public BFIDOTGTraitsBase {
132 const BlockFrequencyInfo *Graph) { in getNodeLabel()
138 const BlockFrequencyInfo *Graph) { in getNodeAttributes()
144 const BlockFrequencyInfo *BFI) { in getEdgeAttributes()
152 BlockFrequencyInfo::BlockFrequencyInfo() = default;
[all …]
H A DOptimizationRemarkEmitter.cpp44 OwnedBFI = std::make_unique<BlockFrequencyInfo>(*F, BPI, LI); in OptimizationRemarkEmitter()
100 BlockFrequencyInfo *BFI; in runOnFunction()
131 BlockFrequencyInfo *BFI; in run()
H A DCallPrinter.cpp64 std::function<BlockFrequencyInfo *(Function &)> LookupBFI;
67 function_ref<BlockFrequencyInfo *(Function &)> LookupBFI) in CallGraphDOTInfo()
223 Module &M, function_ref<BlockFrequencyInfo *(Function &)> LookupBFI) { in doCallGraphDOTPrinting()
245 function_ref<BlockFrequencyInfo *(Function &)> LookupBFI) { in viewCallGraph()
H A DProfileSummaryInfo.cpp15 #include "llvm/Analysis/BlockFrequencyInfo.h"
70 const CallBase &Call, BlockFrequencyInfo *BFI, bool AllowSynthetic) const { in refresh()
201 BlockFrequencyInfo *BFI) const {
207 BlockFrequencyInfo *BFI) const { in getOrCompColdCountThreshold()
H A DCFGPrinter.cpp60 static void writeCFGToDotFile(Function &F, BlockFrequencyInfo *BFI,
82 static void viewCFG(Function &F, const BlockFrequencyInfo *BFI, in writeCFGToDotFile()
139 void Function::viewCFG(bool ViewCFGOnly, const BlockFrequencyInfo *BFI, in CFGOnlyViewerLegacyPass()
154 void Function::viewCFGOnly(const BlockFrequencyInfo *BFI, in getAnalysisUsage()
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/
H A DBlockFrequencyInfo.h1 //===- BlockFrequencyInfo.h - Block Frequency Analysis ----------*- C++ -*-===//
36 /// BlockFrequencyInfo pass uses BlockFrequencyInfoImpl implementation to
38 class BlockFrequencyInfo {
44 BlockFrequencyInfo();
45 BlockFrequencyInfo(const Function &F, const BranchProbabilityInfo &BPI,
47 BlockFrequencyInfo(const BlockFrequencyInfo &) = delete;
48 BlockFrequencyInfo &operator=(const BlockFrequencyInfo &) = delete;
49 BlockFrequencyInfo(BlockFrequencyInf
[all...]
H A DLazyBlockFrequencyInfo.h101 BlockFrequencyInfo>
110 BlockFrequencyInfo &getBFI() { return LBFI.getCalculated(); } in getBFI()
113 const BlockFrequencyInfo &getBFI() const { return LBFI.getCalculated(); } in getBFI()
H A DInlineCost.h27 class BlockFrequencyInfo; variable
282 function_ref<BlockFrequencyInfo &(Function &)> GetBFI = nullptr,
296 function_ref<BlockFrequencyInfo &(Function &)> GetBFI = nullptr,
321 function_ref<BlockFrequencyInfo &(Function &)> GetBFI = nullptr,
330 function_ref<BlockFrequencyInfo &(Function &)> GetBFI = nullptr,
H A DHeatUtils.h21 class BlockFrequencyInfo; variable
29 uint64_t getMaxFreq(const Function &F, const BlockFrequencyInfo *BFI);
H A DOptimizationRemarkEmitter.h36 OptimizationRemarkEmitter(const Function *F, BlockFrequencyInfo *BFI) in OptimizationRemarkEmitter()
113 BlockFrequencyInfo *BFI;
116 std::unique_ptr<BlockFrequencyInfo> OwnedBFI;
H A DModuleSummaryAnalysis.h24 class BlockFrequencyInfo; variable
38 std::function<BlockFrequencyInfo *(const Function &F)> GetBFICallback,
H A DLoopAnalysisManager.h38 class BlockFrequencyInfo; variable
61 BlockFrequencyInfo *BFI;
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DSizeOpts.cpp64 BlockFrequencyInfo &BFI) { in isFunctionColdInCallGraph()
70 BlockFrequencyInfo &BFI) { in isFunctionHotInCallGraphNthPercentile()
76 BlockFrequencyInfo &BFI) { in isFunctionColdInCallGraphNthPercentile()
81 BlockFrequencyInfo *BFI) { in isColdBlock()
87 BlockFrequencyInfo *BFI) { in isHotBlockNthPercentile()
92 BlockFrequencyInfo *BFI) { in isColdBlockNthPercentile()
99 BlockFrequencyInfo *BFI, in shouldOptimizeForSize()
105 BlockFrequencyInfo *BFI, in shouldOptimizeForSize()
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/IPO/
H A DHotColdSplitting.h23 class BlockFrequencyInfo; variable
39 function_ref<BlockFrequencyInfo *(Function &)> GBFI, in HotColdSplitting()
50 BlockFrequencyInfo *BFI) const;
57 BlockFrequencyInfo *BFI, TargetTransformInfo &TTI,
60 function_ref<BlockFrequencyInfo *(Function &)> GetBFI;
H A DFunctionSpecialization.h77 #include "llvm/Analysis/BlockFrequencyInfo.h"
177 BlockFrequencyInfo &BFI;
195 InstCostVisitor(const DataLayout &DL, BlockFrequencyInfo &BFI, in getInstCostVisitorFor()
260 std::function<BlockFrequencyInfo &(Function &)> GetBFI;
274 std::function<BlockFrequencyInfo &(Function &)> GetBFI,
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Scalar/
H A DJumpThreading.h87 std::optional<BlockFrequencyInfo *> BFI;
108 std::optional<BlockFrequencyInfo *> BFI,
173 BlockFrequencyInfo *BFI,
196 BlockFrequencyInfo *getBFI();
206 BlockFrequencyInfo *getOrCreateBFI(bool Force = false);
H A DConstantHoisting.h53 class BlockFrequencyInfo; variable
132 BlockFrequencyInfo *BFI, BasicBlock &Entry,
153 BlockFrequencyInfo *BFI;
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/
H A DCodeExtractor.h28 class BlockFrequencyInfo; variable
91 BlockFrequencyInfo *BFI;
139 bool AggregateArgs = false, BlockFrequencyInfo *BFI = nullptr,
151 BlockFrequencyInfo *BFI = nullptr,
H A DSizeOpts.h31 class BlockFrequencyInfo; variable
94 BlockFrequencyInfo *BFI,
100 BlockFrequencyInfo *BFI,
H A DCloning.h36 class BlockFrequencyInfo; variable
208 BlockFrequencyInfo *CallerBFI = nullptr,
209 BlockFrequencyInfo *CalleeBFI = nullptr, bool UpdateProfile = true)
217 BlockFrequencyInfo *CallerBFI, *CalleeBFI;
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Vectorize/
H A DLoopVectorize.h66 class BlockFrequencyInfo; variable
178 BlockFrequencyInfo *BFI;
193 BlockFrequencyInfo *BFI_, TargetLibraryInfo *TLI_,
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/
H A DInstructionSelect.h23 class BlockFrequencyInfo; variable
58 BlockFrequencyInfo *BFI = nullptr;
H A DGIMatchTableExecutor.h35 class BlockFrequencyInfo; variable
575 BlockFrequencyInfo *BFI = nullptr;
585 BlockFrequencyInfo *bfi = nullptr) {
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLoopSink.cpp37 #include "llvm/Analysis/BlockFrequencyInfo.h"
79 BlockFrequencyInfo &BFI) {
118 DominatorTree &DT, BlockFrequencyInfo &BFI) { in findBBsToSinkInto()
173 DominatorTree &DT, BlockFrequencyInfo &BFI, MemorySSAUpdater *MSSAU) { in sinkInstruction()
283 BlockFrequencyInfo &BFI, in sinkLoopInvariantInstructions()
354 BlockFrequencyInfo &BFI = FAM.getResult<BlockFrequencyAnalysis>(F); in run()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DPartialInlining.cpp195 function_ref<BlockFrequencyInfo &(Function &)> GBFI = nullptr) in PartialInlinerImpl()
258 std::unique_ptr<BlockFrequencyInfo> ClonedFuncBFI = nullptr;
269 function_ref<BlockFrequencyInfo &(Function &)> GetBFI;
354 std::unique_ptr<BlockFrequencyInfo> ScopedBFI; in computeOutliningColdRegionsInfo()
355 BlockFrequencyInfo *BFI; in computeOutliningColdRegionsInfo()
357 ScopedBFI.reset(new BlockFrequencyInfo(F, BPI, LI)); in computeOutliningColdRegionsInfo()
906 std::unique_ptr<BlockFrequencyInfo> TempBFI; in computeCallsiteToProfCountMap()
907 BlockFrequencyInfo *CurrentCallerBFI = nullptr; in computeCallsiteToProfCountMap()
915 TempBFI.reset(new BlockFrequencyInfo(*Caller, BPI, LI)); in computeCallsiteToProfCountMap()
1103 ClonedFuncBFI.reset(new BlockFrequencyInfo(*ClonedFunc, BPI, LI)); in doMultiRegionFunctionOutlining()
[all …]

1234