LLVM: lib/Target/Xtensa/XtensaAsmPrinter.h Source File (original) (raw)

1

2

3

4

5

6

7

8

9

10

11

12

13#ifndef LLVM_LIB_TARGET_XTENSA_XTENSAASMPRINTER_H

14#define LLVM_LIB_TARGET_XTENSA_XTENSAASMPRINTER_H

15

20

21namespace llvm {

27

30

31public:

32 static char ID;

33

35 std::unique_ptr Streamer)

37

39 void emitInstruction(const MachineInstr *MI) override;

40

42

44

46

48

49 bool PrintAsmOperand(const MachineInstr *MI, unsigned OpNo,

50 const char *ExtraCode, raw_ostream &O) override;

51

52 bool PrintAsmMemoryOperand(const MachineInstr *MI, unsigned OpNo,

53 const char *ExtraCode, raw_ostream &OS) override;

54

56

58

61 unsigned Offset) const;

62

63

65

66

68};

69}

70

71#endif

#define LLVM_LIBRARY_VISIBILITY

static void emitConstantPool(MCStreamer &Streamer, MCSection *Section, ConstantPool &CP)

This file declares the MachineConstantPool class which is an abstract constant pool to keep track of ...

static bool printOperand(raw_ostream &OS, const SelectionDAG *G, const SDValue Value)

static MCOperand LowerSymbolOperand(const MachineInstr *MI, const MachineOperand &MO, const MCSymbol *Symbol, AsmPrinter &AP)

TargetMachine & TM

Target machine description.

AsmPrinter(TargetMachine &TM, std::unique_ptr< MCStreamer > Streamer, char &ID=AsmPrinter::ID)

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

Instances of this class represent operands of the MCInst class.

Streaming machine code generation interface.

Generic base class for all target subtargets.

MCSymbol - Instances of this class represent a symbol name in the MC file, and MCSymbols are created ...

This class is a data container for one entry in a MachineConstantPool.

Abstract base class for all machine specific constantpool value subclasses.

Representation of each machine instruction.

MachineOperand class - Representation of each machine instruction operand.

A Module instance is used to store all the information related to an LLVM module.

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

Primary interface to the complete machine description for the target machine.

StringRef getPassName() const override

getPassName - Return a nice clean name for a pass.

Definition XtensaAsmPrinter.h:38

XtensaAsmPrinter(TargetMachine &TM, std::unique_ptr< MCStreamer > Streamer)

Definition XtensaAsmPrinter.h:34

static char ID

Definition XtensaAsmPrinter.h:32

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.

OutputIt move(R &&Range, OutputIt Out)

Provide wrappers to std::move which take ranges instead of having to pass begin/end explicitly.

Implement std::hash so that hash_code can be used in STL containers.