9#include "llvm/ADT/StringRef.h"
10#include "llvm/IR/DerivedTypes.h"
27 llvm::StringRef LayoutTypeName;
31 : CGM(CGM), LayoutTypeName(LayoutTypeName) {}
42 unsigned &FieldOffset, llvm::Type *&FieldType,
This class organizes the cross-function state that is used while generating LLVM code.
HLSLBufferLayoutBuilder(CodeGenModule &CGM, llvm::StringRef LayoutTypeName)
llvm::TargetExtType * createLayoutType(const RecordType *StructType, const llvm::SmallVector< int32_t > *Packoffsets=nullptr)
Represents a member of a struct/union/class.
A helper class that allows the use of isa/cast/dyncast to detect TagType objects of structs/unions/cl...
The JSON file list parser is used to communicate input to InstallAPI.