HomeSort by: relevance | last modified time | path
    Searched refs:MBFI (Results 1 - 25 of 41) sorted by relevancy

1 2

  /src/external/apache2/llvm/dist/llvm/lib/CodeGen/
MachineSizeOpts.cpp 33 const MachineBlockFrequencyInfo *MBFI) {
34 auto Count = MBFI->getBlockProfileCount(MBB);
40 const MachineBlockFrequencyInfo *MBFI) {
41 auto Count = MBFI->getProfileCountFromFreq(BlockFreq.getFrequency());
49 const MachineBlockFrequencyInfo *MBFI) {
50 auto Count = MBFI->getBlockProfileCount(MBB);
57 const MachineBlockFrequencyInfo *MBFI) {
58 auto Count = MBFI->getProfileCountFromFreq(BlockFreq.getFrequency());
65 const MachineBlockFrequencyInfo *MBFI) {
66 auto Count = MBFI->getBlockProfileCount(MBB)
    [all...]
MachineBlockFrequencyInfo.cpp 156 const MachineBlockFrequencyInfo *MBFI) {
158 Node, EI, MBFI, MBFI->getMBPI(), ViewHotFreqPercent);
197 if (!MBFI)
198 MBFI.reset(new ImplType);
199 MBFI->calculate(F, MBPI, MLI);
208 MBFI->print(dbgs());
220 void MachineBlockFrequencyInfo::releaseMemory() { MBFI.reset(); }
231 return MBFI ? MBFI->getBlockFreq(MBB) : 0
    [all...]
MBFIWrapper.cpp 25 return MBFI.getBlockFreq(MBB);
40 return MBFI.getProfileCountFromFreq(I->second.getFrequency());
42 return MBFI.getBlockProfileCount(MBB);
47 return MBFI.printBlockFreq(OS, getBlockFreq(MBB));
52 return MBFI.printBlockFreq(OS, Freq);
56 MBFI.view(Name, isSimple);
60 return MBFI.getEntryFreq();
MachineOptimizationRemarkEmitter.cpp 10 /// analysis pass so that by using this service passes become dependent on MBFI
11 /// as well. MBFI is used to compute the "hotness" of the diagnostic message.
36 if (!MBFI)
39 return MBFI->getBlockProfileCount(&MBB);
73 MachineBlockFrequencyInfo *MBFI;
76 MBFI = &getAnalysis<LazyMachineBlockFrequencyInfoPass>().getBFI();
78 MBFI = nullptr;
80 ORE = std::make_unique<MachineOptimizationRemarkEmitter>(MF, MBFI);
TailDuplication.cpp 89 auto *MBFI = (PSI && PSI->hasProfileSummary()) ?
92 if (MBFI)
93 MBFIW = std::make_unique<MBFIWrapper>(*MBFI);
94 Duplicator.initMF(MF, PreRegAlloc, MBPI, MBFI ? MBFIW.get() : nullptr, PSI,
LazyMachineBlockFrequencyInfo.cpp 58 auto *MBFI = getAnalysisIfAvailable<MachineBlockFrequencyInfo>();
59 if (MBFI) {
61 return *MBFI;
MachineFunctionSplitter.cpp 82 const MachineBlockFrequencyInfo *MBFI,
84 Optional<uint64_t> Count = MBFI->getBlockProfileCount(&MBB);
123 auto *MBFI = &getAnalysis<MachineBlockFrequencyInfo>();
133 else if (isColdBlock(MBB, MBFI, PSI))
140 if (!isColdBlock(*LP, MBFI, PSI))
MachineBlockPlacement.cpp 359 std::unique_ptr<MBFIWrapper> MBFI;
423 auto Count = MBFI->getBlockProfileCount(BB);
429 return MBFI->getBlockFreq(BB);
811 auto BBFreq = MBFI->getBlockFreq(BB);
812 auto SuccFreq = MBFI->getBlockFreq(Succ);
815 uint64_t EntryFreq = MBFI->getEntryFreq();
841 auto Freq = MBFI->getBlockFreq(SuccPred)
1054 BlockFrequency EdgeFreq = MBFI->getBlockFreq(SuccPred) *
1506 BlockFrequency CandidateEdgeFreq = MBFI->getBlockFreq(BB) * RealSuccProb;
1533 MBFI->getBlockFreq(Pred) * MBPI->getEdgeProbability(Pred, Succ)
    [all...]
SpillPlacement.cpp 205 MBFI = &getAnalysis<MachineBlockFrequencyInfo>();
206 setThreshold(MBFI->getEntryFreq());
209 BlockFrequencies[Num] = MBFI->getBlockFreq(&I);
241 nodes[n].BiasN = (MBFI->getEntryFreq() / 16);
SpillPlacement.h 48 const MachineBlockFrequencyInfo *MBFI;
ShrinkWrap.cpp 128 MachineBlockFrequencyInfo *MBFI;
194 MBFI = &getAnalysis<MachineBlockFrequencyInfo>();
197 EntryFreq = MBFI->getEntryFreq();
539 << MBFI->getBlockFreq(Save).getFrequency()
542 << MBFI->getBlockFreq(Restore).getFrequency() << '\n');
545 if (((IsSaveCheap = EntryFreq >= MBFI->getBlockFreq(Save).getFrequency()) &&
546 EntryFreq >= MBFI->getBlockFreq(Restore).getFrequency()) &&
CalcSpillWeights.cpp 195 TotalWeight += LiveIntervals::getSpillWeight(true, false, &MBFI, localMBB);
196 TotalWeight += LiveIntervals::getSpillWeight(false, true, &MBFI, localMBB);
255 Weight = LiveIntervals::getSpillWeight(Writes, Reads, &MBFI, *MI);
RegAllocPBQP.cpp 439 MachineBlockFrequencyInfo &MBFI = G.getMetadata().MBFI;
453 PBQP::PBQPNum CBenefit = MBFI.getBlockFreqRelativeToEntryBlock(&MBB);
531 const MachineBlockFrequencyInfo &MBFI)
532 : VirtRegAuxInfo(MF, LIS, VRM, Loops, MBFI) {}
795 MachineBlockFrequencyInfo &MBFI =
800 PBQPVirtRegAuxInfo VRAI(MF, LIS, VRM, getAnalysis<MachineLoopInfo>(), MBFI);
808 MBFI);
851 PBQPRAGraph G(PBQPRAGraph::GraphMetadata(MF, LIS, MBFI));
StackSlotColoring.cpp 65 const MachineBlockFrequencyInfo *MBFI;
174 LiveIntervals::getSpillWeight(false, true, MBFI, MI));
491 MBFI = &getAnalysis<MachineBlockFrequencyInfo>();
  /src/external/apache2/llvm/dist/llvm/include/llvm/CodeGen/
