Home
last modified time | relevance | path

Searched refs:LiveRange (Results 1 – 18 of 18) sorted by relevance

/external/v8/src/
Dlithium-allocator.h241 friend class LiveRange; // Assigns to start_. variable
271 friend class LiveRange; variable
276 class LiveRange: public ZoneObject {
280 LiveRange(int id, Zone* zone);
284 LiveRange* parent() const { return parent_; } in parent()
285 LiveRange* TopLevel() { return (parent_ == NULL) ? this : parent_; } in TopLevel()
286 LiveRange* next() const { return next_; } in next()
321 void SplitAt(LifetimePosition position, LiveRange* result, Zone* zone);
354 bool ShouldBeAllocatedBefore(const LiveRange* other) const;
357 LifetimePosition FirstIntersection(LiveRange* other);
[all …]
Dlithium-allocator.cc102 void LiveRange::Verify() const { in Verify()
112 bool LiveRange::HasOverlap(UseInterval* target) const { in HasOverlap()
129 LiveRange::LiveRange(int id, Zone* zone) in LiveRange() function in v8::internal::LiveRange
145 void LiveRange::set_assigned_register(int reg, in set_assigned_register()
155 void LiveRange::MakeSpilled(Zone* zone) { in MakeSpilled()
164 bool LiveRange::HasAllocatedSpillOperand() const { in HasAllocatedSpillOperand()
170 void LiveRange::SetSpillOperand(LOperand* operand) { in SetSpillOperand()
178 UsePosition* LiveRange::NextUsePosition(LifetimePosition start) { in NextUsePosition()
189 UsePosition* LiveRange::NextUsePositionRegisterIsBeneficial( in NextUsePositionRegisterIsBeneficial()
199 UsePosition* LiveRange::NextRegisterPosition(LifetimePosition start) { in NextRegisterPosition()
[all …]
Dhydrogen.h51 class LiveRange; variable
1335 void TraceLiveRange(LiveRange* range, const char* type);
Dhydrogen.cc8008 const Vector<LiveRange*>* fixed_d = allocator->fixed_double_live_ranges(); in TraceLiveRanges()
8013 const Vector<LiveRange*>* fixed = allocator->fixed_live_ranges(); in TraceLiveRanges()
8018 const ZoneList<LiveRange*>* live_ranges = allocator->live_ranges(); in TraceLiveRanges()
8025 void HTracer::TraceLiveRange(LiveRange* range, const char* type) { in TraceLiveRange()
/external/llvm/include/llvm/CodeGen/
DLiveInterval.h84 struct LiveRange { struct
89 LiveRange(SlotIndex S, SlotIndex E, VNInfo *V) in LiveRange() argument
108 bool operator<(const LiveRange &LR) const { argument
111 bool operator==(const LiveRange &LR) const {
119 LiveRange(); // DO NOT IMPLEMENT
122 template <> struct isPodLike<LiveRange> { static const bool value = true; };
124 raw_ostream& operator<<(raw_ostream& os, const LiveRange &LR);
127 inline bool operator<(SlotIndex V, const LiveRange &LR) {
131 inline bool operator<(const LiveRange &LR, SlotIndex V) {
141 typedef SmallVector<LiveRange,4> Ranges;
[all …]
DLiveIntervalAnalysis.h155 LiveRange addLiveRangeToEndOfBlock(unsigned reg,
/external/llvm/lib/CodeGen/
DLiveIntervalAnalysis.cpp191 const LiveRange *OldLR = in isPartialRedef()
241 LiveRange LR(defIndex, killIdx, ValNo); in handleVirtualRegisterDef()
252 LiveRange NewLR(defIndex, getMBBEndIdx(mbb), ValNo); in handleVirtualRegisterDef()
270 LiveRange LR(getMBBStartIdx(aliveBlock), getMBBEndIdx(aliveBlock), in handleVirtualRegisterDef()
291 LiveRange LR(Start, killIdx, ValNo); in handleVirtualRegisterDef()
321 const LiveRange *OldLR = in handleVirtualRegisterDef()
338 LiveRange LR(DefIndex, RedefIndex, ValNo); in handleVirtualRegisterDef()
345 interval.addRange(LiveRange(RedefIndex, RedefIndex.getDeadSlot(), in handleVirtualRegisterDef()
361 LiveRange LR(defIndex, killIndex, ValNo); in handleVirtualRegisterDef()
649 NewLI.addRange(LiveRange(VNI->def, VNI->def.getDeadSlot(), VNI)); in shrinkToUses()
[all …]
DLiveInterval.cpp58 ranges.push_back(LiveRange(Def, Def.getDeadSlot(), VNI)); in createDeadDef()
68 ranges.insert(I, LiveRange(Def, Def.getDeadSlot(), VNI)); in createDeadDef()
291 LiveInterval::addRangeFrom(LiveRange LR, iterator From) { in addRangeFrom()
401 ranges.insert(llvm::next(I), LiveRange(End, OldEnd, ValNo)); in removeRange()
548 SmallVector<LiveRange, 4> NewRanges; in mergeIntervalRanges()
571 LiveRange R = *LI; in mergeIntervalRanges()
586 LiveRange &LastR = NewRanges.back(); in mergeIntervalRanges()
615 SmallVectorImpl<LiveRange>::iterator NRI = NewRanges.begin(), in mergeIntervalRanges()
626 LiveRange R = *RI; in mergeIntervalRanges()
733 const LiveRange &LR = RHS.ranges[i]; in Copy()
[all …]
DLiveRangeCalc.cpp121 I->LI->addRange(LiveRange(Start, I->Kill, VNI)); in updateLiveIns()
123 I->LI->addRange(LiveRange(Start, End, VNI)); in updateLiveIns()
332 I->LI->addRange(LiveRange(Start, I->Kill, VNI)); in updateSSA()
334 I->LI->addRange(LiveRange(Start, End, VNI)); in updateSSA()
DStrongPHIElimination.cpp350 LiveRange *DestLR = DestLI.begin(); in runOnMachineFunction()
358 LiveRange NewLR(DestLR->start, DestLR->end, NewVNI); in runOnMachineFunction()
755 DestLI.addRange(LiveRange(MBBStartIndex, in InsertCopiesForPHI()
780 CopyLI.addRange(LiveRange(MBBStartIndex, in InsertCopiesForPHI()
808 LiveRange OldLR = *LRI; in MergeLIsAndRename()
817 LiveRange LR(OldLR.start, OldLR.end, NewVN); in MergeLIsAndRename()
DSpiller.cpp144 newLI->addRange(LiveRange(loadIndex, endIndex, loadVNI)); in trivialSpillEverywhere()
157 newLI->addRange(LiveRange(beginIndex, storeIndex, storeVNI)); in trivialSpillEverywhere()
DStackColoring.cpp418 Intervals[i]->addRange(LiveRange(S, F, ValNum)); in calculateLiveIntervals()
424 Intervals[i]->addRange(LiveRange(NewStart, F, ValNum)); in calculateLiveIntervals()
425 Intervals[i]->addRange(LiveRange(S, NewFin, ValNum)); in calculateLiveIntervals()
DLiveIntervalUnion.h36 overlap(const LiveRange &VRSeg, in overlap()
DInlineSpiller.cpp904 NewLI.addRange(LiveRange(DefIdx, UseIdx.getRegSlot(), DefVNI)); in reMaterializeFor()
1090 NewLI.addRange(LiveRange(LoadIdx, Idx, LoadVNI)); in insertReload()
1104 NewLI.addRange(LiveRange(Idx, StoreIdx, StoreVNI)); in insertSpill()
1215 NewLI.addRange(LiveRange(Idx, Idx.getDeadSlot(), VNI)); in spillAroundUses()
DSplitKit.cpp396 LI->addRange(LiveRange(Def, Def.getDeadSlot(), OldVNI)); in defValue()
403 LI->addRange(LiveRange(Def, Def.getDeadSlot(), VNI)); in defValue()
423 Edit->get(RegIdx)->addRange(LiveRange(Def, Def.getDeadSlot(), VNI)); in forceRecompute()
868 LI->addRange(LiveRange(Start, End, VNI)); in transferValues()
DRegisterCoalescer.cpp460 IntB.addRange(LiveRange(FillerStart, FillerEnd, BValNo)); in adjustCopiesBackFrom()
691 IntB.addRange(LiveRange(AI->start, AI->end, ValNo)); in removeCopyByCommutingDef()
DLiveDebugVariables.cpp501 LiveRange *Range = LI->getLiveRangeContaining(Start); in extendDef()
/external/llvm/test/CodeGen/Generic/
DbadCallArgLRLLVM.ll6 ; so no LiveRange has been created for its return value.