| /src/external/apache2/llvm/dist/llvm/include/llvm/CodeGen/GlobalISel/ |
| InstructionSelect.h | 56 BlockFrequencyInfo *BFI = nullptr;
|
| InstructionSelector.h | 443 BlockFrequencyInfo *BFI = nullptr; 454 BlockFrequencyInfo *bfi) { 459 BFI = bfi; 486 (PSI && BFI && CurMBB && llvm::shouldOptForSize(*CurMBB, PSI, BFI));
|
| /src/external/apache2/llvm/dist/llvm/include/llvm/Analysis/ |
| BlockFrequencyInfo.h | 40 std::unique_ptr<ImplType> BFI; 107 // Compare to the other BFI and verify they match. 122 /// Run the analysis pass over a function and produce BFI. 139 BlockFrequencyInfo BFI; 147 BlockFrequencyInfo &getBFI() { return BFI; } 148 const BlockFrequencyInfo &getBFI() const { return BFI; }
|
| LazyBlockFrequencyInfo.h | 11 // the analysis pass is executed but rather when the BFI result is explicitly 29 /// Wraps a BFI to allow lazy computation of the block frequencies. 31 /// A pass that only conditionally uses BFI can uncondtionally require the 32 /// analysis without paying for the overhead if BFI doesn't end up being used. 48 /// Retrieve the BFI with the block frequencies computed. 52 BFI.calculate( 56 return BFI; 64 BFI.releaseMemory(); 70 BlockFrequencyInfoT BFI; 80 /// rather when the BFI result is explicitly requested by the analysis client [all...] |
| OptimizationRemarkEmitter.h | 10 // that by using this service passes become dependent on BFI as well. BFI is 35 OptimizationRemarkEmitter(const Function *F, BlockFrequencyInfo *BFI) 36 : F(F), BFI(BFI) {} 46 /// operation since BFI and all its required analyses are computed. This is 52 : F(Arg.F), BFI(Arg.BFI) {} 56 BFI = RHS.BFI; [all...] |
| LoopAnalysisManager.h | 60 BlockFrequencyInfo *BFI;
|
| CFGPrinter.h | 57 const BlockFrequencyInfo *BFI; 67 DOTFuncInfo(const Function *F, const BlockFrequencyInfo *BFI, 69 : F(F), BFI(BFI), BPI(BPI), MaxFreq(MaxFreq) { 72 RawWeights = !!BFI; // Print RawWeights when BFI is available. 75 const BlockFrequencyInfo *getBFI() { return BFI; } 84 return BFI->getBlockFreq(BB).getFrequency();
|
| /src/external/apache2/llvm/dist/llvm/include/llvm/Transforms/Utils/ |
| SimplifyLibCalls.h | 106 BlockFrequencyInfo *BFI; 141 BlockFrequencyInfo *BFI, ProfileSummaryInfo *PSI,
|
| CodeExtractor.h | 91 BlockFrequencyInfo *BFI; 120 bool AggregateArgs = false, BlockFrequencyInfo *BFI = nullptr, 131 BlockFrequencyInfo *BFI = nullptr,
|
| /src/external/apache2/llvm/dist/llvm/lib/Analysis/ |
| CFGPrinter.cpp | 58 static void writeCFGToDotFile(Function &F, BlockFrequencyInfo *BFI, 68 DOTFuncInfo CFGInfo(&F, BFI, BPI, MaxFreq); 80 static void viewCFG(Function &F, const BlockFrequencyInfo *BFI, 83 DOTFuncInfo CFGInfo(&F, BFI, BPI, MaxFreq); 100 auto *BFI = &getAnalysis<BlockFrequencyInfoWrapperPass>().getBFI(); 101 viewCFG(F, BFI, BPI, getMaxFreq(F, BFI)); 121 auto *BFI = &AM.getResult<BlockFrequencyAnalysis>(F); 123 viewCFG(F, BFI, BPI, getMaxFreq(F, BFI)); [all...] |
| OptimizationRemarkEmitter.cpp | 10 // that by using this service passes become dependent on BFI as well. BFI is 27 : F(F), BFI(nullptr) { 42 // Finally compute BFI. 44 BFI = OwnedBFI.get(); 52 BFI = nullptr; 55 // a fresh view of BFI if it was constructed with one. 56 if (BFI && Inv.invalidate<BlockFrequencyAnalysis>(F, PA)) 64 if (!BFI) 67 return BFI->getBlockProfileCount(cast<BasicBlock>(V)) [all...] |
| BlockFrequencyInfo.cpp | 52 ViewBlockFreqFuncName("view-bfi-func-name", cl::Hidden, 77 "-view-bfi-func-name."), 83 "print-bfi", cl::init(false), cl::Hidden, 87 "print-bfi-func-name", cl::Hidden, 146 const BlockFrequencyInfo *BFI) { 147 return BFIDOTGTraitsBase::getEdgeAttributes(Node, EI, BFI, BFI->getBPI(), 163 : BFI(std::move(Arg.BFI)) {} 167 BFI = std::move(RHS.BFI) [all...] |
| ModuleSummaryAnalysis.cpp | 239 BlockFrequencyInfo *BFI, ProfileSummaryInfo *PSI, DominatorTree &DT, 339 auto ScaledCount = PSI->getProfileCount(*CB, BFI); 354 if (BFI != nullptr && Hotness == CalleeInfo::HotnessType::Unknown) { 355 uint64_t BBFreq = BFI->getBlockFreq(&BB).getFrequency(); 356 uint64_t EntryFreq = BFI->getEntryFreq(); 749 BlockFrequencyInfo *BFI = nullptr; 752 BFI = GetBFICallback(F); 757 BFI = BFIPtr.get(); 760 computeFunctionSummary(Index, M, F, BFI, PSI, DT,
|
| /src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/ |
| LoopPassManager.cpp | 201 BlockFrequencyInfo *BFI = UseBlockFrequencyInfo && F.hasProfileData() 211 BFI,
|
| LoopSink.cpp | 95 BlockFrequencyInfo &BFI) { 98 T += BFI.getBlockFreq(B); 134 DominatorTree &DT, BlockFrequencyInfo &BFI) { 157 if (adjustedSumFreq(BBsDominatedByColdestBB, BFI) > 158 BFI.getBlockFreq(ColdestBB)) { 176 if (adjustedSumFreq(BBsToSinkInto, BFI) > 177 BFI.getBlockFreq(L.getLoopPreheader())) 189 DominatorTree &DT, BlockFrequencyInfo &BFI, MemorySSAUpdater *MSSAU) { 211 findBBsToSinkInto(L, BBs, ColdLoopBBs, DT, BFI); 281 BlockFrequencyInfo &BFI, [all...] |
| /src/external/apache2/llvm/dist/llvm/include/llvm/Transforms/Scalar/ |
| JumpThreading.h | 84 std::unique_ptr<BlockFrequencyInfo> BFI; 104 std::unique_ptr<BlockFrequencyInfo> BFI, 110 BFI.reset();
|
| ConstantHoisting.h | 130 BlockFrequencyInfo *BFI, BasicBlock &Entry, 151 BlockFrequencyInfo *BFI;
|
| /src/external/apache2/llvm/dist/llvm/include/llvm/Transforms/Vectorize/ |
| LoopVectorize.h | 146 BlockFrequencyInfo *BFI;
|
| LoopVectorizationLegality.h | 256 AssumptionCache *AC, BlockFrequencyInfo *BFI, ProfileSummaryInfo *PSI) 259 BFI(BFI), PSI(PSI) {} 554 /// BFI and PSI are used to check for profile guided size optimizations. 555 BlockFrequencyInfo *BFI;
|
| /src/external/apache2/llvm/dist/llvm/lib/Transforms/Instrumentation/ |
| CGProfile.cpp | 65 // Avoid extra cost of running passes for BFI when the function doesn't have 71 auto &BFI = GetBFI(F); 72 if (BFI.getEntryFreq() == 0) 76 Optional<uint64_t> BBCount = BFI.getBlockProfileCount(&BB);
|
| CFGMST.h | 104 uint64_t EntryWeight = (BFI != nullptr ? BFI->getEntryFreq() : 2); 128 (BFI != nullptr ? BFI->getBlockFreq(&BB).getFrequency() : 2); 279 BlockFrequencyInfo *BFI; 288 : F(Func), BPI(BPI_), BFI(BFI_),
|
| PGOMemOPSizeOpt.cpp | 223 MemOPSizeOpt(Function &Func, BlockFrequencyInfo &BFI, 226 : Func(Func), BFI(BFI), ORE(ORE), DT(DT), TLI(TLI), Changed(false) { 265 BlockFrequencyInfo &BFI; 310 auto BBEdgeCount = BFI.getBlockProfileCount(MO.I->getParent()); 422 auto OrigBBFreq = BFI.getBlockFreq(BB); 430 BFI.setBlockFreq(MergeBB, OrigBBFreq.getFrequency()); 507 static bool PGOMemOPSizeOptImpl(Function &F, BlockFrequencyInfo &BFI, 515 MemOPSizeOpt MemOPSizeOpt(F, BFI, ORE, DT, TLI); 521 BlockFrequencyInfo &BFI [all...] |
| /src/external/apache2/llvm/dist/llvm/lib/ExecutionEngine/Orc/ |
| SpeculateAnalyses.cpp | 102 auto &BFI = FAM.getResult<BlockFrequencyAnalysis>(F); 105 BBFreqs.push_back({I, BFI.getBlockFreq(I).getFrequency()}); 244 auto &BFI = FAM.getResult<BlockFrequencyAnalysis>(F); 249 BBFreqs.push_back({I, BFI.getBlockFreq(I).getFrequency()});
|
| /src/external/apache2/llvm/dist/llvm/lib/Transforms/IPO/ |
| SampleProfileProbe.cpp | 416 BlockFrequencyInfo &BFI = FAM.getResult<BlockFrequencyAnalysis>(F); 417 auto BBProfileCount = [&BFI](BasicBlock *BB) { 418 return BFI.getBlockProfileCount(BB) 419 ? BFI.getBlockProfileCount(BB).getValue()
|
| /src/external/apache2/llvm/dist/llvm/include/llvm/Transforms/InstCombine/ |
| InstCombiner.h | 74 BlockFrequencyInfo *BFI; 88 BlockFrequencyInfo *BFI, ProfileSummaryInfo *PSI, 92 SQ(DL, &TLI, &DT, &AC), ORE(ORE), BFI(BFI), PSI(PSI), LI(LI) {} 375 BlockFrequencyInfo *getBlockFrequencyInfo() const { return BFI; }
|