MBFIWrapper.h 27 MBFIWrapper(const MachineBlockFrequencyInfo &I) : MBFI(I) {}
39 const MachineBlockFrequencyInfo &getMBFI() { return MBFI; }
42 const MachineBlockFrequencyInfo &MBFI;
CalcSpillWeights.h 51 const MachineBlockFrequencyInfo &MBFI;
60 const MachineBlockFrequencyInfo &MBFI)
61 : MF(MF), LIS(LIS), VRM(VRM), Loops(Loops), MBFI(MBFI) {}
MachineOptimizationRemarkEmitter.h 10 /// analysis pass so that by using this service passes become dependent on MBFI
11 /// as well. MBFI is used to compute the "hotness" of the diagnostic message.
147 MachineBlockFrequencyInfo *MBFI)
148 : MF(MF), MBFI(MBFI) {}
186 return MBFI;
192 /// MBFI is only set if hotness is requested.
193 MachineBlockFrequencyInfo *MBFI;
204 bool shouldEmitVerbose() { return MBFI != nullptr; }
MachineSizeOpts.h 35 const MachineBlockFrequencyInfo *MBFI,
TailDuplicator.h 46 MBFIWrapper *MBFI;
73 MBFIWrapper *MBFI,
MachineBlockFrequencyInfo.h 35 std::unique_ptr<ImplType> MBFI;
RegAllocPBQP.h 141 MachineBlockFrequencyInfo &MBFI)
142 : MF(MF), LIS(LIS), MBFI(MBFI) {}
146 MachineBlockFrequencyInfo &MBFI;
  /src/external/apache2/llvm/dist/llvm/lib/Target/WebAssembly/
WebAssemblyRegColoring.cpp 66 const MachineBlockFrequencyInfo *MBFI,
70 Weight += LiveIntervals::getSpillWeight(MO.isDef(), MO.isUse(), MBFI,
90 const MachineBlockFrequencyInfo *MBFI =
110 LI->setWeight(computeWeight(MRI, MBFI, VReg));
  /src/external/apache2/llvm/dist/llvm/lib/CodeGen/GlobalISel/
RegBankSelect.cpp 89 MBFI = &getAnalysis<MachineBlockFrequencyInfo>();
92 MBFI = nullptr;
96 MORE = std::make_unique<MachineOptimizationRemarkEmitter>(MF, MBFI);
446 assert((MBFI || !BestCost) && "Costs comparison require MBFI");
452 MappingCost Cost(MBFI ? MBFI->getBlockFreq(MI.getParent()) : 1);
513 // To get accurate information we need MBFI and MBPI.
515 assert(MBFI && MBPI && "Cost computation requires MBFI and MBPI")
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/Target/X86/
X86PadShortFunction.cpp 120 auto *MBFI = (PSI && PSI->hasProfileSummary()) ?
138 bool OptForSize = llvm::shouldOptimizeForSize(MBB, PSI, MBFI);
X86FixupBWInsts.cpp 150 MachineBlockFrequencyInfo *MBFI;
167 MBFI = (PSI && PSI->hasProfileSummary()) ?
440 llvm::shouldOptimizeForSize(&MBB, PSI, MBFI);

Completed in 102 milliseconds

1 2