LLVM 22.0.0git
AMDGPUTargetStreamer.cpp File Reference

Go to the source code of this file.

Macros

#define PRINT_RES_INFO(ARG)
#define PRINT_RES_INFO(ARG)

Variables

static cl::opt< unsignedForceGenericVersion ("amdgpu-force-generic-version", cl::desc("Force a specific generic_v<N> flag to be " "added. For testing purposes only."), cl::ReallyHidden, cl::init(0))

Macro Definition Documentation

◆ PRINT_RES_INFO [1/2]

#define PRINT_RES_INFO ( ARG)
Value:
OS << "\t.set "; \
ARG->print(OS, getContext().getAsmInfo()); \
OS << ", "; \
getContext().getAsmInfo()->printExpr(OS, *ARG->getVariableValue()); \
Streamer.addBlankLine();

Referenced by llvm::AMDGPUTargetAsmStreamer::EmitMCResourceInfo(), and llvm::AMDGPUTargetAsmStreamer::EmitMCResourceMaximums().

◆ PRINT_RES_INFO [2/2]

#define PRINT_RES_INFO ( ARG)
Value:
OS << "\t.set "; \
ARG->print(OS, getContext().getAsmInfo()); \
OS << ", "; \
getContext().getAsmInfo()->printExpr(OS, *ARG->getVariableValue()); \
Streamer.addBlankLine();

Variable Documentation

◆ ForceGenericVersion

cl::opt< unsigned > ForceGenericVersion("amdgpu-force-generic-version", cl::desc("Force a specific generic_v<N> flag to be " "added. For testing purposes only."), cl::ReallyHidden, cl::init(0)) ( "amdgpu-force-generic-version" ,
cl::desc("Force a specific generic_v<N> flag to be " "added. For testing purposes only.") ,
cl::ReallyHidden ,
cl::init(0)  )
static