LLVM  16.0.0git
Classes | Namespaces | Macros | Typedefs | Functions
SPIRVBaseInfo.h File Reference
#include "llvm/ADT/SmallVector.h"
#include "llvm/ADT/StringRef.h"
#include <string>
#include "SPIRVGenTables.inc"
Include dependency graph for SPIRVBaseInfo.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  llvm::SPIRV::ExtendedBuiltin
 

Namespaces

 llvm
 This is an optimization pass for GlobalISel generic memory operations.
 
 llvm::SPIRV
 Lowers a builtin funtion call using the provided DemangledCall skeleton and external instruction Set.
 
 llvm::SPIRV::OperandCategory
 
 llvm::SPIRV::Extension
 
 llvm::SPIRV::Capability
 
 llvm::SPIRV::SourceLanguage
 
 llvm::SPIRV::AddressingModel
 
 llvm::SPIRV::ExecutionModel
 
 llvm::SPIRV::MemoryModel
 
 llvm::SPIRV::ExecutionMode
 
 llvm::SPIRV::StorageClass
 
 llvm::SPIRV::Dim
 
 llvm::SPIRV::SamplerAddressingMode
 
 llvm::SPIRV::SamplerFilterMode
 
 llvm::SPIRV::ImageFormat
 
 llvm::SPIRV::ImageChannelOrder
 
 llvm::SPIRV::ImageChannelDataType
 
 llvm::SPIRV::ImageOperand
 
 llvm::SPIRV::FPFastMathMode
 
 llvm::SPIRV::FPRoundingMode
 
 llvm::SPIRV::LinkageType
 
 llvm::SPIRV::AccessQualifier
 
 llvm::SPIRV::FunctionParameterAttribute
 
 llvm::SPIRV::Decoration
 
 llvm::SPIRV::BuiltIn
 
 llvm::SPIRV::SelectionControl
 
 llvm::SPIRV::LoopControl
 
 llvm::SPIRV::FunctionControl
 
 llvm::SPIRV::MemorySemantics
 
 llvm::SPIRV::MemoryOperand
 
 llvm::SPIRV::Scope
 
 llvm::SPIRV::GroupOperation
 
 llvm::SPIRV::KernelEnqueueFlags
 
 llvm::SPIRV::KernelProfilingInfo
 
 llvm::SPIRV::InstructionSet
 
 llvm::SPIRV::OpenCLExtInst
 
 llvm::SPIRV::GLSLExtInst
 
 llvm::SPIRV::Opcode
 

Macros

#define GET_OperandCategory_DECL
 
#define GET_Extension_DECL
 
#define GET_Capability_DECL
 
#define GET_SourceLanguage_DECL
 
#define GET_AddressingModel_DECL
 
#define GET_ExecutionModel_DECL
 
#define GET_MemoryModel_DECL
 
#define GET_ExecutionMode_DECL
 
#define GET_StorageClass_DECL
 
#define GET_Dim_DECL
 
#define GET_SamplerAddressingMode_DECL
 
#define GET_SamplerFilterMode_DECL
 
#define GET_ImageFormat_DECL
 
#define GET_ImageChannelOrder_DECL
 
#define GET_ImageChannelDataType_DECL
 
#define GET_ImageOperand_DECL
 
#define GET_FPFastMathMode_DECL
 
#define GET_FPRoundingMode_DECL
 
#define GET_LinkageType_DECL
 
#define GET_AccessQualifier_DECL
 
#define GET_FunctionParameterAttribute_DECL
 
#define GET_Decoration_DECL
 
#define GET_BuiltIn_DECL
 
#define GET_SelectionControl_DECL
 
#define GET_LoopControl_DECL
 
#define GET_FunctionControl_DECL
 
#define GET_MemorySemantics_DECL
 
#define GET_MemoryOperand_DECL
 
#define GET_Scope_DECL
 
#define GET_GroupOperation_DECL
 
#define GET_KernelEnqueueFlags_DECL
 
#define GET_KernelProfilingInfo_DECL
 
#define GET_InstructionSet_DECL
 
#define GET_OpenCLExtInst_DECL
 
#define GET_GLSLExtInst_DECL
 
#define GET_Opcode_DECL
 

Typedefs

using llvm::CapabilityList = SmallVector< SPIRV::Capability::Capability, 8 >
 
using llvm::ExtensionList = SmallVector< SPIRV::Extension::Extension, 8 >
 

Functions

std::string llvm::getSymbolicOperandMnemonic (SPIRV::OperandCategory::OperandCategory Category, int32_t Value)
 
uint32_t llvm::getSymbolicOperandMinVersion (SPIRV::OperandCategory::OperandCategory Category, uint32_t Value)
 
uint32_t llvm::getSymbolicOperandMaxVersion (SPIRV::OperandCategory::OperandCategory Category, uint32_t Value)
 
CapabilityList llvm::getSymbolicOperandCapabilities (SPIRV::OperandCategory::OperandCategory Category, uint32_t Value)
 
ExtensionList llvm::getSymbolicOperandExtensions (SPIRV::OperandCategory::OperandCategory Category, uint32_t Value)
 
std::string llvm::getLinkStringForBuiltIn (SPIRV::BuiltIn::BuiltIn BuiltInValue)
 
bool llvm::getSpirvBuiltInIdByName (llvm::StringRef Name, SPIRV::BuiltIn::BuiltIn &BI)
 
std::string llvm::getExtInstSetName (SPIRV::InstructionSet::InstructionSet Set)
 
SPIRV::InstructionSet::InstructionSet llvm::getExtInstSetFromString (std::string SetName)
 
