reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
165 unsigned CommutableOpIdx1 = Idx1; (void)CommutableOpIdx1; 168 CommutableOpIdx1 == Idx1 && CommutableOpIdx2 == Idx2 && 170 assert(MI.getOperand(Idx1).isReg() && MI.getOperand(Idx2).isReg() && 174 Register Reg1 = MI.getOperand(Idx1).getReg(); 177 unsigned SubReg1 = MI.getOperand(Idx1).getSubReg(); 179 bool Reg1IsKill = MI.getOperand(Idx1).isKill(); 181 bool Reg1IsUndef = MI.getOperand(Idx1).isUndef(); 183 bool Reg1IsInternal = MI.getOperand(Idx1).isInternalRead(); 188 ? MI.getOperand(Idx1).isRenamable() 196 MI.getDesc().getOperandConstraint(Idx1, MCOI::TIED_TO) == 0) { 221 CommutedMI->getOperand(Idx1).setReg(Reg2); 223 CommutedMI->getOperand(Idx1).setSubReg(SubReg2); 225 CommutedMI->getOperand(Idx1).setIsKill(Reg2IsKill); 227 CommutedMI->getOperand(Idx1).setIsUndef(Reg2IsUndef); 229 CommutedMI->getOperand(Idx1).setIsInternalRead(Reg2IsInternal); 235 CommutedMI->getOperand(Idx1).setIsRenamable(Reg2IsRenamable);