LLVM: include/llvm/Frontend/HLSL/RootSignatureMetadata.h Source File (original) (raw)
1
2
3
4
5
6
7
8
9
10
11
12
13
14#ifndef LLVM_FRONTEND_HLSL_ROOTSIGNATUREMETADATA_H
15#define LLVM_FRONTEND_HLSL_ROOTSIGNATUREMETADATA_H
16
22
23namespace llvm {
27
28namespace hlsl {
31 : public ErrorInfo {
32public:
35
37
39
43};
44
46public:
48 : Ctx(Ctx), Elements(Elements) {}
49
50
51
52
53
55
56private:
57
64
68};
69
80
82public:
84
87
88private:
90 MDNode *RootFlagNode);
92 MDNode *RootConstantNode);
94 MDNode *RootDescriptorNode,
97 MDNode *RangeDescriptorNode);
99 MDNode *DescriptorTableNode);
103 MDNode *StaticSamplerNode);
104
106
108};
109
110}
111}
112}
113
114#endif
This file contains the declarations for the subclasses of Constant, which represent the different fla...
static void validateRootSignature(Module &M, const mcdxbc::RootSignatureDesc &RSD, dxil::ModuleMetadataInfo &MMI, DXILResourceMap &DRM, DXILResourceTypeMap &DRTM)
ArrayRef - Represent a constant reference to an array (0 or more elements consecutively in memory),...
Base class for user error types.
Lightweight error class with error context and mandatory checking.
Tagged union holding either a T or a Error.
This is an important class for using LLVM in a threaded context.
This is a 'vector' (really, a variable-sized array), optimized for the case when the array is small.
Twine - A lightweight data structure for efficiently representing the concatenation of temporary valu...
std::error_code convertToErrorCode() const override
Convert this error to a std::error_code.
Definition RootSignatureMetadata.h:40
std::string Msg
Definition RootSignatureMetadata.h:34
RootSignatureValidationError(const Twine &Msg)
Definition RootSignatureMetadata.h:36
void log(raw_ostream &OS) const override
Print an error message to an output stream.
Definition RootSignatureMetadata.h:38
static char ID
Definition RootSignatureMetadata.h:33
This class implements an extremely fast bulk output stream that can only output to a stream.
RootSignatureElementKind
Definition RootSignatureMetadata.h:70
@ CBV
Definition RootSignatureMetadata.h:76
@ UAV
Definition RootSignatureMetadata.h:75
@ Error
Definition RootSignatureMetadata.h:71
@ SRV
Definition RootSignatureMetadata.h:74
@ StaticSamplers
Definition RootSignatureMetadata.h:78
@ RootFlags
Definition RootSignatureMetadata.h:72
This is an optimization pass for GlobalISel generic memory operations.
LLVM_ABI std::error_code inconvertibleErrorCode()
The value returned by this function can be returned from convertToErrorCode for Error values where no...
FunctionAddr VTableAddr uintptr_t uintptr_t Version