Home | History | Annotate | Download | only in CodeGen

Lines Matching defs:Slot

1 //===- llvm/CodeGen/SlotIndexes.h - Slot indexes representation -*- C++ -*-===//
34 /// This class represents an entry in the slot index list held in the
95 enum Slot {
98 /// def slot of PHI-defs.
101 /// Early-clobber register use/def slot. A live range defined at
103 /// Slot_Register. Also used as the kill slot for live ranges tied to an
107 /// Normal register use/def slot. Normal instructions kill and define
108 /// register live ranges at this slot.
111 /// Dead def kill point. Kill slot for a live range that is defined by
121 SlotIndex(IndexListEntry *entry, unsigned slot)
122 : lie(entry, slot) {}
137 /// Returns the slot for this SlotIndex.
138 Slot getSlot() const {
139 return static_cast<Slot>(lie.getInt());
152 // Construct a new slot index from the given one, and set the slot.
153 SlotIndex(const SlotIndex &li, Slot s) : lie(li.listEntry(), unsigned(s)) {
228 /// isBlock - Returns true if this is a block boundary slot.
231 /// isEarlyClobber - Returns true if this is an early-clobber slot.
234 /// isRegister - Returns true if this is a normal register use/def slot.
238 /// isDead - Returns true if this is a dead def kill slot.
242 /// is the one associated with the Slot_Block slot for the instruction
249 /// index is the one associated with the Slot_Block slot for the instruction
255 /// Returns the register use/def slot in the current instruction for a
261 /// Returns the dead def kill slot for the current instruction.
266 /// Returns the next slot in the index list. This could be either the
267 /// next slot for the instruction pointed to by this index or, if this
268 /// index is a STORE, the first slot for the next instruction.
273 Slot s = getSlot();
281 /// index's slot, but for the next instruction.
286 /// Returns the previous slot in the index list. This could be either the
287 /// previous slot for the instruction pointed to by this index or, if this
288 /// index is a Slot_Block, the last slot for the previous instruction.
293 Slot s = getSlot();
301 /// index's slot, but for the previous instruction.
402 /// Returns the base index of the last slot in this analysis.
571 "Instructions inside bundles should use bundle start's slot.");
703 // Specialize IntervalMapInfo for half-open slot index intervals.