• Home
  • Raw
  • Download

Lines Matching refs:Hexagon

30 using namespace Hexagon;
200 case Hexagon::L2_loadri_io: in getDuplexCandidateGroup()
207 Hexagon::R29 == SrcReg && inRange<5, 2>(MCI, 2)) { in getDuplexCandidateGroup()
217 case Hexagon::L2_loadrub_io: in getDuplexCandidateGroup()
237 case Hexagon::L2_loadrh_io: in getDuplexCandidateGroup()
238 case Hexagon::L2_loadruh_io: in getDuplexCandidateGroup()
248 case Hexagon::L2_loadrb_io: in getDuplexCandidateGroup()
258 case Hexagon::L2_loadrd_io: in getDuplexCandidateGroup()
263 HexagonMCInstrInfo::isIntReg(SrcReg) && Hexagon::R29 == SrcReg && in getDuplexCandidateGroup()
269 case Hexagon::L4_return: in getDuplexCandidateGroup()
270 case Hexagon::L2_deallocframe: in getDuplexCandidateGroup()
273 case Hexagon::EH_RETURN_JMPR: in getDuplexCandidateGroup()
274 case Hexagon::J2_jumpr: in getDuplexCandidateGroup()
275 case Hexagon::PS_jmpret: in getDuplexCandidateGroup()
279 if (Hexagon::R31 == DstReg) in getDuplexCandidateGroup()
283 case Hexagon::J2_jumprt: in getDuplexCandidateGroup()
284 case Hexagon::J2_jumprf: in getDuplexCandidateGroup()
285 case Hexagon::J2_jumprtnew: in getDuplexCandidateGroup()
286 case Hexagon::J2_jumprfnew: in getDuplexCandidateGroup()
287 case Hexagon::J2_jumprtnewpt: in getDuplexCandidateGroup()
288 case Hexagon::J2_jumprfnewpt: in getDuplexCandidateGroup()
289 case Hexagon::PS_jmprett: in getDuplexCandidateGroup()
290 case Hexagon::PS_jmpretf: in getDuplexCandidateGroup()
291 case Hexagon::PS_jmprettnew: in getDuplexCandidateGroup()
292 case Hexagon::PS_jmpretfnew: in getDuplexCandidateGroup()
293 case Hexagon::PS_jmprettnewpt: in getDuplexCandidateGroup()
294 case Hexagon::PS_jmpretfnewpt: in getDuplexCandidateGroup()
298 if ((Hexagon::P0 == SrcReg) && (Hexagon::R31 == DstReg)) { in getDuplexCandidateGroup()
302 case Hexagon::L4_return_t: in getDuplexCandidateGroup()
303 case Hexagon::L4_return_f: in getDuplexCandidateGroup()
304 case Hexagon::L4_return_tnew_pnt: in getDuplexCandidateGroup()
305 case Hexagon::L4_return_fnew_pnt: in getDuplexCandidateGroup()
306 case Hexagon::L4_return_tnew_pt: in getDuplexCandidateGroup()
307 case Hexagon::L4_return_fnew_pt: in getDuplexCandidateGroup()
310 if (Hexagon::P0 == SrcReg) { in getDuplexCandidateGroup()
319 case Hexagon::S2_storeri_io: in getDuplexCandidateGroup()
326 Hexagon::R29 == Src1Reg && inRange<5, 2>(MCI, 1)) { in getDuplexCandidateGroup()
336 case Hexagon::S2_storerb_io: in getDuplexCandidateGroup()
355 case Hexagon::S2_storerh_io: in getDuplexCandidateGroup()
365 case Hexagon::S2_storerd_io: in getDuplexCandidateGroup()
370 HexagonMCInstrInfo::isIntReg(Src1Reg) && Hexagon::R29 == Src1Reg && in getDuplexCandidateGroup()
375 case Hexagon::S4_storeiri_io: in getDuplexCandidateGroup()
383 case Hexagon::S4_storeirb_io: in getDuplexCandidateGroup()
391 case Hexagon::S2_allocframe: in getDuplexCandidateGroup()
413 case Hexagon::A2_addi: in getDuplexCandidateGroup()
418 if (HexagonMCInstrInfo::isIntReg(SrcReg) && Hexagon::R29 == SrcReg && in getDuplexCandidateGroup()
434 case Hexagon::A2_add: in getDuplexCandidateGroup()
444 case Hexagon::A2_andir: in getDuplexCandidateGroup()
453 case Hexagon::A2_tfr: in getDuplexCandidateGroup()
462 case Hexagon::A2_tfrsi: in getDuplexCandidateGroup()
469 case Hexagon::C2_cmoveit: in getDuplexCandidateGroup()
470 case Hexagon::C2_cmovenewit: in getDuplexCandidateGroup()
471 case Hexagon::C2_cmoveif: in getDuplexCandidateGroup()
472 case Hexagon::C2_cmovenewif: in getDuplexCandidateGroup()
479 Hexagon::P0 == PredReg && minConstant(MCI, 2) == 0) { in getDuplexCandidateGroup()
483 case Hexagon::C2_cmpeqi: in getDuplexCandidateGroup()
487 if (Hexagon::P0 == DstReg && in getDuplexCandidateGroup()
493 case Hexagon::A2_combineii: in getDuplexCandidateGroup()
494 case Hexagon::A4_combineii: in getDuplexCandidateGroup()
502 case Hexagon::A4_combineri: in getDuplexCandidateGroup()
512 case Hexagon::A4_combineir: in getDuplexCandidateGroup()
522 case Hexagon::A2_sxtb: in getDuplexCandidateGroup()
523 case Hexagon::A2_sxth: in getDuplexCandidateGroup()
524 case Hexagon::A2_zxtb: in getDuplexCandidateGroup()
525 case Hexagon::A2_zxth: in getDuplexCandidateGroup()
542 case Hexagon::A2_addi: in subInstWouldBeExtended()
554 case Hexagon::A2_tfrsi: in subInstWouldBeExtended()
587 if ((Opcode != Hexagon::A2_addi) && (Opcode != Hexagon::A2_tfrsi)) in isOrderedDuplexPair()
614 if (MIb.getOpcode() == Hexagon::S2_allocframe) in isOrderedDuplexPair()
633 (MIb.getOperand(1).getReg() == Hexagon::R31)) in isOrderedDuplexPair()
636 (MIb.getOperand(0).getReg() == Hexagon::R31)) in isOrderedDuplexPair()
668 case Hexagon::R0: in addOps()
669 case Hexagon::R1: in addOps()
670 case Hexagon::R2: in addOps()
671 case Hexagon::R3: in addOps()
672 case Hexagon::R4: in addOps()
673 case Hexagon::R5: in addOps()
674 case Hexagon::R6: in addOps()
675 case Hexagon::R7: in addOps()
676 case Hexagon::D0: in addOps()
677 case Hexagon::D1: in addOps()
678 case Hexagon::D2: in addOps()
679 case Hexagon::D3: in addOps()
680 case Hexagon::R16: in addOps()
681 case Hexagon::R17: in addOps()
682 case Hexagon::R18: in addOps()
683 case Hexagon::R19: in addOps()
684 case Hexagon::R20: in addOps()
685 case Hexagon::R21: in addOps()
686 case Hexagon::R22: in addOps()
687 case Hexagon::R23: in addOps()
688 case Hexagon::D8: in addOps()
689 case Hexagon::D9: in addOps()
690 case Hexagon::D10: in addOps()
691 case Hexagon::D11: in addOps()
692 case Hexagon::P0: in addOps()
709 case Hexagon::A2_addi: in deriveSubInst()
713 Result.setOpcode(Hexagon::SA1_inc); in deriveSubInst()
719 Result.setOpcode(Hexagon::SA1_dec); in deriveSubInst()
725 if (Inst.getOperand(1).getReg() == Hexagon::R29) { in deriveSubInst()
726 Result.setOpcode(Hexagon::SA1_addsp); in deriveSubInst()
732 Result.setOpcode(Hexagon::SA1_addi); in deriveSubInst()
737 case Hexagon::A2_add: in deriveSubInst()
738 Result.setOpcode(Hexagon::SA1_addrx); in deriveSubInst()
743 case Hexagon::S2_allocframe: in deriveSubInst()
744 Result.setOpcode(Hexagon::SS2_allocframe); in deriveSubInst()
747 case Hexagon::A2_andir: in deriveSubInst()
749 Result.setOpcode(Hexagon::SA1_zxtb); in deriveSubInst()
754 Result.setOpcode(Hexagon::SA1_and1); in deriveSubInst()
759 case Hexagon::C2_cmpeqi: in deriveSubInst()
760 Result.setOpcode(Hexagon::SA1_cmpeqi); in deriveSubInst()
764 case Hexagon::A4_combineii: in deriveSubInst()
765 case Hexagon::A2_combineii: in deriveSubInst()
769 Result.setOpcode(Hexagon::SA1_combine1i); in deriveSubInst()
775 Result.setOpcode(Hexagon::SA1_combine3i); in deriveSubInst()
781 Result.setOpcode(Hexagon::SA1_combine0i); in deriveSubInst()
787 Result.setOpcode(Hexagon::SA1_combine2i); in deriveSubInst()
793 case Hexagon::A4_combineir: in deriveSubInst()
794 Result.setOpcode(Hexagon::SA1_combinezr); in deriveSubInst()
798 case Hexagon::A4_combineri: in deriveSubInst()
799 Result.setOpcode(Hexagon::SA1_combinerz); in deriveSubInst()
803 case Hexagon::L4_return_tnew_pnt: in deriveSubInst()
804 case Hexagon::L4_return_tnew_pt: in deriveSubInst()
805 Result.setOpcode(Hexagon::SL2_return_tnew); in deriveSubInst()
807 case Hexagon::L4_return_fnew_pnt: in deriveSubInst()
808 case Hexagon::L4_return_fnew_pt: in deriveSubInst()
809 Result.setOpcode(Hexagon::SL2_return_fnew); in deriveSubInst()
811 case Hexagon::L4_return_f: in deriveSubInst()
812 Result.setOpcode(Hexagon::SL2_return_f); in deriveSubInst()
814 case Hexagon::L4_return_t: in deriveSubInst()
815 Result.setOpcode(Hexagon::SL2_return_t); in deriveSubInst()
817 case Hexagon::L4_return: in deriveSubInst()
818 Result.setOpcode(Hexagon::SL2_return); in deriveSubInst()
820 case Hexagon::L2_deallocframe: in deriveSubInst()
821 Result.setOpcode(Hexagon::SL2_deallocframe); in deriveSubInst()
823 case Hexagon::EH_RETURN_JMPR: in deriveSubInst()
824 case Hexagon::J2_jumpr: in deriveSubInst()
825 case Hexagon::PS_jmpret: in deriveSubInst()
826 Result.setOpcode(Hexagon::SL2_jumpr31); in deriveSubInst()
828 case Hexagon::J2_jumprf: in deriveSubInst()
829 case Hexagon::PS_jmpretf: in deriveSubInst()
830 Result.setOpcode(Hexagon::SL2_jumpr31_f); in deriveSubInst()
832 case Hexagon::J2_jumprfnew: in deriveSubInst()
833 case Hexagon::J2_jumprfnewpt: in deriveSubInst()
834 case Hexagon::PS_jmpretfnewpt: in deriveSubInst()
835 case Hexagon::PS_jmpretfnew: in deriveSubInst()
836 Result.setOpcode(Hexagon::SL2_jumpr31_fnew); in deriveSubInst()
838 case Hexagon::J2_jumprt: in deriveSubInst()
839 case Hexagon::PS_jmprett: in deriveSubInst()
840 Result.setOpcode(Hexagon::SL2_jumpr31_t); in deriveSubInst()
842 case Hexagon::J2_jumprtnew: in deriveSubInst()
843 case Hexagon::J2_jumprtnewpt: in deriveSubInst()
844 case Hexagon::PS_jmprettnewpt: in deriveSubInst()
845 case Hexagon::PS_jmprettnew: in deriveSubInst()
846 Result.setOpcode(Hexagon::SL2_jumpr31_tnew); in deriveSubInst()
848 case Hexagon::L2_loadrb_io: in deriveSubInst()
849 Result.setOpcode(Hexagon::SL2_loadrb_io); in deriveSubInst()
854 case Hexagon::L2_loadrd_io: in deriveSubInst()
855 Result.setOpcode(Hexagon::SL2_loadrd_sp); in deriveSubInst()
859 case Hexagon::L2_loadrh_io: in deriveSubInst()
860 Result.setOpcode(Hexagon::SL2_loadrh_io); in deriveSubInst()
865 case Hexagon::L2_loadrub_io: in deriveSubInst()
866 Result.setOpcode(Hexagon::SL1_loadrub_io); in deriveSubInst()
871 case Hexagon::L2_loadruh_io: in deriveSubInst()
872 Result.setOpcode(Hexagon::SL2_loadruh_io); in deriveSubInst()
877 case Hexagon::L2_loadri_io: in deriveSubInst()
878 if (Inst.getOperand(1).getReg() == Hexagon::R29) { in deriveSubInst()
879 Result.setOpcode(Hexagon::SL2_loadri_sp); in deriveSubInst()
884 Result.setOpcode(Hexagon::SL1_loadri_io); in deriveSubInst()
890 case Hexagon::S4_storeirb_io: in deriveSubInst()
894 Result.setOpcode(Hexagon::SS2_storebi0); in deriveSubInst()
899 Result.setOpcode(Hexagon::SS2_storebi1); in deriveSubInst()
905 case Hexagon::S2_storerb_io: in deriveSubInst()
906 Result.setOpcode(Hexagon::SS1_storeb_io); in deriveSubInst()
911 case Hexagon::S2_storerd_io: in deriveSubInst()
912 Result.setOpcode(Hexagon::SS2_stored_sp); in deriveSubInst()
916 case Hexagon::S2_storerh_io: in deriveSubInst()
917 Result.setOpcode(Hexagon::SS2_storeh_io); in deriveSubInst()
922 case Hexagon::S4_storeiri_io: in deriveSubInst()
926 Result.setOpcode(Hexagon::SS2_storewi0); in deriveSubInst()
931 Result.setOpcode(Hexagon::SS2_storewi1); in deriveSubInst()
935 } else if (Inst.getOperand(0).getReg() == Hexagon::R29) { in deriveSubInst()
936 Result.setOpcode(Hexagon::SS2_storew_sp); in deriveSubInst()
942 case Hexagon::S2_storeri_io: in deriveSubInst()
943 if (Inst.getOperand(0).getReg() == Hexagon::R29) { in deriveSubInst()
944 Result.setOpcode(Hexagon::SS2_storew_sp); in deriveSubInst()
948 Result.setOpcode(Hexagon::SS1_storew_io); in deriveSubInst()
954 case Hexagon::A2_sxtb: in deriveSubInst()
955 Result.setOpcode(Hexagon::SA1_sxtb); in deriveSubInst()
959 case Hexagon::A2_sxth: in deriveSubInst()
960 Result.setOpcode(Hexagon::SA1_sxth); in deriveSubInst()
964 case Hexagon::A2_tfr: in deriveSubInst()
965 Result.setOpcode(Hexagon::SA1_tfr); in deriveSubInst()
969 case Hexagon::C2_cmovenewif: in deriveSubInst()
970 Result.setOpcode(Hexagon::SA1_clrfnew); in deriveSubInst()
974 case Hexagon::C2_cmovenewit: in deriveSubInst()
975 Result.setOpcode(Hexagon::SA1_clrtnew); in deriveSubInst()
979 case Hexagon::C2_cmoveif: in deriveSubInst()
980 Result.setOpcode(Hexagon::SA1_clrf); in deriveSubInst()
984 case Hexagon::C2_cmoveit: in deriveSubInst()
985 Result.setOpcode(Hexagon::SA1_clrt); in deriveSubInst()
989 case Hexagon::A2_tfrsi: in deriveSubInst()
992 Result.setOpcode(Hexagon::SA1_setin1); in deriveSubInst()
997 Result.setOpcode(Hexagon::SA1_seti); in deriveSubInst()
1002 case Hexagon::A2_zxtb: in deriveSubInst()
1003 Result.setOpcode(Hexagon::SA1_zxtb); in deriveSubInst()
1008 case Hexagon::A2_zxth: in deriveSubInst()
1009 Result.setOpcode(Hexagon::SA1_zxth); in deriveSubInst()
1019 case Hexagon::S2_storeri_io: in isStoreInst()
1020 case Hexagon::S2_storerb_io: in isStoreInst()
1021 case Hexagon::S2_storerh_io: in isStoreInst()
1022 case Hexagon::S2_storerd_io: in isStoreInst()
1023 case Hexagon::S4_storeiri_io: in isStoreInst()
1024 case Hexagon::S4_storeirb_io: in isStoreInst()
1025 case Hexagon::S2_allocframe: in isStoreInst()