LLVM 20.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 |
struct | ModuleMetadataInfo |
class | ResourceBase |
class | ResourceInfo |
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 * > |
Functions | |
void | createShaderModelMD (Module &M) |
void | createDXILVersionMD (Module &M) |
void | createEntryMD (Module &M, const uint64_t ShaderFlags) |
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. | |
using llvm::dxil::PointerTypeMap = typedef DenseMap<const Value *, Type *> |
Definition at line 26 of file PointerTypeAnalysis.h.
|
strong |
|
strong |
Enumerator | |
---|---|
LastPlusOne |
Definition at line 59 of file DXILBitcodeWriter.cpp.
|
strong |
Enumerator | |
---|---|
DXIL_OPCODE |
Definition at line 18 of file DXILConstants.h.
|
strong |
Enumerator | |
---|---|
DXIL_OPCLASS |
Definition at line 23 of file DXILConstants.h.
|
strong |
Enumerator | |
---|---|
DXIL_OP_PARAM_TYPE |
Definition at line 28 of file DXILConstants.h.
|
strong |
|
strong |
The kind of resource for an SRV or UAV resource.
Sometimes referred to as "Shape" in the DXIL docs.
|
strong |
|
strong |
void llvm::dxil::createDXILVersionMD | ( | Module & | M | ) |
Definition at line 93 of file DXILMetadata.cpp.
References B, llvm::ConstantAsMetadata::get(), llvm::MDNode::get(), llvm::VersionTuple::getMajor(), llvm::VersionTuple::getMinor(), and llvm::Triple::normalize().
Referenced by translateMetadata().
Definition at line 279 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.
Referenced by translateMetadata().
void llvm::dxil::createShaderModelMD | ( | Module & | M | ) |
Definition at line 79 of file DXILMetadata.cpp.
References B, llvm::ConstantAsMetadata::get(), llvm::MDNode::get(), llvm::MDString::get(), llvm::VersionTuple::getMajor(), llvm::VersionTuple::getMinor(), and getShortShaderStage().
Referenced by translateMetadata().
|
static |
Definition at line 350 of file DXILOpBuilder.cpp.
References llvm::inconvertibleErrorCode().
Referenced by llvm::dxil::DXILOpBuilder::tryCreateOp().
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 386 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().