Home | History | Annotate | Download | only in CodeGen

Lines Matching refs:Reg

40 void LiveRangeCalc::createDeadDefs(LiveRange &LR, unsigned Reg) {
43 // Visit all def operands. If the same instruction has multiple defs of Reg,
45 for (MachineOperand &MO : MRI->def_operands(Reg)) {
63 void LiveRangeCalc::extendToUses(LiveRange &LR, unsigned Reg) {
66 // Visit all operands that read Reg. This may include partial defs.
67 for (MachineOperand &MO : MRI->reg_nodbg_operands(Reg)) {
74 // MI is reading Reg. We may have visited MI before if it happens to be
75 // reading Reg multiple times. That is OK, extend() is idempotent.
83 // PHI operands are paired: (Reg, PredMBB).
101 extend(LR, Idx, Reg);