14#ifndef LLVM_LIB_TARGET_AMDGPU_R600ASMPRINTER_H
15#define LLVM_LIB_TARGET_AMDGPU_R600ASMPRINTER_H
25 std::unique_ptr<MCStreamer> Streamer);
42 std::unique_ptr<MCStreamer> &&Streamer);
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)