Home
last modified time | relevance | path

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

1234567

/external/llvm/lib/Analysis/
DBlockFrequencyInfo.cpp62 struct GraphTraits<BlockFrequencyInfo *> {
67 static inline const NodeType *getEntryNode(const BlockFrequencyInfo *G) { in getEntryNode()
76 static nodes_iterator nodes_begin(const BlockFrequencyInfo *G) { in nodes_begin()
79 static nodes_iterator nodes_end(const BlockFrequencyInfo *G) { in nodes_end()
84 typedef BFIDOTGraphTraitsBase<BlockFrequencyInfo, BranchProbabilityInfo>
88 struct DOTGraphTraits<BlockFrequencyInfo *> : public BFIDOTGTraitsBase {
93 const BlockFrequencyInfo *Graph) { in getNodeLabel()
100 const BlockFrequencyInfo *Graph) { in getNodeAttributes()
106 const BlockFrequencyInfo *BFI) { in getEdgeAttributes()
115 BlockFrequencyInfo::BlockFrequencyInfo() {} in BlockFrequencyInfo() function in BlockFrequencyInfo
[all …]
DModuleSummaryAnalysis.cpp66 const Function &F, BlockFrequencyInfo *BFI) { in computeFunctionSummary()
120 std::function<BlockFrequencyInfo *(const Function &F)> Ftor) in ModuleSummaryIndexBuilder()
134 BlockFrequencyInfo *BFI = nullptr; in ModuleSummaryIndexBuilder()
135 std::unique_ptr<BlockFrequencyInfo> BFIPtr; in ModuleSummaryIndexBuilder()
141 BFIPtr = llvm::make_unique<BlockFrequencyInfo>(F, BPI, LI); in ModuleSummaryIndexBuilder()
/external/llvm-project/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.cpp114 const CallBase &Call, BlockFrequencyInfo *BFI, bool AllowSynthetic) const { in getProfileCount()
151 const Function *F, BlockFrequencyInfo &BFI) const { in isFunctionHotInCallGraph()
180 const Function *F, BlockFrequencyInfo &BFI) const { in isFunctionColdInCallGraph()
210 int PercentileCutoff, const Function *F, BlockFrequencyInfo &BFI) const { in isFunctionHotOrColdInCallGraphNthPercentile()
244 int PercentileCutoff, const Function *F, BlockFrequencyInfo &BFI) const { in isFunctionHotInCallGraphNthPercentile()
250 int PercentileCutoff, const Function *F, BlockFrequencyInfo &BFI) const { in isFunctionColdInCallGraphNthPercentile()
367 BlockFrequencyInfo *BFI) const { in isHotBlock()
373 BlockFrequencyInfo *BFI) const { in isColdBlock()
380 int PercentileCutoff, const BasicBlock *BB, BlockFrequencyInfo *BFI) const { in isHotOrColdBlockNthPercentile()
389 int PercentileCutoff, const BasicBlock *BB, BlockFrequencyInfo *BFI) const { in isHotBlockNthPercentile()
[all …]
/external/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()
/external/llvm-project/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();
108 void verifyMatch(BlockFrequencyInfo &Other) const;
120 using Result = BlockFrequencyInfo;
[all …]
DProfileSummaryInfo.h25 class BlockFrequencyInfo; variable
102 BlockFrequencyInfo *BFI,
114 BlockFrequencyInfo &BFI) const;
119 BlockFrequencyInfo &BFI) const;
126 BlockFrequencyInfo &BFI) const;
131 BlockFrequencyInfo &BFI) const;
143 bool isHotBlock(const BasicBlock *BB, BlockFrequencyInfo *BFI) const;
145 bool isColdBlock(const BasicBlock *BB, BlockFrequencyInfo *BFI) const;
149 BlockFrequencyInfo *BFI) const;
153 BlockFrequencyInfo *BFI) const;
[all …]
DLazyBlockFrequencyInfo.h103 BlockFrequencyInfo>
112 BlockFrequencyInfo &getBFI() { return LBFI.getCalculated(); } in getBFI()
115 const BlockFrequencyInfo &getBFI() const { return LBFI.getCalculated(); } in getBFI()
/external/llvm/include/llvm/Analysis/
DBlockFrequencyInfo.h31 class BlockFrequencyInfo {
35 void operator=(const BlockFrequencyInfo &) = delete;
36 BlockFrequencyInfo(const BlockFrequencyInfo &) = delete;
39 BlockFrequencyInfo();
40 BlockFrequencyInfo(const Function &F, const BranchProbabilityInfo &BPI,
42 BlockFrequencyInfo(BlockFrequencyInfo &&Arg);
44 BlockFrequencyInfo &operator=(BlockFrequencyInfo &&RHS);
46 ~BlockFrequencyInfo();
92 typedef BlockFrequencyInfo Result;
110 BlockFrequencyInfo BFI;
[all …]
DLazyBlockFrequencyInfo.h71 BlockFrequencyInfo &getCalculated() { in getCalculated()
80 const BlockFrequencyInfo &getCalculated() const { in getCalculated()
91 BlockFrequencyInfo BFI;
106 BlockFrequencyInfo &getBFI() { return LBFI.getCalculated(); } in getBFI()
109 const BlockFrequencyInfo &getBFI() const { return LBFI.getCalculated(); } in getBFI()
DModuleSummaryAnalysis.h23 class BlockFrequencyInfo; variable
41 std::function<BlockFrequencyInfo *(const Function &F)> Ftor = nullptr);
52 BlockFrequencyInfo *BFI = nullptr);
/external/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()
/external/llvm-project/llvm/lib/Transforms/Utils/
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()
106 BlockFrequencyInfo *BFI, in shouldOptimizeForSize()
/external/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()
/external/llvm-project/llvm/unittests/Transforms/Utils/
DSizeOptsTest.cpp37 std::unique_ptr<BlockFrequencyInfo> BFI;
42 BFI.reset(new BlockFrequencyInfo(F, *BPI, *LI)); in BFIData()
44 BlockFrequencyInfo *get() { return BFI.get(); } in get()
62 BlockFrequencyInfo *BFI_F = BFID_F.get(); in TEST_F()
63 BlockFrequencyInfo *BFI_G = BFID_G.get(); in TEST_F()
64 BlockFrequencyInfo *BFI_H = BFID_H.get(); in TEST_F()
/external/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;
/external/llvm-project/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;
/external/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,
/external/llvm-project/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.h35 class BlockFrequencyInfo; variable
178 BlockFrequencyInfo *CallerBFI = nullptr,
179 BlockFrequencyInfo *CalleeBFI = nullptr)
188 BlockFrequencyInfo *CallerBFI, *CalleeBFI;
/external/llvm/unittests/Analysis/
DBlockFrequencyInfoTest.cpp35 BlockFrequencyInfo buildBFI(Function &F) { in buildBFI()
39 return BlockFrequencyInfo(F, *BPI, *LI); in buildBFI()
64 BlockFrequencyInfo BFI = buildBFI(*F); in TEST_F()
/external/llvm-project/llvm/include/llvm/Transforms/Vectorize/
DLoopVectorize.h67 class BlockFrequencyInfo; variable
146 BlockFrequencyInfo *BFI;
161 BlockFrequencyInfo &BFI_, TargetLibraryInfo *TLI_, DemandedBits &DB_,

1234567