Lines Matching defs:X86MCCodeEmitter
1 //===-- X86MCCodeEmitter.cpp - Convert X86 code to machine code -----------===//
9 // This file implements the X86MCCodeEmitter class.
335 class X86MCCodeEmitter : public MCCodeEmitter {
340 X86MCCodeEmitter(const MCInstrInfo &mcii, MCContext &ctx)
342 X86MCCodeEmitter(const X86MCCodeEmitter &) = delete;
343 X86MCCodeEmitter &operator=(const X86MCCodeEmitter &) = delete;
344 ~X86MCCodeEmitter() override = default;
507 unsigned X86MCCodeEmitter::getX86RegNum(const MCOperand &MO) const {
511 unsigned X86MCCodeEmitter::getX86RegEncoding(const MCInst &MI,
516 void X86MCCodeEmitter::emitImmediate(const MCOperand &DispOp, SMLoc Loc,
595 void X86MCCodeEmitter::emitRegModRMByte(const MCOperand &ModRMReg,
601 void X86MCCodeEmitter::emitSIBByte(unsigned SS, unsigned Index, unsigned Base,
607 void X86MCCodeEmitter::emitMemModRMByte(
881 PrefixKind X86MCCodeEmitter::emitPrefixImpl(unsigned &CurOp, const MCInst &MI,
955 X86MCCodeEmitter::emitVEXOpcodePrefix(int MemOperand, const MCInst &MI,
1331 PrefixKind X86MCCodeEmitter::emitREXPrefix(int MemOperand, const MCInst &MI,
1447 void X86MCCodeEmitter::emitSegmentOverridePrefix(
1460 PrefixKind X86MCCodeEmitter::emitOpcodePrefix(int MemOperand, const MCInst &MI,
1522 void X86MCCodeEmitter::emitPrefix(const MCInst &MI, SmallVectorImpl<char> &CB,
1539 static_cast<X86MCCodeEmitter &>(MCE).emitPrefix(MI, CB, STI);
1542 void X86MCCodeEmitter::encodeInstruction(const MCInst &MI,
1586 llvm_unreachable("Unknown FormMask value in X86MCCodeEmitter!");
2023 return new X86MCCodeEmitter(MCII, Ctx);