Lines Matching refs:MCID

255 static bool HasImplicitCPSRDef(const MCInstrDesc &MCID) {  in HasImplicitCPSRDef()  argument
256 for (const MCPhysReg *Regs = MCID.getImplicitDefs(); *Regs; ++Regs) in HasImplicitCPSRDef()
656 const MCInstrDesc &MCID = MI->getDesc(); in ReduceSpecial() local
657 if (MCID.hasOptionalDef() && in ReduceSpecial()
658 MI->getOperand(MCID.getNumOperands()-1).getReg() == ARM::CPSR) in ReduceSpecial()
816 const MCInstrDesc &MCID = MI->getDesc(); in ReduceTo2Addr() local
817 if (MCID.hasOptionalDef()) { in ReduceTo2Addr()
818 unsigned NumOps = MCID.getNumOperands(); in ReduceTo2Addr()
840 unsigned NumOps = MCID.getNumOperands(); in ReduceTo2Addr()
842 if (i < NumOps && MCID.OpInfo[i].isOptionalDef()) in ReduceTo2Addr()
844 if (SkipPred && MCID.OpInfo[i].isPredicate()) in ReduceTo2Addr()
876 const MCInstrDesc &MCID = MI->getDesc(); in ReduceToNarrow() local
877 for (unsigned i = 0, e = MCID.getNumOperands(); i != e; ++i) { in ReduceToNarrow()
878 if (MCID.OpInfo[i].isPredicate()) in ReduceToNarrow()
888 !MCID.OpInfo[i].isPredicate()) { in ReduceToNarrow()
909 if (MCID.hasOptionalDef()) { in ReduceToNarrow()
910 unsigned NumOps = MCID.getNumOperands(); in ReduceToNarrow()
931 if (MCID.getOpcode() == ARM::t2TEQrr) { in ReduceToNarrow()
947 unsigned NumOps = MCID.getNumOperands(); in ReduceToNarrow()
949 if (i < NumOps && MCID.OpInfo[i].isOptionalDef()) in ReduceToNarrow()
951 if ((MCID.getOpcode() == ARM::t2RSBSri || in ReduceToNarrow()
952 MCID.getOpcode() == ARM::t2RSBri || in ReduceToNarrow()
953 MCID.getOpcode() == ARM::t2SXTB || in ReduceToNarrow()
954 MCID.getOpcode() == ARM::t2SXTH || in ReduceToNarrow()
955 MCID.getOpcode() == ARM::t2UXTB || in ReduceToNarrow()
956 MCID.getOpcode() == ARM::t2UXTH) && i == 2) in ReduceToNarrow()
959 bool isPred = (i < NumOps && MCID.OpInfo[i].isPredicate()); in ReduceToNarrow()
969 if (!MCID.isPredicable() && NewMCID.isPredicable()) in ReduceToNarrow()