Home | History | Annotate | Download | only in ARM

Lines Matching refs:CPSR

223     bool DefinesOptionalPredicate(MachineInstr *MI, bool *CPSR);
236 // default CCReg argument. Sets CPSR if we're setting CPSR instead of CCR.
237 bool ARMFastISel::DefinesOptionalPredicate(MachineInstr *MI, bool *CPSR) {
241 // Look to see if our OptionalDef is defining CPSR or CCR.
245 if (MO.getReg() == ARM::CPSR)
246 *CPSR = true;
269 // CPSR defs that need to be added before the remaining operands. See s_cc_out
282 // defines CPSR. All other OptionalDefines in ARM are the CCR register.
283 bool CPSR = false;
284 if (DefinesOptionalPredicate(MI, &CPSR)) {
285 if (CPSR)
1322 .addMBB(TBB).addImm(ARMPred).addReg(ARM::CPSR);
1345 .addMBB(TBB).addImm(CCMode).addReg(ARM::CPSR);
1381 .addMBB(TBB).addImm(CCMode).addReg(ARM::CPSR);
1539 // ARMEmitCmp emits a FMSTAT when necessary, so it's always safe to use CPSR.
1542 .addImm(ARMPred).addReg(ARM::CPSR);
1717 .addReg(Op2Reg).addReg(Op1Reg).addImm(ARMCC::NE).addReg(ARM::CPSR);
1720 .addReg(Op1Reg).addImm(Imm).addImm(ARMCC::EQ).addReg(ARM::CPSR);