reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

lib/CodeGen/TargetInstrInfo.cpp
  166   unsigned CommutableOpIdx2 = Idx2; (void)CommutableOpIdx2;
  168          CommutableOpIdx1 == Idx1 && CommutableOpIdx2 == Idx2 &&
  170   assert(MI.getOperand(Idx1).isReg() && MI.getOperand(Idx2).isReg() &&
  175   Register Reg2 = MI.getOperand(Idx2).getReg();
  178   unsigned SubReg2 = MI.getOperand(Idx2).getSubReg();
  180   bool Reg2IsKill = MI.getOperand(Idx2).isKill();
  182   bool Reg2IsUndef = MI.getOperand(Idx2).isUndef();
  184   bool Reg2IsInternal = MI.getOperand(Idx2).isInternalRead();
  191                              ? MI.getOperand(Idx2).isRenamable()
  201              MI.getDesc().getOperandConstraint(Idx2, MCOI::TIED_TO) == 0) {
  220   CommutedMI->getOperand(Idx2).setReg(Reg1);
  222   CommutedMI->getOperand(Idx2).setSubReg(SubReg1);
  224   CommutedMI->getOperand(Idx2).setIsKill(Reg1IsKill);
  226   CommutedMI->getOperand(Idx2).setIsUndef(Reg1IsUndef);
  228   CommutedMI->getOperand(Idx2).setIsInternalRead(Reg1IsInternal);
  233     CommutedMI->getOperand(Idx2).setIsRenamable(Reg1IsRenamable);