reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
222 assert(isAmbiguous(MI->getOpcode()) && 225 const MachineRegisterInfo &MRI = MI->getMF()->getRegInfo(); 227 if (MI->getOpcode() == TargetOpcode::G_LOAD) 228 addDefUses(MI->getOperand(0).getReg(), MRI); 230 if (MI->getOpcode() == TargetOpcode::G_STORE) 231 addUseDef(MI->getOperand(0).getReg(), MRI); 233 if (MI->getOpcode() == TargetOpcode::G_PHI) { 234 addDefUses(MI->getOperand(0).getReg(), MRI); 236 for (unsigned i = 1; i < MI->getNumOperands(); i += 2) 237 addUseDef(MI->getOperand(i).getReg(), MRI); 240 if (MI->getOpcode() == TargetOpcode::G_SELECT) { 241 addDefUses(MI->getOperand(0).getReg(), MRI); 243 addUseDef(MI->getOperand(2).getReg(), MRI); 244 addUseDef(MI->getOperand(3).getReg(), MRI); 247 if (MI->getOpcode() == TargetOpcode::G_IMPLICIT_DEF) 248 addDefUses(MI->getOperand(0).getReg(), MRI);