/freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | BlockFrequencyInfo.cpp | 99 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 D | OptimizationRemarkEmitter.cpp | 44 OwnedBFI = std::make_unique<BlockFrequencyInfo>(*F, BPI, LI); in OptimizationRemarkEmitter() 100 BlockFrequencyInfo *BFI; in runOnFunction() 131 BlockFrequencyInfo *BFI; in run()
|
H A D | CallPrinter.cpp | 64 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 D | ProfileSummaryInfo.cpp | 15 #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 D | CFGPrinter.cpp | 60 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 D | BlockFrequencyInfo.h | 1 //===- 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 D | LazyBlockFrequencyInfo.h | 101 BlockFrequencyInfo> 110 BlockFrequencyInfo &getBFI() { return LBFI.getCalculated(); } in getBFI() 113 const BlockFrequencyInfo &getBFI() const { return LBFI.getCalculated(); } in getBFI()
|
H A D | InlineCost.h | 27 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 D | HeatUtils.h | 21 class BlockFrequencyInfo; variable 29 uint64_t getMaxFreq(const Function &F, const BlockFrequencyInfo *BFI);
|
H A D | OptimizationRemarkEmitter.h | 36 OptimizationRemarkEmitter(const Function *F, BlockFrequencyInfo *BFI) in OptimizationRemarkEmitter() 113 BlockFrequencyInfo *BFI; 116 std::unique_ptr<BlockFrequencyInfo> OwnedBFI;
|
H A D | ModuleSummaryAnalysis.h | 24 class BlockFrequencyInfo; variable 38 std::function<BlockFrequencyInfo *(const Function &F)> GetBFICallback,
|
H A D | LoopAnalysisManager.h | 38 class BlockFrequencyInfo; variable 61 BlockFrequencyInfo *BFI;
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | SizeOpts.cpp | 64 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 D | HotColdSplitting.h | 23 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 D | FunctionSpecialization.h | 77 #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 D | JumpThreading.h | 87 std::optional<BlockFrequencyInfo *> BFI; 108 std::optional<BlockFrequencyInfo *> BFI, 173 BlockFrequencyInfo *BFI, 196 BlockFrequencyInfo *getBFI(); 206 BlockFrequencyInfo *getOrCreateBFI(bool Force = false);
|
H A D | ConstantHoisting.h | 53 class BlockFrequencyInfo; variable 132 BlockFrequencyInfo *BFI, BasicBlock &Entry, 153 BlockFrequencyInfo *BFI;
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/ |
H A D | CodeExtractor.h | 28 class BlockFrequencyInfo; variable 91 BlockFrequencyInfo *BFI; 139 bool AggregateArgs = false, BlockFrequencyInfo *BFI = nullptr, 151 BlockFrequencyInfo *BFI = nullptr,
|
H A D | SizeOpts.h | 31 class BlockFrequencyInfo; variable 94 BlockFrequencyInfo *BFI, 100 BlockFrequencyInfo *BFI,
|
H A D | Cloning.h | 36 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 D | LoopVectorize.h | 66 class BlockFrequencyInfo; variable 178 BlockFrequencyInfo *BFI; 193 BlockFrequencyInfo *BFI_, TargetLibraryInfo *TLI_,
|
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/ |
H A D | InstructionSelect.h | 23 class BlockFrequencyInfo; variable 58 BlockFrequencyInfo *BFI = nullptr;
|
H A D | GIMatchTableExecutor.h | 35 class BlockFrequencyInfo; variable 575 BlockFrequencyInfo *BFI = nullptr; 585 BlockFrequencyInfo *bfi = nullptr) {
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
H A D | LoopSink.cpp | 37 #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 D | PartialInlining.cpp | 195 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 …]
|