/external/llvm/lib/CodeGen/ |
InlineSpiller.cpp | 121 SibValueInfo(unsigned Reg, VNInfo *VNI) 123 SpillReg(Reg), SpillVNI(VNI), SpillMBB(0), DefMI(0) {} 169 void propagateSiblingValue(SibValueMap::iterator, VNInfo *VNI = 0); 173 void eliminateRedundantSpills(LiveInterval &LI, VNInfo *VNI); 346 /// @param VNI Dependent value, or NULL to propagate to all saved dependents. 348 VNInfo *VNI) { 351 // When VNI is non-NULL, add it to SVI's deps, and only propagate to that. 353 if (VNI) { 354 FirstDeps.push_back(VNI); 355 SVI->second.Deps.push_back(VNI); [all...] |
LiveRangeCalc.cpp | 211 if (VNInfo *VNI = LiveOut[Pred].first) { 212 if (TheVNI && TheVNI != VNI) 214 TheVNI = VNI; 224 VNInfo *VNI = LI->extendInBlock(Start, End); 225 setLiveOutValue(Pred, VNI); 226 if (VNI) { 227 if (TheVNI && TheVNI != VNI) 229 TheVNI = VNI; 351 VNInfo *VNI = I->LI->getNextValue(Start, *Alloc); 352 I->Value = VNI; [all...] |
LiveInterval.cpp | 57 VNInfo *VNI = getNextValue(Def, VNInfoAllocator); 58 ranges.push_back(LiveRange(Def, Def.getDeadSlot(), VNI)); 59 return VNI; 75 VNInfo *VNI = getNextValue(Def, VNInfoAllocator); 76 ranges.insert(I, LiveRange(Def, Def.getDeadSlot(), VNI)); 77 return VNI; 209 VNInfo *VNI = I->valno; 210 if (!Seen.insert(VNI)) 212 assert(!VNI->isUnused() && "Unused valno used by live range"); 213 VNI->id = (unsigned)valnos.size() [all...] |
SplitKit.cpp | 97 const VNInfo *VNI = CurLI->getVNInfoBefore(MBBEnd); 98 if (!VNI) 105 if (!SlotIndex::isEarlierInstr(VNI->def, LSP.second) && VNI->def < MBBEnd) 379 assert(Edit->getParent().getVNInfoAt(Idx) == ParentVNI && "Bad Parent VNI"); 383 VNInfo *VNI = LI->getNextValue(Idx, LIS.getVNInfoAllocator()); 388 ValueForcePair(VNI, false))); 393 return VNI; 403 // This is a complex mapping, add liveness for VNI 404 SlotIndex Def = VNI->def [all...] |
LiveIntervalAnalysis.cpp | 299 VNInfo *VNI = Intv->createDeadDef(Begin, getVNInfoAllocator()); 300 (void)VNI; 301 DEBUG(dbgs() << ' ' << PrintRegUnit(Unit, TRI) << '#' << VNI->id); 335 VNInfo *VNI = LRQ.valueIn(); 336 if (!VNI) { 350 WorkList.push_back(std::make_pair(Idx, VNI)); 357 VNInfo *VNI = *I; 358 if (VNI->isUnused()) 360 NewLI.addRange(LiveRange(VNI->def, VNI->def.getDeadSlot(), VNI)) [all...] |
MachineVerifier.cpp | [all...] |
LiveRangeCalc.h | 50 /// redundant, it can be computed as: MDT[Indexes.getMBBFromIndex(VNI->def)]. 204 /// setLiveOutValue - Indicate that VNI is live out from MBB. The 208 /// VNI may be null only if MBB is a live-through block also passed to 210 void setLiveOutValue(MachineBasicBlock *MBB, VNInfo *VNI) { 212 LiveOut[MBB] = LiveOutPair(VNI, (MachineDomTreeNode *)0);
|
LiveRangeEdit.cpp | 44 bool LiveRangeEdit::checkRematerializable(VNInfo *VNI, 51 Remattable.insert(VNI); 58 VNInfo *VNI = *I; 59 if (VNI->isUnused()) 61 MachineInstr *DefMI = LIS.getInstructionFromIndex(VNI->def); 64 checkRematerializable(VNI, DefMI, aa); 260 if (VNInfo *VNI = LI->getVNInfoAt(Idx)) 261 LI->removeValNo(VNI); 280 if (VNInfo *VNI = LI.getVNInfoAt(Idx)) { 283 LI.removeValNo(VNI); [all...] |
RegisterCoalescer.cpp | [all...] |
CalcSpillWeights.cpp | 98 const VNInfo *VNI = *I; 99 if (VNI->isUnused()) 101 if (VNI->isPHIDef()) 104 MachineInstr *MI = LIS.getInstructionFromIndex(VNI->def);
|
LiveDebugVariables.cpp | 218 /// range of VNI. 219 /// End points where VNI is no longer live are added to Kills. 222 /// @param LI Restrict liveness to where LI has the value VNI. May be null. 223 /// @param VNI When LI is not null, this is the value to restrict to. 224 /// @param Kills Append end points of VNI's live range to Kills. 228 LiveInterval *LI, const VNInfo *VNI, 495 LiveInterval *LI, const VNInfo *VNI, 507 // Limit to VNI's live range. 509 if (LI && VNI) { 511 if (!Range || Range->valno != VNI) { [all...] |
PHIElimination.cpp | 474 VNInfo *VNI = SrcLI.getVNInfoAt(startIdx); 477 if (VNI && VNI->def != startIdx) {
|
MachineBasicBlock.cpp | 862 VNInfo *VNI = LI.getVNInfoAt(PrevIndex); 863 assert(VNI && "PHI sources should be live out of their predecessors."); 864 LI.addRange(LiveRange(StartIndex, EndIndex, VNI)); 881 VNInfo *VNI = LI.getVNInfoAt(PrevIndex); 882 assert(VNI && "LiveInterval should have VNInfo where it is live."); 883 LI.addRange(LiveRange(StartIndex, EndIndex, VNI)); [all...] |
ScheduleDAGInstrs.cpp | 411 VNInfo *VNI = LRQ.valueIn(); 413 // VNI will be valid because MachineOperand::readsReg() is checked by caller. 414 assert(VNI && "No value to read by operand"); 415 MachineInstr *Def = LIS->getInstructionFromIndex(VNI->def); [all...] |
TwoAddressInstructionPass.cpp | [all...] |
/external/llvm/include/llvm/CodeGen/ |
LiveInterval.h | 223 /// containsValue - Returns true if VNI belongs to this interval. 224 bool containsValue(const VNInfo *VNI) const { 225 return VNI && VNI->id < getNumValNums() && VNI == getValNumInfo(VNI->id); 231 VNInfo *VNI = 233 valnos.push_back(VNI); 234 return VNI; 246 VNInfo *VNI [all...] |
LiveRangeEdit.h | 155 /// checkRematerializable - Manually add VNI to the list of rematerializable 157 bool checkRematerializable(VNInfo *VNI, const MachineInstr *DefMI,
|
LiveIntervalAnalysis.h | 257 /// Returns true if VNI is killed by any PHI-def values in LI. 259 bool hasPHIKill(const LiveInterval &LI, const VNInfo *VNI) const;
|