LLVM 20.0.0git
Public Member Functions | List of all members
llvm::dxil::ConstantBuffer Class Reference

#include "Target/DirectX/DXILResource.h"

Inheritance diagram for llvm::dxil::ConstantBuffer:
Inheritance graph
[legend]

Public Member Functions

 ConstantBuffer (uint32_t I, hlsl::FrontendResource R)
 
void setSize (CBufferDataLayout &DL)
 
MDNodewrite () const
 
void print (raw_ostream &O) const
 

Additional Inherited Members

- Protected Member Functions inherited from llvm::dxil::ResourceBase
 ResourceBase (uint32_t I, hlsl::FrontendResource R)
 
void write (LLVMContext &Ctx, MutableArrayRef< Metadata * > Entries) const
 
void print (raw_ostream &O, StringRef IDPrefix, StringRef BindingPrefix) const
 
- Static Protected Member Functions inherited from llvm::dxil::ResourceBase
static StringRef getKindName (dxil::ResourceKind Kind)
 
static void printKind (dxil::ResourceKind Kind, unsigned Alignment, raw_ostream &OS, bool SRV=false, bool HasCounter=false, uint32_t SampleCount=0)
 
static StringRef getElementTypeName (dxil::ElementType CompType)
 
static void printElementType (dxil::ResourceKind Kind, dxil::ElementType CompType, unsigned Alignment, raw_ostream &OS)
 
- Protected Attributes inherited from llvm::dxil::ResourceBase
uint32_t ID
 
GlobalVariableGV
 
StringRef Name
 
uint32_t Space
 
uint32_t LowerBound
 
uint32_t RangeSize
 

Detailed Description

Definition at line 89 of file DXILResource.h.

Constructor & Destructor Documentation

◆ ConstantBuffer()

ConstantBuffer::ConstantBuffer ( uint32_t  I,
hlsl::FrontendResource  R 
)

Definition at line 249 of file DXILResource.cpp.

Member Function Documentation

◆ print()

void ConstantBuffer::print ( raw_ostream O) const

◆ setSize()

void ConstantBuffer::setSize ( CBufferDataLayout DL)

◆ write()

MDNode * ConstantBuffer::write ( ) const

The documentation for this class was generated from the following files: