reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

lib/Target/X86/MCTargetDesc/X86MCCodeEmitter.cpp
 1215   unsigned Opcode = MI.getOpcode();
 1218   unsigned Flags = MI.getFlags();
 1251                               MI, OS);
 1269     assert(!Is16BitMemOperand(MI, MemoryOperand, STI));
 1270     need_address_override = Is32BitMemOperand(MI, MemoryOperand);
 1272     assert(!Is64BitMemOperand(MI, MemoryOperand));
 1273     need_address_override = Is16BitMemOperand(MI, MemoryOperand, STI);
 1276     assert(!Is64BitMemOperand(MI, MemoryOperand));
 1277     need_address_override = !Is16BitMemOperand(MI, MemoryOperand, STI);
 1285     Rex = emitOpcodePrefix(TSFlags, CurByte, MemoryOperand, MI, Desc, STI, OS);
 1287     EmitVEXOpcodePrefix(TSFlags, CurByte, MemoryOperand, MI, Desc, OS);
 1303     unsigned siReg = MI.getOperand(1).getReg();
 1304     assert(((siReg == X86::SI && MI.getOperand(0).getReg() == X86::DI) ||
 1305             (siReg == X86::ESI && MI.getOperand(0).getReg() == X86::EDI) ||
 1306             (siReg == X86::RSI && MI.getOperand(0).getReg() == X86::RDI)) &&
 1309     if (MI.getOperand(2).getReg() != X86::DS)
 1310       EmitSegmentOverridePrefix(CurByte, 2, MI, OS);
 1320     unsigned siReg = MI.getOperand(0).getReg();
 1322     if (MI.getOperand(1).getReg() != X86::DS)
 1323       EmitSegmentOverridePrefix(CurByte, 1, MI, OS);
 1333     unsigned siReg = MI.getOperand(0).getReg();
 1344     OpcodeOffset = MI.getOperand(NumOps - 1).getImm();
 1351     if (!is64BitMode(STI) || !isPCRel32Branch(MI))
 1354     const MCOperand &Op = MI.getOperand(CurOp++);
 1355     EmitImmediate(Op, MI.getLoc(), X86II::getSizeOfImm(TSFlags),
 1362     EmitSegmentOverridePrefix(CurByte, 1, MI, OS);
 1364     EmitImmediate(MI.getOperand(CurOp++), MI.getLoc(),
 1364     EmitImmediate(MI.getOperand(CurOp++), MI.getLoc(),
 1371     EmitImmediate(MI.getOperand(CurOp++), MI.getLoc(),
 1371     EmitImmediate(MI.getOperand(CurOp++), MI.getLoc(),
 1374     EmitImmediate(MI.getOperand(CurOp++), MI.getLoc(), 1, FK_Data_1, CurByte,
 1374     EmitImmediate(MI.getOperand(CurOp++), MI.getLoc(), 1, FK_Data_1, CurByte,
 1379     EmitImmediate(MI.getOperand(CurOp++), MI.getLoc(),
 1379     EmitImmediate(MI.getOperand(CurOp++), MI.getLoc(),
 1382     EmitImmediate(MI.getOperand(CurOp++), MI.getLoc(), 2, FK_Data_2, CurByte,
 1382     EmitImmediate(MI.getOperand(CurOp++), MI.getLoc(), 2, FK_Data_2, CurByte,
 1387     EmitByte(BaseOpcode + GetX86RegNum(MI.getOperand(CurOp++)), CurByte, OS);
 1400     EmitRegModRMByte(MI.getOperand(CurOp),
 1401                      GetX86RegNum(MI.getOperand(SrcRegNum)), CurByte, OS);
 1415     emitMemModRMByte(MI, CurOp, GetX86RegNum(MI.getOperand(SrcRegNum)), TSFlags,
 1415     emitMemModRMByte(MI, CurOp, GetX86RegNum(MI.getOperand(SrcRegNum)), TSFlags,
 1430     EmitRegModRMByte(MI.getOperand(SrcRegNum),
 1431                      GetX86RegNum(MI.getOperand(CurOp)), CurByte, OS);
 1434       I8RegNum = getX86RegEncoding(MI, CurOp++);
 1444     EmitRegModRMByte(MI.getOperand(SrcRegNum),
 1445                      GetX86RegNum(MI.getOperand(CurOp)), CurByte, OS);
 1459     I8RegNum = getX86RegEncoding(MI, SrcRegNum++);
 1461     EmitRegModRMByte(MI.getOperand(SrcRegNum),
 1462                      GetX86RegNum(MI.getOperand(CurOp)), CurByte, OS);
 1470     unsigned CC = MI.getOperand(CurOp++).getImm();
 1473     EmitRegModRMByte(MI.getOperand(SecondOp),
 1474                      GetX86RegNum(MI.getOperand(FirstOp)), CurByte, OS);
 1488     emitMemModRMByte(MI, FirstMemOp, GetX86RegNum(MI.getOperand(CurOp)),
 1488     emitMemModRMByte(MI, FirstMemOp, GetX86RegNum(MI.getOperand(CurOp)),
 1492       I8RegNum = getX86RegEncoding(MI, CurOp++);
 1500     emitMemModRMByte(MI, FirstMemOp, GetX86RegNum(MI.getOperand(CurOp)),
 1500     emitMemModRMByte(MI, FirstMemOp, GetX86RegNum(MI.getOperand(CurOp)),
 1513     I8RegNum = getX86RegEncoding(MI, FirstMemOp++);
 1517     emitMemModRMByte(MI, FirstMemOp, GetX86RegNum(MI.getOperand(CurOp)),
 1517     emitMemModRMByte(MI, FirstMemOp, GetX86RegNum(MI.getOperand(CurOp)),
 1527     unsigned CC = MI.getOperand(CurOp++).getImm();
 1530     emitMemModRMByte(MI, FirstMemOp, GetX86RegNum(MI.getOperand(RegOp)),
 1530     emitMemModRMByte(MI, FirstMemOp, GetX86RegNum(MI.getOperand(RegOp)),
 1538     unsigned CC = MI.getOperand(CurOp++).getImm();
 1540     EmitRegModRMByte(MI.getOperand(RegOp), 0, CurByte, OS);
 1554     EmitRegModRMByte(MI.getOperand(CurOp++),
 1563     unsigned CC = MI.getOperand(CurOp++).getImm();
 1566     emitMemModRMByte(MI, FirstMemOp, 0, TSFlags, Rex, CurByte, OS, Fixups, STI);
 1580     emitMemModRMByte(MI, CurOp,
 1619       unsigned Val = MI.getOperand(CurOp++).getImm();
 1623     EmitImmediate(MCOperand::createImm(I8RegNum), MI.getLoc(), 1, FK_Data_1,
 1630       EmitImmediate(MI.getOperand(CurOp++), MI.getLoc(),
 1630       EmitImmediate(MI.getOperand(CurOp++), MI.getLoc(),
 1643     MI.dump();