Home | History | Annotate | Download | only in CodeGen

Lines Matching defs:Def

62   VNInfo *createDeadDef(SlotIndex Def, VNInfo::Allocator &VNInfoAllocator) {
63 assert(!Def.isDead() && "Cannot define a value at the dead slot");
65 iterator I = impl().find(Def);
67 VNInfo *VNI = LR->getNextValue(Def, VNInfoAllocator);
68 impl().insertAtEnd(Segment(Def, Def.getDeadSlot(), VNI));
73 if (SlotIndex::isSameInstr(Def, S->start)) {
74 assert(S->valno->def == S->start && "Inconsistent existing value def");
81 Def = std::min(Def, S->start);
82 if (Def != S->start)
83 S->start = S->valno->def = Def;
86 assert(SlotIndex::isEarlierInstr(Def, S->start) && "Already live at def");
87 VNInfo *VNI = LR->getNextValue(Def, VNInfoAllocator);
88 segments().insert(I, Segment(Def, Def.getDeadSlot(), VNI));
190 " (did you def the same reg twice in a MachineInstr?)");
323 VNInfo *LiveRange::createDeadDef(SlotIndex Def,
327 return CalcLiveRangeUtilSet(this).createDeadDef(Def, VNInfoAllocator);
329 return CalcLiveRangeUtilVector(this).createDeadDef(Def, VNInfoAllocator);
413 SlotIndex Def = std::max(I->start, J->start);
414 // Allow the overlap if Def is a coalescable copy.
415 if (Def.isBlock() ||
416 !CP.isCoalescable(Indexes.getInstructionFromIndex(Def)))
859 OS << vni->def;
1160 const MachineBasicBlock *MBB = LIS.getMBBFromIndex(VNI->def);
1161 assert(MBB && "Phi-def has no defining MBB");
1171 // Note that VNI->def may be a use slot for an early clobber def.
1172 if (const VNInfo *UVNI = LR.getVNInfoBefore(VNI->def))
1204 // In the case of an <undef> use that isn't tied to any def, VNI will be
1205 // NULL. If the use is tied to a def, VNI will be the defined value.
1232 const VNInfo *MainRangeVNI = LI.getVNInfoAt(VNI.def);
1234 && "SubRange def must have corresponding main range def");