LLVM 22.0.0git
Public Member Functions | List of all members
llvm::hlsl::rootsig::MetadataBuilder Class Reference

#include "llvm/Frontend/HLSL/RootSignatureMetadata.h"

Public Member Functions

 MetadataBuilder (llvm::LLVMContext &Ctx, ArrayRef< RootElement > Elements)
 
LLVM_ABI MDNodeBuildRootSignature ()
 Iterates through elements and dispatches onto the correct Build* method.
 

Detailed Description

Definition at line 105 of file RootSignatureMetadata.h.

Constructor & Destructor Documentation

◆ MetadataBuilder()

llvm::hlsl::rootsig::MetadataBuilder::MetadataBuilder ( llvm::LLVMContext Ctx,
ArrayRef< RootElement Elements 
)
inline

Definition at line 107 of file RootSignatureMetadata.h.

Member Function Documentation

◆ BuildRootSignature()

MDNode * llvm::hlsl::rootsig::MetadataBuilder::BuildRootSignature ( )

Iterates through elements and dispatches onto the correct Build* method.

Accumulates the root signature and returns the Metadata node that is just a list of all the elements

Definition at line 78 of file RootSignatureMetadata.cpp.

References assert(), and llvm::MDNode::get().


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