LLVM: lib/Target/AMDGPU/R600AsmPrinter.h Source File (original) (raw)
Go to the documentation of this file.
1
2
3
4
5
6
7
8
9
10
11
12
13
14#ifndef LLVM_LIB_TARGET_AMDGPU_R600ASMPRINTER_H
15#define LLVM_LIB_TARGET_AMDGPU_R600ASMPRINTER_H
16
18
19namespace llvm {
20
22
23public:
25 std::unique_ptr Streamer);
28
30
31
32
35
36private:
38};
39
42 std::unique_ptr &&Streamer);
43
44}
45
46#endif
This class is intended to be used as a driving class for all asm writers.
TargetMachine & TM
Target machine description.
MachineFunction * MF
The current machine function.
AsmPrinter(TargetMachine &TM, std::unique_ptr< MCStreamer > Streamer, char &ID=AsmPrinter::ID)
This is an important base class in LLVM.
Base class for the full range of assembler expressions which are needed for parsing.
Representation of each machine instruction.
bool runOnMachineFunction(MachineFunction &MF) override
Emit the specified function out to the OutStreamer.
const MCExpr * lowerConstant(const Constant *CV, const Constant *BaseCV, uint64_t Offset) override
Lower the specified LLVM Constant to an MCExpr.
StringRef getPassName() const override
getPassName - Return a nice clean name for a pass.
void emitInstruction(const MachineInstr *MI) override
Implemented in AMDGPUMCInstLower.cpp.
R600AsmPrinter(TargetMachine &TM, std::unique_ptr< MCStreamer > Streamer)
StringRef - Represent a constant reference to a string, i.e.
Primary interface to the complete machine description for the target machine.
This is an optimization pass for GlobalISel generic memory operations.
AsmPrinter * createR600AsmPrinterPass(TargetMachine &TM, std::unique_ptr< MCStreamer > &&Streamer)