LLVM 22.0.0git
Classes | Namespaces | Typedefs | Enumerations | Functions | Variables
HLSLRootSignature.h File Reference
#include "llvm/BinaryFormat/DXContainer.h"
#include "llvm/Support/Compiler.h"
#include "llvm/Support/DXILABI.h"
#include "llvm/Support/raw_ostream.h"
#include <limits>
#include <variant>

Go to the source code of this file.

Classes

struct  llvm::hlsl::rootsig::Register
 
struct  llvm::hlsl::rootsig::RootConstants
 
struct  llvm::hlsl::rootsig::RootDescriptor
 
struct  llvm::hlsl::rootsig::DescriptorTable
 
struct  llvm::hlsl::rootsig::DescriptorTableClause
 
struct  llvm::hlsl::rootsig::StaticSampler
 

Namespaces

namespace  llvm
 This is an optimization pass for GlobalISel generic memory operations.
 
namespace  llvm::hlsl
 
namespace  llvm::hlsl::rootsig
 

Typedefs

using llvm::hlsl::rootsig::RootElement = std::variant< dxbc::RootFlags, RootConstants, RootDescriptor, DescriptorTable, DescriptorTableClause, StaticSampler >
 Models RootElement : RootFlags | RootConstants | RootParam | DescriptorTable | DescriptorTableClause | StaticSampler.
 

Enumerations

enum class  llvm::hlsl::rootsig::RegisterType { llvm::hlsl::rootsig::BReg , llvm::hlsl::rootsig::TReg , llvm::hlsl::rootsig::UReg , llvm::hlsl::rootsig::SReg }
 

Functions

LLVM_ABI raw_ostream & llvm::hlsl::rootsig::operator<< (raw_ostream &OS, const dxbc::RootFlags &Flags)
 The following contains the serialization interface for root elements.
 
LLVM_ABI raw_ostream & llvm::hlsl::rootsig::operator<< (raw_ostream &OS, const RootConstants &Constants)
 
LLVM_ABI raw_ostream & llvm::hlsl::rootsig::operator<< (raw_ostream &OS, const DescriptorTableClause &Clause)
 
LLVM_ABI raw_ostream & llvm::hlsl::rootsig::operator<< (raw_ostream &OS, const DescriptorTable &Table)
 
LLVM_ABI raw_ostream & llvm::hlsl::rootsig::operator<< (raw_ostream &OS, const RootDescriptor &Descriptor)
 
LLVM_ABI raw_ostream & llvm::hlsl::rootsig::operator<< (raw_ostream &OS, const StaticSampler &StaticSampler)
 
LLVM_ABI raw_ostream & llvm::hlsl::rootsig::operator<< (raw_ostream &OS, const RootElement &Element)
 
LLVM_ABI void llvm::hlsl::rootsig::dumpRootElements (raw_ostream &OS, ArrayRef< RootElement > Elements)
 

Variables

static const uint32_t llvm::hlsl::rootsig::NumDescriptorsUnbounded = 0xffffffff
 
static const uint32_t llvm::hlsl::rootsig::DescriptorTableOffsetAppend = 0xffffffff