Searched refs:MBFI (Results 1 - 25 of 27) sorted by relevance

12

/external/swiftshader/third_party/LLVM/lib/CodeGen/
H A DMachineBlockFrequencyInfo.cpp33 MBFI = new BlockFrequencyImpl<MachineBasicBlock, MachineFunction,
38 delete MBFI;
49 MBFI->doFunction(&F, &MBPI);
60 return MBFI->getBlockFreq(MBB);
/external/llvm/lib/CodeGen/
H A DMachineBlockFrequencyInfo.cpp103 const MachineBlockFrequencyInfo *MBFI) {
105 Node, EI, MBFI, MBFI->getMBPI(), ViewHotFreqPercent);
139 if (!MBFI)
140 MBFI.reset(new ImplType);
141 MBFI->calculate(F, MBPI, MLI);
152 void MachineBlockFrequencyInfo::releaseMemory() { MBFI.reset(); }
169 return MBFI ? MBFI->getBlockFreq(MBB) : 0;
174 const Function *F = MBFI
102 getEdgeAttributes(const MachineBasicBlock *Node, EdgeIter EI, const MachineBlockFrequencyInfo *MBFI) argument
[all...]
H A DShrinkWrap.cpp114 MachineBlockFrequencyInfo *MBFI; member in class:__anon13998::ShrinkWrap
166 MBFI = &getAnalysis<MachineBlockFrequencyInfo>();
168 EntryFreq = MBFI->getEntryFreq();
488 << MBFI->getBlockFreq(Save).getFrequency() << "\nRestore: "
490 << MBFI->getBlockFreq(Restore).getFrequency() << '\n');
493 if (((IsSaveCheap = EntryFreq >= MBFI->getBlockFreq(Save).getFrequency()) &&
494 EntryFreq >= MBFI->getBlockFreq(Restore).getFrequency()) &&
H A DBranchFolding.h33 MBFIWrapper &MBFI,
113 MBFIWrapper(const MachineBlockFrequencyInfo &I) : MBFI(I) {}
122 const MachineBlockFrequencyInfo &MBFI; member in class:llvm::BranchFolder::MBFIWrapper
H A DMachineBlockPlacement.cpp251 std::unique_ptr<BranchFolder::MBFIWrapper> MBFI; member in class:__anon13923::MachineBlockPlacement
621 BlockFrequency CandidateEdgeFreq = MBFI->getBlockFreq(BB) * RealSuccProb;
643 MBFI->getBlockFreq(Pred) * MBPI->getEdgeProbability(Pred, Succ);
750 BlockFrequency CandidateFreq = MBFI->getBlockFreq(MBB);
752 MBFI->printBlockFreq(dbgs(), CandidateFreq) << " (freq)\n");
921 MBFI->printBlockFreq(dbgs(), Pred) << " freq\n");
925 BlockFrequency PredFreq = MBFI->getBlockFreq(Pred);
1022 BlockFrequency ExitEdgeFreq = MBFI->getBlockFreq(MBB) * SuccProb;
1025 MBFI->printBlockFreq(dbgs(), ExitEdgeFreq) << ")\n");
1147 MBFI
1720 const MachineBlockFrequencyInfo *MBFI; member in class:__anon13924::MachineBlockPlacementStats
[all...]
H A DSpillPlacement.h49 const MachineBlockFrequencyInfo *MBFI; member in class:llvm::SpillPlacement
H A DSpillPlacement.cpp201 MBFI = &getAnalysis<MachineBlockFrequencyInfo>();
202 setThreshold(MBFI->getEntryFreq());
205 BlockFrequencies[Num] = MBFI->getBlockFreq(&I);
237 nodes[n].BiasN = (MBFI->getEntryFreq() / 16);
H A DCalcSpillWeights.cpp30 const MachineBlockFrequencyInfo &MBFI,
36 VirtRegAuxInfo VRAI(MF, LIS, VRM, MLI, MBFI, norm);
173 weight = LiveIntervals::getSpillWeight(writes, reads, &MBFI, *mi);
26 calculateSpillWeightsAndHints(LiveIntervals &LIS, MachineFunction &MF, VirtRegMap *VRM, const MachineLoopInfo &MLI, const MachineBlockFrequencyInfo &MBFI, VirtRegAuxInfo::NormalizingFn norm) argument
H A DMachineSink.cpp64 const MachineBlockFrequencyInfo *MBFI; member in class:__anon13941::MachineSinking
271 MBFI = UseBlockFreqInfo ? &getAnalysis<MachineBlockFrequencyInfo>() : nullptr;
570 uint64_t LHSFreq = MBFI ? MBFI->getBlockFreq(L).getFrequency() : 0;
571 uint64_t RHSFreq = MBFI ? MBFI->getBlockFreq(R).getFrequency() : 0;
H A DRegAllocPBQP.cpp414 MachineBlockFrequencyInfo &MBFI = G.getMetadata().MBFI; variable
429 const float Scale = 1.0f / MBFI.getEntryFreq();
430 PBQP::PBQPNum CBenefit = MBFI.getBlockFreq(&MBB).getFrequency() * Scale;
743 MachineBlockFrequencyInfo &MBFI = local
749 MBFI, normalizePBQPSpillWeight);
793 PBQPRAGraph G(PBQPRAGraph::GraphMetadata(MF, LIS, MBFI));
H A DStackSlotColoring.cpp52 const MachineBlockFrequencyInfo *MBFI; member in class:__anon14002::StackSlotColoring
160 li.weight += LiveIntervals::getSpillWeight(false, true, MBFI, MI);
434 MBFI = &getAnalysis<MachineBlockFrequencyInfo>();
H A DInlineSpiller.cpp71 const MachineBlockFrequencyInfo &MBFI; member in class:__anon13904::HoistSpillHelper
120 MBFI(pass.getAnalysis<MachineBlockFrequencyInfo>()),
142 const MachineBlockFrequencyInfo &MBFI; member in class:__anon13904::InlineSpiller
178 MBFI(pass.getAnalysis<MachineBlockFrequencyInfo>()),
1045 Edit->calculateRegClassAndHint(MF, Loops, MBFI);
1268 SpillsInSubTreeMap[*RIt].second = MBFI.getBlockFreq(Block);
1312 if (SubTreeCost > MBFI.getBlockFreq(Block) * MarginProb) {
1337 SubTreeCost = MBFI.getBlockFreq(Block);
H A DLiveRangeEdit.cpp437 const MachineBlockFrequencyInfo &MBFI) {
438 VirtRegAuxInfo VRAI(MF, LIS, VRM, Loops, MBFI);
435 calculateRegClassAndHint(MachineFunction &MF, const MachineLoopInfo &Loops, const MachineBlockFrequencyInfo &MBFI) argument
H A DSplitKit.h245 const MachineBlockFrequencyInfo &MBFI; member in class:llvm::SplitEditor
H A DRegAllocGreedy.cpp126 MachineBlockFrequencyInfo *MBFI; member in class:__anon13961::RAGreedy
1369 MBFI->printBlockFreq(dbgs(), BestCost) << '\n');
1426 MBFI->printBlockFreq(dbgs(), Cost));
1449 dbgs() << ", total = "; MBFI->printBlockFreq(dbgs(), Cost)
1806 (1.0f / MBFI->getEntryFreq());
2298 uint64_t ActualEntry = MBFI->getEntryFreq();
2333 Out.push_back(HintInfo(MBFI->getBlockFreq(Instr.getParent()), OtherReg,
2589 MBFI = &getAnalysis<MachineBlockFrequencyInfo>();
2600 calculateSpillWeightsAndHints(*LIS, mf, VRM, *Loops, *MBFI);
2605 SE.reset(new SplitEditor(*SA, *AA, *LIS, *VRM, *DomTree, *MBFI));
[all...]
H A DSplitKit.cpp349 MBFI(mbfi), Edit(nullptr), OpenIdx(0), SpillMode(SM_Partition),
865 Costs[ParentVNI->id] += MBFI.getBlockFreq(ValMBB);
885 MBFI.getBlockFreq(Dom.first) > Costs[ParentVNI->id]) {
1215 Edit->calculateRegClassAndHint(VRM.getMachineFunction(), SA.Loops, MBFI);
H A DBranchFolding.cpp551 return MBFI.getBlockFreq(MBB);
562 return MBFI.printBlockFreq(OS, getBlockFreq(MBB));
568 return MBFI.printBlockFreq(OS, Freq);
/external/swiftshader/third_party/LLVM/include/llvm/CodeGen/
H A DMachineBlockFrequencyInfo.h31 BlockFrequencyImpl<MachineBasicBlock, MachineFunction, MachineBranchProbabilityInfo> *MBFI; member in class:llvm::MachineBlockFrequencyInfo
/external/llvm/include/llvm/CodeGen/
H A DCalcSpillWeights.h57 const MachineBlockFrequencyInfo &MBFI; member in class:llvm::VirtRegAuxInfo
66 : MF(mf), LIS(lis), VRM(vrm), Loops(loops), MBFI(mbfi), normalize(norm) {}
77 const MachineBlockFrequencyInfo &MBFI,
H A DMachineBlockFrequencyInfo.h32 std::unique_ptr<ImplType> MBFI; member in class:llvm::MachineBlockFrequencyInfo
H A DRegAllocPBQP.h148 MachineBlockFrequencyInfo &MBFI)
149 : MF(MF), LIS(LIS), MBFI(MBFI) {}
153 MachineBlockFrequencyInfo &MBFI; member in class:llvm::PBQP::RegAlloc::GraphMetadata
146 GraphMetadata(MachineFunction &MF, LiveIntervals &LIS, MachineBlockFrequencyInfo &MBFI) argument
H A DLiveIntervalAnalysis.h106 const MachineBlockFrequencyInfo *MBFI,
/external/llvm/lib/Target/WebAssembly/
H A DWebAssemblyRegColoring.cpp64 const MachineBlockFrequencyInfo *MBFI,
68 weight += LiveIntervals::getSpillWeight(MO.isDef(), MO.isUse(), MBFI,
88 const MachineBlockFrequencyInfo *MBFI = local
108 LI->weight = computeWeight(MRI, MBFI, VReg);
63 computeWeight(const MachineRegisterInfo *MRI, const MachineBlockFrequencyInfo *MBFI, unsigned VReg) argument
/external/llvm/lib/CodeGen/GlobalISel/
H A DRegBankSelect.cpp49 MBFI(nullptr), MBPI(nullptr), OptMode(RunningMode) {
64 MBFI = &getAnalysis<MachineBlockFrequencyInfo>();
67 MBFI = nullptr;
349 assert((MBFI || !BestCost) && "Costs comparison require MBFI");
352 MappingCost Cost(MBFI ? MBFI->getBlockFreq(MI.getParent()) : 1);
409 // To get accurate information we need MBFI and MBPI.
411 assert(MBFI && MBPI && "Cost computation requires MBFI an
725 const MachineBlockFrequencyInfo *MBFI = local
733 const MachineBlockFrequencyInfo *MBFI = local
754 const MachineBlockFrequencyInfo *MBFI = local
[all...]
/external/llvm/include/llvm/CodeGen/GlobalISel/
H A DRegBankSelect.h467 MachineBlockFrequencyInfo *MBFI; member in class:llvm::RegBankSelect

Completed in 611 milliseconds

12