reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
1184 assert(CmpInstr.getParent()); 1188 int DeadNZCVIdx = CmpInstr.findRegisterDefOperandIdx(AArch64::NZCV, true); 1190 if (CmpInstr.definesRegister(AArch64::WZR) || 1191 CmpInstr.definesRegister(AArch64::XZR)) { 1192 CmpInstr.eraseFromParent(); 1195 unsigned Opc = CmpInstr.getOpcode(); 1196 unsigned NewOpc = convertToNonFlagSettingOpc(CmpInstr); 1200 CmpInstr.setDesc(MCID); 1201 CmpInstr.RemoveOperand(DeadNZCVIdx); 1202 bool succeeded = UpdateOperandRegClass(CmpInstr); 1216 if (!MRI->use_nodbg_empty(CmpInstr.getOperand(0).getReg())) 1219 return substituteCmpToZero(CmpInstr, SrcReg, MRI);