Home
last modified time | relevance | path

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

123

/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/swiftshader/third_party/llvm-7.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.cpp85 BlockFrequencyInfo *BFI) { in getProfileCount()
124 BlockFrequencyInfo &BFI) { in isFunctionHotInCallGraph()
153 BlockFrequencyInfo &BFI) { in isFunctionColdInCallGraph()
238 bool ProfileSummaryInfo::isHotBB(const BasicBlock *B, BlockFrequencyInfo *BFI) { in isHotBB()
244 BlockFrequencyInfo *BFI) { in isColdBB()
250 BlockFrequencyInfo *BFI) { in isHotCallSite()
256 BlockFrequencyInfo *BFI) { in isColdCallSite()
DOptimizationRemarkEmitter.cpp43 OwnedBFI = llvm::make_unique<BlockFrequencyInfo>(*F, BPI, LI); in OptimizationRemarkEmitter()
94 BlockFrequencyInfo *BFI; in runOnFunction()
116 BlockFrequencyInfo *BFI; in run()
/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-7.0/llvm/include/llvm/Analysis/
DBlockFrequencyInfo.h38 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(BlockFrequencyInfo &&Arg);
50 BlockFrequencyInfo &operator=(BlockFrequencyInfo &&RHS);
51 ~BlockFrequencyInfo();
117 using Result = BlockFrequencyInfo;
136 BlockFrequencyInfo BFI;
[all …]
DProfileSummaryInfo.h31 class BlockFrequencyInfo; variable
90 BlockFrequencyInfo *BFI);
96 bool isFunctionHotInCallGraph(const Function *F, BlockFrequencyInfo &BFI);
100 bool isFunctionColdInCallGraph(const Function *F, BlockFrequencyInfo &BFI);
106 bool isHotBB(const BasicBlock *B, BlockFrequencyInfo *BFI);
108 bool isColdBB(const BasicBlock *B, BlockFrequencyInfo *BFI);
110 bool isHotCallSite(const CallSite &CS, BlockFrequencyInfo *BFI);
112 bool isColdCallSite(const CallSite &CS, BlockFrequencyInfo *BFI);
DLazyBlockFrequencyInfo.h104 BlockFrequencyInfo>
113 BlockFrequencyInfo &getBFI() { return LBFI.getCalculated(); } in getBFI()
116 const BlockFrequencyInfo &getBFI() const { return LBFI.getCalculated(); } in getBFI()
DInlineCost.h25 class BlockFrequencyInfo; variable
195 Optional<function_ref<BlockFrequencyInfo &(Function &)>> GetBFI,
207 Optional<function_ref<BlockFrequencyInfo &(Function &)>> GetBFI,
DOptimizationRemarkEmitter.h40 OptimizationRemarkEmitter(const Function *F, BlockFrequencyInfo *BFI) in OptimizationRemarkEmitter()
103 BlockFrequencyInfo *BFI;
106 std::unique_ptr<BlockFrequencyInfo> OwnedBFI;
DModuleSummaryAnalysis.h25 class BlockFrequencyInfo; variable
38 std::function<BlockFrequencyInfo *(const Function &F)> GetBFICallback,
/external/swiftshader/third_party/LLVM/lib/Analysis/
DBlockFrequencyInfo.cpp23 INITIALIZE_PASS_BEGIN(BlockFrequencyInfo, "block-freq", "Block Frequency Analysis",
26 INITIALIZE_PASS_END(BlockFrequencyInfo, "block-freq", "Block Frequency Analysis",
29 char BlockFrequencyInfo::ID = 0;
32 BlockFrequencyInfo::BlockFrequencyInfo() : FunctionPass(ID) { in BlockFrequencyInfo() function in BlockFrequencyInfo
37 BlockFrequencyInfo::~BlockFrequencyInfo() { in ~BlockFrequencyInfo()
41 void BlockFrequencyInfo::getAnalysisUsage(AnalysisUsage &AU) const { in getAnalysisUsage()
46 bool BlockFrequencyInfo::runOnFunction(Function &F) { in runOnFunction()
52 void BlockFrequencyInfo::print(raw_ostream &O, const Module *) const { in print()
61 BlockFrequency BlockFrequencyInfo::getBlockFreq(BasicBlock *BB) const { in getBlockFreq()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Transforms/Utils/
DCodeExtractor.h27 class BlockFrequencyInfo; variable
56 BlockFrequencyInfo *BFI;
79 bool AggregateArgs = false, BlockFrequencyInfo *BFI = nullptr,
88 BlockFrequencyInfo *BFI = nullptr,
DCloning.h36 class BlockFrequencyInfo; variable
182 BlockFrequencyInfo *CallerBFI = nullptr,
183 BlockFrequencyInfo *CalleeBFI = nullptr)
192 BlockFrequencyInfo *CallerBFI, *CalleeBFI;
/external/swiftshader/third_party/LLVM/include/llvm/Analysis/
DBlockFrequencyInfo.h29 class BlockFrequencyInfo : public FunctionPass {
36 BlockFrequencyInfo();
38 ~BlockFrequencyInfo();
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Transforms/Vectorize/
DLoopVectorize.h67 class BlockFrequencyInfo; variable
92 BlockFrequencyInfo *BFI;
105 BlockFrequencyInfo &BFI_, TargetLibraryInfo *TLI_,
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Analysis/
DProfileSummaryInfoTest.cpp41 BlockFrequencyInfo buildBFI(Function &F) { in buildBFI()
45 return BlockFrequencyInfo(F, *BPI, *LI); in buildBFI()
120 BlockFrequencyInfo BFI = buildBFI(*F); in TEST_F()
158 BlockFrequencyInfo BFI = buildBFI(*F); in TEST_F()
190 BlockFrequencyInfo BFI = buildBFI(*F); in TEST_F()
DBlockFrequencyInfoTest.cpp34 BlockFrequencyInfo buildBFI(Function &F) { in buildBFI()
38 return BlockFrequencyInfo(F, *BPI, *LI); in buildBFI()
63 BlockFrequencyInfo BFI = buildBFI(*F); in TEST_F()
/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/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Transforms/Scalar/
DConstantHoisting.h50 class BlockFrequencyInfo; variable
115 BlockFrequencyInfo *BFI, BasicBlock &Entry);
129 BlockFrequencyInfo *BFI;
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Scalar/
DLoopSink.cpp84 BlockFrequencyInfo &BFI) { in adjustedSumFreq()
123 DominatorTree &DT, BlockFrequencyInfo &BFI) { in findBBsToSinkInto()
179 BlockFrequencyInfo &BFI) { in sinkInstruction()
252 BlockFrequencyInfo &BFI, in sinkLoopInvariantInstructions()
320 BlockFrequencyInfo &BFI = FAM.getResult<BlockFrequencyAnalysis>(F); in run()
/external/llvm/include/llvm/Transforms/Vectorize/
DLoopVectorize.h81 BlockFrequencyInfo *BFI;
95 BlockFrequencyInfo &BFI_, TargetLibraryInfo *TLI_,

123