| /freebsd-12.1/contrib/llvm/lib/Target/ARM/ |
| H A D | Thumb2SizeReduction.cpp | 257 if (*Regs == ARM::CPSR) in HasImplicitCPSRDef() 305 if (Reg == 0 || Reg == ARM::CPSR) in canAddPseudoFlagDep() 385 if (Reg == 0 || Reg == ARM::CPSR) in VerifyLowRegs() 809 HasCC = (MI->getOperand(NumOps-1).getReg() == ARM::CPSR); in ReduceTo2Addr() 873 if (!Reg || Reg == ARM::CPSR) in ReduceToNarrow() 901 HasCC = (MI->getOperand(NumOps-1).getReg() == ARM::CPSR); in ReduceToNarrow() 978 if (MO.getReg() != ARM::CPSR) in UpdateCPSRDef() 993 if (MO.getReg() != ARM::CPSR) in UpdateCPSRUse() 1034 bool LiveCPSR = MBB.isLiveIn(ARM::CPSR); in ReduceMBB() 1089 if (BundleMI->killsRegister(ARM::CPSR)) in ReduceMBB() [all …]
|
| H A D | ARMInstrThumb.td | 403 let Defs = [CPSR]; 927 let isCommutable = 1, Uses = [CPSR] in 965 let isCommutable = 1, Uses = [CPSR] in 1062 let isCompare = 1, Defs = [CPSR] in { 1077 } // isCompare = 1, Defs = [CPSR] 1080 let isCompare = 1, Defs = [CPSR] in { 1109 } // isCompare = 1, Defs = [CPSR] 1187 let Defs = [CPSR] in 1268 let Uses = [CPSR] in 1314 /// instruction modifies the CPSR register. [all …]
|
| H A D | Thumb1InstrInfo.cpp | 60 if (MBB.computeRegisterLiveness(RegInfo, ARM::CPSR, I) in copyPhysReg() 64 ->addRegisterDead(ARM::CPSR, RegInfo); in copyPhysReg()
|
| H A D | Thumb2ITBlockPass.cpp | 110 if (Reg == ARM::CPSR) in TrackDefUses() 179 MI->getOperand(MCID.getNumOperands() - 1).getReg() == ARM::CPSR) in MoveCopyOutOfITBlock()
|
| H A D | ARMInstrThumb2.td | 582 /// changed to modify CPSR. 832 let Defs = [CPSR], Uses = [CPSR] in { 838 [(set rGPR:$Rd, CPSR, (opnode rGPR:$Rn, t2_so_imm:$imm, CPSR))]>, 848 [(set rGPR:$Rd, CPSR, (opnode rGPR:$Rn, rGPR:$Rm, CPSR))]>, 862 [(set rGPR:$Rd, CPSR, (opnode rGPR:$Rn, t2_so_reg:$ShiftedRm, CPSR))]>, 929 let isCompare = 1, Defs = [CPSR] in { 2131 // CPSR and the implicit def of CPSR is not needed. 2390 let Uses = [CPSR] in { 2546 /// changed to modify CPSR. 4098 let Defs = [CPSR] in [all …]
|
| H A D | ARMBaseInstrInfo.cpp | 688 if (MO.getReg() != ARM::CPSR) in IsCPSRDead() 898 } else if (SrcReg == ARM::CPSR) { in copyPhysReg() 901 } else if (DestReg == ARM::CPSR) { in copyPhysReg() 2026 if (CC == ARMCC::AL || PredReg != ARM::CPSR) in commuteInstructionImpl() 2821 if (Instr.modifiesRegister(ARM::CPSR, TRI) || in optimizeCompareInstr() 2822 Instr.readsRegister(ARM::CPSR, TRI)) in optimizeCompareInstr() 2956 if ((*SI)->isLiveIn(ARM::CPSR)) in optimizeCompareInstr() 2963 MI->getOperand(5).setReg(ARM::CPSR); in optimizeCompareInstr() 2975 MI->clearRegisterDeads(ARM::CPSR); in optimizeCompareInstr() 3015 if (MO.getReg() == ARM::CPSR && !MO.isDead()) in FoldImmediate() [all …]
|
| H A D | ARMFastISel.cpp | 260 if (MO.getReg() == ARM::CPSR) in DefinesOptionalPredicate() 261 *CPSR = true; in DefinesOptionalPredicate() 298 bool CPSR = false; in AddOptionalDefs() local 299 if (DefinesOptionalPredicate(MI, &CPSR)) in AddOptionalDefs() 300 MIB.add(CPSR ? t1CondCodeOp() : condCodeOp()); in AddOptionalDefs() 1269 .addMBB(TBB).addImm(ARMPred).addReg(ARM::CPSR); in SelectBranch() 1292 .addMBB(TBB).addImm(CCMode).addReg(ARM::CPSR); in SelectBranch() 1504 .addImm(ARMPred).addReg(ARM::CPSR); in SelectCmp() 1688 .addReg(ARM::CPSR); in SelectSelect() 1696 .addReg(ARM::CPSR); in SelectSelect() [all …]
|
| H A D | ARMInstrInfo.td | 88 // SDTBinaryArithWithFlagsInOut - RES1, CPSR = op LHS, RHS, CPSR 1718 let hasPostISelHook = 1, Defs = [CPSR], Uses = [CPSR] in { 1721 [(set GPR:$Rd, CPSR, (opnode GPR:$Rn, mod_imm:$imm, CPSR))]>, 1734 [(set GPR:$Rd, CPSR, (opnode GPR:$Rn, GPR:$Rm, CPSR))]>, 1788 let hasPostISelHook = 1, Defs = [CPSR], Uses = [CPSR] in { 3505 let Uses = [CPSR] in 3513 let Defs = [CPSR] in { 3673 // CPSR and the implicit def of CPSR is not needed. 4752 Defs = [CPSR] in { 5558 let Defs = [CPSR] in [all …]
|
| H A D | ARMMCInstLower.cpp | 79 if (MO.isImplicit() && MO.getReg() != ARM::CPSR) in lowerOperand()
|
| H A D | ARM.td | 271 /// Some instructions update CPSR partially, which can add false dependency for 273 /// mapped to a separate physical register. Avoid partial CPSR update for these 277 "Avoid CPSR partial update for OOO execution">; 279 /// Disable +1 predication cost for instructions updating CPSR. 284 "Disable +1 predication cost for instructions updating CPSR">;
|
| H A D | ARMInstructionSelector.cpp | 549 .add(predOps(Cond, ARM::CPSR)); in insertComparison() 706 .add(predOps(ARMCC::EQ, ARM::CPSR)); in selectSelect() 1001 .add(predOps(ARMCC::NE, ARM::CPSR)); in select()
|
| H A D | ARMExpandPseudoInsts.cpp | 975 .addReg(ARM::CPSR, RegState::Kill); in ExpandCMP_SWAP() 998 .addReg(ARM::CPSR, RegState::Kill); in ExpandCMP_SWAP() 1090 .addImm(ARMCC::EQ).addReg(ARM::CPSR, RegState::Kill); in ExpandCMP_SWAP_64() 1096 .addReg(ARM::CPSR, RegState::Kill); in ExpandCMP_SWAP_64() 1118 .addReg(ARM::CPSR, RegState::Kill); in ExpandCMP_SWAP_64() 1379 .addReg(ARM::CPSR, RegState::Define); in ExpandMI() 1569 .addReg(ARM::CPSR, RegState::Undef); in ExpandMI()
|
| H A D | ARMAsmPrinter.cpp | 1609 .addReg(ARM::CPSR) in EmitInstruction() 1665 .addReg(ARM::CPSR) in EmitInstruction() 1796 .addReg(ARM::CPSR) in EmitInstruction() 1815 .addReg(ARM::CPSR) in EmitInstruction() 1830 .addReg(ARM::CPSR) in EmitInstruction()
|
| H A D | ARMISelLowering.cpp | 8439 .addReg(ARM::CPSR); in EmitSjLjDispatchBlock() 8496 .addReg(ARM::CPSR); in EmitSjLjDispatchBlock() 8598 .addReg(ARM::CPSR); in EmitSjLjDispatchBlock() 9122 .addReg(ARM::CPSR, in EmitLowered__chkstk() 9138 .addReg(ARM::CPSR, in EmitLowered__chkstk() 9181 .addReg(ARM::CPSR); in EmitLowered__dbzchk() 9199 if (mi.readsRegister(ARM::CPSR)) in checkAndUpdateCPSRKill() 9212 if (succ->isLiveIn(ARM::CPSR)) in checkAndUpdateCPSRKill() 9326 copy0MBB->addLiveIn(ARM::CPSR); in EmitInstrWithCustomInserter() 9327 sinkMBB->addLiveIn(ARM::CPSR); in EmitInstrWithCustomInserter() [all …]
|
| H A D | ARMBaseInstrInfo.h | 471 return MachineOperand::CreateReg(ARM::CPSR,
|
| H A D | Thumb1FrameLowering.cpp | 368 .addDef(ARM::CPSR) in emitPrologue() 374 .addDef(ARM::CPSR) in emitPrologue()
|
| H A D | ARMRegisterInfo.td | 175 def CPSR : ARMReg<0, "cpsr">; 289 def CCR : RegisterClass<"ARM", [i32], 32, (add CPSR)> {
|
| H A D | Thumb2InstrInfo.cpp | 489 !MI.definesRegister(ARM::CPSR)) { in rewriteT2FrameIndex()
|
| /freebsd-12.1/contrib/gdb/gdb/ |
| H A D | sparc-stub.c | 119 Y, PSR, WIM, TBR, PC, NPC, FPSR, CPSR }; enumerator
|
| /freebsd-12.1/sys/dev/cx/ |
| H A D | cxreg.h | 77 #define CPSR(b) R(b,0xd4) /* CRC polynomial select register */ macro
|
| /freebsd-12.1/contrib/llvm/lib/Target/Sparc/ |
| H A D | SparcRegisterInfo.td | 67 def CPSR : SparcCtrlReg<0, "CPSR">; // Co-processor state register.
|
| /freebsd-12.1/contrib/llvm/lib/Target/ARM/AsmParser/ |
| H A D | ARMAsmParser.cpp | 2018 unsigned RegNum = getCondCode() == ARMCC::AL ? 0: ARM::CPSR; in addCondCodeOperands() 8424 Inst.getOperand(5).getReg() == (inITBlock() ? 0 : ARM::CPSR) && in processInstruction() 8474 Inst.getOpcode() == ARM::t2MOVSsr ? ARM::CPSR : 0)); in processInstruction() 8481 Inst.getOpcode() == ARM::t2MOVSsr ? ARM::CPSR : 0)); in processInstruction() 8527 Inst.getOpcode() == ARM::t2MOVSsi ? ARM::CPSR : 0)); in processInstruction() 8535 Inst.getOpcode() == ARM::t2MOVSsi ? ARM::CPSR : 0)); in processInstruction() 8893 Inst.getOperand(4).getReg() == ARM::CPSR && in processInstruction() 9098 if (isThumbOne() && Inst.getOperand(OpNo).getReg() != ARM::CPSR) in checkTargetMatchPredicate() 9102 if (isThumbTwo() && Inst.getOperand(OpNo).getReg() != ARM::CPSR && in checkTargetMatchPredicate() 9105 if (isThumbTwo() && Inst.getOperand(OpNo).getReg() == ARM::CPSR && in checkTargetMatchPredicate() [all …]
|
| /freebsd-12.1/contrib/llvm/lib/Target/Sparc/AsmParser/ |
| H A D | SparcAsmParser.cpp | 900 case Sparc::CPSR: in parseSparcAsmOperand() 1048 RegNo = Sparc::CPSR; in matchRegisterName()
|
| /freebsd-12.1/contrib/llvm/lib/Target/ARM/MCTargetDesc/ |
| H A D | ARMMCCodeEmitter.cpp | 283 return MI.getOperand(Op).getReg() == ARM::CPSR; in getCCOutOpValue() 695 (MCOp2.getReg() == 0 || MCOp2.getReg() == ARM::CPSR)) { in HasConditionalBranch()
|
| /freebsd-12.1/contrib/llvm/lib/Target/ARM/Disassembler/ |
| H A D | ARMDisassembler.cpp | 564 MI.insert(I, MCOperand::createReg(InITBlock ? 0 : ARM::CPSR)); in AddThumb1SBit() 569 MI.insert(I, MCOperand::createReg(InITBlock ? 0 : ARM::CPSR)); in AddThumb1SBit() 639 MI.insert(I, MCOperand::createReg(ARM::CPSR)); in AddThumbPredicate() 649 MI.insert(I, MCOperand::createReg(ARM::CPSR)); in AddThumbPredicate() 677 I->setReg(ARM::CPSR); in UpdateThumbVFPPredicate() 1122 Inst.addOperand(MCOperand::createReg(ARM::CPSR)); in DecodePredicateOperand() 1129 Inst.addOperand(MCOperand::createReg(ARM::CPSR)); in DecodeCCOutOperand()
|