9#ifndef LLVM_LIB_TARGET_NVPTX_MCTARGETDESC_NVPTXTARGETSTREAMER_H
10#define LLVM_LIB_TARGET_NVPTX_MCTARGETDESC_NVPTXTARGETSTREAMER_H
22 bool HasSections =
false;
81 bool HasDebug)
override;
Base class for the full range of assembler expressions which are needed for parsing.
Instances of this class represent a uniqued identifier for a section in the current translation unit.
Streaming machine code generation interface.
MCTargetStreamer(MCStreamer &S)
void emitBanner() override
Emit the banner which specifies details of PTX generator.
void emitVersionDirective(unsigned PTXVersion) override
Emit the PTX ISA version number.
void emitTargetDirective(StringRef Target, bool TexModeIndependent, bool HasDebug) override
Emit architecture and platform target.
~NVPTXAsmTargetStreamer() override
void emitAddressSizeDirective(unsigned AddrSize) override
Emit address size used for this PTX module.
NVPTXAsmTargetStreamer(MCStreamer &S, formatted_raw_ostream &OS)
void emitDwarfFileDirective(StringRef Directive) override
Record DWARF file directives for later output.
virtual void emitTargetDirective(StringRef Target, bool TexModeIndependent, bool HasDebug)
Emit architecture and platform target.
virtual void emitVersionDirective(unsigned PTXVersion)
Emit the PTX ISA version number.
virtual void emitBanner()
Emit the banner which specifies details of PTX generator.
NVPTXTargetStreamer(MCStreamer &S)
virtual void emitAddressSizeDirective(unsigned AddrSize)
Emit address size used for this PTX module.
void outputDwarfFileDirectives()
Outputs the list of the DWARF '.file' directives to the streamer.
void emitRawBytes(StringRef Data) override
Emit the bytes in Data into the output.
void changeSection(const MCSection *CurSection, MCSection *Section, uint32_t SubSection, raw_ostream &OS) override
Update streamer for a new active section.
~NVPTXTargetStreamer() override
void emitValue(const MCExpr *Value) override
Makes sure that labels are mangled the same way as the actual symbols.
void closeLastSection()
Close last section.
This is a 'vector' (really, a variable-sized array), optimized for the case when the array is small.
StringRef - Represent a constant reference to a string, i.e.
Target - Wrapper for Target specific information.
LLVM Value Representation.
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.
FunctionAddr VTableAddr uintptr_t uintptr_t Data