Lines Matching full:arm
1 //===-- ARMInstrInfo.cpp - ARM Instruction Information --------------------===//
9 // This file contains the ARM implementation of the TargetInstrInfo class.
14 #include "ARM.h"
38 NopInst.setOpcode(ARM::HINT); in getNop()
43 NopInst.setOpcode(ARM::MOVr); in getNop()
44 NopInst.addOperand(MCOperand::createReg(ARM::R0)); in getNop()
45 NopInst.addOperand(MCOperand::createReg(ARM::R0)); in getNop()
57 case ARM::LDR_PRE_IMM: in getUnindexedOpcode()
58 case ARM::LDR_PRE_REG: in getUnindexedOpcode()
59 case ARM::LDR_POST_IMM: in getUnindexedOpcode()
60 case ARM::LDR_POST_REG: in getUnindexedOpcode()
61 return ARM::LDRi12; in getUnindexedOpcode()
62 case ARM::LDRH_PRE: in getUnindexedOpcode()
63 case ARM::LDRH_POST: in getUnindexedOpcode()
64 return ARM::LDRH; in getUnindexedOpcode()
65 case ARM::LDRB_PRE_IMM: in getUnindexedOpcode()
66 case ARM::LDRB_PRE_REG: in getUnindexedOpcode()
67 case ARM::LDRB_POST_IMM: in getUnindexedOpcode()
68 case ARM::LDRB_POST_REG: in getUnindexedOpcode()
69 return ARM::LDRBi12; in getUnindexedOpcode()
70 case ARM::LDRSH_PRE: in getUnindexedOpcode()
71 case ARM::LDRSH_POST: in getUnindexedOpcode()
72 return ARM::LDRSH; in getUnindexedOpcode()
73 case ARM::LDRSB_PRE: in getUnindexedOpcode()
74 case ARM::LDRSB_POST: in getUnindexedOpcode()
75 return ARM::LDRSB; in getUnindexedOpcode()
76 case ARM::STR_PRE_IMM: in getUnindexedOpcode()
77 case ARM::STR_PRE_REG: in getUnindexedOpcode()
78 case ARM::STR_POST_IMM: in getUnindexedOpcode()
79 case ARM::STR_POST_REG: in getUnindexedOpcode()
80 return ARM::STRi12; in getUnindexedOpcode()
81 case ARM::STRH_PRE: in getUnindexedOpcode()
82 case ARM::STRH_POST: in getUnindexedOpcode()
83 return ARM::STRH; in getUnindexedOpcode()
84 case ARM::STRB_PRE_IMM: in getUnindexedOpcode()
85 case ARM::STRB_PRE_REG: in getUnindexedOpcode()
86 case ARM::STRB_POST_IMM: in getUnindexedOpcode()
87 case ARM::STRB_POST_REG: in getUnindexedOpcode()
88 return ARM::STRBi12; in getUnindexedOpcode()
101 expandLoadStackGuardBase(MI, ARM::MRC, ARM::LDRi12); in expandLoadStackGuard()
113 expandLoadStackGuardBase(MI, ARM::LDRLIT_ga_pcrel, ARM::LDRi12); in expandLoadStackGuard()
115 expandLoadStackGuardBase(MI, ARM::LDRLIT_ga_abs, ARM::LDRi12); in expandLoadStackGuard()
120 expandLoadStackGuardBase(MI, ARM::MOVi32imm, ARM::LDRi12); in expandLoadStackGuard()
125 expandLoadStackGuardBase(MI, ARM::MOV_ga_pcrel, ARM::LDRi12); in expandLoadStackGuard()
134 MIB = BuildMI(MBB, MI, DL, get(ARM::MOV_ga_pcrel_ldr), Reg) in expandLoadStackGuard()
142 BuildMI(MBB, MI, DL, get(ARM::LDRi12), Reg) in expandLoadStackGuard()