Home | History | Annotate | Download | only in CodeGen

Lines Matching defs:Def

52 VNInfo *LiveRange::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 segments.push_back(Segment(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 segments.insert(I, Segment(Def, Def.getDeadSlot(), VNI));
161 SlotIndex Def = std::max(I->start, J->start);
162 // Allow the overlap if Def is a coalescable copy.
163 if (Def.isBlock() ||
164 !CP.isCoalescable(Indexes.getInstructionFromIndex(Def)))
299 " (did you def the same reg twice in a MachineInstr?)");
612 OS << vni->def;
875 const MachineBasicBlock *MBB = LIS.getMBBFromIndex(VNI->def);
876 assert(MBB && "Phi-def has no defining MBB");
886 // Note that VNI->def may be a use slot for an early clobber def.
887 if (const VNInfo *UVNI = LI->getVNInfoBefore(VNI->def))
922 // In the case of an <undef> use that isn't tied to any def, VNI will be
923 // NULL. If the use is tied to a def, VNI will be the defined value.