LLVM: lib/Target/SPIRV/SPIRVModuleAnalysis.cpp File Reference (original) (raw)

Go to the source code of this file.

Namespaces
namespace llvm
This is an optimization pass for GlobalISel generic memory operations.
Variables
static cl::opt< bool > SPVDumpDeps ("spv-dump-deps", cl::desc("Dump MIR with SPIR-V dependencies info"), cl::Optional, cl::init(false))
static cl::list< SPIRV::Capability::Capability > AvoidCapabilities ("avoid-spirv-capabilities", cl::desc("SPIR-V capabilities to avoid if there are " "other options enabling a feature"), cl::ZeroOrMore, cl::Hidden, cl::values(clEnumValN(SPIRV::Capability::Shader, "Shader", "SPIR-V Shader capability")))
unsigned OpIndex
unsigned unsigned DefaultVal

ATOM_FLT_REQ_EXT_MSG

| #define ATOM_FLT_REQ_EXT_MSG | ( | | ExtName | ) | | -------------------------------- | - | | ------- | - |

Value:

"The atomic float instruction requires the following SPIR-V " \

"extension: SPV_EXT_shader_atomic_float" ExtName

DEBUG_TYPE

#define DEBUG_TYPE "spirv-module-analysis"

INITIALIZE_PASS()

AvoidCapabilities

cl::list< SPIRV::Capability::Capability > AvoidCapabilities("avoid-spirv-capabilities", cl::desc("SPIR-V capabilities to avoid if there are " "other options enabling a feature"), cl::ZeroOrMore, cl::Hidden, cl::values(clEnumValN(SPIRV::Capability::Shader, "Shader", "SPIR-V Shader capability"))) ( "avoid-spirv-capabilities" , cl::desc("SPIR-V capabilities to avoid if there are " "other options enabling a feature") , cl::ZeroOrMore , cl::Hidden , cl::values(clEnumValN(SPIRV::Capability::Shader, "Shader", "SPIR-V Shader capability")) ) static

DefaultVal

OpIndex

SPVDumpDeps