clang 22.0.0git
|
Public Member Functions | |
HLSLBufferLayoutBuilder (CodeGenModule &CGM, llvm::StringRef LayoutTypeName) | |
llvm::TargetExtType * | createLayoutType (const RecordType *StructType, const llvm::SmallVector< int32_t > *Packoffsets=nullptr) |
Definition at line 24 of file HLSLBufferLayoutBuilder.h.
|
inline |
Definition at line 30 of file HLSLBufferLayoutBuilder.h.
llvm::TargetExtType * clang::CodeGen::HLSLBufferLayoutBuilder::createLayoutType | ( | const RecordType * | StructType, |
const llvm::SmallVector< int32_t > * | Packoffsets = nullptr |
||
) |
Definition at line 69 of file HLSLBufferLayoutBuilder.cpp.
References clang::CodeGen::CGHLSLRuntime::addHLSLBufferLayoutType(), clang::Type::castAsCXXRecordDecl(), D, clang::RecordDecl::fields(), clang::CodeGen::CGHLSLRuntime::getHLSLBufferLayoutType(), clang::CodeGen::CodeGenModule::getHLSLRuntime(), clang::CodeGen::CodeGenModule::getLLVMContext(), and UINT_MAX.