/external/llvm/lib/CodeGen/ |
H A D | RegAllocBase.h | 64 LiveIntervals *LIS; member in class:llvm::RegAllocBase 69 : TRI(nullptr), MRI(nullptr), VRM(nullptr), LIS(nullptr), Matrix(nullptr) {}
|
H A D | CalcSpillWeights.cpp | 25 void llvm::calculateSpillWeightsAndHints(LiveIntervals &LIS, argument 34 VirtRegAuxInfo VRAI(MF, LIS, MLI, MBFI, norm); 39 VRAI.calculateSpillWeightAndHint(LIS.getInterval(Reg)); 76 const LiveIntervals &LIS, 86 MachineInstr *MI = LIS.getInstructionFromIndex(VNI->def); 89 if (!TII.isTriviallyReMaterializable(MI, LIS.getAliasAnalysis())) 142 if (writes && isExiting && LIS.isLiveOutOfMBB(li, mbb)) 182 if (li.isZeroLength(LIS.getSlotIndexes())) { 191 if (isRematerializable(li, LIS, *MF.getSubtarget().getInstrInfo())) 75 isRematerializable(const LiveInterval &LI, const LiveIntervals &LIS, const TargetInstrInfo &TII) argument
|
H A D | InterferenceCache.h | 57 /// LIS - Used for accessing register mask interference maps. 58 LiveIntervals *LIS; member in class:llvm::InterferenceCache::Entry 97 Entry() : PhysReg(0), Tag(0), RefCount(0), Indexes(nullptr), LIS(nullptr) {} 104 LIS = lis;
|
H A D | SplitKit.h | 46 const LiveIntervals &LIS; member in class:llvm::SplitAnalysis 213 LiveIntervals &LIS; member in class:llvm::SplitEditor
|
H A D | VirtRegMap.cpp | 164 LiveIntervals *LIS; member in class:__anon10507::VirtRegRewriter 213 LIS = &getAnalysis<LiveIntervals>(); 221 LIS->addKillFlags(VRM); 247 LiveInterval &LI = LIS->getInterval(VirtReg); 248 if (LI.empty() || LIS->intervalIsInOneMBB(LI))
|
H A D | PHIElimination.cpp | 58 LiveIntervals *LIS; member in class:__anon10451::PHIElimination 135 LIS = getAnalysisIfAvailable<LiveIntervals>(); 144 if (!DisableEdgeSplitting && (LV || LIS)) { 161 if (LIS) 162 LIS->RemoveMachineInstrFromMaps(DefMI); 170 if (LIS) 171 LIS->RemoveMachineInstrFromMaps(I->first); 311 if (LIS) { 313 SlotIndex DestCopyIndex = LIS->InsertMachineInstrInMaps(NewInstr); 315 SlotIndex MBBStartIndex = LIS [all...] |
H A D | InlineSpiller.cpp | 60 LiveIntervals &LIS; member in class:__anon10419::InlineSpiller 142 : MF(mf), LIS(pass.getAnalysis<LiveIntervals>()), 236 if (SnipLI.getNumValNums() > 2 || !LIS.intervalIsInOneMBB(SnipLI)) 288 LiveInterval &SnipLI = LIS.getInterval(SnipReg); 374 SV.SpillMBB = LIS.getMBBFromIndex(SV.SpillVNI->def); 392 DepSV.SpillMBB = LIS.getMBBFromIndex(DepSV.SpillVNI->def); 511 LiveInterval &OrigLI = LIS.getInterval(Original); 548 LiveInterval &LI = LIS.getInterval(Reg); 593 MachineInstr *MI = LIS.getInstructionFromIndex(VNI->def); 599 LiveInterval &SrcLI = LIS 1043 dumpMachineInstrRangeWithSlotIndex(MachineBasicBlock::iterator B, MachineBasicBlock::iterator E, LiveIntervals const &LIS, const char *const header, unsigned VReg =0) argument 1209 DEBUG(dumpMachineInstrRangeWithSlotIndex(std::next(MI), MIS.end(), LIS, local [all...] |
H A D | LiveDebugVariables.cpp | 135 LiveIntervals &LIS, const TargetInstrInfo &TII); 140 LiveIntervals &LIS); 232 /// @param LIS Live intervals analysis. 237 LiveIntervals &LIS, MachineDominatorTree &MDT, 251 LiveIntervals &LIS); 256 LiveIntervals &LIS, MachineDominatorTree &MDT, 262 LiveIntervals &LIS); 270 LiveIntervals &LIS, const TargetInstrInfo &TRI); 284 LiveIntervals *LIS; member in class:__anon10423::LDVImpl 524 LIS 539 extendDef(SlotIndex Idx, unsigned LocNo, LiveRange *LR, const VNInfo *VNI, SmallVectorImpl<SlotIndex> *Kills, LiveIntervals &LIS, MachineDominatorTree &MDT, UserValueScopes &UVS) argument 601 addDefsFromCopies(LiveInterval *LI, unsigned LocNo, const SmallVectorImpl<SlotIndex> &Kills, SmallVectorImpl<std::pair<SlotIndex, unsigned> > &NewDefs, MachineRegisterInfo &MRI, LiveIntervals &LIS) argument 672 computeIntervals(MachineRegisterInfo &MRI, const TargetRegisterInfo &TRI, LiveIntervals &LIS, MachineDominatorTree &MDT, UserValueScopes &UVS) argument 790 splitLocation(unsigned OldLocNo, ArrayRef<unsigned> NewRegs, LiveIntervals& LIS) argument 889 splitRegister(unsigned OldReg, ArrayRef<unsigned> NewRegs, LiveIntervals &LIS) argument 919 splitRegister(unsigned OldReg, ArrayRef<unsigned> NewRegs, LiveIntervals &LIS) argument 955 findInsertLocation(MachineBasicBlock *MBB, SlotIndex Idx, LiveIntervals &LIS) argument 976 insertDebugValue(MachineBasicBlock *MBB, SlotIndex Idx, unsigned LocNo, LiveIntervals &LIS, const TargetInstrInfo &TII) argument 998 emitDebugValues(VirtRegMap *VRM, LiveIntervals &LIS, const TargetInstrInfo &TII) argument [all...] |
H A D | LiveIntervalAnalysis.cpp | 900 LiveIntervals& LIS; member in class:LiveIntervals::HMEditor 909 HMEditor(LiveIntervals& LIS, const MachineRegisterInfo& MRI, argument 912 : LIS(LIS), MRI(MRI), TRI(TRI), OldIdx(OldIdx), NewIdx(NewIdx), 921 return &LIS.getRegUnit(Unit); 922 return LIS.getCachedRegUnit(Unit); 944 LiveInterval &LI = LIS.getInterval(Reg); 1030 if (MachineInstr *KillMI = LIS.getInstructionFromIndex(I->end)) 1164 std::lower_bound(LIS.RegMaskSlots.begin(), LIS [all...] |
H A D | MachineBasicBlock.cpp | 707 LiveIntervals *LIS = P->getAnalysisIfAvailable<LiveIntervals>(); local 709 if (LIS) 710 LIS->insertMBBInMaps(NMBB); 741 if (LIS) { 836 if (LIS) { 864 LiveInterval &LI = LIS->getInterval(Reg); 875 if (PHISrcRegs.count(Reg) || !LIS->hasInterval(Reg)) 878 LiveInterval &LI = LIS->getInterval(Reg); 882 bool isLiveOut = LI.liveAt(LIS->getMBBStartIdx(Succ)); 894 LIS [all...] |
H A D | RegAllocPBQP.cpp | 126 void findVRegIntervalsToAlloc(const MachineFunction &MF, LiveIntervals &LIS); 133 MachineFunction &MF, LiveIntervals &LIS, VirtRegMap &VRM, 145 void finalizeAlloc(MachineFunction &MF, LiveIntervals &LIS, 156 LiveIntervals &LIS = G.getMetadata().LIS; variable 164 LIS.getInterval(G.getNodeMetadata(NId).getVReg()).weight; 275 LiveIntervals &LIS = G.getMetadata().LIS; variable 298 LiveInterval &LI = LIS.getInterval(VReg); 523 LiveIntervals &LIS) { 522 findVRegIntervalsToAlloc(const MachineFunction &MF, LiveIntervals &LIS) argument 557 LiveIntervals &LIS = G.getMetadata().LIS; local 627 spillVReg(unsigned VReg, SmallVectorImpl<unsigned> &NewIntervals, MachineFunction &MF, LiveIntervals &LIS, VirtRegMap &VRM, Spiller &VRegSpiller) argument 659 LiveIntervals &LIS = G.getMetadata().LIS; local 693 finalizeAlloc(MachineFunction &MF, LiveIntervals &LIS, VirtRegMap &VRM) const argument 723 LiveIntervals &LIS = getAnalysis<LiveIntervals>(); local [all...] |
H A D | RegisterPressure.cpp | 152 return &LIS->getInterval(Reg); 153 return LIS->getCachedRegUnit(Reg); 158 LIS = nullptr; 195 LIS = lis; 231 return LIS->getMBBEndIdx(MBB); 232 return LIS->getInstructionIndex(IdxPos).getRegSlot(); 483 SlotIdx = LIS->getInstructionIndex(CurrPos).getRegSlot(); 727 SlotIndex SlotIdx = LIS->getInstructionIndex(MI); 886 const LiveIntervals *LIS) { 893 SlotIndex InstSlot = LIS 883 findUseBetween(unsigned Reg, SlotIndex PriorUseIdx, SlotIndex NextUseIdx, const MachineRegisterInfo *MRI, const LiveIntervals *LIS) argument [all...] |
H A D | TwoAddressInstructionPass.cpp | 79 LiveIntervals *LIS; member in class:__anon10504::TwoAddressInstructionPass 177 static bool isPlainlyKilled(MachineInstr *MI, unsigned Reg, LiveIntervals *LIS); 220 if (LIS) { 221 LiveInterval &LI = LIS->getInterval(SavedReg); 225 SlotIndex MBBEndIdx = LIS->getMBBEndIdx(MBB).getPrevSlot(); 231 KillMI = LIS->getInstructionFromIndex(I->end); 281 if (MO.isKill() || (LIS && isPlainlyKilled(OtherMI, MOReg, LIS))) { 294 if (!LIS) { 308 if (LIS) 402 isPlainlyKilled(MachineInstr *MI, unsigned Reg, LiveIntervals *LIS) argument 444 isKilled(MachineInstr &MI, unsigned Reg, const MachineRegisterInfo *MRI, const TargetInstrInfo *TII, LiveIntervals *LIS, bool allowFalsePositives) argument [all...] |
H A D | MachineScheduler.cpp | 91 MF(nullptr), MLI(nullptr), MDT(nullptr), PassConfig(nullptr), AA(nullptr), LIS(nullptr) { 327 LIS = &getAnalysis<LiveIntervals>(); 330 DEBUG(LIS->dump()); 340 DEBUG(LIS->dump()); 639 if (LIS) 640 LIS->handleMove(MI, /*UpdateFlags=*/true); 867 TopRPTracker.init(&MF, RegClassInfo, LIS, BB, RegionBegin); 868 BotRPTracker.init(&MF, RegClassInfo, LIS, BB, LiveRegionEnd); 966 const LiveInterval &LI = LIS->getInterval(Reg); 971 VNI = LI.getVNInfoBefore(LIS 1431 LiveIntervals *LIS = DAG->getLIS(); local [all...] |
/external/llvm/include/llvm/CodeGen/ |
H A D | CalcSpillWeights.h | 53 LiveIntervals &LIS; member in class:llvm::VirtRegAuxInfo 64 : MF(mf), LIS(lis), Loops(loops), MBFI(mbfi), normalize(norm) {} 72 void calculateSpillWeightsAndHints(LiveIntervals &LIS, MachineFunction &MF,
|
H A D | LiveRegMatrix.h | 42 LiveIntervals *LIS; member in class:llvm::LiveRegMatrix
|
H A D | LiveRangeEdit.h | 64 LiveIntervals &LIS; member in class:llvm::LiveRangeEdit 118 : Parent(parent), NewRegs(newRegs), MRI(MF.getRegInfo()), LIS(lis), 208 /// to erase it from LIS.
|
H A D | ScheduleDAGInstrs.h | 82 LiveIntervals *LIS; member in class:llvm::ScheduleDAGInstrs 159 LiveIntervals *LIS = nullptr); 166 LiveIntervals *getLIS() const { return LIS; }
|
H A D | RegAllocPBQP.h | 146 LiveIntervals &LIS, 148 : MF(MF), LIS(LIS), MBFI(MBFI) {} 151 LiveIntervals &LIS; member in class:llvm::PBQP::RegAlloc::GraphMetadata 145 GraphMetadata(MachineFunction &MF, LiveIntervals &LIS, MachineBlockFrequencyInfo &MBFI) argument
|
H A D | MachineScheduler.h | 107 LiveIntervals *LIS; member in struct:llvm::MachineSchedContext 253 /*RemoveKillFlags=*/IsPostRA, C->LIS),
|
/external/llvm/lib/Target/PowerPC/ |
H A D | PPCTLSDynamicCall.cpp | 50 LiveIntervals *LIS; member in struct:__anon10818::PPCTLSDynamicCall 126 LIS->repairIntervalsInRange(&MBB, First, Last, OrigRegs); 136 LIS = &getAnalysis<LiveIntervals>();
|
H A D | PPCVSXFMAMutate.cpp | 60 LiveIntervals *LIS; member in struct:__anon10822::PPCVSXFMAMutate 102 SlotIndex FMAIdx = LIS->getInstructionIndex(MI); 105 LIS->getInterval(MI->getOperand(1).getReg()).Query(FMAIdx).valueIn(); 106 MachineInstr *AddendMI = LIS->getInstructionFromIndex(AddendValNo->def); 159 if (LIS->getInterval(MI->getOperand(2).getReg()) 163 } else if (LIS->getInterval(MI->getOperand(3).getReg()) 177 LIS->getInterval(AddendSrcReg).liveAt(FMAIdx)) && 236 LiveInterval &FMAInt = LIS->getInterval(OldFMAReg); 255 LiveInterval &NewFMAInt = LIS->getInterval(KilledProdReg); 264 LIS [all...] |
/external/llvm/lib/Target/R600/ |
H A D | SIFixSGPRLiveRanges.cpp | 111 LiveIntervals *LIS = &getAnalysis<LiveIntervals>(); local 125 std::make_pair(Def, &LIS->getInterval(Def))); 128 std::make_pair(Def, &LIS->getRegUnit(Def))); 168 bool LiveInToA = LIS->isLiveInToMBB(*LR, SuccA); 169 bool LiveInToB = LIS->isLiveInToMBB(*LR, SuccB);
|
H A D | SILoadStoreOptimizer.cpp | 62 LiveIntervals *LIS; member in class:__anon10859::SILoadStoreOptimizer 91 LIS(nullptr) {} 261 LIS->InsertMachineInstrInMaps(Read2); 268 LIS->RemoveMachineInstrFromMaps(I); 269 LIS->RemoveMachineInstrFromMaps(Paired); 273 LiveInterval &AddrRegLI = LIS->getInterval(AddrReg->getReg()); 274 LIS->shrinkToUses(&AddrRegLI); 276 LiveInterval &M0RegLI = LIS->getInterval(M0Reg->getReg()); 277 LIS->shrinkToUses(&M0RegLI); 285 LiveInterval &PairedM0RegLI = LIS [all...] |
/external/llvm/lib/Target/Hexagon/ |
H A D | HexagonExpandCondsets.cpp | 88 LIS(0), CoaLimitActive(false), 112 LiveIntervals *LIS; member in class:__anon10718::HexagonExpandCondsets 265 MachineInstr *MI = LIS->getInstructionFromIndex(S); 285 LiveInterval &LI = LIS->getInterval(Reg); 289 MachineInstr *MI = LIS->getInstructionFromIndex(I->start); 293 MachineInstr *MI = LIS->getInstructionFromIndex(S); 320 LIS->shrinkToUses(&LI, &Deads); 334 SlotIndex S = LIS->getInstructionIndex(MI).getRegSlot(); 341 T->end = LIS->getMBBEndIdx(MI->getParent()); 355 MachineInstr *MI = LIS [all...] |