Thanks to visit codestin.com
Credit goes to llvm.org

LLVM 22.0.0git
SPIRVBaseInfo.h File Reference
#include "llvm/ADT/SmallVector.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/Support/VersionTuple.h"
#include <string>
#include "SPIRVGenTables.inc"

Go to the source code of this file.

Classes

struct  llvm::SPIRV::ExtendedBuiltin

Namespaces

namespace  llvm
 This is an optimization pass for GlobalISel generic memory operations.
namespace  llvm::SPIRV
namespace  llvm::SPIRV::OperandCategory
namespace  llvm::SPIRV::Extension
namespace  llvm::SPIRV::Capability
namespace  llvm::SPIRV::Environment
namespace  llvm::SPIRV::SourceLanguage
namespace  llvm::SPIRV::AddressingModel
namespace  llvm::SPIRV::ExecutionModel
namespace  llvm::SPIRV::MemoryModel
namespace  llvm::SPIRV::MatrixMultiplyAccumulateOperands
namespace  llvm::SPIRV::ExecutionMode
namespace  llvm::SPIRV::StorageClass
namespace  llvm::SPIRV::Dim
namespace  llvm::SPIRV::SamplerAddressingMode
namespace  llvm::SPIRV::SamplerFilterMode
namespace  llvm::SPIRV::ImageFormat
namespace  llvm::SPIRV::ImageChannelOrder
namespace  llvm::SPIRV::ImageChannelDataType
namespace  llvm::SPIRV::ImageOperand
namespace  llvm::SPIRV::FPFastMathMode
namespace  llvm::SPIRV::FPRoundingMode
namespace  llvm::SPIRV::LinkageType
namespace  llvm::SPIRV::AccessQualifier
namespace  llvm::SPIRV::FunctionParameterAttribute
namespace  llvm::SPIRV::Decoration
namespace  llvm::SPIRV::BuiltIn
namespace  llvm::SPIRV::SelectionControl
namespace  llvm::SPIRV::LoopControl
namespace  llvm::SPIRV::FunctionControl
namespace  llvm::SPIRV::MemorySemantics
namespace  llvm::SPIRV::MemoryOperand
namespace  llvm::SPIRV::Scope
namespace  llvm::SPIRV::GroupOperation
namespace  llvm::SPIRV::KernelEnqueueFlags
namespace  llvm::SPIRV::KernelProfilingInfo
namespace  llvm::SPIRV::InstructionSet
namespace  llvm::SPIRV::OpenCLExtInst
namespace  llvm::SPIRV::GLSLExtInst
namespace  llvm::SPIRV::NonSemanticExtInst
namespace  llvm::SPIRV::Opcode
namespace  llvm::SPIRV::CooperativeMatrixLayout
namespace  llvm::SPIRV::CooperativeMatrixOperands
namespace  llvm::SPIRV::SpecConstantOpOperands
namespace  llvm::SPIRV::FPEncoding

Macros

#define GET_OperandCategory_DECL
#define GET_Extension_DECL
#define GET_Capability_DECL
#define GET_Environment_DECL
#define GET_SourceLanguage_DECL
#define GET_AddressingModel_DECL
#define GET_ExecutionModel_DECL
#define GET_MemoryModel_DECL
#define GET_MatrixMultiplyAccumulateOperands_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_NonSemanticExtInst_DECL
#define GET_Opcode_DECL
#define GET_CooperativeMatrixLayout_DECL
#define GET_CooperativeMatrixOperands_DECL
#define GET_SpecConstantOpOperands_DECL
#define GET_FPEncoding_DECL

Typedefs

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

Enumerations

enum  llvm::SPIRV::InstFlags { llvm::SPIRV::INST_PRINTER_WIDTH16 = 1 }

Functions

std::string llvm::getSymbolicOperandMnemonic (SPIRV::OperandCategory::OperandCategory Category, int32_t Value)
VersionTuple llvm::getSymbolicOperandMinVersion (SPIRV::OperandCategory::OperandCategory Category, uint32_t Value)
VersionTuple llvm::getSymbolicOperandMaxVersion (SPIRV::OperandCategory::OperandCategory Category, uint32_t Value)
CapabilityList llvm::getSymbolicOperandCapabilities (SPIRV::OperandCategory::OperandCategory Category, uint32_t Value)
EnvironmentList llvm::getSymbolicOperandAllowedEnvironments (SPIRV::OperandCategory::OperandCategory Category, uint32_t Value)
CapabilityList llvm::getCapabilitiesEnabledByExtension (SPIRV::Extension::Extension Extension)
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 131 of file SPIRVBaseInfo.h.

◆ GET_AddressingModel_DECL

#define GET_AddressingModel_DECL

Definition at line 51 of file SPIRVBaseInfo.h.

◆ GET_BuiltIn_DECL

#define GET_BuiltIn_DECL

Definition at line 146 of file SPIRVBaseInfo.h.

◆ GET_Capability_DECL

#define GET_Capability_DECL

Definition at line 36 of file SPIRVBaseInfo.h.

◆ GET_CooperativeMatrixLayout_DECL

#define GET_CooperativeMatrixLayout_DECL

Definition at line 221 of file SPIRVBaseInfo.h.

◆ GET_CooperativeMatrixOperands_DECL

#define GET_CooperativeMatrixOperands_DECL

Definition at line 226 of file SPIRVBaseInfo.h.

◆ GET_Decoration_DECL

#define GET_Decoration_DECL

Definition at line 141 of file SPIRVBaseInfo.h.

