Lines Matching refs:ARM_AM
178 int Offset = isAM3 ? ARM_AM::getAM3Offset(OffField) in getMemoryOpOffset()
179 : ARM_AM::getAM5Offset(OffField) * 4; in getMemoryOpOffset()
180 ARM_AM::AddrOpc Op = isAM3 ? ARM_AM::getAM3Op(OffField) in getMemoryOpOffset()
181 : ARM_AM::getAM5Op(OffField); in getMemoryOpOffset()
183 if (Op == ARM_AM::sub) in getMemoryOpOffset()
189 static int getLoadStoreMultipleOpcode(int Opcode, ARM_AM::AMSubMode Mode) { in getLoadStoreMultipleOpcode()
196 case ARM_AM::ia: return ARM::LDMIA; in getLoadStoreMultipleOpcode()
197 case ARM_AM::da: return ARM::LDMDA; in getLoadStoreMultipleOpcode()
198 case ARM_AM::db: return ARM::LDMDB; in getLoadStoreMultipleOpcode()
199 case ARM_AM::ib: return ARM::LDMIB; in getLoadStoreMultipleOpcode()
205 case ARM_AM::ia: return ARM::STMIA; in getLoadStoreMultipleOpcode()
206 case ARM_AM::da: return ARM::STMDA; in getLoadStoreMultipleOpcode()
207 case ARM_AM::db: return ARM::STMDB; in getLoadStoreMultipleOpcode()
208 case ARM_AM::ib: return ARM::STMIB; in getLoadStoreMultipleOpcode()
217 case ARM_AM::ia: return ARM::tLDMIA; in getLoadStoreMultipleOpcode()
225 case ARM_AM::ia: return ARM::tSTMIA_UPD; in getLoadStoreMultipleOpcode()
232 case ARM_AM::ia: return ARM::t2LDMIA; in getLoadStoreMultipleOpcode()
233 case ARM_AM::db: return ARM::t2LDMDB; in getLoadStoreMultipleOpcode()
240 case ARM_AM::ia: return ARM::t2STMIA; in getLoadStoreMultipleOpcode()
241 case ARM_AM::db: return ARM::t2STMDB; in getLoadStoreMultipleOpcode()
247 case ARM_AM::ia: return ARM::VLDMSIA; in getLoadStoreMultipleOpcode()
248 case ARM_AM::db: return 0; // Only VLDMSDB_UPD exists. in getLoadStoreMultipleOpcode()
254 case ARM_AM::ia: return ARM::VSTMSIA; in getLoadStoreMultipleOpcode()
255 case ARM_AM::db: return 0; // Only VSTMSDB_UPD exists. in getLoadStoreMultipleOpcode()
261 case ARM_AM::ia: return ARM::VLDMDIA; in getLoadStoreMultipleOpcode()
262 case ARM_AM::db: return 0; // Only VLDMDDB_UPD exists. in getLoadStoreMultipleOpcode()
268 case ARM_AM::ia: return ARM::VSTMDIA; in getLoadStoreMultipleOpcode()
269 case ARM_AM::db: return 0; // Only VSTMDDB_UPD exists. in getLoadStoreMultipleOpcode()
275 namespace ARM_AM { namespace
301 return ARM_AM::ia; in getLoadStoreMultipleSubMode()
307 return ARM_AM::da; in getLoadStoreMultipleSubMode()
321 return ARM_AM::db; in getLoadStoreMultipleSubMode()
327 return ARM_AM::ib; in getLoadStoreMultipleSubMode()
513 ARM_AM::AMSubMode Mode = ARM_AM::ia; in MergeOps()
519 Mode = ARM_AM::ib; in MergeOps()
521 Mode = ARM_AM::da; in MergeOps()
524 Mode = ARM_AM::db; in MergeOps()
1022 ARM_AM::AMSubMode Mode) { in getUpdatingLSMultipleOpcode()
1031 case ARM_AM::ia: return ARM::LDMIA_UPD; in getUpdatingLSMultipleOpcode()
1032 case ARM_AM::ib: return ARM::LDMIB_UPD; in getUpdatingLSMultipleOpcode()
1033 case ARM_AM::da: return ARM::LDMDA_UPD; in getUpdatingLSMultipleOpcode()
1034 case ARM_AM::db: return ARM::LDMDB_UPD; in getUpdatingLSMultipleOpcode()
1042 case ARM_AM::ia: return ARM::STMIA_UPD; in getUpdatingLSMultipleOpcode()
1043 case ARM_AM::ib: return ARM::STMIB_UPD; in getUpdatingLSMultipleOpcode()
1044 case ARM_AM::da: return ARM::STMDA_UPD; in getUpdatingLSMultipleOpcode()
1045 case ARM_AM::db: return ARM::STMDB_UPD; in getUpdatingLSMultipleOpcode()
1051 case ARM_AM::ia: return ARM::t2LDMIA_UPD; in getUpdatingLSMultipleOpcode()
1052 case ARM_AM::db: return ARM::t2LDMDB_UPD; in getUpdatingLSMultipleOpcode()
1058 case ARM_AM::ia: return ARM::t2STMIA_UPD; in getUpdatingLSMultipleOpcode()
1059 case ARM_AM::db: return ARM::t2STMDB_UPD; in getUpdatingLSMultipleOpcode()
1064 case ARM_AM::ia: return ARM::VLDMSIA_UPD; in getUpdatingLSMultipleOpcode()
1065 case ARM_AM::db: return ARM::VLDMSDB_UPD; in getUpdatingLSMultipleOpcode()
1070 case ARM_AM::ia: return ARM::VLDMDIA_UPD; in getUpdatingLSMultipleOpcode()
1071 case ARM_AM::db: return ARM::VLDMDDB_UPD; in getUpdatingLSMultipleOpcode()
1076 case ARM_AM::ia: return ARM::VSTMSIA_UPD; in getUpdatingLSMultipleOpcode()
1077 case ARM_AM::db: return ARM::VSTMSDB_UPD; in getUpdatingLSMultipleOpcode()
1082 case ARM_AM::ia: return ARM::VSTMDIA_UPD; in getUpdatingLSMultipleOpcode()
1083 case ARM_AM::db: return ARM::VSTMDDB_UPD; in getUpdatingLSMultipleOpcode()
1123 ARM_AM::AMSubMode Mode = ARM_AM::getLoadStoreMultipleSubMode(Opcode); in MergeBaseUpdateLSMultiple()
1131 if (Mode == ARM_AM::ia && in MergeBaseUpdateLSMultiple()
1133 Mode = ARM_AM::db; in MergeBaseUpdateLSMultiple()
1135 } else if (Mode == ARM_AM::ib && in MergeBaseUpdateLSMultiple()
1137 Mode = ARM_AM::da; in MergeBaseUpdateLSMultiple()
1150 if ((Mode == ARM_AM::ia || Mode == ARM_AM::ib) && in MergeBaseUpdateLSMultiple()
1153 } else if ((Mode == ARM_AM::da || Mode == ARM_AM::db) && in MergeBaseUpdateLSMultiple()
1187 ARM_AM::AddrOpc Mode) { in getPreIndexedLoadStoreOpcode()
1194 return Mode == ARM_AM::add ? ARM::VLDMSIA_UPD : ARM::VLDMSDB_UPD; in getPreIndexedLoadStoreOpcode()
1196 return Mode == ARM_AM::add ? ARM::VLDMDIA_UPD : ARM::VLDMDDB_UPD; in getPreIndexedLoadStoreOpcode()
1198 return Mode == ARM_AM::add ? ARM::VSTMSIA_UPD : ARM::VSTMSDB_UPD; in getPreIndexedLoadStoreOpcode()
1200 return Mode == ARM_AM::add ? ARM::VSTMDIA_UPD : ARM::VSTMDDB_UPD; in getPreIndexedLoadStoreOpcode()
1212 ARM_AM::AddrOpc Mode) { in getPostIndexedLoadStoreOpcode()
1219 return Mode == ARM_AM::add ? ARM::VLDMSIA_UPD : ARM::VLDMSDB_UPD; in getPostIndexedLoadStoreOpcode()
1221 return Mode == ARM_AM::add ? ARM::VLDMDIA_UPD : ARM::VLDMDDB_UPD; in getPostIndexedLoadStoreOpcode()
1223 return Mode == ARM_AM::add ? ARM::VSTMSIA_UPD : ARM::VSTMSDB_UPD; in getPostIndexedLoadStoreOpcode()
1225 return Mode == ARM_AM::add ? ARM::VSTMDIA_UPD : ARM::VSTMDDB_UPD; in getPostIndexedLoadStoreOpcode()
1259 if (isAM5 && ARM_AM::getAM5Offset(MI->getOperand(2).getImm()) != 0) in MergeBaseUpdateLoadStore()
1271 ARM_AM::AddrOpc AddSub = ARM_AM::add; in MergeBaseUpdateLoadStore()
1284 AddSub = ARM_AM::sub; in MergeBaseUpdateLoadStore()
1304 AddSub = ARM_AM::sub; in MergeBaseUpdateLoadStore()
1337 int Offset = AddSub == ARM_AM::sub ? -Bytes : Bytes; in MergeBaseUpdateLoadStore()
1342 int Offset = ARM_AM::getAM2Opc(AddSub, Bytes, ARM_AM::no_shift); in MergeBaseUpdateLoadStore()
1348 int Offset = AddSub == ARM_AM::sub ? -Bytes : Bytes; in MergeBaseUpdateLoadStore()
1360 int Offset = ARM_AM::getAM2Opc(AddSub, Bytes, ARM_AM::no_shift); in MergeBaseUpdateLoadStore()
1366 int Offset = AddSub == ARM_AM::sub ? -Bytes : Bytes; in MergeBaseUpdateLoadStore()
2012 ARM_AM::AddrOpc AddSub = ARM_AM::add; in CanFormLdStDWord()
2014 AddSub = ARM_AM::sub; in CanFormLdStDWord()
2020 Offset = ARM_AM::getAM3Opc(AddSub, OffImm); in CanFormLdStDWord()
2073 = getLoadStoreMultipleOpcode(Op->getOpcode(), ARM_AM::ia); in RescheduleOps()