Lines Matching defs:X86MCCodeEmitter
1 //===-- X86MCCodeEmitter.cpp - Convert X86 code to machine code -----------===//
9 // This file implements the X86MCCodeEmitter class.
336 class X86MCCodeEmitter : public MCCodeEmitter {
341 X86MCCodeEmitter(const MCInstrInfo &mcii, MCContext &ctx)
343 X86MCCodeEmitter(const X86MCCodeEmitter &) = delete;
344 X86MCCodeEmitter &operator=(const X86MCCodeEmitter &) = delete;
345 ~X86MCCodeEmitter() override = default;
508 unsigned X86MCCodeEmitter::getX86RegNum(const MCOperand &MO) const {
512 unsigned X86MCCodeEmitter::getX86RegEncoding(const MCInst &MI,
517 void X86MCCodeEmitter::emitImmediate(const MCOperand &DispOp, SMLoc Loc,
600 void X86MCCodeEmitter::emitRegModRMByte(const MCOperand &ModRMReg,
606 void X86MCCodeEmitter::emitSIBByte(unsigned SS, unsigned Index, unsigned Base,
612 void X86MCCodeEmitter::emitMemModRMByte(
889 PrefixKind X86MCCodeEmitter::emitPrefixImpl(unsigned &CurOp, const MCInst &MI,
963 X86MCCodeEmitter::emitVEXOpcodePrefix(int MemOperand, const MCInst &MI,
1340 PrefixKind X86MCCodeEmitter::emitREXPrefix(int MemOperand, const MCInst &MI,
1456 void X86MCCodeEmitter::emitSegmentOverridePrefix(
1469 PrefixKind X86MCCodeEmitter::emitOpcodePrefix(int MemOperand, const MCInst &MI,
1531 void X86MCCodeEmitter::emitPrefix(const MCInst &MI, SmallVectorImpl<char> &CB,
1548 static_cast<X86MCCodeEmitter &>(MCE).emitPrefix(MI, CB, STI);
1551 void X86MCCodeEmitter::encodeInstruction(const MCInst &MI,
1595 llvm_unreachable("Unknown FormMask value in X86MCCodeEmitter!");
2032 return new X86MCCodeEmitter(MCII, Ctx);