LLVM: llvm::dxil Namespace Reference (original) (raw)
| Classes | |
|---|---|
| class | AnyResourceExtType |
| struct | Attributes |
| class | BitcodeWriter |
| class | CBufferDataLayout |
| class | CBufferExtType |
| The dx.CBuffer target extension type. More... | |
| struct | ComputedShaderFlags |
| class | DXILBitcodeWriter |
| class | DXILOpBuilder |
| struct | EntryProperties |
| class | FeedbackTextureExtType |
| The dx.FeedbackTexture target extension type. More... | |
| class | LayoutExtType |
| The dx.Layout target extension type. More... | |
| class | LegacyCBufferLayout |
| struct | ModuleMetadataInfo |
| struct | ModuleShaderFlags |
| class | MSTextureExtType |
| The dx.MSTexture target extension type. More... | |
| class | PaddingExtType |
| The dx.Padding target extension type. More... | |
| class | RawBufferExtType |
| The dx.RawBuffer target extension type. More... | |
| class | ResourceInfo |
| class | ResourceTypeInfo |
| class | RootSignatureAnalysis |
| class | RootSignatureAnalysisPrinter |
| Printer pass for RootSignatureAnalysis results. More... | |
| class | RootSignatureAnalysisWrapper |
| Wrapper pass for the legacy pass manager. More... | |
| class | RootSignatureBindingInfo |
| class | SamplerExtType |
| The dx.Sampler target extension type. More... | |
| class | ShaderFlagsAnalysis |
| class | ShaderFlagsAnalysisPrinter |
| Printer pass for ShaderFlagsAnalysis results. More... | |
| class | ShaderFlagsAnalysisWrapper |
| Wrapper pass for the legacy pass manager. More... | |
| class | TextureExtType |
| The dx.Texture target extension type. More... | |
| class | TypedBufferExtType |
| The dx.TypedBuffer target extension type. More... | |
| class | ValueEnumerator |
| Functions | |
|---|---|
| LLVM_ABI StringRef | getResourceNameFromBindingCall (CallInst *CI) |
| LLVM_ABI StringRef | getResourceClassName (ResourceClass RC) |
| Attributes | operator| (Attributes a, Attributes b) |
| Attributes & | operator|= (Attributes &a, Attributes &b) |
| static Error | makeOpError (dxil::OpCode OpCode, Twine Msg) |
| void | WriteDXILToFile (const Module &M, raw_ostream &Out) |
| Write the specified module to the specified raw output stream. |
◆ PointerTypeMap
◆ ElementType
The element type of an SRV or UAV resource.
| Enumerator |
|---|
| Invalid |
| I1 |
| I16 |
| U16 |
| I32 |
| U32 |
| I64 |
| U64 |
| F16 |
| F32 |
| F64 |
| SNormF16 |
| UNormF16 |
| SNormF32 |
| UNormF32 |
| SNormF64 |
| UNormF64 |
| PackedS8x32 |
| PackedU8x32 |
Definition at line 60 of file DXILABI.h.
◆ ExtPropTags
Metadata tags for extra resource properties.
| Enumerator |
|---|
| ElementType |
| StructuredBufferStride |
| SamplerFeedbackKind |
| Atomic64Use |
Definition at line 83 of file DXILABI.h.
◆ MetadataAbbrev
◆ OpCode
◆ OpCodeClass
◆ OpParamType
◆ ResourceClass
| Enumerator |
|---|
| SRV |
| UAV |
| CBuffer |
| Sampler |
| LastEntry |
Definition at line 26 of file DXILABI.h.
◆ ResourceCounterDirection
| Enumerator |
|---|
| Increment |
| Decrement |
| Unknown |
| Invalid |
Definition at line 356 of file DXILResource.h.
◆ ResourceKind
The kind of resource for an SRV or UAV resource.
Sometimes referred to as "Shape" in the DXIL docs.
| Enumerator |
|---|
| Invalid |
| Texture1D |
| Texture2D |
| Texture2DMS |
| Texture3D |
| TextureCube |
| Texture1DArray |
| Texture2DArray |
| Texture2DMSArray |
| TextureCubeArray |
| TypedBuffer |
| RawBuffer |
| StructuredBuffer |
| CBuffer |
| Sampler |
| TBuffer |
| RTAccelerationStructure |
| FeedbackTexture2D |
| FeedbackTexture2DArray |
| NumEntries |
Definition at line 36 of file DXILABI.h.
◆ SamplerFeedbackType
| Enumerator |
|---|
| MinMip |
| MipRegionUsed |
Definition at line 96 of file DXILABI.h.
◆ SamplerType
| Enumerator |
|---|
| Default |
| Comparison |
| Mono |
Definition at line 90 of file DXILABI.h.
◆ getResourceClassName()
◆ getResourceNameFromBindingCall()
◆ makeOpError()
◆ operator|()
◆ operator|=()
◆ WriteDXILToFile()
Write the specified module to the specified raw output stream.
Write the specified module to the specified output stream.
For streams where it matters, the given stream should be in "binary" mode.
Definition at line 395 of file DXILBitcodeWriter.cpp.
References llvm::SmallVectorTemplateCommon< T, typename >::begin(), llvm::BWH_HeaderSize, llvm::SmallVectorTemplateCommon< T, typename >::empty(), llvm::SmallVectorTemplateCommon< T, typename >::front(), llvm::SmallVectorImpl< T >::insert(), llvm::SmallVectorImpl< T >::reserve(), llvm::SmallVectorTemplateCommon< T, typename >::size(), llvm::raw_ostream::write(), and llvm::dxil::BitcodeWriter::writeModule().