LLVM 18.0.0git
Classes | Namespaces | Macros | Functions
SPIRVBaseInfo.cpp File Reference
#include "SPIRVBaseInfo.h"
#include "llvm/ADT/ArrayRef.h"
#include "llvm/ADT/StringRef.h"
#include "SPIRVGenTables.inc"

Go to the source code of this file.

Classes

struct  llvm::SPIRV::SymbolicOperand
 
struct  llvm::SPIRV::ExtensionEntry
 
struct  llvm::SPIRV::CapabilityEntry
 

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.
 

Macros

#define GET_SymbolicOperands_DECL
 
#define GET_SymbolicOperands_IMPL
 
#define GET_ExtensionEntries_DECL
 
#define GET_ExtensionEntries_IMPL
 
#define GET_CapabilityEntries_DECL
 
#define GET_CapabilityEntries_IMPL
 
#define GET_ExtendedBuiltins_DECL
 
#define GET_ExtendedBuiltins_IMPL
 

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)
 

Macro Definition Documentation

◆ GET_CapabilityEntries_DECL

#define GET_CapabilityEntries_DECL

Definition at line 49 of file SPIRVBaseInfo.cpp.

◆ GET_CapabilityEntries_IMPL

#define GET_CapabilityEntries_IMPL

Definition at line 50 of file SPIRVBaseInfo.cpp.

◆ GET_ExtendedBuiltins_DECL

#define GET_ExtendedBuiltins_DECL

Definition at line 51 of file SPIRVBaseInfo.cpp.

◆ GET_ExtendedBuiltins_IMPL

#define GET_ExtendedBuiltins_IMPL

Definition at line 52 of file SPIRVBaseInfo.cpp.

◆ GET_ExtensionEntries_DECL

#define GET_ExtensionEntries_DECL

Definition at line 47 of file SPIRVBaseInfo.cpp.

◆ GET_ExtensionEntries_IMPL

#define GET_ExtensionEntries_IMPL

Definition at line 48 of file SPIRVBaseInfo.cpp.

◆ GET_SymbolicOperands_DECL

#define GET_SymbolicOperands_DECL

Definition at line 45 of file SPIRVBaseInfo.cpp.

◆ GET_SymbolicOperands_IMPL

#define GET_SymbolicOperands_IMPL

Definition at line 46 of file SPIRVBaseInfo.cpp.