LLVM 22.0.0git
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/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 24 of file SPIRVSubtarget.cpp.

◆ GET_SUBTARGETINFO_CTOR

#define GET_SUBTARGETINFO_CTOR

Definition at line 27 of file SPIRVSubtarget.cpp.

◆ GET_SUBTARGETINFO_TARGET_DESC

#define GET_SUBTARGETINFO_TARGET_DESC

Definition at line 26 of file SPIRVSubtarget.cpp.

Function Documentation

◆ isAtLeastVer()

Variable Documentation

◆ Extensions

◆ 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