/external/llvm/lib/CodeGen/ |
MachineBlockFrequencyInfo.cpp | 144 if (!MBFI) 145 MBFI.reset(new ImplType); 146 MBFI->calculate(F, MBPI, MLI); 155 void MachineBlockFrequencyInfo::releaseMemory() { MBFI.reset(); } 172 return MBFI ? MBFI->getBlockFreq(MBB) : 0; 176 return MBFI ? MBFI->getFunction() : nullptr; 182 return MBFI ? MBFI->printBlockFreq(OS, Freq) : OS [all...] |
BranchFolding.h | 30 const MachineBlockFrequencyInfo &MBFI, 105 MBFIWrapper(const MachineBlockFrequencyInfo &I) : MBFI(I) {} 110 const MachineBlockFrequencyInfo &MBFI;
|
ShrinkWrap.cpp | 113 MachineBlockFrequencyInfo *MBFI; 165 MBFI = &getAnalysis<MachineBlockFrequencyInfo>(); 167 EntryFreq = MBFI->getEntryFreq(); 443 << MBFI->getBlockFreq(Save).getFrequency() << "\nRestore: " 445 << MBFI->getBlockFreq(Restore).getFrequency() << '\n'); 448 if (((IsSaveCheap = EntryFreq >= MBFI->getBlockFreq(Save).getFrequency()) && 449 EntryFreq >= MBFI->getBlockFreq(Restore).getFrequency()) &&
|
MachineBlockPlacement.cpp | 216 const MachineBlockFrequencyInfo *MBFI; 472 MBFI->getBlockFreq(BB) * RealSuccProb * HotProb.getCompl(); 479 MBFI->getBlockFreq(Pred) * MBPI->getEdgeProbability(Pred, Succ); 537 BlockFrequency CandidateFreq = MBFI->getBlockFreq(MBB); 539 MBFI->printBlockFreq(dbgs(), CandidateFreq) << " (freq)\n"); 657 MBFI->printBlockFreq(dbgs(), Pred) << " freq\n"); 661 BlockFrequency PredFreq = MBFI->getBlockFreq(Pred); 756 BlockFrequency ExitEdgeFreq = MBFI->getBlockFreq(MBB) * SuccProb; 759 MBFI->printBlockFreq(dbgs(), ExitEdgeFreq) << ")\n"); [all...] |
SpillPlacement.h | 48 const MachineBlockFrequencyInfo *MBFI;
|
SpillPlacement.cpp | 188 MBFI = &getAnalysis<MachineBlockFrequencyInfo>(); 189 setThreshold(MBFI->getEntryFreq()); 192 BlockFrequencies[Num] = MBFI->getBlockFreq(&I); 222 nodes[n].BiasN = (MBFI->getEntryFreq() / 16);
|
CalcSpillWeights.cpp | 30 const MachineBlockFrequencyInfo &MBFI, 36 VirtRegAuxInfo VRAI(MF, LIS, VRM, MLI, MBFI, norm); 174 writes, reads, &MBFI, mi);
|
MachineSink.cpp | 63 const MachineBlockFrequencyInfo *MBFI; 270 MBFI = UseBlockFreqInfo ? &getAnalysis<MachineBlockFrequencyInfo>() : nullptr; 572 uint64_t LHSFreq = MBFI ? MBFI->getBlockFreq(L).getFrequency() : 0; 573 uint64_t RHSFreq = MBFI ? MBFI->getBlockFreq(R).getFrequency() : 0;
|
RegAllocPBQP.cpp | 407 MachineBlockFrequencyInfo &MBFI = G.getMetadata().MBFI; 422 const float Scale = 1.0f / MBFI.getEntryFreq(); 423 PBQP::PBQPNum CBenefit = MBFI.getBlockFreq(&MBB).getFrequency() * Scale; 725 MachineBlockFrequencyInfo &MBFI = 731 MBFI, normalizePBQPSpillWeight); 775 PBQPRAGraph G(PBQPRAGraph::GraphMetadata(MF, LIS, MBFI));
|
StackSlotColoring.cpp | 52 const MachineBlockFrequencyInfo *MBFI; 160 li.weight += LiveIntervals::getSpillWeight(false, true, MBFI, MI); 435 MBFI = &getAnalysis<MachineBlockFrequencyInfo>();
|
SplitKit.h | 219 const MachineBlockFrequencyInfo &MBFI;
|
LiveRangeEdit.cpp | 406 const MachineBlockFrequencyInfo &MBFI) { 407 VirtRegAuxInfo VRAI(MF, LIS, VRM, Loops, MBFI);
|
RegAllocGreedy.cpp | 125 MachineBlockFrequencyInfo *MBFI; [all...] |
InlineSpiller.cpp | 70 const MachineBlockFrequencyInfo &MBFI; 150 MBFI(pass.getAnalysis<MachineBlockFrequencyInfo>()) {} 452 (MBFI.getBlockFreq(DepSV.SpillMBB) >= 453 (MBFI.getBlockFreq(SV.SpillMBB) * MarginProb)) || [all...] |
IfConversion.cpp | 164 const MachineBlockFrequencyInfo *MBFI; 283 MBFI = &getAnalysis<MachineBlockFrequencyInfo>(); 295 BranchFolder BF(true, false, *MBFI, *MBPI); 428 BranchFolder BF(false, false, *MBFI, *MBPI); [all...] |
LiveIntervalAnalysis.cpp | 842 const MachineBlockFrequencyInfo *MBFI, 844 BlockFrequency Freq = MBFI->getBlockFreq(MI->getParent()); 845 const float Scale = 1.0f / MBFI->getEntryFreq(); [all...] |
SplitKit.cpp | 323 MachineBlockFrequencyInfo &mbfi) 327 MBFI(mbfi), Edit(nullptr), OpenIdx(0), SpillMode(SM_Partition), [all...] |
BranchFolding.cpp | 532 return MBFI.getBlockFreq(MBB); [all...] |
/external/llvm/include/llvm/CodeGen/ |
CalcSpillWeights.h | 57 const MachineBlockFrequencyInfo &MBFI; 64 const MachineBlockFrequencyInfo &mbfi, 66 : MF(mf), LIS(lis), VRM(vrm), Loops(loops), MBFI(mbfi), normalize(norm) {} 77 const MachineBlockFrequencyInfo &MBFI,
|
MachineBlockFrequencyInfo.h | 31 std::unique_ptr<ImplType> MBFI;
|
RegAllocPBQP.h | 147 MachineBlockFrequencyInfo &MBFI) 148 : MF(MF), LIS(LIS), MBFI(MBFI) {} 152 MachineBlockFrequencyInfo &MBFI;
|
LiveIntervalAnalysis.h | 107 const MachineBlockFrequencyInfo *MBFI,
|
/external/llvm/lib/Target/WebAssembly/ |
WebAssemblyRegColoring.cpp | 64 const MachineBlockFrequencyInfo *MBFI, 68 weight += LiveIntervals::getSpillWeight(MO.isDef(), MO.isUse(), MBFI, 88 const MachineBlockFrequencyInfo *MBFI = 108 LI->weight = computeWeight(MRI, MBFI, VReg);
|