Lines Matching refs:MCInst
21 #include "llvm/MC/MCInst.h"
50 void emitPrefix(const MCInst &MI, raw_ostream &OS,
53 void encodeInstruction(const MCInst &MI, raw_ostream &OS,
60 unsigned getX86RegEncoding(const MCInst &MI, unsigned OpNum) const;
66 bool isREXExtendedReg(const MCInst &MI, unsigned OpNum) const;
78 void emitMemModRMByte(const MCInst &MI, unsigned Op, unsigned RegOpcodeField,
84 bool emitPrefixImpl(unsigned &CurOp, const MCInst &MI,
87 void emitVEXOpcodePrefix(int MemOperand, const MCInst &MI,
90 void emitSegmentOverridePrefix(unsigned SegOperand, const MCInst &MI,
93 bool emitOpcodePrefix(int MemOperand, const MCInst &MI,
96 bool emitREXPrefix(int MemOperand, const MCInst &MI, raw_ostream &OS) const;
165 static bool is16BitMemOperand(const MCInst &MI, unsigned Op,
185 static bool is32BitMemOperand(const MCInst &MI, unsigned Op) {
207 static bool is64BitMemOperand(const MCInst &MI, unsigned Op) {
256 static bool isPCRel32Branch(const MCInst &MI, const MCInstrInfo &MCII) {
277 unsigned X86MCCodeEmitter::getX86RegEncoding(const MCInst &MI,
286 bool X86MCCodeEmitter::isREXExtendedReg(const MCInst &MI,
381 void X86MCCodeEmitter::emitMemModRMByte(const MCInst &MI, unsigned Op,
653 bool X86MCCodeEmitter::emitPrefixImpl(unsigned &CurOp, const MCInst &MI,
756 void X86MCCodeEmitter::emitVEXOpcodePrefix(int MemOperand, const MCInst &MI,
1202 bool X86MCCodeEmitter::emitREXPrefix(int MemOperand, const MCInst &MI,
1306 const MCInst &MI,
1319 bool X86MCCodeEmitter::emitOpcodePrefix(int MemOperand, const MCInst &MI,
1379 void X86MCCodeEmitter::emitPrefix(const MCInst &MI, raw_ostream &OS,
1394 void X86MCCodeEmitter::encodeInstruction(const MCInst &MI, raw_ostream &OS,