LLVM: lib/Target/X86/MCTargetDesc/X86ATTInstPrinter.h Source File (original) (raw)

1

2

3

4

5

6

7

8

9

10

11

12

13#ifndef LLVM_LIB_TARGET_X86_MCTARGETDESC_X86ATTINSTPRINTER_H

14#define LLVM_LIB_TARGET_X86_MCTARGETDESC_X86ATTINSTPRINTER_H

15

17

18namespace llvm {

19

21public:

25

31

32

33

36 unsigned OpIdx, unsigned PrintMethodIdx,

38

39

40 std::pair<const char *, uint64_t>

44

52

77

114

115private:

116 bool HasCustomInstComment;

117};

118

119}

120

121#endif

static GCRegistry::Add< CoreCLRGC > E("coreclr", "CoreCLR-compatible GC")

MachineInstr unsigned OpIdx

This class is intended to be used as a base class for asm properties and features specific to the tar...

Base class for the full range of assembler expressions which are needed for parsing.

const MCRegisterInfo & MRI

Instances of this class represent a single low-level machine instruction.

Interface to description of machine instruction set.

MCRegisterInfo base class - We assume that the target defines a static array of MCRegisterDesc object...

Wrapper class representing physical registers. Should be passed by value.

Generic base class for all target subtargets.

StringRef - Represent a constant reference to a string, i.e.

void printMemOffs8(const MCInst *MI, unsigned OpNo, raw_ostream &O)

Definition X86ATTInstPrinter.h:102

void printSrcIdx32(const MCInst *MI, unsigned OpNo, raw_ostream &O)

Definition X86ATTInstPrinter.h:84

static const char * getRegisterName(MCRegister Reg)

void printSrcIdx64(const MCInst *MI, unsigned OpNo, raw_ostream &O)

Definition X86ATTInstPrinter.h:87

void printMemOffs64(const MCInst *MI, unsigned OpNo, raw_ostream &O)

Definition X86ATTInstPrinter.h:111

void printSrcIdx8(const MCInst *MI, unsigned OpNo, raw_ostream &O)

Definition X86ATTInstPrinter.h:78

void printInstruction(const MCInst *MI, uint64_t Address, raw_ostream &OS)

void printSrcIdx(const MCInst *MI, unsigned Op, raw_ostream &O)

void printSTiRegOperand(const MCInst *MI, unsigned OpNo, raw_ostream &OS)

void printDstIdx8(const MCInst *MI, unsigned OpNo, raw_ostream &O)

Definition X86ATTInstPrinter.h:90

bool printAliasInstr(const MCInst *MI, uint64_t Address, raw_ostream &OS)

void printtbytemem(const MCInst *MI, unsigned OpNo, raw_ostream &O)

Definition X86ATTInstPrinter.h:74

void printdwordmem(const MCInst *MI, unsigned OpNo, raw_ostream &O)

Definition X86ATTInstPrinter.h:59

void printSrcIdx16(const MCInst *MI, unsigned OpNo, raw_ostream &O)

Definition X86ATTInstPrinter.h:81

void printDstIdx64(const MCInst *MI, unsigned OpNo, raw_ostream &O)

Definition X86ATTInstPrinter.h:99

void printExprOperand(raw_ostream &OS, const MCExpr &E) override

void printOperand(const MCInst *MI, unsigned OpNo, raw_ostream &OS) override

void printMemOffset(const MCInst *MI, unsigned OpNo, raw_ostream &OS)

void printqwordmem(const MCInst *MI, unsigned OpNo, raw_ostream &O)

Definition X86ATTInstPrinter.h:62

std::pair< const char *, uint64_t > getMnemonic(const MCInst &MI) const override

Returns a pair containing the mnemonic for MI and the number of bits left for further processing by p...

bool printVecCompareInstr(const MCInst *MI, raw_ostream &OS)

void printMemOffs32(const MCInst *MI, unsigned OpNo, raw_ostream &O)

Definition X86ATTInstPrinter.h:108

void printymmwordmem(const MCInst *MI, unsigned OpNo, raw_ostream &O)

Definition X86ATTInstPrinter.h:68

X86ATTInstPrinter(const MCAsmInfo &MAI, const MCInstrInfo &MII, const MCRegisterInfo &MRI)

Definition X86ATTInstPrinter.h:22

void printDstIdx32(const MCInst *MI, unsigned OpNo, raw_ostream &O)

Definition X86ATTInstPrinter.h:96

void printMemReference(const MCInst *MI, unsigned Op, raw_ostream &OS)

void printCustomAliasOperand(const MCInst *MI, uint64_t Address, unsigned OpIdx, unsigned PrintMethodIdx, raw_ostream &O)

void printDstIdx16(const MCInst *MI, unsigned OpNo, raw_ostream &O)

Definition X86ATTInstPrinter.h:93

void printInst(const MCInst *MI, uint64_t Address, StringRef Annot, const MCSubtargetInfo &STI, raw_ostream &OS) override

Print the specified MCInst to the specified raw_ostream.

void printRegName(raw_ostream &OS, MCRegister Reg) override

Print the assembler register name.

void printxmmwordmem(const MCInst *MI, unsigned OpNo, raw_ostream &O)

Definition X86ATTInstPrinter.h:65

void printwordmem(const MCInst *MI, unsigned OpNo, raw_ostream &O)

Definition X86ATTInstPrinter.h:56

void printMemOffs16(const MCInst *MI, unsigned OpNo, raw_ostream &O)

Definition X86ATTInstPrinter.h:105

void printbytemem(const MCInst *MI, unsigned OpNo, raw_ostream &O)

Definition X86ATTInstPrinter.h:53

void printU8Imm(const MCInst *MI, unsigned Op, raw_ostream &OS)

void printzmmwordmem(const MCInst *MI, unsigned OpNo, raw_ostream &O)

Definition X86ATTInstPrinter.h:71

void printDstIdx(const MCInst *MI, unsigned Op, raw_ostream &O)

This class implements an extremely fast bulk output stream that can only output to a stream.

This is an optimization pass for GlobalISel generic memory operations.

DWARFExpression::Operation Op