◆ GET_Dim_DECL

#define GET_Dim_DECL

Definition at line 81 of file SPIRVBaseInfo.h.

◆ GET_Environment_DECL

#define GET_Environment_DECL

Definition at line 41 of file SPIRVBaseInfo.h.

◆ GET_ExecutionMode_DECL

#define GET_ExecutionMode_DECL

Definition at line 71 of file SPIRVBaseInfo.h.

◆ GET_ExecutionModel_DECL

#define GET_ExecutionModel_DECL

Definition at line 56 of file SPIRVBaseInfo.h.

◆ GET_Extension_DECL

#define GET_Extension_DECL

Definition at line 31 of file SPIRVBaseInfo.h.

◆ GET_FPEncoding_DECL

#define GET_FPEncoding_DECL

Definition at line 236 of file SPIRVBaseInfo.h.

◆ GET_FPFastMathMode_DECL

#define GET_FPFastMathMode_DECL

Definition at line 116 of file SPIRVBaseInfo.h.

◆ GET_FPRoundingMode_DECL

#define GET_FPRoundingMode_DECL

Definition at line 121 of file SPIRVBaseInfo.h.

◆ GET_FunctionControl_DECL

#define GET_FunctionControl_DECL

Definition at line 161 of file SPIRVBaseInfo.h.

◆ GET_FunctionParameterAttribute_DECL

#define GET_FunctionParameterAttribute_DECL

Definition at line 136 of file SPIRVBaseInfo.h.

◆ GET_GLSLExtInst_DECL

#define GET_GLSLExtInst_DECL

Definition at line 206 of file SPIRVBaseInfo.h.

◆ GET_GroupOperation_DECL

#define GET_GroupOperation_DECL

Definition at line 181 of file SPIRVBaseInfo.h.

◆ GET_ImageChannelDataType_DECL

#define GET_ImageChannelDataType_DECL

Definition at line 106 of file SPIRVBaseInfo.h.

◆ GET_ImageChannelOrder_DECL

#define GET_ImageChannelOrder_DECL

Definition at line 101 of file SPIRVBaseInfo.h.

◆ GET_ImageFormat_DECL

#define GET_ImageFormat_DECL

Definition at line 96 of file SPIRVBaseInfo.h.

◆ GET_ImageOperand_DECL

#define GET_ImageOperand_DECL

Definition at line 111 of file SPIRVBaseInfo.h.

◆ GET_InstructionSet_DECL

#define GET_InstructionSet_DECL

Definition at line 196 of file SPIRVBaseInfo.h.

◆ GET_KernelEnqueueFlags_DECL

#define GET_KernelEnqueueFlags_DECL

Definition at line 186 of file SPIRVBaseInfo.h.

◆ GET_KernelProfilingInfo_DECL

#define GET_KernelProfilingInfo_DECL

Definition at line 191 of file SPIRVBaseInfo.h.

◆ GET_LinkageType_DECL

#define GET_LinkageType_DECL

Definition at line 126 of file SPIRVBaseInfo.h.

◆ GET_LoopControl_DECL

#define GET_LoopControl_DECL

Definition at line 156 of file SPIRVBaseInfo.h.

◆ GET_MatrixMultiplyAccumulateOperands_DECL

#define GET_MatrixMultiplyAccumulateOperands_DECL

Definition at line 66 of file SPIRVBaseInfo.h.

◆ GET_MemoryModel_DECL

#define GET_MemoryModel_DECL

Definition at line 61 of file SPIRVBaseInfo.h.

◆ GET_MemoryOperand_DECL

#define GET_MemoryOperand_DECL

Definition at line 171 of file SPIRVBaseInfo.h.

◆ GET_MemorySemantics_DECL

#define GET_MemorySemantics_DECL

Definition at line 166 of file SPIRVBaseInfo.h.

◆ GET_NonSemanticExtInst_DECL

#define GET_NonSemanticExtInst_DECL

Definition at line 211 of file SPIRVBaseInfo.h.

◆ GET_Opcode_DECL

#define GET_Opcode_DECL

Definition at line 216 of file SPIRVBaseInfo.h.

◆ GET_OpenCLExtInst_DECL

#define GET_OpenCLExtInst_DECL

Definition at line 201 of file SPIRVBaseInfo.h.

◆ GET_OperandCategory_DECL

#define GET_OperandCategory_DECL

Definition at line 26 of file SPIRVBaseInfo.h.

◆ GET_SamplerAddressingMode_DECL

#define GET_SamplerAddressingMode_DECL

Definition at line 86 of file SPIRVBaseInfo.h.

◆ GET_SamplerFilterMode_DECL

#define GET_SamplerFilterMode_DECL

Definition at line 91 of file SPIRVBaseInfo.h.

◆ GET_Scope_DECL

#define GET_Scope_DECL

Definition at line 176 of file SPIRVBaseInfo.h.

◆ GET_SelectionControl_DECL

#define GET_SelectionControl_DECL

Definition at line 151 of file SPIRVBaseInfo.h.

◆ GET_SourceLanguage_DECL

#define GET_SourceLanguage_DECL

Definition at line 46 of file SPIRVBaseInfo.h.

◆ GET_SpecConstantOpOperands_DECL

#define GET_SpecConstantOpOperands_DECL

Definition at line 231 of file SPIRVBaseInfo.h.

◆ GET_StorageClass_DECL

#define GET_StorageClass_DECL

Definition at line 76 of file SPIRVBaseInfo.h.