Home | History | Annotate | Download | only in ARM

Lines Matching refs:Mode

226 static int getLoadStoreMultipleOpcode(unsigned Opcode, ARM_AM::AMSubMode Mode) {
231 switch (Mode) {
240 switch (Mode) {
252 switch (Mode) {
260 switch (Mode) {
267 switch (Mode) {
275 switch (Mode) {
282 switch (Mode) {
289 switch (Mode) {
296 switch (Mode) {
303 switch (Mode) {
621 ARM_AM::AMSubMode Mode = ARM_AM::ia;
627 Mode = ARM_AM::ib;
629 Mode = ARM_AM::da;
631 // VLDM/VSTM do not support DB mode without also updating the base reg.
632 Mode = ARM_AM::db;
636 if (!getLoadStoreMultipleOpcode(Opcode, Mode)) return nullptr;
740 Opcode = getLoadStoreMultipleOpcode(Opcode, Mode);
1057 ARM_AM::AMSubMode Mode) {
1064 switch (Mode) {
1075 switch (Mode) {
1084 switch (Mode) {
1091 switch (Mode) {
1097 switch (Mode) {
1103 switch (Mode) {
1109 switch (Mode) {
1115 switch (Mode) {
1228 ARM_AM::AMSubMode Mode = getLoadStoreMultipleSubMode(Opcode);
1229 if (Mode == ARM_AM::ia && Offset == -Bytes) {
1230 Mode = ARM_AM::db;
1231 } else if (Mode == ARM_AM::ib && Offset == -Bytes) {
1232 Mode = ARM_AM::da;
1235 if (((Mode != ARM_AM::ia && Mode != ARM_AM::ib) || Offset != Bytes) &&
1236 ((Mode != ARM_AM::da && Mode != ARM_AM::db) || Offset != -Bytes)) {
1261 unsigned NewOpc = getUpdatingLSMultipleOpcode(Opcode, Mode);
1279 ARM_AM::AddrOpc Mode) {
1286 return Mode == ARM_AM::add ? ARM::VLDMSIA_UPD : ARM::VLDMSDB_UPD;
1288 return Mode == ARM_AM::add ? ARM::VLDMDIA_UPD : ARM::VLDMDDB_UPD;
1290 return Mode == ARM_AM::add ? ARM::VSTMSIA_UPD : ARM::VSTMSDB_UPD;
1292 return Mode == ARM_AM::add ? ARM::VSTMDIA_UPD : ARM::VSTMDDB_UPD;
1304 ARM_AM::AddrOpc Mode) {
1311 return Mode == ARM_AM::add ? ARM::VLDMSIA_UPD : ARM::VLDMSDB_UPD;
1313 return Mode == ARM_AM::add ? ARM::VLDMDIA_UPD : ARM::VLDMDDB_UPD;
1315 return Mode == ARM_AM::add ? ARM::VSTMSIA_UPD : ARM::VSTMSDB_UPD;
1317 return Mode == ARM_AM::add ? ARM::VSTMDIA_UPD : ARM::VSTMDDB_UPD;