LLVM 20.0.0git
Macros | Functions | Variables
SPIRVSubtarget.cpp File Reference
#include "SPIRVSubtarget.h"
#include "SPIRV.h"
#include "SPIRVCommandLine.h"
#include "SPIRVGlobalRegistry.h"
#include "SPIRVLegalizerInfo.h"
#include "SPIRVRegisterBankInfo.h"
#include "SPIRVTargetMachine.h"
#include "llvm/MC/TargetRegistry.h"
#include "llvm/TargetParser/Host.h"
#include "SPIRVGenSubtargetInfo.inc"

Go to the source code of this file.

Macros

#define DEBUG_TYPE   "spirv-subtarget"
 
#define GET_SUBTARGETINFO_TARGET_DESC
 
#define GET_SUBTARGETINFO_CTOR
 

Functions

static bool isAtLeastVer (VersionTuple Target, VersionTuple VerToCompareTo)
 

Variables

static cl::opt< boolSPVTranslatorCompat ("translator-compatibility-mode", cl::desc("SPIR-V Translator compatibility mode"), cl::Optional, cl::init(false))
 
static cl::opt< std::set< SPIRV::Extension::Extension >, false, SPIRVExtensionsParserExtensions ("spirv-ext", cl::desc("Specify list of enabled SPIR-V extensions"))
 

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "spirv-subtarget"

Definition at line 25 of file SPIRVSubtarget.cpp.

◆ GET_SUBTARGETINFO_CTOR

#define GET_SUBTARGETINFO_CTOR

Definition at line 28 of file SPIRVSubtarget.cpp.

◆ GET_SUBTARGETINFO_TARGET_DESC

#define GET_SUBTARGETINFO_TARGET_DESC

Definition at line 27 of file SPIRVSubtarget.cpp.

Function Documentation

◆ isAtLeastVer()

static bool isAtLeastVer ( VersionTuple  Target,
VersionTuple  VerToCompareTo 
)
static

Variable Documentation

◆ Extensions

cl::opt< std::set< SPIRV::Extension::Extension >, false, SPIRVExtensionsParser > Extensions("spirv-ext", cl::desc("Specify list of enabled SPIR-V extensions")) ( "spirv-ext"  ,
cl::desc("Specify list of enabled SPIR-V extensions")   
)
static

◆ SPVTranslatorCompat

cl::opt< bool > SPVTranslatorCompat("translator-compatibility-mode", cl::desc("SPIR-V Translator compatibility mode"), cl::Optional, cl::init(false)) ( "translator-compatibility-mode"  ,
cl::desc("SPIR-V Translator compatibility mode")  ,
cl::Optional  ,
cl::init(false)   
)
static