LLVM 19.0.0git
|
Namespaces | |
namespace | PointerTypeAnalysis |
An analysis to compute the PointerTypes for pointers in a Module . | |
Classes | |
class | BitcodeWriter |
class | CBufferDataLayout |
struct | ComputedShaderFlags |
class | ConstantBuffer |
class | DXILBitcodeWriter |
class | DXILOpBuilder |
class | LegacyCBufferLayout |
class | ResourceBase |
class | Resources |
class | ResourceTable |
class | ShaderFlagsAnalysis |
class | ShaderFlagsAnalysisPrinter |
Printer pass for ShaderFlagsAnalysis results. More... | |
class | ShaderFlagsAnalysisWrapper |
Wrapper pass for the legacy pass manager. More... | |
class | UAVResource |
class | ValidatorVersionMD |
class | ValueEnumerator |
Typedefs | |
using | PointerTypeMap = DenseMap< const Value *, Type * > |
Enumerations | |
enum class | ParameterKind : uint8_t { Invalid = 0 , Void , Half , Float , Double , I1 , I8 , I16 , I32 , I64 , Overload , CBufferRet , ResourceRet , DXILHandle } |
enum class | ResourceKind : uint32_t { Invalid = 0 , Texture1D , Texture2D , Texture2DMS , Texture3D , TextureCube , Texture1DArray , Texture2DArray , Texture2DMSArray , TextureCubeArray , TypedBuffer , RawBuffer , StructuredBuffer , CBuffer , Sampler , TBuffer , RTAccelerationStructure , FeedbackTexture2D , FeedbackTexture2DArray , NumEntries } |
The kind of resource for an SRV or UAV resource. More... | |
enum class | ElementType : uint32_t { Invalid = 0 , I1 , I16 , U16 , I32 , U32 , I64 , U64 , F16 , F32 , F64 , SNormF16 , UNormF16 , SNormF32 , UNormF32 , SNormF64 , UNormF64 , PackedS8x32 , PackedU8x32 } |
The element type of an SRV or UAV resource. More... | |
enum | MetadataAbbrev : unsigned { LastPlusOne } |
Functions | |
void | createShaderModelMD (Module &M) |
void | createEntryMD (Module &M, const uint64_t ShaderFlags) |
void | WriteDXILToFile (const Module &M, raw_ostream &Out) |
Write the specified module to the specified raw output stream. | |
using llvm::dxil::PointerTypeMap = typedef DenseMap<const Value *, Type *> |
Definition at line 25 of file PointerTypeAnalysis.h.
|
strong |
Enumerator | |
---|---|
LastPlusOne |
Definition at line 59 of file DXILBitcodeWriter.cpp.
|
strong |
|
strong |
The kind of resource for an SRV or UAV resource.
Sometimes referred to as "Shape" in the DXIL docs.
Definition at line 258 of file DXILMetadata.cpp.
References llvm::NamedMDNode::addOperand(), llvm::Triple::Amplification, assert(), llvm::Triple::Compute, llvm::Triple::Domain, llvm::SmallVectorImpl< T >::emplace_back(), F, llvm::SmallVectorTemplateCommon< T, typename >::front(), llvm::Triple::Geometry, llvm::Triple::Hull, llvm::Triple::Library, llvm::Triple::Mesh, llvm::Triple::Pixel, llvm::SmallVectorBase< Size_T >::size(), and llvm::Triple::Vertex.
void llvm::dxil::createShaderModelMD | ( | Module & | M | ) |
Definition at line 70 of file DXILMetadata.cpp.
References B, llvm::ConstantAsMetadata::get(), llvm::MDNode::get(), llvm::MDString::get(), llvm::VersionTuple::getMajor(), llvm::VersionTuple::getMinor(), and getShortShaderStage().
void llvm::dxil::WriteDXILToFile | ( | const Module & | M, |
raw_ostream & | Out | ||
) |
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 387 of file DXILBitcodeWriter.cpp.
References llvm::SmallVectorTemplateCommon< T, typename >::begin(), llvm::BWH_HeaderSize, llvm::SmallVectorBase< Size_T >::empty(), llvm::SmallVectorTemplateCommon< T, typename >::front(), llvm::SmallVectorImpl< T >::insert(), llvm::SmallVectorImpl< T >::reserve(), llvm::SmallVectorBase< Size_T >::size(), llvm::raw_ostream::write(), and llvm::dxil::BitcodeWriter::writeModule().