Lines Matching refs:ARC
48 if (MI.getOpcode() == ARC::LD_rs9 && (Offset >= 256 || Offset < -256)) { in ReplaceFrameIndex()
50 BuildMI(MBB, II, dl, TII.get(ARC::LD_rlimm), Reg) in ReplaceFrameIndex()
58 if (MI.getOpcode() != ARC::GETFI && (Offset >= 256 || Offset < -256)) { in ReplaceFrameIndex()
60 BaseReg = RS->FindUnusedReg(&ARC::GPR32RegClass); in ReplaceFrameIndex()
66 BaseReg = RS->scavengeRegister(&ARC::GPR32RegClass, II, SPAdj); in ReplaceFrameIndex()
74 unsigned AddOpc = isUInt<6>(Offset) ? ARC::ADD_rru6 : ARC::ADD_rrlimm; in ReplaceFrameIndex()
83 case ARC::LD_rs9: in ReplaceFrameIndex()
86 case ARC::LDH_rs9: in ReplaceFrameIndex()
87 case ARC::LDH_X_rs9: in ReplaceFrameIndex()
90 case ARC::LDB_rs9: in ReplaceFrameIndex()
91 case ARC::LDB_X_rs9: in ReplaceFrameIndex()
98 case ARC::ST_rs9: in ReplaceFrameIndex()
101 case ARC::STH_rs9: in ReplaceFrameIndex()
104 case ARC::STB_rs9: in ReplaceFrameIndex()
112 case ARC::GETFI: in ReplaceFrameIndex()
115 TII.get(isUInt<6>(Offset) ? ARC::ADD_rru6 : ARC::ADD_rrlimm)) in ReplaceFrameIndex()
128 ARCRegisterInfo::ARCRegisterInfo() : ARCGenRegisterInfo(ARC::BLINK) {} in ARCRegisterInfo()
142 Reserved.set(ARC::ILINK); in getReservedRegs()
143 Reserved.set(ARC::SP); in getReservedRegs()
144 Reserved.set(ARC::GP); in getReservedRegs()
145 Reserved.set(ARC::R25); in getReservedRegs()
146 Reserved.set(ARC::BLINK); in getReservedRegs()
147 Reserved.set(ARC::FP); in getReservedRegs()
205 assert(ARC::GPR32RegClass.contains(Reg) && "Unexpected register operand"); in eliminateFrameIndex()
223 return TFI->hasFP(MF) ? ARC::FP : ARC::SP; in getFrameRegister()