LLVM 24.0.0git
SPIRVTargetMachine.cpp File Reference

Go to the source code of this file.

Functions

LLVM_ABI LLVM_EXTERNAL_VISIBILITY void LLVMInitializeSPIRVTarget ()
static Reloc::Model getEffectiveRelocModel (std::optional< Reloc::Model > RM)

Variables

static cl::opt< boolSPVEnableNonSemanticDI ("spv-emit-nonsemantic-debug-info", cl::desc("Deprecated. Use -g to emit SPIR-V NonSemantic.Shader.DebugInfo " "instructions"), cl::Optional, cl::init(false))

Function Documentation

◆ getEffectiveRelocModel()

Reloc::Model getEffectiveRelocModel ( std::optional< Reloc::Model > RM)
static

Definition at line 70 of file SPIRVTargetMachine.cpp.

References llvm::Reloc::PIC_.

◆ LLVMInitializeSPIRVTarget()

Variable Documentation

◆ SPVEnableNonSemanticDI

cl::opt< bool > SPVEnableNonSemanticDI("spv-emit-nonsemantic-debug-info", cl::desc("Deprecated. Use -g to emit SPIR-V NonSemantic.Shader.DebugInfo " "instructions"), cl::Optional, cl::init(false)) ( "spv-emit-nonsemantic-debug-info" ,
cl::desc("Deprecated. Use -g to emit SPIR-V NonSemantic.Shader.DebugInfo " "instructions") ,
cl::Optional ,
cl::init(false)  )
static