LLVM 19.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"

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
 Lowers a builtin funtion call using the provided DemangledCall skeleton and external instruction Set.
 
namespace  llvm::SPIRV::OperandCategory
 
namespace  llvm::SPIRV::Extension
 
namespace  llvm::SPIRV::Capability
 
namespace  llvm::SPIRV::SourceLanguage
 
namespace  llvm::SPIRV::AddressingModel
 
namespace  llvm::SPIRV::ExecutionModel
 
namespace  llvm::SPIRV::MemoryModel
 
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::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)
 
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 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.