Lines Matching refs:Use
88 for (auto &Use : MRI->reg_nodbg_instructions(VirtReg)) in getRegAllocationHints() local
89 if (SystemZ::getTwoOperandOpcode(Use.getOpcode()) != -1) { in getRegAllocationHints()
93 if (VirtReg == Use.getOperand(0).getReg()) { in getRegAllocationHints()
94 VRRegMO = &Use.getOperand(0); in getRegAllocationHints()
95 OtherMO = &Use.getOperand(1); in getRegAllocationHints()
96 if (Use.isCommutable()) in getRegAllocationHints()
97 CommuMO = &Use.getOperand(2); in getRegAllocationHints()
98 } else if (VirtReg == Use.getOperand(1).getReg()) { in getRegAllocationHints()
99 VRRegMO = &Use.getOperand(1); in getRegAllocationHints()
100 OtherMO = &Use.getOperand(0); in getRegAllocationHints()
101 } else if (VirtReg == Use.getOperand(2).getReg() && in getRegAllocationHints()
102 Use.isCommutable()) { in getRegAllocationHints()
103 VRRegMO = &Use.getOperand(2); in getRegAllocationHints()
104 OtherMO = &Use.getOperand(0); in getRegAllocationHints()
140 for (auto &Use : MRI->reg_instructions(Reg)) { in getRegAllocationHints() local
145 if (Use.getOpcode() == SystemZ::LOCRMux || in getRegAllocationHints()
146 Use.getOpcode() == SystemZ::SELRMux) { in getRegAllocationHints()
147 MachineOperand &TrueMO = Use.getOperand(1); in getRegAllocationHints()
148 MachineOperand &FalseMO = Use.getOperand(2); in getRegAllocationHints()
152 if (Use.getOpcode() == SystemZ::SELRMux) in getRegAllocationHints()
154 getRC32(Use.getOperand(0), VRM, MRI)); in getRegAllocationHints()
169 else if (Use.getOpcode() == SystemZ::CHIMux || in getRegAllocationHints()
170 Use.getOpcode() == SystemZ::CFIMux) { in getRegAllocationHints()
171 if (Use.getOperand(1).getImm() == 0) { in getRegAllocationHints()