Lines Matching refs:Hexagon
35 using namespace Hexagon;
283 MI.setOpcode(Hexagon::DuplexIClass0); in getSingleInstruction()
322 MI.getOpcode() == Hexagon::A4_ext) { in getSingleInstruction()
336 unsigned reg = i->getReg() - Hexagon::R0; in getSingleInstruction()
376 assert(Producer != Hexagon::NoRegister); in getSingleInstruction()
381 if (Producer >= Hexagon::W0 && Producer <= Hexagon::W15) in getSingleInstruction()
382 Producer = ((Producer - Hexagon::W0) << 1) + SubregBit + Hexagon::V0; in getSingleInstruction()
387 assert(Producer != Hexagon::NoRegister); in getSingleInstruction()
420 case Hexagon::S2_storerbabs: in adjustExtendedInstructions()
421 opcode = Hexagon::S2_storerbgp; in adjustExtendedInstructions()
423 case Hexagon::S2_storerhabs: in adjustExtendedInstructions()
424 opcode = Hexagon::S2_storerhgp; in adjustExtendedInstructions()
426 case Hexagon::S2_storerfabs: in adjustExtendedInstructions()
427 opcode = Hexagon::S2_storerfgp; in adjustExtendedInstructions()
429 case Hexagon::S2_storeriabs: in adjustExtendedInstructions()
430 opcode = Hexagon::S2_storerigp; in adjustExtendedInstructions()
432 case Hexagon::S2_storerbnewabs: in adjustExtendedInstructions()
433 opcode = Hexagon::S2_storerbnewgp; in adjustExtendedInstructions()
435 case Hexagon::S2_storerhnewabs: in adjustExtendedInstructions()
436 opcode = Hexagon::S2_storerhnewgp; in adjustExtendedInstructions()
438 case Hexagon::S2_storerinewabs: in adjustExtendedInstructions()
439 opcode = Hexagon::S2_storerinewgp; in adjustExtendedInstructions()
441 case Hexagon::S2_storerdabs: in adjustExtendedInstructions()
442 opcode = Hexagon::S2_storerdgp; in adjustExtendedInstructions()
444 case Hexagon::L4_loadrb_abs: in adjustExtendedInstructions()
445 opcode = Hexagon::L2_loadrbgp; in adjustExtendedInstructions()
447 case Hexagon::L4_loadrub_abs: in adjustExtendedInstructions()
448 opcode = Hexagon::L2_loadrubgp; in adjustExtendedInstructions()
450 case Hexagon::L4_loadrh_abs: in adjustExtendedInstructions()
451 opcode = Hexagon::L2_loadrhgp; in adjustExtendedInstructions()
453 case Hexagon::L4_loadruh_abs: in adjustExtendedInstructions()
454 opcode = Hexagon::L2_loadruhgp; in adjustExtendedInstructions()
456 case Hexagon::L4_loadri_abs: in adjustExtendedInstructions()
457 opcode = Hexagon::L2_loadrigp; in adjustExtendedInstructions()
459 case Hexagon::L4_loadrd_abs: in adjustExtendedInstructions()
460 opcode = Hexagon::L2_loadrdgp; in adjustExtendedInstructions()
493 Hexagon::R0, Hexagon::R1, Hexagon::R2, Hexagon::R3, Hexagon::R4, in DecodeIntRegsRegisterClass()
494 Hexagon::R5, Hexagon::R6, Hexagon::R7, Hexagon::R8, Hexagon::R9, in DecodeIntRegsRegisterClass()
495 Hexagon::R10, Hexagon::R11, Hexagon::R12, Hexagon::R13, Hexagon::R14, in DecodeIntRegsRegisterClass()
496 Hexagon::R15, Hexagon::R16, Hexagon::R17, Hexagon::R18, Hexagon::R19, in DecodeIntRegsRegisterClass()
497 Hexagon::R20, Hexagon::R21, Hexagon::R22, Hexagon::R23, Hexagon::R24, in DecodeIntRegsRegisterClass()
498 Hexagon::R25, Hexagon::R26, Hexagon::R27, Hexagon::R28, Hexagon::R29, in DecodeIntRegsRegisterClass()
499 Hexagon::R30, Hexagon::R31}; in DecodeIntRegsRegisterClass()
508 Hexagon::V0, Hexagon::V1, Hexagon::V2, Hexagon::V3, Hexagon::V4, in DecodeVectorRegsRegisterClass()
509 Hexagon::V5, Hexagon::V6, Hexagon::V7, Hexagon::V8, Hexagon::V9, in DecodeVectorRegsRegisterClass()
510 Hexagon::V10, Hexagon::V11, Hexagon::V12, Hexagon::V13, Hexagon::V14, in DecodeVectorRegsRegisterClass()
511 Hexagon::V15, Hexagon::V16, Hexagon::V17, Hexagon::V18, Hexagon::V19, in DecodeVectorRegsRegisterClass()
512 Hexagon::V20, Hexagon::V21, Hexagon::V22, Hexagon::V23, Hexagon::V24, in DecodeVectorRegsRegisterClass()
513 Hexagon::V25, Hexagon::V26, Hexagon::V27, Hexagon::V28, Hexagon::V29, in DecodeVectorRegsRegisterClass()
514 Hexagon::V30, Hexagon::V31}; in DecodeVectorRegsRegisterClass()
523 Hexagon::D0, Hexagon::D1, Hexagon::D2, Hexagon::D3, in DecodeDoubleRegsRegisterClass()
524 Hexagon::D4, Hexagon::D5, Hexagon::D6, Hexagon::D7, in DecodeDoubleRegsRegisterClass()
525 Hexagon::D8, Hexagon::D9, Hexagon::D10, Hexagon::D11, in DecodeDoubleRegsRegisterClass()
526 Hexagon::D12, Hexagon::D13, Hexagon::D14, Hexagon::D15}; in DecodeDoubleRegsRegisterClass()
535 Hexagon::W0, Hexagon::W1, Hexagon::W2, Hexagon::W3, in DecodeVecDblRegsRegisterClass()
536 Hexagon::W4, Hexagon::W5, Hexagon::W6, Hexagon::W7, in DecodeVecDblRegsRegisterClass()
537 Hexagon::W8, Hexagon::W9, Hexagon::W10, Hexagon::W11, in DecodeVecDblRegsRegisterClass()
538 Hexagon::W12, Hexagon::W13, Hexagon::W14, Hexagon::W15}; in DecodeVecDblRegsRegisterClass()
546 static const MCPhysReg PredRegDecoderTable[] = {Hexagon::P0, Hexagon::P1, in DecodePredRegsRegisterClass()
547 Hexagon::P2, Hexagon::P3}; in DecodePredRegsRegisterClass()
555 static const MCPhysReg VecPredRegDecoderTable[] = {Hexagon::Q0, Hexagon::Q1, in DecodeVecPredRegsRegisterClass()
556 Hexagon::Q2, Hexagon::Q3}; in DecodeVecPredRegsRegisterClass()
565 Hexagon::SA0, Hexagon::LC0, Hexagon::SA1, Hexagon::LC1, in DecodeCtrRegsRegisterClass()
566 Hexagon::P3_0, Hexagon::C5, Hexagon::C6, Hexagon::C7, in DecodeCtrRegsRegisterClass()
567 Hexagon::USR, Hexagon::PC, Hexagon::UGP, Hexagon::GP, in DecodeCtrRegsRegisterClass()
568 Hexagon::CS0, Hexagon::CS1, Hexagon::UPCL, Hexagon::UPC in DecodeCtrRegsRegisterClass()
574 if (CtrlRegDecoderTable[RegNo] == Hexagon::NoRegister) in DecodeCtrRegsRegisterClass()
586 Hexagon::C1_0, Hexagon::NoRegister, in DecodeCtrRegs64RegisterClass()
587 Hexagon::C3_2, Hexagon::NoRegister, in DecodeCtrRegs64RegisterClass()
588 Hexagon::C7_6, Hexagon::NoRegister, in DecodeCtrRegs64RegisterClass()
589 Hexagon::C9_8, Hexagon::NoRegister, in DecodeCtrRegs64RegisterClass()
590 Hexagon::C11_10, Hexagon::NoRegister, in DecodeCtrRegs64RegisterClass()
591 Hexagon::CS, Hexagon::NoRegister, in DecodeCtrRegs64RegisterClass()
592 Hexagon::UPC, Hexagon::NoRegister in DecodeCtrRegs64RegisterClass()
598 if (CtrlReg64DecoderTable[RegNo] == Hexagon::NoRegister) in DecodeCtrRegs64RegisterClass()
612 Register = Hexagon::M0; in DecodeModRegsRegisterClass()
615 Register = Hexagon::M1; in DecodeModRegsRegisterClass()
868 case Hexagon::S4_pstorerdf_abs: in decodeSpecial()
869 case Hexagon::S4_pstorerdt_abs: in decodeSpecial()
870 case Hexagon::S4_pstorerdfnew_abs: in decodeSpecial()
871 case Hexagon::S4_pstorerdtnew_abs: { in decodeSpecial()
885 case Hexagon::S4_pstorerbnewf_abs: in decodeSpecial()
886 case Hexagon::S4_pstorerbnewt_abs: in decodeSpecial()
887 case Hexagon::S4_pstorerbnewfnew_abs: in decodeSpecial()
888 case Hexagon::S4_pstorerbnewtnew_abs: in decodeSpecial()
889 case Hexagon::S4_pstorerhnewf_abs: in decodeSpecial()
890 case Hexagon::S4_pstorerhnewt_abs: in decodeSpecial()
891 case Hexagon::S4_pstorerhnewfnew_abs: in decodeSpecial()
892 case Hexagon::S4_pstorerhnewtnew_abs: in decodeSpecial()
893 case Hexagon::S4_pstorerinewf_abs: in decodeSpecial()
894 case Hexagon::S4_pstorerinewt_abs: in decodeSpecial()
895 case Hexagon::S4_pstorerinewfnew_abs: in decodeSpecial()
896 case Hexagon::S4_pstorerinewtnew_abs: { in decodeSpecial()
910 case Hexagon::S4_pstorerbf_abs: in decodeSpecial()
911 case Hexagon::S4_pstorerbt_abs: in decodeSpecial()
912 case Hexagon::S4_pstorerbfnew_abs: in decodeSpecial()
913 case Hexagon::S4_pstorerbtnew_abs: in decodeSpecial()
914 case Hexagon::S4_pstorerhf_abs: in decodeSpecial()
915 case Hexagon::S4_pstorerht_abs: in decodeSpecial()
916 case Hexagon::S4_pstorerhfnew_abs: in decodeSpecial()
917 case Hexagon::S4_pstorerhtnew_abs: in decodeSpecial()
918 case Hexagon::S4_pstorerif_abs: in decodeSpecial()
919 case Hexagon::S4_pstorerit_abs: in decodeSpecial()
920 case Hexagon::S4_pstorerifnew_abs: in decodeSpecial()
921 case Hexagon::S4_pstoreritnew_abs: { in decodeSpecial()
935 case Hexagon::L4_ploadrdf_abs: in decodeSpecial()
936 case Hexagon::L4_ploadrdt_abs: in decodeSpecial()
937 case Hexagon::L4_ploadrdfnew_abs: in decodeSpecial()
938 case Hexagon::L4_ploadrdtnew_abs: { in decodeSpecial()
952 case Hexagon::L4_ploadrbf_abs: in decodeSpecial()
953 case Hexagon::L4_ploadrbt_abs: in decodeSpecial()
954 case Hexagon::L4_ploadrbfnew_abs: in decodeSpecial()
955 case Hexagon::L4_ploadrbtnew_abs: in decodeSpecial()
956 case Hexagon::L4_ploadrhf_abs: in decodeSpecial()
957 case Hexagon::L4_ploadrht_abs: in decodeSpecial()
958 case Hexagon::L4_ploadrhfnew_abs: in decodeSpecial()
959 case Hexagon::L4_ploadrhtnew_abs: in decodeSpecial()
960 case Hexagon::L4_ploadrubf_abs: in decodeSpecial()
961 case Hexagon::L4_ploadrubt_abs: in decodeSpecial()
962 case Hexagon::L4_ploadrubfnew_abs: in decodeSpecial()
963 case Hexagon::L4_ploadrubtnew_abs: in decodeSpecial()
964 case Hexagon::L4_ploadruhf_abs: in decodeSpecial()
965 case Hexagon::L4_ploadruht_abs: in decodeSpecial()
966 case Hexagon::L4_ploadruhfnew_abs: in decodeSpecial()
967 case Hexagon::L4_ploadruhtnew_abs: in decodeSpecial()
968 case Hexagon::L4_ploadrif_abs: in decodeSpecial()
969 case Hexagon::L4_ploadrit_abs: in decodeSpecial()
970 case Hexagon::L4_ploadrifnew_abs: in decodeSpecial()
971 case Hexagon::L4_ploadritnew_abs: in decodeSpecial()
985 case (Hexagon::L4_loadri_abs): in decodeSpecial()
988 case Hexagon::L4_loadrh_abs: in decodeSpecial()
989 case Hexagon::L4_loadruh_abs: in decodeSpecial()
992 case Hexagon::L4_loadrb_abs: in decodeSpecial()
993 case Hexagon::L4_loadrub_abs: { in decodeSpecial()
1004 case Hexagon::L4_loadrd_abs: { in decodeSpecial()
1014 case Hexagon::S2_storerdabs: { in decodeSpecial()
1028 case Hexagon::S2_storerinewabs: in decodeSpecial()
1031 case Hexagon::S2_storerhnewabs: in decodeSpecial()
1034 case Hexagon::S2_storerbnewabs: { in decodeSpecial()
1047 case Hexagon::S2_storeriabs: in decodeSpecial()
1050 case Hexagon::S2_storerhabs: in decodeSpecial()
1051 case Hexagon::S2_storerfabs: in decodeSpecial()
1054 case Hexagon::S2_storerbabs: { in decodeSpecial()
1081 MI.setOpcode(Hexagon::A4_ext); in decodeImmext()
1201 op = Hexagon::V4_SL1_loadri_io; in GetSubinstOpcode()
1203 op = Hexagon::V4_SL1_loadrub_io; in GetSubinstOpcode()
1211 op = Hexagon::V4_SL2_deallocframe; in GetSubinstOpcode()
1213 op = Hexagon::V4_SL2_jumpr31; in GetSubinstOpcode()
1215 op = Hexagon::V4_SL2_jumpr31_f; in GetSubinstOpcode()
1217 op = Hexagon::V4_SL2_jumpr31_fnew; in GetSubinstOpcode()
1219 op = Hexagon::V4_SL2_jumpr31_t; in GetSubinstOpcode()
1221 op = Hexagon::V4_SL2_jumpr31_tnew; in GetSubinstOpcode()
1223 op = Hexagon::V4_SL2_loadrb_io; in GetSubinstOpcode()
1225 op = Hexagon::V4_SL2_loadrd_sp; in GetSubinstOpcode()
1227 op = Hexagon::V4_SL2_loadrh_io; in GetSubinstOpcode()
1229 op = Hexagon::V4_SL2_loadri_sp; in GetSubinstOpcode()
1231 op = Hexagon::V4_SL2_loadruh_io; in GetSubinstOpcode()
1233 op = Hexagon::V4_SL2_return; in GetSubinstOpcode()
1235 op = Hexagon::V4_SL2_return_f; in GetSubinstOpcode()
1237 op = Hexagon::V4_SL2_return_fnew; in GetSubinstOpcode()
1239 op = Hexagon::V4_SL2_return_t; in GetSubinstOpcode()
1241 op = Hexagon::V4_SL2_return_tnew; in GetSubinstOpcode()
1249 op = Hexagon::V4_SA1_addi; in GetSubinstOpcode()
1251 op = Hexagon::V4_SA1_addrx; in GetSubinstOpcode()
1253 op = Hexagon::V4_SA1_addsp; in GetSubinstOpcode()
1255 op = Hexagon::V4_SA1_and1; in GetSubinstOpcode()
1257 op = Hexagon::V4_SA1_clrf; in GetSubinstOpcode()
1259 op = Hexagon::V4_SA1_clrfnew; in GetSubinstOpcode()
1261 op = Hexagon::V4_SA1_clrt; in GetSubinstOpcode()
1263 op = Hexagon::V4_SA1_clrtnew; in GetSubinstOpcode()
1265 op = Hexagon::V4_SA1_cmpeqi; in GetSubinstOpcode()
1267 op = Hexagon::V4_SA1_combine0i; in GetSubinstOpcode()
1269 op = Hexagon::V4_SA1_combine1i; in GetSubinstOpcode()
1271 op = Hexagon::V4_SA1_combine2i; in GetSubinstOpcode()
1273 op = Hexagon::V4_SA1_combine3i; in GetSubinstOpcode()
1275 op = Hexagon::V4_SA1_combinerz; in GetSubinstOpcode()
1277 op = Hexagon::V4_SA1_combinezr; in GetSubinstOpcode()
1279 op = Hexagon::V4_SA1_dec; in GetSubinstOpcode()
1281 op = Hexagon::V4_SA1_inc; in GetSubinstOpcode()
1283 op = Hexagon::V4_SA1_seti; in GetSubinstOpcode()
1285 op = Hexagon::V4_SA1_setin1; in GetSubinstOpcode()
1287 op = Hexagon::V4_SA1_sxtb; in GetSubinstOpcode()
1289 op = Hexagon::V4_SA1_sxth; in GetSubinstOpcode()
1291 op = Hexagon::V4_SA1_tfr; in GetSubinstOpcode()
1293 op = Hexagon::V4_SA1_zxtb; in GetSubinstOpcode()
1295 op = Hexagon::V4_SA1_zxth; in GetSubinstOpcode()
1303 op = Hexagon::V4_SS1_storeb_io; in GetSubinstOpcode()
1305 op = Hexagon::V4_SS1_storew_io; in GetSubinstOpcode()
1313 op = Hexagon::V4_SS2_allocframe; in GetSubinstOpcode()
1315 op = Hexagon::V4_SS2_storebi0; in GetSubinstOpcode()
1317 op = Hexagon::V4_SS2_storebi1; in GetSubinstOpcode()
1319 op = Hexagon::V4_SS2_stored_sp; in GetSubinstOpcode()
1321 op = Hexagon::V4_SS2_storeh_io; in GetSubinstOpcode()
1323 op = Hexagon::V4_SS2_storew_sp; in GetSubinstOpcode()
1325 op = Hexagon::V4_SS2_storewi0; in GetSubinstOpcode()
1327 op = Hexagon::V4_SS2_storewi1; in GetSubinstOpcode()
1342 return Hexagon::R0 + encoded_reg; in getRegFromSubinstEncoding()
1344 return Hexagon::R0 + encoded_reg + 8; in getRegFromSubinstEncoding()
1347 return Hexagon::NoRegister; in getRegFromSubinstEncoding()
1352 return Hexagon::D0 + encoded_dreg; in getDRegFromSubinstEncoding()
1354 return Hexagon::D0 + encoded_dreg + 4; in getDRegFromSubinstEncoding()
1357 return Hexagon::NoRegister; in getDRegFromSubinstEncoding()
1365 case Hexagon::V4_SL2_deallocframe: in addSubinstOperands()
1366 case Hexagon::V4_SL2_jumpr31: in addSubinstOperands()
1367 case Hexagon::V4_SL2_jumpr31_f: in addSubinstOperands()
1368 case Hexagon::V4_SL2_jumpr31_fnew: in addSubinstOperands()
1369 case Hexagon::V4_SL2_jumpr31_t: in addSubinstOperands()
1370 case Hexagon::V4_SL2_jumpr31_tnew: in addSubinstOperands()
1371 case Hexagon::V4_SL2_return: in addSubinstOperands()
1372 case Hexagon::V4_SL2_return_f: in addSubinstOperands()
1373 case Hexagon::V4_SL2_return_fnew: in addSubinstOperands()
1374 case Hexagon::V4_SL2_return_t: in addSubinstOperands()
1375 case Hexagon::V4_SL2_return_tnew: in addSubinstOperands()
1378 case Hexagon::V4_SS2_allocframe: in addSubinstOperands()
1383 case Hexagon::V4_SL1_loadri_io: in addSubinstOperands()
1394 case Hexagon::V4_SL1_loadrub_io: in addSubinstOperands()
1405 case Hexagon::V4_SL2_loadrb_io: in addSubinstOperands()
1416 case Hexagon::V4_SL2_loadrh_io: in addSubinstOperands()
1417 case Hexagon::V4_SL2_loadruh_io: in addSubinstOperands()
1428 case Hexagon::V4_SL2_loadrd_sp: in addSubinstOperands()
1436 case Hexagon::V4_SL2_loadri_sp: in addSubinstOperands()
1444 case Hexagon::V4_SA1_addi: in addSubinstOperands()
1453 case Hexagon::V4_SA1_addrx: in addSubinstOperands()
1463 case Hexagon::V4_SA1_and1: in addSubinstOperands()
1464 case Hexagon::V4_SA1_dec: in addSubinstOperands()
1465 case Hexagon::V4_SA1_inc: in addSubinstOperands()
1466 case Hexagon::V4_SA1_sxtb: in addSubinstOperands()
1467 case Hexagon::V4_SA1_sxth: in addSubinstOperands()
1468 case Hexagon::V4_SA1_tfr: in addSubinstOperands()
1469 case Hexagon::V4_SA1_zxtb: in addSubinstOperands()
1470 case Hexagon::V4_SA1_zxth: in addSubinstOperands()
1479 case Hexagon::V4_SA1_addsp: in addSubinstOperands()
1487 case Hexagon::V4_SA1_seti: in addSubinstOperands()
1495 case Hexagon::V4_SA1_clrf: in addSubinstOperands()
1496 case Hexagon::V4_SA1_clrfnew: in addSubinstOperands()
1497 case Hexagon::V4_SA1_clrt: in addSubinstOperands()
1498 case Hexagon::V4_SA1_clrtnew: in addSubinstOperands()
1499 case Hexagon::V4_SA1_setin1: in addSubinstOperands()
1505 case Hexagon::V4_SA1_cmpeqi: in addSubinstOperands()
1513 case Hexagon::V4_SA1_combine0i: in addSubinstOperands()
1514 case Hexagon::V4_SA1_combine1i: in addSubinstOperands()
1515 case Hexagon::V4_SA1_combine2i: in addSubinstOperands()
1516 case Hexagon::V4_SA1_combine3i: in addSubinstOperands()
1524 case Hexagon::V4_SA1_combinerz: in addSubinstOperands()
1525 case Hexagon::V4_SA1_combinezr: in addSubinstOperands()
1534 case Hexagon::V4_SS1_storeb_io: in addSubinstOperands()
1545 case Hexagon::V4_SS1_storew_io: in addSubinstOperands()
1556 case Hexagon::V4_SS2_storebi0: in addSubinstOperands()
1557 case Hexagon::V4_SS2_storebi1: in addSubinstOperands()
1565 case Hexagon::V4_SS2_storewi0: in addSubinstOperands()
1566 case Hexagon::V4_SS2_storewi1: in addSubinstOperands()
1574 case Hexagon::V4_SS2_stored_sp: in addSubinstOperands()
1582 case Hexagon::V4_SS2_storeh_io: in addSubinstOperands()
1593 case Hexagon::V4_SS2_storew_sp: in addSubinstOperands()