std::string llvm::getExtInstName (SPIRV::InstructionSet::InstructionSet Set, uint32_t InstructionNumber)
 
template<class InstType >
std::string llvm::getSPIRVStringOperand (const InstType &MI, unsigned StartIndex)
 

Macro Definition Documentation

◆ GET_AccessQualifier_DECL

#define GET_AccessQualifier_DECL

Definition at line 120 of file SPIRVBaseInfo.h.

◆ GET_AddressingModel_DECL

#define GET_AddressingModel_DECL

Definition at line 45 of file SPIRVBaseInfo.h.

◆ GET_BuiltIn_DECL

#define GET_BuiltIn_DECL

Definition at line 135 of file SPIRVBaseInfo.h.

◆ GET_Capability_DECL

#define GET_Capability_DECL

Definition at line 35 of file SPIRVBaseInfo.h.

◆ GET_Decoration_DECL

#define GET_Decoration_DECL

Definition at line 130 of file SPIRVBaseInfo.h.

◆ GET_Dim_DECL

#define GET_Dim_DECL

Definition at line 70 of file SPIRVBaseInfo.h.

◆ GET_ExecutionMode_DECL

#define GET_ExecutionMode_DECL

Definition at line 60 of file SPIRVBaseInfo.h.

◆ GET_ExecutionModel_DECL

#define GET_ExecutionModel_DECL

Definition at line 50 of file SPIRVBaseInfo.h.

◆ GET_Extension_DECL

#define GET_Extension_DECL

Definition at line 30 of file SPIRVBaseInfo.h.

◆ GET_FPFastMathMode_DECL

#define GET_FPFastMathMode_DECL

Definition at line 105 of file SPIRVBaseInfo.h.

◆ GET_FPRoundingMode_DECL

#define GET_FPRoundingMode_DECL

Definition at line 110 of file SPIRVBaseInfo.h.

◆ GET_FunctionControl_DECL

#define GET_FunctionControl_DECL

Definition at line 150 of file SPIRVBaseInfo.h.

◆ GET_FunctionParameterAttribute_DECL

#define GET_FunctionParameterAttribute_DECL

Definition at line 125 of file SPIRVBaseInfo.h.

◆ GET_GLSLExtInst_DECL

#define GET_GLSLExtInst_DECL

Definition at line 195 of file SPIRVBaseInfo.h.

◆ GET_GroupOperation_DECL

#define GET_GroupOperation_DECL

Definition at line 170 of file SPIRVBaseInfo.h.

◆ GET_ImageChannelDataType_DECL

#define GET_ImageChannelDataType_DECL

Definition at line 95 of file SPIRVBaseInfo.h.

◆ GET_ImageChannelOrder_DECL

#define GET_ImageChannelOrder_DECL

Definition at line 90 of file SPIRVBaseInfo.h.

◆ GET_ImageFormat_DECL

#define GET_ImageFormat_DECL

Definition at line 85 of file SPIRVBaseInfo.h.

◆ GET_ImageOperand_DECL

#define GET_ImageOperand_DECL

Definition at line 100 of file SPIRVBaseInfo.h.

◆ GET_InstructionSet_DECL

#define GET_InstructionSet_DECL

Definition at line 185 of file SPIRVBaseInfo.h.

◆ GET_KernelEnqueueFlags_DECL

#define GET_KernelEnqueueFlags_DECL

Definition at line 175 of file SPIRVBaseInfo.h.

◆ GET_KernelProfilingInfo_DECL

#define GET_KernelProfilingInfo_DECL

Definition at line 180 of file SPIRVBaseInfo.h.

◆ GET_LinkageType_DECL

#define GET_LinkageType_DECL

Definition at line 115 of file SPIRVBaseInfo.h.

◆ GET_LoopControl_DECL

#define GET_LoopControl_DECL

Definition at line 145 of file SPIRVBaseInfo.h.

◆ GET_MemoryModel_DECL

#define GET_MemoryModel_DECL

Definition at line 55 of file SPIRVBaseInfo.h.

◆ GET_MemoryOperand_DECL

#define GET_MemoryOperand_DECL

Definition at line 160 of file SPIRVBaseInfo.h.

◆ GET_MemorySemantics_DECL

#define GET_MemorySemantics_DECL

Definition at line 155 of file SPIRVBaseInfo.h.

◆ GET_Opcode_DECL

#define GET_Opcode_DECL

Definition at line 200 of file SPIRVBaseInfo.h.

◆ GET_OpenCLExtInst_DECL

#define GET_OpenCLExtInst_DECL

Definition at line 190 of file SPIRVBaseInfo.h.

◆ GET_OperandCategory_DECL

#define GET_OperandCategory_DECL

Definition at line 25 of file SPIRVBaseInfo.h.

◆ GET_SamplerAddressingMode_DECL

#define GET_SamplerAddressingMode_DECL

Definition at line 75 of file SPIRVBaseInfo.h.

◆ GET_SamplerFilterMode_DECL

#define GET_SamplerFilterMode_DECL

Definition at line 80 of file SPIRVBaseInfo.h.

◆ GET_Scope_DECL

#define GET_Scope_DECL

Definition at line 165 of file SPIRVBaseInfo.h.

◆ GET_SelectionControl_DECL

#define GET_SelectionControl_DECL

Definition at line 140 of file SPIRVBaseInfo.h.

◆ GET_SourceLanguage_DECL

#define GET_SourceLanguage_DECL

Definition at line 40 of file SPIRVBaseInfo.h.

◆ GET_StorageClass_DECL

#define GET_StorageClass_DECL

Definition at line 65 of file SPIRVBaseInfo.h.