/freebsd/contrib/llvm-project/llvm/lib/Target/X86/MCTargetDesc/ |
H A D | X86InstPrinterCommon.cpp | 1 //===--- X86InstPrinterCommon.cpp - X86 assembly instruction printing -----===// 3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 33 bool IsCMPCCXADD = X86::isCMPCCXADD(Opc); in printCondCode() 34 bool IsCCMPOrCTEST = X86::isCCMPCC(Opc) || X86::isCTESTCC(Opc); in printCondCode() 39 case 0: O << "o"; break; in printCondCode() 49 case 0xa: O << (IsCCMPOrCTEST ? "t" : "p"); break; in printCondCode() 50 case 0xb: O << (IsCCMPOrCTEST ? "f" : "np"); break; in printCondCode() 51 case 0xc: O << "l"; break; in printCondCode() 52 case 0xd: O << (IsCMPCCXADD ? "nl" : "ge"); break; in printCondCode() 53 case 0xe: O << "le"; break; in printCondCode() [all …]
|
H A D | X86ATTInstPrinter.cpp | 3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 57 if (MI->getOpcode() == X86::CALLpcrel32 && in printInst() 58 (STI.hasFeature(X86::Is64Bit))) { in printInst() 60 printPCRelImm(MI, Address, 0, OS); in printInst() 62 // data16 and data32 both have the same encoding of 0x66. While data32 is in printInst() 65 // 0x66 to be interpreted as "data16" by the asm printer. in printInst() 67 else if (MI->getOpcode() == X86::DATA16_PREFIX && in printInst() 68 STI.hasFeature(X86::Is16Bit)) { in printInst() 81 if (MI->getNumOperands() == 0 || in printVecCompareInstr() 92 case X86::CMPPDrmi: case X86::CMPPDrri: in printVecCompareInstr() [all …]
|
H A D | X86IntelInstPrinter.cpp | 3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 46 if (MI->getOpcode() == X86::DATA16_PREFIX && in printInst() 47 STI.hasFeature(X86::Is16Bit)) { in printInst() 61 if (MI->getNumOperands() == 0 || in printVecCompareInstr() 72 case X86::CMPPDrmi: case X86::CMPPDrri: in printVecCompareInstr() 73 case X86::CMPPSrmi: case X86::CMPPSrri: in printVecCompareInstr() 74 case X86::CMPSDrmi: case X86::CMPSDrri: in printVecCompareInstr() 75 case X86::CMPSDrmi_Int: case X86::CMPSDrri_Int: in printVecCompareInstr() 76 case X86::CMPSSrmi: case X86::CMPSSrri: in printVecCompareInstr() 77 case X86::CMPSSrmi_Int: case X86::CMPSSrri_Int: in printVecCompareInstr() [all …]
|
H A D | X86BaseInfo.h | 1 //===-- X86BaseInfo.h - Top level definitions for X86 -------- --*- C++ -*-===// 3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 10 // the X86 target useful for the compiler back-end and the MC libraries. 25 namespace X86 { 29 AddrBaseReg = 0, 42 TO_NEAREST_INT = 0, 52 IP_NO_PREFIX = 0, 53 IP_HAS_OP_SIZE = 1U << 0, 70 // AVX512 embedded rounding control. This should only have values 0-3. 75 // X86 specific condition code. These correspond to X86_*_COND in [all …]
|
H A D | X86MCTargetDesc.cpp | 1 //===-- X86MCTargetDesc.cpp - X86 Target Descriptions ---------------------===// 3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 9 // This file provides X86 specific target descriptions. 74 return MI.getFlags() & X86::IP_HAS_LOCK; in hasLockPrefix() 78 const MCOperand &Base = MI.getOperand(Op + X86::AddrBaseReg); in isMemOperand() 79 const MCOperand &Index = MI.getOperand(Op + X86::AddrIndexReg); in isMemOperand() 82 return (Base.isReg() && Base.getReg() != 0 && RC.contains(Base.getReg())) || in isMemOperand() 83 (Index.isReg() && Index.getReg() != 0 && RC.contains(Index.getReg())); in isMemOperand() 88 const MCOperand &Base = MI.getOperand(Op + X86::AddrBaseReg); in is16BitMemOperand() 89 const MCOperand &Index = MI.getOperand(Op + X86::AddrIndexReg); in is16BitMemOperand() [all …]
|
H A D | X86EncodingOptimization.cpp | 1 //===-- X86EncodingOptimization.cpp - X86 Encoding optimization -*- C++ -*-===// 3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 9 // This file contains the implementation of the X86 encoding optimization 22 bool X86::optimizeInstFromVEX3ToVEX2(MCInst &MI, const MCInstrDesc &Desc) { in optimizeInstFromVEX3ToVEX2() 25 unsigned NewOpc = 0; in optimizeInstFromVEX3ToVEX2() 27 case X86::FROM: \ in optimizeInstFromVEX3ToVEX2() 28 NewOpc = X86::TO; \ in optimizeInstFromVEX3ToVEX2() 32 #define TO_REV(FROM) FROM_TO(FROM, FROM##_REV, 0, 1) in optimizeInstFromVEX3ToVEX2() 45 if (Opcode == X86::VMOVHLPSrr || Opcode == X86::VUNPCKHPDrr) in optimizeInstFromVEX3ToVEX2() 51 case X86::VCMPPDrri: in optimizeInstFromVEX3ToVEX2() [all …]
|
/freebsd/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaX86.cpp | 1 //===------ SemaX86.cpp ---------- X86 target-specific routines -----------===// 3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 9 // This file implements semantic analysis functions specific to X86. 32 unsigned ArgNum = 0; in CheckBuiltinRoundingOrSAE() 36 case X86::BI__builtin_ia32_vcvttsd2si32: in CheckBuiltinRoundingOrSAE() 37 case X86::BI__builtin_ia32_vcvttsd2si64: in CheckBuiltinRoundingOrSAE() 38 case X86::BI__builtin_ia32_vcvttsd2usi32: in CheckBuiltinRoundingOrSAE() 39 case X86::BI__builtin_ia32_vcvttsd2usi64: in CheckBuiltinRoundingOrSAE() 40 case X86::BI__builtin_ia32_vcvttss2si32: in CheckBuiltinRoundingOrSAE() 41 case X86::BI__builtin_ia32_vcvttss2si64: in CheckBuiltinRoundingOrSAE() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/ |
H A D | X86InstrInfo.cpp | 1 //===-- X86InstrInfo.cpp - X86 Instruction Information --------------------===// 3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 9 // This file contains the X86 implementation of the TargetInstrInfo class. 14 #include "X86.h" 52 #define DEBUG_TYPE "x86-instr-info" 64 " fuse, but the X86 backend currently can't"), 86 : X86GenInstrInfo((STI.isTarget64BitLP64() ? X86::ADJCALLSTACKDOWN64 in X86InstrInfo() 87 : X86::ADJCALLSTACKDOWN32), in X86InstrInfo() 88 (STI.isTarget64BitLP64() ? X86::ADJCALLSTACKUP64 in X86InstrInfo() 89 : X86::ADJCALLSTACKUP32), in X86InstrInfo() [all …]
|
H A D | X86FixupVectorConstants.cpp | 3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 18 #include "X86.h" 27 #define DEBUG_TYPE "x86-fixup-vector-constants" 39 return "X86 Fixup Vector Constants"; in getPassName() 59 char X86FixupVectorConstantsPass::ID = 0; 100 assert((NumBits % Bits->getBitWidth()) == 0 && "Illegal splat"); in extractConstantBits() 106 for (unsigned I = 0, E = CV->getNumOperands(); I != E; ++I) { in extractConstantBits() 127 for (unsigned I = 0, E = CDS->getNumElements(); I != E; ++I) { in extractConstantBits() 153 assert((Ty->getPrimitiveSizeInBits() % SplatBitWidth) == 0 && in getSplatableConstant() 166 if ((SplatBitWidth % NumEltsBits) == 0) { in getSplatableConstant() [all …]
|
H A D | X86FloatingPoint.cpp | 3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 25 #include "X86.h" 51 #define DEBUG_TYPE "x86-codegen" 64 memset(Stack, 0, sizeof(Stack)); in FPS() 65 memset(RegMap, 0, sizeof(RegMap)); in FPS() 83 StringRef getPassName() const override { return "X86 FP Stackifier"; } in getPassName() 100 // Bit mask of live FP registers. Bit 0 = FP0, bit 1 = FP1, &c. 101 unsigned Mask = 0; 103 // Number of pre-assigned live registers in FixStack. This is 0 when the 105 unsigned FixCount = 0; [all …]
|
H A D | X86AvoidStoreForwardingBlocks.cpp | 3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 36 #include "X86.h" 55 #define DEBUG_TYPE "x86-avoid-SFB" 58 "x86-disable-avoid-SFB", cl::Hidden, 59 cl::desc("X86: Disable Store Forwarding Blocks fixup."), cl::init(false)); 62 "x86-sfb-inspection-limit", 63 cl::desc("X86: Number of instructions backward to " 77 return "X86 Avoid Store Forwarding Blocks"; in getPassName() 121 char X86AvoidSFBPass::ID = 0; 134 return Opcode == X86::MOVUPSrm || Opcode == X86::MOVAPSrm || in isXMMLoadOpcode() [all …]
|
H A D | X86ExpandPseudo.cpp | 3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 15 #include "X86.h" 30 #define DEBUG_TYPE "x86-pseudo" 31 #define X86_EXPAND_PSEUDO_NAME "X86 pseudo instruction expansion pass" 60 return "X86 pseudo instruction expansion pass"; in getPassName() 76 /// Expand X86::VASTART_SAVE_XMM_REGS into set of xmm copying instructions, 83 char X86ExpandPseudo::ID = 0; 101 MachineOperand Selector = JTInst->getOperand(0); in INITIALIZE_PASS() 107 BuildMI(*MBB, MBBI, DL, TII->get(X86::LEA64r), X86::R11) in INITIALIZE_PASS() 108 .addReg(X86::RIP) in INITIALIZE_PASS() [all …]
|
H A D | X86MCInstLower.cpp | 1 //===-- X86MCInstLower.cpp - Convert X86 MachineInstr to an MCInst --------===// 3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 9 // This file contains code to lower X86 MachineInstrs to their corresponding 335 return Subtarget.is64Bit() ? X86::RET64 : X86::RET32; in getRetOpcode() 374 case X86::TAILJMPr: in convertTailJumpOpcode() 375 Opcode = X86::JMP32r; in convertTailJumpOpcode() 377 case X86::TAILJMPm: in convertTailJumpOpcode() 378 Opcode = X86::JMP32m; in convertTailJumpOpcode() 380 case X86::TAILJMPr64: in convertTailJumpOpcode() 381 Opcode = X86::JMP64r; in convertTailJumpOpcode() [all …]
|
H A D | X86DomainReassignment.cpp | 3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 15 #include "X86.h" 33 #define DEBUG_TYPE "x86-domain-reassignment" 38 "disable-x86-domain-reassignment", cl::Hidden, 39 cl::desc("X86: Disable Virtual Register Reassignment."), cl::init(false)); 45 return X86::GR64RegClass.hasSubClassEq(RC) || in isGPR() 46 X86::GR32RegClass.hasSubClassEq(RC) || in isGPR() 47 X86::GR16RegClass.hasSubClassEq(RC) || in isGPR() 48 X86::GR8RegClass.hasSubClassEq(RC); in isGPR() 53 return X86::VK16RegClass.hasSubClassEq(RC); in isMask() [all …]
|
H A D | X86FixupInstTuning.cpp | 3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 24 #include "X86.h" 34 #define DEBUG_TYPE "x86-fixup-inst-tuning" 45 StringRef getPassName() const override { return "X86 Fixup Inst Tuning"; } in getPassName() 64 char X86FixupInstTuningPass::ID = 0; 172 // `vunpcklpd/vmovlhps r, r` -> `vunpcklqdq r, r`/`vshufpd r, r, 0x00` in processInstruction() 173 // `vunpckhpd/vmovlhps r, r` -> `vunpckhqdq r, r`/`vshufpd r, r, 0xff` in processInstruction() 174 // `vunpcklpd r, r, k` -> `vunpcklqdq r, r, k`/`vshufpd r, r, k, 0x00` in processInstruction() 175 // `vunpckhpd r, r, k` -> `vunpckhqdq r, r, k`/`vshufpd r, r, k, 0xff` in processInstruction() 210 return ProcessUNPCK(NewOpc, 0x00); in processInstruction() [all …]
|
H A D | X86InstructionSelector.cpp |
|
H A D | X86FastISel.cpp | 1 //===-- X86FastISel.cpp - X86 FastISel implementation ---------------------===// 3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 9 // This file defines the X86-specific support for the FastISel class. Much 15 #include "X86.h" 161 bool foldX86XALUIntrinsic(X86::CondCode &CC, const Instruction *I, 180 // 0 - EQ in getX86SSEConditionCode() 190 case CmpInst::FCMP_OEQ: CC = 0; break; in getX86SSEConditionCode() 219 X86::AddrIndexReg); in addFullAddress() 225 bool X86FastISel::foldX86XALUIntrinsic(X86::CondCode &CC, const Instruction *I, in foldX86XALUIntrinsic() 238 cast<StructType>(Callee->getReturnType())->getTypeAtIndex(0U); in foldX86XALUIntrinsic() [all …]
|
H A D | X86CompressEVEX.cpp | 3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 23 // crc32w %si, %eax ## encoding: [0x66,0xf2,0x0f,0x38,0xf1,0xc6] 25 // crc32w %si, %eax ## encoding: [0x62,0xf4,0x7d,0x08,0xf1,0xc6] 41 #include "X86.h" 58 #define COMP_EVEX_NAME "x86-compress-evex" 84 char CompressEVEXPass::ID = 0; 89 if (Reg >= X86::XMM16 && Reg <= X86::XMM31) in usesExtendedRegister() 92 if (Reg >= X86::YMM16 && Reg <= X86::YMM31) in usesExtendedRegister() 121 case X86::VALIGNDZ128rri: in performCustomAdjustments() 122 case X86::VALIGNDZ128rmi: in performCustomAdjustments() [all …]
|
H A D | X86RegisterInfo.cpp | 1 //===-- X86RegisterInfo.cpp - X86 Register Information --------------------===// 3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 9 // This file contains the X86 implementation of the TargetRegisterInfo class. 11 // on X86. 45 EnableBasePointer("x86-use-base-pointer", cl::Hidden, cl::init(true), 49 : X86GenRegisterInfo((TT.isArch64Bit() ? X86::RIP : X86::EIP), in X86RegisterInfo() 52 (TT.isArch64Bit() ? X86::RIP : X86::EIP)) { in X86RegisterInfo() 68 StackPtr = Use64BitReg ? X86::RSP : X86::ESP; in X86RegisterInfo() 69 FramePtr = Use64BitReg ? X86::RBP : X86::EBP; in X86RegisterInfo() 70 BasePtr = Use64BitReg ? X86::RBX : X86::EBX; in X86RegisterInfo() [all …]
|
H A D | X86InstrFoldTables.cpp | 1 //===-- X86InstrFoldTables.cpp - X86 Instruction Folding Tables -----------===// 3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 9 // This file contains the X86 memory folding tables. 30 { X86::VANDNPDZ128rr, X86::VANDNPSZ128rmb, TB_BCAST_SS }, 31 { X86::VANDNPDZ256rr, X86::VANDNPSZ256rmb, TB_BCAST_SS }, 32 { X86::VANDNPDZrr, X86::VANDNPSZrmb, TB_BCAST_SS }, 33 { X86::VANDNPSZ128rr, X86::VANDNPDZ128rmb, TB_BCAST_SD }, 34 { X86::VANDNPSZ256rr, X86::VANDNPDZ256rmb, TB_BCAST_SD }, 35 { X86::VANDNPSZrr, X86::VANDNPDZrmb, TB_BCAST_SD }, 36 { X86::VANDPDZ128rr, X86::VANDPSZ128rmb, TB_BCAST_SS }, [all …]
|
H A D | X86EvexToVex.cpp |
|
/freebsd/sys/contrib/x86emu/ |
H A D | x86emu.c | 6 * Realmode X86 Emulator Library 182 push_word(emu, (uint16_t) emu->x86.R_FLG); in x86emu_intr_dispatch() 185 push_word(emu, emu->x86.R_CS); in x86emu_intr_dispatch() 186 emu->x86.R_CS = fetch_word(emu, 0, intno * 4 + 2); in x86emu_intr_dispatch() 187 push_word(emu, emu->x86.R_IP); in x86emu_intr_dispatch() 188 emu->x86.R_IP = fetch_word(emu, 0, intno * 4); in x86emu_intr_dispatch() 197 if (emu->x86.intr & INTR_SYNCH) { in x86emu_intr_handle() 198 intno = emu->x86.intno; in x86emu_intr_handle() 199 emu->x86.intr = 0; in x86emu_intr_handle() 215 emu->x86.intno = intrnum; in x86emu_intr_raise() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/GISel/ |
H A D | X86InstructionSelector.cpp | 3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 10 /// X86. 15 #include "X86.h" 51 #define DEBUG_TYPE "X86-isel" 173 if (RB.getID() == X86::GPRRegBankID) { in getRegClass() 175 return &X86::GR8RegClass; in getRegClass() 177 return &X86::GR16RegClass; in getRegClass() 179 return &X86::GR32RegClass; in getRegClass() 181 return &X86::GR64RegClass; in getRegClass() 183 if (RB.getID() == X86::VECRRegBankID) { in getRegClass() [all …]
|
/freebsd/crypto/openssl/providers/common/include/prov/ |
H A D | der_rsa.h | 21 #define DER_OID_V_hashAlgs DER_P_OBJECT, 8, 0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x02 28 #define DER_OID_V_rsaEncryption DER_P_OBJECT, 9, 0x2A, 0x86, 0x48, 0x86, 0xF7, 0x0D, 0x01, 0x01, 0x… 35 #define DER_OID_V_id_RSAES_OAEP DER_P_OBJECT, 9, 0x2A, 0x86, 0x48, 0x86, 0xF7, 0x0D, 0x01, 0x01, 0x… 42 #define DER_OID_V_id_pSpecified DER_P_OBJECT, 9, 0x2A, 0x86, 0x48, 0x86, 0xF7, 0x0D, 0x01, 0x01, 0x… 49 #define DER_OID_V_id_RSASSA_PSS DER_P_OBJECT, 9, 0x2A, 0x86, 0x48, 0x86, 0xF7, 0x0D, 0x01, 0x01, 0x… 56 …ine DER_OID_V_md2WithRSAEncryption DER_P_OBJECT, 9, 0x2A, 0x86, 0x48, 0x86, 0xF7, 0x0D, 0x01, 0x01… 63 …ine DER_OID_V_md5WithRSAEncryption DER_P_OBJECT, 9, 0x2A, 0x86, 0x48, 0x86, 0xF7, 0x0D, 0x01, 0x01… 70 …ne DER_OID_V_sha1WithRSAEncryption DER_P_OBJECT, 9, 0x2A, 0x86, 0x48, 0x86, 0xF7, 0x0D, 0x01, 0x01… 77 … DER_OID_V_sha224WithRSAEncryption DER_P_OBJECT, 9, 0x2A, 0x86, 0x48, 0x86, 0xF7, 0x0D, 0x01, 0x01… 84 … DER_OID_V_sha256WithRSAEncryption DER_P_OBJECT, 9, 0x2A, 0x86, 0x48, 0x86, 0xF7, 0x0D, 0x01, 0x01… [all …]
|
H A D | der_ec.h | 21 #define DER_OID_V_ecdsa_with_SHA1 DER_P_OBJECT, 7, 0x2A, 0x86, 0x48, 0xCE, 0x3D, 0x04, 0x01 28 #define DER_OID_V_id_ecPublicKey DER_P_OBJECT, 7, 0x2A, 0x86, 0x48, 0xCE, 0x3D, 0x02, 0x01 35 #define DER_OID_V_c2pnb163v1 DER_P_OBJECT, 8, 0x2A, 0x86, 0x48, 0xCE, 0x3D, 0x03, 0x00, 0x01 42 #define DER_OID_V_c2pnb163v2 DER_P_OBJECT, 8, 0x2A, 0x86, 0x48, 0xCE, 0x3D, 0x03, 0x00, 0x02 49 #define DER_OID_V_c2pnb163v3 DER_P_OBJECT, 8, 0x2A, 0x86, 0x48, 0xCE, 0x3D, 0x03, 0x00, 0x03 56 #define DER_OID_V_c2pnb176w1 DER_P_OBJECT, 8, 0x2A, 0x86, 0x48, 0xCE, 0x3D, 0x03, 0x00, 0x04 63 #define DER_OID_V_c2tnb191v1 DER_P_OBJECT, 8, 0x2A, 0x86, 0x48, 0xCE, 0x3D, 0x03, 0x00, 0x05 70 #define DER_OID_V_c2tnb191v2 DER_P_OBJECT, 8, 0x2A, 0x86, 0x48, 0xCE, 0x3D, 0x03, 0x00, 0x06 77 #define DER_OID_V_c2tnb191v3 DER_P_OBJECT, 8, 0x2A, 0x86, 0x48, 0xCE, 0x3D, 0x03, 0x00, 0x07 84 #define DER_OID_V_c2onb191v4 DER_P_OBJECT, 8, 0x2A, 0x86, 0x48, 0xCE, 0x3D, 0x03, 0x00, 0x08 [all …]
|