Lines Matching refs:X86Local
92 namespace X86Local { namespace
148 return (form == X86Local::MRMDestReg || in isRegFormat()
149 form == X86Local::MRMSrcReg || in isRegFormat()
150 form == X86Local::MRMXr || in isRegFormat()
151 (form >= X86Local::MRM0r && form <= X86Local::MRM7r)); in isRegFormat()
250 if (Form == X86Local::Pseudo || (IsCodeGenOnly && !ForceDisassemble)) { in RecognizableInstr()
288 if (Encoding == X86Local::EVEX) { in insnContext()
295 if (OpPrefix == X86Local::PD) in insnContext()
297 else if (OpPrefix == X86Local::XS) in insnContext()
299 else if (OpPrefix == X86Local::XD) in insnContext()
301 else if (OpPrefix == X86Local::PS) in insnContext()
309 if (OpPrefix == X86Local::PD) in insnContext()
311 else if (OpPrefix == X86Local::XS) in insnContext()
313 else if (OpPrefix == X86Local::XD) in insnContext()
315 else if (OpPrefix == X86Local::PS) in insnContext()
324 if (OpPrefix == X86Local::PD) in insnContext()
326 else if (OpPrefix == X86Local::XS) in insnContext()
328 else if (OpPrefix == X86Local::XD) in insnContext()
330 else if (OpPrefix == X86Local::PS) in insnContext()
338 if (OpPrefix == X86Local::PD) in insnContext()
340 else if (OpPrefix == X86Local::XD) in insnContext()
342 else if (OpPrefix == X86Local::XS) in insnContext()
344 else if (OpPrefix == X86Local::PS) in insnContext()
353 if (OpPrefix == X86Local::PD) in insnContext()
355 else if (OpPrefix == X86Local::XS) in insnContext()
357 else if (OpPrefix == X86Local::XD) in insnContext()
359 else if (OpPrefix == X86Local::PS) in insnContext()
367 else if (OpPrefix == X86Local::PD) in insnContext()
369 else if (OpPrefix == X86Local::XD) in insnContext()
371 else if (OpPrefix == X86Local::XS) in insnContext()
376 } else if (Encoding == X86Local::VEX || Encoding == X86Local::XOP) { in insnContext()
378 if (OpPrefix == X86Local::PD) in insnContext()
380 else if (OpPrefix == X86Local::XS) in insnContext()
382 else if (OpPrefix == X86Local::XD) in insnContext()
384 else if (OpPrefix == X86Local::PS) in insnContext()
390 } else if (OpPrefix == X86Local::PD && HasVEX_LPrefix) in insnContext()
392 else if (OpPrefix == X86Local::PD && HasVEX_WPrefix) in insnContext()
394 else if (OpPrefix == X86Local::PD) in insnContext()
396 else if (HasVEX_LPrefix && OpPrefix == X86Local::XS) in insnContext()
398 else if (HasVEX_LPrefix && OpPrefix == X86Local::XD) in insnContext()
400 else if (HasVEX_WPrefix && OpPrefix == X86Local::XS) in insnContext()
402 else if (HasVEX_WPrefix && OpPrefix == X86Local::XD) in insnContext()
404 else if (HasVEX_WPrefix && OpPrefix == X86Local::PS) in insnContext()
406 else if (HasVEX_LPrefix && OpPrefix == X86Local::PS) in insnContext()
408 else if (OpPrefix == X86Local::XD) in insnContext()
410 else if (OpPrefix == X86Local::XS) in insnContext()
412 else if (OpPrefix == X86Local::PS) in insnContext()
418 } else if (Is64Bit || HasREX_WPrefix || AdSize == X86Local::AdSize64) { in insnContext()
419 if (HasREX_WPrefix && (OpSize == X86Local::OpSize16 || OpPrefix == X86Local::PD)) in insnContext()
421 else if (HasREX_WPrefix && AdSize == X86Local::AdSize32) in insnContext()
423 else if (OpSize == X86Local::OpSize16 && OpPrefix == X86Local::XD) in insnContext()
425 else if (OpSize == X86Local::OpSize16 && OpPrefix == X86Local::XS) in insnContext()
427 else if (OpSize == X86Local::OpSize16 && AdSize == X86Local::AdSize32) in insnContext()
429 else if (OpSize == X86Local::OpSize16 || OpPrefix == X86Local::PD) in insnContext()
431 else if (AdSize == X86Local::AdSize32) in insnContext()
433 else if (HasREX_WPrefix && OpPrefix == X86Local::XS) in insnContext()
435 else if (HasREX_WPrefix && OpPrefix == X86Local::XD) in insnContext()
437 else if (OpPrefix == X86Local::XD) in insnContext()
439 else if (OpPrefix == X86Local::XS) in insnContext()
446 if (OpSize == X86Local::OpSize16 && OpPrefix == X86Local::XD) in insnContext()
448 else if (OpSize == X86Local::OpSize16 && OpPrefix == X86Local::XS) in insnContext()
450 else if (OpSize == X86Local::OpSize16 && AdSize == X86Local::AdSize16) in insnContext()
452 else if (OpSize == X86Local::OpSize16 || OpPrefix == X86Local::PD) in insnContext()
454 else if (AdSize == X86Local::AdSize16) in insnContext()
456 else if (OpPrefix == X86Local::XD) in insnContext()
458 else if (OpPrefix == X86Local::XS) in insnContext()
576 case X86Local::RawFrmSrc: in emitInstructionSpecifier()
579 case X86Local::RawFrmDst: in emitInstructionSpecifier()
582 case X86Local::RawFrmDstSrc: in emitInstructionSpecifier()
586 case X86Local::RawFrm: in emitInstructionSpecifier()
592 case X86Local::RawFrmMemOffs: in emitInstructionSpecifier()
596 case X86Local::AddRegFrm: in emitInstructionSpecifier()
604 case X86Local::MRMDestReg: in emitInstructionSpecifier()
626 case X86Local::MRMDestMem: in emitInstructionSpecifier()
648 case X86Local::MRMSrcReg: in emitInstructionSpecifier()
682 case X86Local::MRMSrcMem: in emitInstructionSpecifier()
714 case X86Local::MRMXr: in emitInstructionSpecifier()
715 case X86Local::MRM0r: in emitInstructionSpecifier()
716 case X86Local::MRM1r: in emitInstructionSpecifier()
717 case X86Local::MRM2r: in emitInstructionSpecifier()
718 case X86Local::MRM3r: in emitInstructionSpecifier()
719 case X86Local::MRM4r: in emitInstructionSpecifier()
720 case X86Local::MRM5r: in emitInstructionSpecifier()
721 case X86Local::MRM6r: in emitInstructionSpecifier()
722 case X86Local::MRM7r: in emitInstructionSpecifier()
739 case X86Local::MRMXm: in emitInstructionSpecifier()
740 case X86Local::MRM0m: in emitInstructionSpecifier()
741 case X86Local::MRM1m: in emitInstructionSpecifier()
742 case X86Local::MRM2m: in emitInstructionSpecifier()
743 case X86Local::MRM3m: in emitInstructionSpecifier()
744 case X86Local::MRM4m: in emitInstructionSpecifier()
745 case X86Local::MRM5m: in emitInstructionSpecifier()
746 case X86Local::MRM6m: in emitInstructionSpecifier()
747 case X86Local::MRM7m: in emitInstructionSpecifier()
761 case X86Local::RawFrmImm8: in emitInstructionSpecifier()
769 case X86Local::RawFrmImm16: in emitInstructionSpecifier()
775 case X86Local::MRM_F8: in emitInstructionSpecifier()
786 case X86Local::MRM_C0: case X86Local::MRM_C1: case X86Local::MRM_C2: in emitInstructionSpecifier()
787 case X86Local::MRM_C3: case X86Local::MRM_C4: case X86Local::MRM_C8: in emitInstructionSpecifier()
788 case X86Local::MRM_C9: case X86Local::MRM_CA: case X86Local::MRM_CB: in emitInstructionSpecifier()
789 case X86Local::MRM_CF: case X86Local::MRM_D0: case X86Local::MRM_D1: in emitInstructionSpecifier()
790 case X86Local::MRM_D4: case X86Local::MRM_D5: case X86Local::MRM_D6: in emitInstructionSpecifier()
791 case X86Local::MRM_D7: case X86Local::MRM_D8: case X86Local::MRM_D9: in emitInstructionSpecifier()
792 case X86Local::MRM_DA: case X86Local::MRM_DB: case X86Local::MRM_DC: in emitInstructionSpecifier()
793 case X86Local::MRM_DD: case X86Local::MRM_DE: case X86Local::MRM_DF: in emitInstructionSpecifier()
794 case X86Local::MRM_E0: case X86Local::MRM_E1: case X86Local::MRM_E2: in emitInstructionSpecifier()
795 case X86Local::MRM_E3: case X86Local::MRM_E4: case X86Local::MRM_E5: in emitInstructionSpecifier()
796 case X86Local::MRM_E8: case X86Local::MRM_E9: case X86Local::MRM_EA: in emitInstructionSpecifier()
797 case X86Local::MRM_EB: case X86Local::MRM_EC: case X86Local::MRM_ED: in emitInstructionSpecifier()
798 case X86Local::MRM_EE: case X86Local::MRM_EF: case X86Local::MRM_F0: in emitInstructionSpecifier()
799 case X86Local::MRM_F1: case X86Local::MRM_F2: case X86Local::MRM_F3: in emitInstructionSpecifier()
800 case X86Local::MRM_F4: case X86Local::MRM_F5: case X86Local::MRM_F6: in emitInstructionSpecifier()
801 case X86Local::MRM_F7: case X86Local::MRM_F9: case X86Local::MRM_FA: in emitInstructionSpecifier()
802 case X86Local::MRM_FB: case X86Local::MRM_FC: case X86Local::MRM_FD: in emitInstructionSpecifier()
803 case X86Local::MRM_FE: case X86Local::MRM_FF: in emitInstructionSpecifier()
816 case X86Local::MRM_##from: in emitDecodePath()
825 case X86Local::OB: in emitDecodePath()
826 case X86Local::TB: in emitDecodePath()
827 case X86Local::T8: in emitDecodePath()
828 case X86Local::TA: in emitDecodePath()
829 case X86Local::XOP8: in emitDecodePath()
830 case X86Local::XOP9: in emitDecodePath()
831 case X86Local::XOPA: in emitDecodePath()
834 case X86Local::OB: opcodeType = ONEBYTE; break; in emitDecodePath()
835 case X86Local::TB: opcodeType = TWOBYTE; break; in emitDecodePath()
836 case X86Local::T8: opcodeType = THREEBYTE_38; break; in emitDecodePath()
837 case X86Local::TA: opcodeType = THREEBYTE_3A; break; in emitDecodePath()
838 case X86Local::XOP8: opcodeType = XOP8_MAP; break; in emitDecodePath()
839 case X86Local::XOP9: opcodeType = XOP9_MAP; break; in emitDecodePath()
840 case X86Local::XOPA: opcodeType = XOPA_MAP; break; in emitDecodePath()
847 case X86Local::MRMDestReg: case X86Local::MRMDestMem: in emitDecodePath()
848 case X86Local::MRMSrcReg: case X86Local::MRMSrcMem: in emitDecodePath()
849 case X86Local::MRMXr: case X86Local::MRMXm: in emitDecodePath()
852 case X86Local::MRM0r: case X86Local::MRM1r: in emitDecodePath()
853 case X86Local::MRM2r: case X86Local::MRM3r: in emitDecodePath()
854 case X86Local::MRM4r: case X86Local::MRM5r: in emitDecodePath()
855 case X86Local::MRM6r: case X86Local::MRM7r: in emitDecodePath()
856 filter = new ExtendedFilter(true, Form - X86Local::MRM0r); in emitDecodePath()
858 case X86Local::MRM0m: case X86Local::MRM1m: in emitDecodePath()
859 case X86Local::MRM2m: case X86Local::MRM3m: in emitDecodePath()
860 case X86Local::MRM4m: case X86Local::MRM5m: in emitDecodePath()
861 case X86Local::MRM6m: case X86Local::MRM7m: in emitDecodePath()
862 filter = new ExtendedFilter(false, Form - X86Local::MRM0m); in emitDecodePath()
865 filter = new ExactFilter(0xC0 + Form - X86Local::MRM_C0); \ in emitDecodePath()
875 case X86Local::AdSize16: AddressSize = 16; break; in emitDecodePath()
876 case X86Local::AdSize32: AddressSize = 32; break; in emitDecodePath()
877 case X86Local::AdSize64: AddressSize = 64; break; in emitDecodePath()
884 if (Form == X86Local::AddRegFrm) { in emitDecodePath()
920 if(OpSize == X86Local::OpSize16) { in typeFromString()
925 } else if(OpSize == X86Local::OpSize32) { in typeFromString()
1049 if(OpSize != X86Local::OpSize16) { in immediateEncodingFromString()
1241 if(OpSize != X86Local::OpSize16) { in relocationEncodingFromString()