Home
last modified time | relevance | path

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

12

/third_party/skia/third_party/externals/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,
DLazyBlockFrequencyInfo.h25 class BranchProbabilityInfo; variable
/third_party/skia/third_party/externals/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()
DOptimizationRemarkEmitter.cpp39 BranchProbabilityInfo BPI; in OptimizationRemarkEmitter()
DCMakeLists.txt11 BranchProbabilityInfo.cpp
/third_party/skia/third_party/externals/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);
DBasicBlockUtils.h29 class BranchProbabilityInfo; variable
362 BranchProbabilityInfo *BPI = nullptr,
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ExecutionEngine/Orc/
DSpeculateAnalyses.h70 const BranchProbabilityInfo *,
74 const BranchProbabilityInfo *,
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/Orc/
DSpeculateAnalyses.cpp152 const BranchProbabilityInfo *BPI, in traverseToEntryBlock()
195 const BranchProbabilityInfo *BPI, in traverseToExitBlock()
261 BranchProbabilityInfo *BPI = in queryCFG()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DFunctionLoweringInfo.h38 class BranchProbabilityInfo; variable
59 BranchProbabilityInfo *BPI;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/Scalar/
DJumpThreading.h83 std::unique_ptr<BranchProbabilityInfo> BPI;
101 std::unique_ptr<BranchProbabilityInfo> BPI_);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Instrumentation/
DCFGMST.h271 BranchProbabilityInfo *BPI;
275 CFGMST(Function &Func, BranchProbabilityInfo *BPI_ = nullptr,
DPGOInstrumentation.cpp570 bool CreateGlobalVar = false, BranchProbabilityInfo *BPI = nullptr, in FuncPGOInstrumentation()
805 Function &F, Module *M, BranchProbabilityInfo *BPI, BlockFrequencyInfo *BFI, in instrumentOneFunc()
958 BranchProbabilityInfo *BPI, BlockFrequencyInfo *BFIin, in PGOUseFunc()
1463 Module &M, function_ref<BranchProbabilityInfo *(Function &)> LookupBPI, in InstrumentAllFunctions()
1521 function_ref<BranchProbabilityInfo *(Function &)> LookupBPI, in annotateAllFunctions()
1596 std::unique_ptr<BranchProbabilityInfo> NewBPI = in annotateAllFunctions()
1597 std::make_unique<BranchProbabilityInfo>(F, LI); in annotateAllFunctions()
DInstrProfiling.cpp451 std::unique_ptr<BranchProbabilityInfo> BPI; in promoteCounterLoadStores()
452 BPI.reset(new BranchProbabilityInfo(*F, LI, &GetTLI(*F))); in promoteCounterLoadStores()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DInductiveRangeCheckElimination.cpp226 BranchProbabilityInfo *BPI,
232 BranchProbabilityInfo *BPI;
238 BranchProbabilityInfo *BPI, DominatorTree &DT, in InductiveRangeCheckElimination()
393 BranchInst *BI, Loop *L, ScalarEvolution &SE, BranchProbabilityInfo *BPI, in extractRangeChecksFromBranch()
492 BranchProbabilityInfo *BPI,
738 BranchProbabilityInfo *BPI, Loop &L, in parseLoopStructure()
1774 BranchProbabilityInfo &BPI = in runOnLoop()
DLoopPredication.cpp257 BranchProbabilityInfo *BPI;
313 BranchProbabilityInfo *BPI) in LoopPredication()
336 BranchProbabilityInfo &BPI = in runOnLoop()
DJumpThreading.cpp308 std::unique_ptr<BranchProbabilityInfo> BPI; in runOnFunction()
311 BPI.reset(new BranchProbabilityInfo(F, LI, TLI)); in runOnFunction()
335 std::unique_ptr<BranchProbabilityInfo> BPI; in run()
338 BPI.reset(new BranchProbabilityInfo(F, LI, &TLI)); in run()
358 std::unique_ptr<BranchProbabilityInfo> BPI_) { in runImpl()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DStackProtector.cpp511 BranchProbabilityInfo::getBranchProbStackProtector(true); in InsertStackProtectors()
513 BranchProbabilityInfo::getBranchProbStackProtector(false); in InsertStackProtectors()
DSafeStack.cpp469 auto SuccessProb = BranchProbabilityInfo::getBranchProbStackProtector(true); in checkStackGuard()
470 auto FailureProb = BranchProbabilityInfo::getBranchProbStackProtector(false); in checkStackGuard()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/
DPartialInlining.cpp399 BranchProbabilityInfo BPI(*F, LI); in computeOutliningColdRegionsInfo()
939 BranchProbabilityInfo BPI(*Caller, LI); in computeCallsiteToProfCountMap()
1123 BranchProbabilityInfo BPI(*ClonedFunc, LI); in doMultiRegionFunctionOutlining()
1198 BranchProbabilityInfo BPI(*ClonedFunc, LI); in doSingleRegionFunctionOutlining()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DBreakCriticalEdges.cpp358 BranchProbabilityInfo *BPI, in SplitIndirectBrCriticalEdges()
DCodeExtractor.cpp246 BranchProbabilityInfo *BPI, AssumptionCache *AC, in CodeExtractor()
256 BranchProbabilityInfo *BPI, AssumptionCache *AC, in CodeExtractor()
1343 BranchProbabilityInfo *BPI) { in calculateNewCallTerminatorWeights()

12