Searched refs:CompareUseMI (Results 1 – 1 of 1) sorted by relevance
4603 for (auto &CompareUseMI : MRI->use_instructions(DefReg)) { in simplifyToLI() local4604 unsigned UseOpc = CompareUseMI.getOpcode(); in simplifyToLI()4607 unsigned CRSubReg = CompareUseMI.getOperand(3).getSubReg(); in simplifyToLI()4608 Register TrueReg = CompareUseMI.getOperand(1).getReg(); in simplifyToLI()4609 Register FalseReg = CompareUseMI.getOperand(2).getReg(); in simplifyToLI()4616 CompareUseMI.setDesc(get(UseOpc == PPC::ISEL8 ? PPC::LI8 : PPC::LI)); in simplifyToLI()4617 replaceInstrOperandWithImm(CompareUseMI, 1, 0); in simplifyToLI()4618 CompareUseMI.removeOperand(3); in simplifyToLI()4619 CompareUseMI.removeOperand(2); in simplifyToLI()4624 LLVM_DEBUG(DefMI.dump(); MI.dump(); CompareUseMI.dump()); in simplifyToLI()[all …]