Lines Matching refs:MCID
192 static bool HasImplicitCPSRDef(const MCInstrDesc &MCID) { in HasImplicitCPSRDef() argument
193 for (const uint16_t *Regs = MCID.getImplicitDefs(); *Regs; ++Regs) in HasImplicitCPSRDef()
512 const MCInstrDesc &MCID = MI->getDesc(); in ReduceSpecial() local
513 if (MCID.hasOptionalDef() && in ReduceSpecial()
514 MI->getOperand(MCID.getNumOperands()-1).getReg() == ARM::CPSR) in ReduceSpecial()
656 const MCInstrDesc &MCID = MI->getDesc(); in ReduceTo2Addr() local
657 if (MCID.hasOptionalDef()) { in ReduceTo2Addr()
658 unsigned NumOps = MCID.getNumOperands(); in ReduceTo2Addr()
684 unsigned NumOps = MCID.getNumOperands(); in ReduceTo2Addr()
686 if (i < NumOps && MCID.OpInfo[i].isOptionalDef()) in ReduceTo2Addr()
688 if (SkipPred && MCID.OpInfo[i].isPredicate()) in ReduceTo2Addr()
715 const MCInstrDesc &MCID = MI->getDesc(); in ReduceToNarrow() local
716 for (unsigned i = 0, e = MCID.getNumOperands(); i != e; ++i) { in ReduceToNarrow()
717 if (MCID.OpInfo[i].isPredicate()) in ReduceToNarrow()
727 !MCID.OpInfo[i].isPredicate()) { in ReduceToNarrow()
748 if (MCID.hasOptionalDef()) { in ReduceToNarrow()
749 unsigned NumOps = MCID.getNumOperands(); in ReduceToNarrow()
775 unsigned NumOps = MCID.getNumOperands(); in ReduceToNarrow()
777 if (i < NumOps && MCID.OpInfo[i].isOptionalDef()) in ReduceToNarrow()
779 if ((MCID.getOpcode() == ARM::t2RSBSri || in ReduceToNarrow()
780 MCID.getOpcode() == ARM::t2RSBri || in ReduceToNarrow()
781 MCID.getOpcode() == ARM::t2SXTB || in ReduceToNarrow()
782 MCID.getOpcode() == ARM::t2SXTH || in ReduceToNarrow()
783 MCID.getOpcode() == ARM::t2UXTB || in ReduceToNarrow()
784 MCID.getOpcode() == ARM::t2UXTH) && i == 2) in ReduceToNarrow()
787 bool isPred = (i < NumOps && MCID.OpInfo[i].isPredicate()); in ReduceToNarrow()
797 if (!MCID.isPredicable() && NewMCID.isPredicable()) in ReduceToNarrow()