Home
last modified time | relevance | path

Searched refs:BranchProbabilityInfo (Results 1 – 25 of 96) sorted by relevance

1234

/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/
DBranchProbabilityInfo.h53 class BranchProbabilityInfo {
55 BranchProbabilityInfo() = default;
57 BranchProbabilityInfo(const Function &F, const LoopInfo &LI,
62 BranchProbabilityInfo(BranchProbabilityInfo &&Arg) in BranchProbabilityInfo() function
67 BranchProbabilityInfo(const BranchProbabilityInfo &) = delete;
68 BranchProbabilityInfo &operator=(const BranchProbabilityInfo &) = delete;
70 BranchProbabilityInfo &operator=(BranchProbabilityInfo &&RHS) {
153 BranchProbabilityInfo *BPI;
162 BasicBlockCallbackVH(const Value *V, BranchProbabilityInfo *BPI = nullptr)
215 using Result = BranchProbabilityInfo;
[all …]
DLazyBranchProbabilityInfo.h63 BranchProbabilityInfo &getCalculated() { in getCalculated()
72 const BranchProbabilityInfo &getCalculated() const { in getCalculated()
77 BranchProbabilityInfo BPI;
92 BranchProbabilityInfo &getBPI() { return LBPI->getCalculated(); } in getBPI()
95 const BranchProbabilityInfo &getBPI() const { return LBPI->getCalculated(); } in getBPI()
118 static BranchProbabilityInfo &getBPI(LazyBranchProbabilityInfoPass *P) {
DBlockFrequencyInfo.h26 class BranchProbabilityInfo; variable
44 BlockFrequencyInfo(const Function &F, const BranchProbabilityInfo &BPI,
57 const BranchProbabilityInfo *getBPI() const;
92 void calculate(const Function &F, const BranchProbabilityInfo &BPI,
/external/llvm/include/llvm/Analysis/
DBranchProbabilityInfo.h41 class BranchProbabilityInfo {
43 BranchProbabilityInfo() {} in BranchProbabilityInfo() function
44 BranchProbabilityInfo(const Function &F, const LoopInfo &LI) { in BranchProbabilityInfo() function
48 BranchProbabilityInfo(BranchProbabilityInfo &&Arg) in BranchProbabilityInfo() function
53 BranchProbabilityInfo &operator=(BranchProbabilityInfo &&RHS) {
120 void operator=(const BranchProbabilityInfo &) = delete;
121 BranchProbabilityInfo(const BranchProbabilityInfo &) = delete;
164 typedef BranchProbabilityInfo Result;
167 BranchProbabilityInfo run(Function &F, AnalysisManager<Function> &AM);
182 BranchProbabilityInfo BPI;
[all …]
DBlockFrequencyInfo.h25 class BranchProbabilityInfo; variable
40 BlockFrequencyInfo(const Function &F, const BranchProbabilityInfo &BPI,
49 const BranchProbabilityInfo *getBPI() const;
68 void calculate(const Function &F, const BranchProbabilityInfo &BPI,
DLazyBlockFrequencyInfo.h25 class BranchProbabilityInfo; variable
63 void setAnalysis(const Function *F, const BranchProbabilityInfo *BPI, in setAnalysis()
94 const BranchProbabilityInfo *BPI;
/external/llvm-project/llvm/include/llvm/Analysis/
DBranchProbabilityInfo.h54 class BranchProbabilityInfo {
56 BranchProbabilityInfo() = default;
58 BranchProbabilityInfo(const Function &F, const LoopInfo &LI,
64 BranchProbabilityInfo(BranchProbabilityInfo &&Arg) in BranchProbabilityInfo() function
69 BranchProbabilityInfo(const BranchProbabilityInfo &) = delete;
70 BranchProbabilityInfo &operator=(const BranchProbabilityInfo &) = delete;
72 BranchProbabilityInfo &operator=(BranchProbabilityInfo &&RHS) {
217 BranchProbabilityInfo *BPI;
225 BasicBlockCallbackVH(const Value *V, BranchProbabilityInfo *BPI = nullptr)
327 using Result = BranchProbabilityInfo;
[all …]
DLazyBranchProbabilityInfo.h63 BranchProbabilityInfo &getCalculated() { in getCalculated()
72 const BranchProbabilityInfo &getCalculated() const { in getCalculated()
77 BranchProbabilityInfo BPI;
92 BranchProbabilityInfo &getBPI() { return LBPI->getCalculated(); } in getBPI()
95 const BranchProbabilityInfo &getBPI() const { return LBPI->getCalculated(); } in getBPI()
118 static BranchProbabilityInfo &getBPI(LazyBranchProbabilityInfoPass *P) {
DBlockFrequencyInfo.h26 class BranchProbabilityInfo; variable
44 BlockFrequencyInfo(const Function &F, const BranchProbabilityInfo &BPI,
57 const BranchProbabilityInfo *getBPI() const;
92 void calculate(const Function &F, const BranchProbabilityInfo &BPI,
/external/llvm-project/llvm/lib/Analysis/
DBranchProbabilityInfo.cpp151 BranchProbabilityInfo::SccInfo::SccInfo(const Function &F) { in SccInfo()
174 int BranchProbabilityInfo::SccInfo::getSCCNum(const BasicBlock *BB) const { in getSCCNum()
181 void BranchProbabilityInfo::SccInfo::getSccEnterBlocks( in getSccEnterBlocks()
193 void BranchProbabilityInfo::SccInfo::getSccExitBlocks( in getSccExitBlocks()
204 uint32_t BranchProbabilityInfo::SccInfo::getSccBlockType(const BasicBlock *BB, in getSccBlockType()
218 void BranchProbabilityInfo::SccInfo::calculateSccBlockType(const BasicBlock *BB, in calculateSccBlockType()
249 BranchProbabilityInfo::LoopBlock::LoopBlock(const BasicBlock *BB, in LoopBlock()
259 bool BranchProbabilityInfo::isLoopEnteringEdge(const LoopEdge &Edge) const { in isLoopEnteringEdge()
269 bool BranchProbabilityInfo::isLoopExitingEdge(const LoopEdge &Edge) const { in isLoopExitingEdge()
273 bool BranchProbabilityInfo::isLoopEnteringExitingEdge( in isLoopEnteringExitingEdge()
[all …]
DBlockFrequencyInfo.cpp124 BFIDOTGraphTraitsBase<BlockFrequencyInfo, BranchProbabilityInfo>;
155 const BranchProbabilityInfo &BPI, in BlockFrequencyInfo()
185 const BranchProbabilityInfo &BPI, in calculate()
264 const BranchProbabilityInfo *BlockFrequencyInfo::getBPI() const { in getBPI()
325 BranchProbabilityInfo &BPI = in runOnFunction()
DCFGPrinter.cpp59 BranchProbabilityInfo *BPI, uint64_t MaxFreq, in writeCFGToDotFile()
81 const BranchProbabilityInfo *BPI, uint64_t MaxFreq, in viewCFG()
246 const BranchProbabilityInfo *BPI) const { in viewCFG()
261 const BranchProbabilityInfo *BPI) const { in viewCFGOnly()
/external/llvm/lib/Analysis/
DBranchProbabilityInfo.cpp115 bool BranchProbabilityInfo::calcUnreachableHeuristics(const BasicBlock *BB) { in calcUnreachableHeuristics()
182 bool BranchProbabilityInfo::calcMetadataWeights(const BasicBlock *BB) { in calcMetadataWeights()
252 bool BranchProbabilityInfo::calcColdCallHeuristics(const BasicBlock *BB) { in calcColdCallHeuristics()
310 bool BranchProbabilityInfo::calcPointerHeuristics(const BasicBlock *BB) { in calcPointerHeuristics()
345 bool BranchProbabilityInfo::calcLoopBranchHeuristics(const BasicBlock *BB, in calcLoopBranchHeuristics()
403 bool BranchProbabilityInfo::calcZeroHeuristics(const BasicBlock *BB) { in calcZeroHeuristics()
486 bool BranchProbabilityInfo::calcFloatingPointHeuristics(const BasicBlock *BB) { in calcFloatingPointHeuristics()
523 bool BranchProbabilityInfo::calcInvokeHeuristics(const BasicBlock *BB) { in calcInvokeHeuristics()
535 void BranchProbabilityInfo::releaseMemory() { in releaseMemory()
539 void BranchProbabilityInfo::print(raw_ostream &OS) const { in print()
[all …]
DBlockFrequencyInfo.cpp84 typedef BFIDOTGraphTraitsBase<BlockFrequencyInfo, BranchProbabilityInfo>
118 const BranchProbabilityInfo &BPI, in BlockFrequencyInfo()
139 const BranchProbabilityInfo &BPI, in calculate()
186 const BranchProbabilityInfo *BlockFrequencyInfo::getBPI() const { in getBPI()
244 BranchProbabilityInfo &BPI = in runOnFunction()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DBranchProbabilityInfo.cpp166 void BranchProbabilityInfo::computePostDominatedByUnreachable( in computePostDominatedByUnreachable()
202 void BranchProbabilityInfo::computePostDominatedByColdCall( in computePostDominatedByColdCall()
233 bool BranchProbabilityInfo::calcUnreachableHeuristics(const BasicBlock *BB) { in calcUnreachableHeuristics()
277 bool BranchProbabilityInfo::calcMetadataWeights(const BasicBlock *BB) { in calcMetadataWeights()
379 bool BranchProbabilityInfo::calcColdCallHeuristics(const BasicBlock *BB) { in calcColdCallHeuristics()
423 bool BranchProbabilityInfo::calcPointerHeuristics(const BasicBlock *BB) { in calcPointerHeuristics()
457 const BranchProbabilityInfo::SccInfo &SccI) { in getSCCNum()
466 BranchProbabilityInfo::SccInfo &SccI) { in isSCCHeader()
475 BranchProbabilityInfo::SccHeaderMap::iterator HeaderMapIt; in isSCCHeader()
597 bool BranchProbabilityInfo::calcLoopBranchHeuristics(const BasicBlock *BB, in calcLoopBranchHeuristics()
[all …]
DBlockFrequencyInfo.cpp124 BFIDOTGraphTraitsBase<BlockFrequencyInfo, BranchProbabilityInfo>;
155 const BranchProbabilityInfo &BPI, in BlockFrequencyInfo()
185 const BranchProbabilityInfo &BPI, in calculate()
264 const BranchProbabilityInfo *BlockFrequencyInfo::getBPI() const { in getBPI()
320 BranchProbabilityInfo &BPI = in runOnFunction()
/external/llvm-project/llvm/unittests/Analysis/
DBranchProbabilityInfoTest.cpp28 std::unique_ptr<BranchProbabilityInfo> BPI;
33 BranchProbabilityInfo &buildBPI(Function &F) { in buildBPI()
36 BPI.reset(new BranchProbabilityInfo(F, *LI)); in buildBPI()
77 BranchProbabilityInfo &BPI = buildBPI(*F); in TEST_F()
DBlockFrequencyInfoTest.cpp29 std::unique_ptr<BranchProbabilityInfo> BPI;
37 BPI.reset(new BranchProbabilityInfo(F, *LI)); in buildBFI()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/Utils/
DCodeExtractor.h29 class BranchProbabilityInfo; variable
92 BranchProbabilityInfo *BPI;
121 BranchProbabilityInfo *BPI = nullptr,
132 BranchProbabilityInfo *BPI = nullptr,
224 BranchProbabilityInfo *BPI);
/external/llvm-project/llvm/include/llvm/Transforms/Utils/
DCodeExtractor.h29 class BranchProbabilityInfo; variable
92 BranchProbabilityInfo *BPI;
121 BranchProbabilityInfo *BPI = nullptr,
132 BranchProbabilityInfo *BPI = nullptr,
226 BranchProbabilityInfo *BPI);
/external/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/
DSpeculateAnalyses.h70 const BranchProbabilityInfo *,
74 const BranchProbabilityInfo *,
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ExecutionEngine/Orc/
DSpeculateAnalyses.h70 const BranchProbabilityInfo *,
74 const BranchProbabilityInfo *,
/external/llvm/unittests/Analysis/
DBlockFrequencyInfoTest.cpp30 std::unique_ptr<BranchProbabilityInfo> BPI;
38 BPI.reset(new BranchProbabilityInfo(F, *LI)); in buildBFI()
/external/llvm-project/llvm/unittests/Transforms/Utils/
DSizeOptsTest.cpp36 std::unique_ptr<BranchProbabilityInfo> BPI;
41 BPI.reset(new BranchProbabilityInfo(F, *LI)); in BFIData()
/external/llvm/include/llvm/Transforms/Scalar/
DJumpThreading.h63 std::unique_ptr<BranchProbabilityInfo> BPI;
99 std::unique_ptr<BranchProbabilityInfo> BPI_);

1234