Home
last modified time | relevance | path

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

123

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
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 …]
DProfileSummaryInfo.cpp106 BlockFrequencyInfo *BFI, in getProfileCount()
146 BlockFrequencyInfo &BFI) { in isFunctionHotInCallGraph()
175 BlockFrequencyInfo &BFI) { in isFunctionColdInCallGraph()
200 int PercentileCutoff, const Function *F, BlockFrequencyInfo &BFI) { in isFunctionHotInCallGraphNthPercentile()
319 bool ProfileSummaryInfo::isHotBlock(const BasicBlock *BB, BlockFrequencyInfo *BFI) { in isHotBlock()
325 BlockFrequencyInfo *BFI) { in isColdBlock()
332 BlockFrequencyInfo *BFI) { in isHotBlockNthPercentile()
338 BlockFrequencyInfo *BFI) { in isHotCallSite()
344 BlockFrequencyInfo *BFI) { in isColdCallSite()
DOptimizationRemarkEmitter.cpp43 OwnedBFI = std::make_unique<BlockFrequencyInfo>(*F, BPI, LI); in OptimizationRemarkEmitter()
94 BlockFrequencyInfo *BFI; in runOnFunction()
116 BlockFrequencyInfo *BFI; in run()
DInlineCost.cpp110 Optional<function_ref<BlockFrequencyInfo &(Function &)>> &GetBFI;
342 Optional<function_ref<BlockFrequencyInfo &(Function &)>> &GetBFI, in CallAnalyzer()
402 bool isColdCallSite(CallBase &Call, BlockFrequencyInfo *CallerBFI);
411 BlockFrequencyInfo *CallerBFI);
630 Optional<function_ref<BlockFrequencyInfo &(Function &)>> &GetBFI, in InlineCostCallAnalyzer()
1084 BlockFrequencyInfo *CallerBFI) { in isColdCallSite()
1108 BlockFrequencyInfo *CallerBFI) { in getHotCallSiteThreshold()
1203 BlockFrequencyInfo *CallerBFI = GetBFI ? &((*GetBFI)(*Caller)) : nullptr; in updateThreshold()
1670 BlockFrequencyInfo *BFI = GetBFI ? &((*GetBFI)(F)) : nullptr; in visitSwitchInst()
2108 Optional<function_ref<BlockFrequencyInfo &(Function &)>> GetBFI, in getInlineCost()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/
DBlockFrequencyInfo.h37 class BlockFrequencyInfo {
43 BlockFrequencyInfo();
44 BlockFrequencyInfo(const Function &F, const BranchProbabilityInfo &BPI,
46 BlockFrequencyInfo(const BlockFrequencyInfo &) = delete;
47 BlockFrequencyInfo &operator=(const BlockFrequencyInfo &) = delete;
48 BlockFrequencyInfo(BlockFrequencyInfo &&Arg);
49 BlockFrequencyInfo &operator=(BlockFrequencyInfo &&RHS);
50 ~BlockFrequencyInfo();
117 using Result = BlockFrequencyInfo;
136 BlockFrequencyInfo BFI;
[all …]
DProfileSummaryInfo.h30 class BlockFrequencyInfo; variable
104 BlockFrequencyInfo *BFI,
113 bool isFunctionHotInCallGraph(const Function *F, BlockFrequencyInfo &BFI);
117 bool isFunctionColdInCallGraph(const Function *F, BlockFrequencyInfo &BFI);
122 BlockFrequencyInfo &BFI);
131 bool isHotBlock(const BasicBlock *BB, BlockFrequencyInfo *BFI);
133 bool isColdBlock(const BasicBlock *BB, BlockFrequencyInfo *BFI);
137 const BasicBlock *BB, BlockFrequencyInfo *BFI);
139 bool isHotCallSite(const CallSite &CS, BlockFrequencyInfo *BFI);
141 bool isColdCallSite(const CallSite &CS, BlockFrequencyInfo *BFI);
DLazyBlockFrequencyInfo.h103 BlockFrequencyInfo>
112 BlockFrequencyInfo &getBFI() { return LBFI.getCalculated(); } in getBFI()
115 const BlockFrequencyInfo &getBFI() const { return LBFI.getCalculated(); } in getBFI()
DOptimizationRemarkEmitter.h39 OptimizationRemarkEmitter(const Function *F, BlockFrequencyInfo *BFI) in OptimizationRemarkEmitter()
102 BlockFrequencyInfo *BFI;
105 std::unique_ptr<BlockFrequencyInfo> OwnedBFI;
DInlineCost.h24 class BlockFrequencyInfo; variable
218 Optional<function_ref<BlockFrequencyInfo &(Function &)>> GetBFI,
230 Optional<function_ref<BlockFrequencyInfo &(Function &)>> GetBFI,
DModuleSummaryAnalysis.h24 class BlockFrequencyInfo; variable
37 std::function<BlockFrequencyInfo *(const Function &F)> GetBFICallback,
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DSizeOpts.cpp54 BlockFrequencyInfo &BFI) { in isFunctionColdInCallGraph()
60 BlockFrequencyInfo &BFI) { in isFunctionHotInCallGraphNthPercentile()
65 BlockFrequencyInfo *BFI) { in isColdBlock()
71 BlockFrequencyInfo *BFI) { in isHotBlockNthPercentile()
78 BlockFrequencyInfo *BFI, in shouldOptimizeForSize()
85 BlockFrequencyInfo *BFI, in shouldOptimizeForSize()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/IPO/
DHotColdSplitting.h21 class BlockFrequencyInfo; variable
36 function_ref<BlockFrequencyInfo *(Function &)> GBFI, in HotColdSplitting()
49 DominatorTree &DT, BlockFrequencyInfo *BFI,
54 function_ref<BlockFrequencyInfo *(Function &)> GetBFI;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/Utils/
DCodeExtractor.h28 class BlockFrequencyInfo; variable
91 BlockFrequencyInfo *BFI;
120 bool AggregateArgs = false, BlockFrequencyInfo *BFI = nullptr,
131 BlockFrequencyInfo *BFI = nullptr,
DCloning.h36 class BlockFrequencyInfo; variable
179 BlockFrequencyInfo *CallerBFI = nullptr,
180 BlockFrequencyInfo *CalleeBFI = nullptr)
189 BlockFrequencyInfo *CallerBFI, *CalleeBFI;
DSizeOpts.h31 class BlockFrequencyInfo; variable
94 BlockFrequencyInfo *BFI,
100 BlockFrequencyInfo *BFI,
DUnrollLoop.h27 class BlockFrequencyInfo; variable
132 BlockFrequencyInfo *BFI, ProfileSummaryInfo *PSI, int OptLevel,
DSimplifyLibCalls.h31 class BlockFrequencyInfo; variable
106 BlockFrequencyInfo *BFI;
141 BlockFrequencyInfo *BFI, ProfileSummaryInfo *PSI,
DBasicBlockUtils.h28 class BlockFrequencyInfo; variable
363 BlockFrequencyInfo *BFI = nullptr);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/Vectorize/
DLoopVectorize.h67 class BlockFrequencyInfo; variable
137 BlockFrequencyInfo *BFI;
151 BlockFrequencyInfo &BFI_, TargetLibraryInfo *TLI_,
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DLoopSink.cpp84 BlockFrequencyInfo &BFI) { in adjustedSumFreq()
123 DominatorTree &DT, BlockFrequencyInfo &BFI) { in findBBsToSinkInto()
179 BlockFrequencyInfo &BFI) { in sinkInstruction()
254 BlockFrequencyInfo &BFI, in sinkLoopInvariantInstructions()
322 BlockFrequencyInfo &BFI = FAM.getResult<BlockFrequencyAnalysis>(F); in run()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/Scalar/
DConstantHoisting.h52 class BlockFrequencyInfo; variable
130 BlockFrequencyInfo *BFI, BasicBlock &Entry,
151 BlockFrequencyInfo *BFI;
DJumpThreading.h82 std::unique_ptr<BlockFrequencyInfo> BFI;
100 std::unique_ptr<BlockFrequencyInfo> BFI_,
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/
DPartialInlining.cpp205 Optional<function_ref<BlockFrequencyInfo &(Function &)>> GBFI, in PartialInlinerImpl()
266 std::unique_ptr<BlockFrequencyInfo> ClonedFuncBFI = nullptr;
276 Optional<function_ref<BlockFrequencyInfo &(Function &)>> GetBFI;
400 std::unique_ptr<BlockFrequencyInfo> ScopedBFI; in computeOutliningColdRegionsInfo()
401 BlockFrequencyInfo *BFI; in computeOutliningColdRegionsInfo()
403 ScopedBFI.reset(new BlockFrequencyInfo(*F, BPI, LI)); in computeOutliningColdRegionsInfo()
931 std::unique_ptr<BlockFrequencyInfo> TempBFI; in computeCallsiteToProfCountMap()
932 BlockFrequencyInfo *CurrentCallerBFI = nullptr; in computeCallsiteToProfCountMap()
940 TempBFI.reset(new BlockFrequencyInfo(*Caller, BPI, LI)); in computeCallsiteToProfCountMap()
1124 ClonedFuncBFI.reset(new BlockFrequencyInfo(*ClonedFunc, BPI, LI)); in doMultiRegionFunctionOutlining()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Instrumentation/
DPGOMemOPSizeOpt.cpp138 MemOPSizeOpt(Function &Func, BlockFrequencyInfo &BFI, in MemOPSizeOpt()
174 BlockFrequencyInfo &BFI;
415 static bool PGOMemOPSizeOptImpl(Function &F, BlockFrequencyInfo &BFI, in PGOMemOPSizeOptImpl()
429 BlockFrequencyInfo &BFI = in runOnFunction()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DExpandMemCmp.cpp728 ProfileSummaryInfo *PSI, BlockFrequencyInfo *BFI) { in expandMemCmp()
828 ProfileSummaryInfo *PSI, BlockFrequencyInfo *BFI);
833 BlockFrequencyInfo *BFI);
839 const DataLayout& DL, ProfileSummaryInfo *PSI, BlockFrequencyInfo *BFI) { in runOnBlock()
859 BlockFrequencyInfo *BFI) { in runImpl()

123