Lines Matching refs:ARMCC
161 ARMCC::CondCodes Pred = (ARMCC::CondCodes)MI->getOperand(NumOps-1).getImm();
410 BuildMI(&MBB, DL, get(BOpc)).addMBB(TBB).addImm(ARMCC::AL).addReg(0);
423 BuildMI(&MBB, DL, get(BOpc)).addMBB(FBB).addImm(ARMCC::AL).addReg(0);
431 ARMCC::CondCodes CC = (ARMCC::CondCodes)(int)Cond[0].getImm();
432 Cond[0].setImm(ARMCC::getOppositeCondition(CC));
442 if (PIdx != -1 && I->getOperand(PIdx).getImm() != ARMCC::AL)
449 return PIdx != -1 && MI->getOperand(PIdx).getImm() != ARMCC::AL;
480 ARMCC::CondCodes CC1 = (ARMCC::CondCodes)Pred1[0].getImm();
481 ARMCC::CondCodes CC2 = (ARMCC::CondCodes)Pred2[0].getImm();
488 case ARMCC::AL:
490 case ARMCC::HS:
491 return CC2 == ARMCC::HI;
492 case ARMCC::LS:
493 return CC2 == ARMCC::LO || CC2 == ARMCC::EQ;
494 case ARMCC::GE:
495 return CC2 == ARMCC::GT;
496 case ARMCC::LE:
497 return CC2 == ARMCC::LT;
1578 ARMCC::CondCodes
1583 return ARMCC::AL;
1587 return (ARMCC::CondCodes)MI->getOperand(PIdx).getImm();
1610 ARMCC::CondCodes CC = getInstrPredicate(MI, PredReg);
1612 if (CC == ARMCC::AL || PredReg != ARM::CPSR)
1619 .setImm(ARMCC::getOppositeCondition(CC));
1711 NewMI.addImm(ARMCC::getOppositeCondition(ARMCC::CondCodes(CondCode)));
1782 ARMCC::CondCodes Pred, unsigned PredReg,
2014 inline static ARMCC::CondCodes getSwappedCondition(ARMCC::CondCodes CC) {
2016 default: return ARMCC::AL;
2017 case ARMCC::EQ: return ARMCC::EQ;
2018 case ARMCC::NE: return ARMCC::NE;
2019 case ARMCC::HS: return ARMCC::LS;
2020 case ARMCC::LO: return ARMCC::HI;
2021 case ARMCC::HI: return ARMCC::LO;
2022 case ARMCC::LS: return ARMCC::HS;
2023 case ARMCC::GE: return ARMCC::LE;
2024 case ARMCC::LT: return ARMCC::GT;
2025 case ARMCC::GT: return ARMCC::LT;
2026 case ARMCC::LE: return ARMCC::GE;
2193 SmallVector<std::pair<MachineOperand*, ARMCC::CondCodes>, 4>
2214 ARMCC::CondCodes CC = (ARMCC::CondCodes)Instr.getOperand(IO-1).getImm();
2216 ARMCC::CondCodes NewCC = getSwappedCondition(CC);
2217 if (NewCC == ARMCC::AL)
2234 case ARMCC::VS:
2235 case ARMCC::VC:
2236 case ARMCC::GE:
2237 case ARMCC::LT:
2238 case ARMCC::GT:
2239 case ARMCC::LE: