/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/ |
D | BranchProbabilityInfo.h | 153 BranchProbabilityInfo *BPI; variable 156 assert(BPI != nullptr); in deleted() 157 BPI->eraseBlock(cast<BasicBlock>(getValPtr())); in deleted() 158 BPI->Handles.erase(*this); in deleted() 162 BasicBlockCallbackVH(const Value *V, BranchProbabilityInfo *BPI = nullptr) 163 : CallbackVH(const_cast<Value *>(V)), BPI(BPI) {} in CallbackVH() 234 BranchProbabilityInfo BPI; variable 241 BranchProbabilityInfo &getBPI() { return BPI; } in getBPI() 242 const BranchProbabilityInfo &getBPI() const { return BPI; } in getBPI()
|
D | LazyBranchProbabilityInfo.h | 66 BPI.calculate(*F, *LI, TLI); in getCalculated() 69 return BPI; in getCalculated() 77 BranchProbabilityInfo BPI;
|
D | BlockFrequencyInfo.h | 44 BlockFrequencyInfo(const Function &F, const BranchProbabilityInfo &BPI, 92 void calculate(const Function &F, const BranchProbabilityInfo &BPI,
|
D | BlockFrequencyInfoImpl.h | 853 const BranchProbabilityInfoT *BPI = nullptr; 963 void calculate(const FunctionT &F, const BranchProbabilityInfoT &BPI, 996 const BranchProbabilityInfoT &getBPI() const { return *BPI; } 1021 const BranchProbabilityInfoT &BPI, 1024 this->BPI = &BPI; 1326 getWeightFromBranchProb(BPI->getEdgeProbability(BB, SI)))) 1445 const BranchProbabilityInfoT *BPI, 1448 if (!BPI) 1451 BranchProbability BP = BPI->getEdgeProbability(Node, EI);
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/Orc/ |
D | SpeculateAnalyses.cpp | 152 const BranchProbabilityInfo *BPI, in traverseToEntryBlock() argument 187 if (BPI->isEdgeHot(*PIt, AtBB) && !PredSkipNodes.count(*PIt)) in traverseToEntryBlock() 188 traverseToEntryBlock(*PIt, CallerBlocks, BackEdgesInfo, BPI, in traverseToEntryBlock() 195 const BranchProbabilityInfo *BPI, in traverseToExitBlock() argument 226 if (BPI->isEdgeHot(AtBB, *PIt) && !SuccSkipNodes.count(*PIt)) in traverseToExitBlock() 227 traverseToExitBlock(*PIt, CallerBlocks, BackEdgesInfo, BPI, in traverseToExitBlock() 261 BranchProbabilityInfo *BPI = in queryCFG() local 269 traverseToEntryBlock(I.first, CallerBlocks, BackEdgesInfo, BPI, in queryCFG() 271 traverseToExitBlock(I.first, CallerBlocks, BackEdgesInfo, BPI, in queryCFG()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/Utils/ |
D | CodeExtractor.h | 92 BranchProbabilityInfo *BPI; variable 121 BranchProbabilityInfo *BPI = nullptr, 132 BranchProbabilityInfo *BPI = nullptr, 224 BranchProbabilityInfo *BPI);
|
D | BasicBlockUtils.h | 362 BranchProbabilityInfo *BPI = nullptr,
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/ |
D | BlockFrequencyInfo.cpp | 155 const BranchProbabilityInfo &BPI, in BlockFrequencyInfo() argument 157 calculate(F, BPI, LI); in BlockFrequencyInfo() 185 const BranchProbabilityInfo &BPI, in calculate() argument 189 BFI->calculate(F, BPI, LI); in calculate() 320 BranchProbabilityInfo &BPI = in runOnFunction() local 323 BFI.calculate(F, BPI, LI); in runOnFunction()
|
D | OptimizationRemarkEmitter.cpp | 39 BranchProbabilityInfo BPI; in OptimizationRemarkEmitter() local 40 BPI.calculate(*F, LI); in OptimizationRemarkEmitter() 43 OwnedBFI = std::make_unique<BlockFrequencyInfo>(*F, BPI, LI); in OptimizationRemarkEmitter()
|
D | BranchProbabilityInfo.cpp | 1057 BPI.calculate(F, LI, &TLI); in runOnFunction() 1061 void BranchProbabilityInfoWrapperPass::releaseMemory() { BPI.releaseMemory(); } in releaseMemory() 1065 BPI.print(OS); in print() 1071 BranchProbabilityInfo BPI; in run() local 1072 BPI.calculate(F, AM.getResult<LoopAnalysis>(F), &AM.getResult<TargetLibraryAnalysis>(F)); in run() 1073 return BPI; in run()
|
D | ModuleSummaryAnalysis.cpp | 746 BranchProbabilityInfo BPI{F, LI}; in buildModuleSummaryIndex() local 747 BFIPtr = std::make_unique<BlockFrequencyInfo>(F, BPI, LI); in buildModuleSummaryIndex()
|
/third_party/boost/libs/regex/test/regress/ |
D | bcb6.mak | 27 BPI= vcl.bpi rtl.bpi vclx.bpi vcle.lib macro 175 … -tWV -tWC $(CFLAGS) -er1lv.exe -DBOOST_REGEX_DYN_LINK -DBOOST_RE_TEST_LOCALE_W32 $(SOURCES) $(BPI) 178 …WR -tWV -tWC $(CFLAGS) -er2lv.exe -DBOOST_REGEX_DYN_LINK -DBOOST_RE_TEST_LOCALE_C $(SOURCES) $(BPI) 181 … -tWV -tWC $(CFLAGS) -er3lv.exe -DBOOST_REGEX_DYN_LINK -DBOOST_RE_TEST_LOCALE_CPP $(SOURCES) $(BPI) 184 …LAGS) -er4lv.exe -DBOOST_REGEX_DYN_LINK -DBOOST_RE_TEST_LOCALE_W32 -DTEST_UNICODE $(SOURCES) $(BPI) 187 …CFLAGS) -er5lv.exe -DBOOST_REGEX_DYN_LINK -DBOOST_RE_TEST_LOCALE_C -DTEST_UNICODE $(SOURCES) $(BPI) 190 …LAGS) -er6lv.exe -DBOOST_REGEX_DYN_LINK -DBOOST_RE_TEST_LOCALE_CPP -DTEST_UNICODE $(SOURCES) $(BPI)
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/ |
D | BreakCriticalEdges.cpp | 358 BranchProbabilityInfo *BPI, in SplitIndirectBrCriticalEdges() argument 376 bool ShouldUpdateAnalysis = BPI && BFI; in SplitIndirectBrCriticalEdges() 396 BPI->setEdgeProbability(BodyBlock, I, in SplitIndirectBrCriticalEdges() 397 BPI->getEdgeProbability(Target, I)); in SplitIndirectBrCriticalEdges() 419 BPI->getEdgeProbability(Src, DirectSucc); in SplitIndirectBrCriticalEdges() 426 BPI->eraseBlock(Target); in SplitIndirectBrCriticalEdges()
|
D | CodeExtractor.cpp | 246 BranchProbabilityInfo *BPI, AssumptionCache *AC, in CodeExtractor() argument 250 BPI(BPI), AC(AC), AllowVarArgs(AllowVarArgs), in CodeExtractor() 256 BranchProbabilityInfo *BPI, AssumptionCache *AC, in CodeExtractor() argument 259 BPI(BPI), AC(AC), AllowVarArgs(false), in CodeExtractor() 1343 BranchProbabilityInfo *BPI) { in calculateNewCallTerminatorWeights() argument 1361 BPI->setEdgeProbability(CodeReplacer, i, BranchProbability::getZero()); in calculateNewCallTerminatorWeights() 1378 BPI->setEdgeProbability(CodeReplacer, Weight.TargetNode.Index, BP); in calculateNewCallTerminatorWeights() 1399 assert(BPI && "Both BPI and BFI are required to preserve profile info"); in extractCodeRegion() 1404 BFI->getBlockFreq(Pred) * BPI->getEdgeProbability(Pred, header); in extractCodeRegion() 1432 BF += BFI->getBlockFreq(Block) * BPI->getEdgeProbability(Block, *SI); in extractCodeRegion() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Instrumentation/ |
D | CFGMST.h | 136 if (BPI != nullptr) in buildEdges() 137 Weight = BPI->getEdgeProbability(&*BB, TargetBB).scale(scaleFactor); in buildEdges() 271 BranchProbabilityInfo *BPI; variable 277 : F(Func), BPI(BPI_), BFI(BFI_) { in F()
|
D | PGOInstrumentation.cpp | 570 bool CreateGlobalVar = false, BranchProbabilityInfo *BPI = nullptr, in FuncPGOInstrumentation() argument 573 ValueSites(IPVK_Last + 1), SIVisitor(Func), MST(F, BPI, BFI) { in FuncPGOInstrumentation() 805 Function &F, Module *M, BranchProbabilityInfo *BPI, BlockFrequencyInfo *BFI, in instrumentOneFunc() argument 810 SplitIndirectBrCriticalEdges(F, BPI, BFI); in instrumentOneFunc() 812 FuncPGOInstrumentation<PGOEdge, BBInfo> FuncInfo(F, ComdatMembers, true, BPI, in instrumentOneFunc() 958 BranchProbabilityInfo *BPI, BlockFrequencyInfo *BFIin, in PGOUseFunc() argument 961 FuncInfo(Func, ComdatMembers, false, BPI, BFIin, IsCS), in PGOUseFunc() 1475 auto *BPI = LookupBPI(F); in InstrumentAllFunctions() local 1477 instrumentOneFunc(F, &M, BPI, BFI, ComdatMembers, IsCS); in InstrumentAllFunctions() 1568 auto *BPI = LookupBPI(F); in annotateAllFunctions() local [all …]
|
D | InstrProfiling.cpp | 451 std::unique_ptr<BranchProbabilityInfo> BPI; in promoteCounterLoadStores() local 452 BPI.reset(new BranchProbabilityInfo(*F, LI, &GetTLI(*F))); in promoteCounterLoadStores() 453 BFI.reset(new BlockFrequencyInfo(*F, *BPI, LI)); in promoteCounterLoadStores()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/ |
D | InductiveRangeCheckElimination.cpp | 226 BranchProbabilityInfo *BPI, 232 BranchProbabilityInfo *BPI; member in __anonc70288ee0111::InductiveRangeCheckElimination 238 BranchProbabilityInfo *BPI, DominatorTree &DT, in InductiveRangeCheckElimination() argument 240 : SE(SE), BPI(BPI), DT(DT), LI(LI) {} in InductiveRangeCheckElimination() 393 BranchInst *BI, Loop *L, ScalarEvolution &SE, BranchProbabilityInfo *BPI, in extractRangeChecksFromBranch() argument 400 if (!SkipProfitabilityChecks && BPI && in extractRangeChecksFromBranch() 401 BPI->getEdgeProbability(BI->getParent(), (unsigned)0) < LikelyTaken) in extractRangeChecksFromBranch() 492 BranchProbabilityInfo *BPI, 738 BranchProbabilityInfo *BPI, Loop &L, in parseLoopStructure() argument 774 BPI ? BPI->getEdgeProbability(LatchBr->getParent(), LatchBrExitIdx) in parseLoopStructure() [all …]
|
D | LoopPredication.cpp | 257 BranchProbabilityInfo *BPI; member in __anon2bc31f8b0111::LoopPredication 313 BranchProbabilityInfo *BPI) in LoopPredication() argument 314 : AA(AA), DT(DT), SE(SE), LI(LI), BPI(BPI) {}; in LoopPredication() 336 BranchProbabilityInfo &BPI = in runOnLoop() local 339 LoopPredication LP(AA, DT, SE, LI, &BPI); in runOnLoop() 364 auto *BPI = FAM.getCachedResult<BranchProbabilityAnalysis>(*F); in run() local 365 LoopPredication LP(&AR.AA, &AR.DT, &AR.SE, &AR.LI, BPI); in run() 913 if (SkipProfitabilityChecks || !BPI) in isLoopProfitableToPredicate() 936 BPI->getEdgeProbability(LatchBlock, LatchBrExitIdx); in isLoopProfitableToPredicate() 954 BPI->getEdgeProbability(ExitEdge.first, ExitEdge.second); in isLoopProfitableToPredicate()
|
D | JumpThreading.cpp | 308 std::unique_ptr<BranchProbabilityInfo> BPI; in runOnFunction() local 311 BPI.reset(new BranchProbabilityInfo(F, LI, TLI)); in runOnFunction() 312 BFI.reset(new BlockFrequencyInfo(F, *BPI, LI)); in runOnFunction() 316 std::move(BFI), std::move(BPI)); in runOnFunction() 335 std::unique_ptr<BranchProbabilityInfo> BPI; in run() local 338 BPI.reset(new BranchProbabilityInfo(F, LI, &TLI)); in run() 339 BFI.reset(new BlockFrequencyInfo(F, *BPI, LI)); in run() 343 std::move(BFI), std::move(BPI)); in run() 365 BPI.reset(); in runImpl() 373 BPI = std::move(BPI_); in runImpl() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/ |
D | PartialInlining.cpp | 399 BranchProbabilityInfo BPI(*F, LI); in computeOutliningColdRegionsInfo() local 403 ScopedBFI.reset(new BlockFrequencyInfo(*F, BPI, LI)); in computeOutliningColdRegionsInfo() 491 BranchProbability SuccProb = BPI.getEdgeProbability(thisBB, *SI); in computeOutliningColdRegionsInfo() 939 BranchProbabilityInfo BPI(*Caller, LI); in computeCallsiteToProfCountMap() local 940 TempBFI.reset(new BlockFrequencyInfo(*Caller, BPI, LI)); in computeCallsiteToProfCountMap() 1123 BranchProbabilityInfo BPI(*ClonedFunc, LI); in doMultiRegionFunctionOutlining() local 1124 ClonedFuncBFI.reset(new BlockFrequencyInfo(*ClonedFunc, BPI, LI)); in doMultiRegionFunctionOutlining() 1135 ClonedFuncBFI.get(), &BPI, in doMultiRegionFunctionOutlining() 1198 BranchProbabilityInfo BPI(*ClonedFunc, LI); in doSingleRegionFunctionOutlining() local 1199 ClonedFuncBFI.reset(new BlockFrequencyInfo(*ClonedFunc, BPI, LI)); in doSingleRegionFunctionOutlining() [all …]
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Transforms/Scalar/ |
D | JumpThreading.h | 83 std::unique_ptr<BranchProbabilityInfo> BPI; variable 107 BPI.reset(); in releaseMemory()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/ |
D | FunctionLoweringInfo.h | 59 BranchProbabilityInfo *BPI; variable
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/GlobalISel/ |
D | IRTranslator.cpp | 413 if (!FuncInfo.BPI) { in addSuccessorWithProb() 427 if (!FuncInfo.BPI) { in getEdgeProbability() 433 return FuncInfo.BPI->getEdgeProbability(SrcBB, DstBB); in getEdgeProbability() 440 BranchProbabilityInfo *BPI = FuncInfo.BPI; in translateSwitch() local 448 BPI ? BPI->getEdgeProbability(SI.getParent(), I.getSuccessorIndex()) in translateSwitch() 2270 FuncInfo.BPI = nullptr; in runOnMachineFunction()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/ |
D | SelectionDAGBuilder.cpp | 1762 BranchProbabilityInfo *BPI = FuncInfo.BPI; in findUnwindDestinations() local 1763 if (BPI && NewEHPadBB) in findUnwindDestinations() 1764 Prob *= BPI->getEdgeProbability(EHPadBB, NewEHPadBB); in findUnwindDestinations() 1773 BranchProbabilityInfo *BPI = FuncInfo.BPI; in visitCleanupRet() local 1775 (BPI && UnwindDest) in visitCleanupRet() 1776 ? BPI->getEdgeProbability(FuncInfo.MBB->getBasicBlock(), UnwindDest) in visitCleanupRet() 2019 BranchProbabilityInfo *BPI = FuncInfo.BPI; in getEdgeProbability() local 2022 if (!BPI) { in getEdgeProbability() 2028 return BPI->getEdgeProbability(SrcBB, DstBB); in getEdgeProbability() 2034 if (!FuncInfo.BPI) in addSuccessorWithProb() [all …]
|