Home | History | Annotate | Download | only in CodeGen

Lines Matching refs:Def

52 VNInfo *LiveInterval::createDeadDef(SlotIndex Def,
54 assert(!Def.isDead() && "Cannot define a value at the dead slot");
55 iterator I = find(Def);
57 VNInfo *VNI = getNextValue(Def, VNInfoAllocator);
58 ranges.push_back(LiveRange(Def, Def.getDeadSlot(), VNI));
61 if (SlotIndex::isSameInstr(Def, I->start)) {
62 assert(I->valno->def == I->start && "Inconsistent existing value def");
69 Def = std::min(Def, I->start);
70 if (Def != I->start)
71 I->start = I->valno->def = Def;
74 assert(SlotIndex::isEarlierInstr(Def, I->start) && "Already live at def");
75 VNInfo *VNI = getNextValue(Def, VNInfoAllocator);
76 ranges.insert(I, LiveRange(Def, Def.getDeadSlot(), VNI));
162 SlotIndex Def = std::max(I->start, J->start);
163 // Allow the overlap if Def is a coalescable copy.
164 if (Def.isBlock() ||
165 !CP.isCoalescable(Indexes.getInstructionFromIndex(Def)))
302 " (did you def the same reg twice in a MachineInstr?)");
620 OS << vni->def;
876 const MachineBasicBlock *MBB = LIS.getMBBFromIndex(VNI->def);
877 assert(MBB && "Phi-def has no defining MBB");
887 // Note that VNI->def may be a use slot for an early clobber def.
888 if (const VNInfo *UVNI = LI->getVNInfoBefore(VNI->def))
923 // In the case of an <undef> use that isn't tied to any def, VNI will be
924 // NULL. If the use is tied to a def, VNI will be the defined value.