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()
251 if (Form == X86Local::Pseudo || (IsCodeGenOnly && !ForceDisassemble)) { in RecognizableInstr()
289 if (Encoding == X86Local::EVEX) { in insnContext()
296 if (OpPrefix == X86Local::PD) in insnContext()
298 else if (OpPrefix == X86Local::XS) in insnContext()
300 else if (OpPrefix == X86Local::XD) in insnContext()
302 else if (OpPrefix == X86Local::PS) in insnContext()
310 if (OpPrefix == X86Local::PD) in insnContext()
312 else if (OpPrefix == X86Local::XS) in insnContext()
314 else if (OpPrefix == X86Local::XD) in insnContext()
316 else if (OpPrefix == X86Local::PS) in insnContext()
325 if (OpPrefix == X86Local::PD) in insnContext()
327 else if (OpPrefix == X86Local::XS) in insnContext()
329 else if (OpPrefix == X86Local::XD) in insnContext()
331 else if (OpPrefix == X86Local::PS) in insnContext()
339 if (OpPrefix == X86Local::PD) in insnContext()
341 else if (OpPrefix == X86Local::XD) in insnContext()
343 else if (OpPrefix == X86Local::XS) in insnContext()
345 else if (OpPrefix == X86Local::PS) in insnContext()
354 if (OpPrefix == X86Local::PD) in insnContext()
356 else if (OpPrefix == X86Local::XS) in insnContext()
358 else if (OpPrefix == X86Local::XD) in insnContext()
360 else if (OpPrefix == X86Local::PS) in insnContext()
368 else if (OpPrefix == X86Local::PD) in insnContext()
370 else if (OpPrefix == X86Local::XD) in insnContext()
372 else if (OpPrefix == X86Local::XS) in insnContext()
377 } else if (Encoding == X86Local::VEX || Encoding == X86Local::XOP) { in insnContext()
379 if (OpPrefix == X86Local::PD) in insnContext()
381 else if (OpPrefix == X86Local::XS) in insnContext()
383 else if (OpPrefix == X86Local::XD) in insnContext()
385 else if (OpPrefix == X86Local::PS) in insnContext()
391 } else if (OpPrefix == X86Local::PD && HasVEX_LPrefix) in insnContext()
393 else if (OpPrefix == X86Local::PD && HasVEX_WPrefix) in insnContext()
395 else if (OpPrefix == X86Local::PD) in insnContext()
397 else if (HasVEX_LPrefix && OpPrefix == X86Local::XS) in insnContext()
399 else if (HasVEX_LPrefix && OpPrefix == X86Local::XD) in insnContext()
401 else if (HasVEX_WPrefix && OpPrefix == X86Local::XS) in insnContext()
403 else if (HasVEX_WPrefix && OpPrefix == X86Local::XD) in insnContext()
405 else if (HasVEX_WPrefix && OpPrefix == X86Local::PS) in insnContext()
407 else if (HasVEX_LPrefix && OpPrefix == X86Local::PS) in insnContext()
409 else if (OpPrefix == X86Local::XD) in insnContext()
411 else if (OpPrefix == X86Local::XS) in insnContext()
413 else if (OpPrefix == X86Local::PS) in insnContext()
419 } else if (Is64Bit || HasREX_WPrefix || AdSize == X86Local::AdSize64) { in insnContext()
420 if (HasREX_WPrefix && (OpSize == X86Local::OpSize16 || OpPrefix == X86Local::PD)) in insnContext()
422 else if (HasREX_WPrefix && AdSize == X86Local::AdSize32) in insnContext()
424 else if (OpSize == X86Local::OpSize16 && OpPrefix == X86Local::XD) in insnContext()
426 else if (OpSize == X86Local::OpSize16 && OpPrefix == X86Local::XS) in insnContext()
428 else if (OpSize == X86Local::OpSize16 && AdSize == X86Local::AdSize32) in insnContext()
430 else if (OpSize == X86Local::OpSize16 || OpPrefix == X86Local::PD) in insnContext()
432 else if (AdSize == X86Local::AdSize32) in insnContext()
434 else if (HasREX_WPrefix && OpPrefix == X86Local::XS) in insnContext()
436 else if (HasREX_WPrefix && OpPrefix == X86Local::XD) in insnContext()
438 else if (OpPrefix == X86Local::XD) in insnContext()
440 else if (OpPrefix == X86Local::XS) in insnContext()
447 if (OpSize == X86Local::OpSize16 && OpPrefix == X86Local::XD) in insnContext()
449 else if (OpSize == X86Local::OpSize16 && OpPrefix == X86Local::XS) in insnContext()
451 else if (OpSize == X86Local::OpSize16 && AdSize == X86Local::AdSize16) in insnContext()
453 else if (OpSize == X86Local::OpSize16 || OpPrefix == X86Local::PD) in insnContext()
455 else if (AdSize == X86Local::AdSize16) in insnContext()
457 else if (OpPrefix == X86Local::XD) in insnContext()
459 else if (OpPrefix == X86Local::XS) in insnContext()
575 case X86Local::RawFrmSrc: in emitInstructionSpecifier()
578 case X86Local::RawFrmDst: in emitInstructionSpecifier()
581 case X86Local::RawFrmDstSrc: in emitInstructionSpecifier()
585 case X86Local::RawFrm: in emitInstructionSpecifier()
593 case X86Local::RawFrmMemOffs: in emitInstructionSpecifier()
597 case X86Local::AddRegFrm: in emitInstructionSpecifier()
605 case X86Local::MRMDestReg: in emitInstructionSpecifier()
627 case X86Local::MRMDestMem: in emitInstructionSpecifier()
649 case X86Local::MRMSrcReg: in emitInstructionSpecifier()
683 case X86Local::MRMSrcMem: in emitInstructionSpecifier()
715 case X86Local::MRMXr: in emitInstructionSpecifier()
716 case X86Local::MRM0r: in emitInstructionSpecifier()
717 case X86Local::MRM1r: in emitInstructionSpecifier()
718 case X86Local::MRM2r: in emitInstructionSpecifier()
719 case X86Local::MRM3r: in emitInstructionSpecifier()
720 case X86Local::MRM4r: in emitInstructionSpecifier()
721 case X86Local::MRM5r: in emitInstructionSpecifier()
722 case X86Local::MRM6r: in emitInstructionSpecifier()
723 case X86Local::MRM7r: in emitInstructionSpecifier()
740 case X86Local::MRMXm: in emitInstructionSpecifier()
741 case X86Local::MRM0m: in emitInstructionSpecifier()
742 case X86Local::MRM1m: in emitInstructionSpecifier()
743 case X86Local::MRM2m: in emitInstructionSpecifier()
744 case X86Local::MRM3m: in emitInstructionSpecifier()
745 case X86Local::MRM4m: in emitInstructionSpecifier()
746 case X86Local::MRM5m: in emitInstructionSpecifier()
747 case X86Local::MRM6m: in emitInstructionSpecifier()
748 case X86Local::MRM7m: in emitInstructionSpecifier()
762 case X86Local::RawFrmImm8: in emitInstructionSpecifier()
770 case X86Local::RawFrmImm16: in emitInstructionSpecifier()
776 case X86Local::MRM_F8: in emitInstructionSpecifier()
787 case X86Local::MRM_C0: case X86Local::MRM_C1: case X86Local::MRM_C2: in emitInstructionSpecifier()
788 case X86Local::MRM_C3: case X86Local::MRM_C4: case X86Local::MRM_C8: in emitInstructionSpecifier()
789 case X86Local::MRM_C9: case X86Local::MRM_CA: case X86Local::MRM_CB: in emitInstructionSpecifier()
790 case X86Local::MRM_CF: case X86Local::MRM_D0: case X86Local::MRM_D1: in emitInstructionSpecifier()
791 case X86Local::MRM_D4: case X86Local::MRM_D5: case X86Local::MRM_D6: in emitInstructionSpecifier()
792 case X86Local::MRM_D7: case X86Local::MRM_D8: case X86Local::MRM_D9: in emitInstructionSpecifier()
793 case X86Local::MRM_DA: case X86Local::MRM_DB: case X86Local::MRM_DC: in emitInstructionSpecifier()
794 case X86Local::MRM_DD: case X86Local::MRM_DE: case X86Local::MRM_DF: in emitInstructionSpecifier()
795 case X86Local::MRM_E0: case X86Local::MRM_E1: case X86Local::MRM_E2: in emitInstructionSpecifier()
796 case X86Local::MRM_E3: case X86Local::MRM_E4: case X86Local::MRM_E5: in emitInstructionSpecifier()
797 case X86Local::MRM_E8: case X86Local::MRM_E9: case X86Local::MRM_EA: in emitInstructionSpecifier()
798 case X86Local::MRM_EB: case X86Local::MRM_EC: case X86Local::MRM_ED: in emitInstructionSpecifier()
799 case X86Local::MRM_EE: case X86Local::MRM_F0: case X86Local::MRM_F1: in emitInstructionSpecifier()
800 case X86Local::MRM_F2: case X86Local::MRM_F3: case X86Local::MRM_F4: in emitInstructionSpecifier()
801 case X86Local::MRM_F5: case X86Local::MRM_F6: case X86Local::MRM_F7: in emitInstructionSpecifier()
802 case X86Local::MRM_F9: case X86Local::MRM_FA: case X86Local::MRM_FB: in emitInstructionSpecifier()
803 case X86Local::MRM_FC: case X86Local::MRM_FD: case X86Local::MRM_FE: in emitInstructionSpecifier()
804 case X86Local::MRM_FF: in emitInstructionSpecifier()
817 case X86Local::MRM_##from: in emitDecodePath()
826 case X86Local::OB: in emitDecodePath()
827 case X86Local::TB: in emitDecodePath()
828 case X86Local::T8: in emitDecodePath()
829 case X86Local::TA: in emitDecodePath()
830 case X86Local::XOP8: in emitDecodePath()
831 case X86Local::XOP9: in emitDecodePath()
832 case X86Local::XOPA: in emitDecodePath()
835 case X86Local::OB: opcodeType = ONEBYTE; break; in emitDecodePath()
836 case X86Local::TB: opcodeType = TWOBYTE; break; in emitDecodePath()
837 case X86Local::T8: opcodeType = THREEBYTE_38; break; in emitDecodePath()
838 case X86Local::TA: opcodeType = THREEBYTE_3A; break; in emitDecodePath()
839 case X86Local::XOP8: opcodeType = XOP8_MAP; break; in emitDecodePath()
840 case X86Local::XOP9: opcodeType = XOP9_MAP; break; in emitDecodePath()
841 case X86Local::XOPA: opcodeType = XOPA_MAP; break; in emitDecodePath()
848 case X86Local::MRMDestReg: case X86Local::MRMDestMem: in emitDecodePath()
849 case X86Local::MRMSrcReg: case X86Local::MRMSrcMem: in emitDecodePath()
850 case X86Local::MRMXr: case X86Local::MRMXm: in emitDecodePath()
853 case X86Local::MRM0r: case X86Local::MRM1r: in emitDecodePath()
854 case X86Local::MRM2r: case X86Local::MRM3r: in emitDecodePath()
855 case X86Local::MRM4r: case X86Local::MRM5r: in emitDecodePath()
856 case X86Local::MRM6r: case X86Local::MRM7r: in emitDecodePath()
857 filter = new ExtendedFilter(true, Form - X86Local::MRM0r); in emitDecodePath()
859 case X86Local::MRM0m: case X86Local::MRM1m: in emitDecodePath()
860 case X86Local::MRM2m: case X86Local::MRM3m: in emitDecodePath()
861 case X86Local::MRM4m: case X86Local::MRM5m: in emitDecodePath()
862 case X86Local::MRM6m: case X86Local::MRM7m: in emitDecodePath()
863 filter = new ExtendedFilter(false, Form - X86Local::MRM0m); in emitDecodePath()
866 filter = new ExactFilter(0xC0 + Form - X86Local::MRM_C0); \ in emitDecodePath()
876 case X86Local::AdSize16: AddressSize = 16; break; in emitDecodePath()
877 case X86Local::AdSize32: AddressSize = 32; break; in emitDecodePath()
878 case X86Local::AdSize64: AddressSize = 64; break; in emitDecodePath()
885 if (Form == X86Local::AddRegFrm) { in emitDecodePath()
921 if(OpSize == X86Local::OpSize16) { in typeFromString()
926 } else if(OpSize == X86Local::OpSize32) { in typeFromString()
1050 if(OpSize != X86Local::OpSize16) { in immediateEncodingFromString()
1240 if(OpSize != X86Local::OpSize16) { in relocationEncodingFromString()