LLVM 20.0.0git
|
#include "llvm/MC/DXContainerPSVInfo.h"
Public Member Functions | |
PSVRuntimeInfo () | |
void | write (raw_ostream &OS, uint32_t Version=std::numeric_limits< uint32_t >::max()) const |
void | finalize (Triple::EnvironmentType Stage) |
Public Attributes | |
bool | IsFinalized = false |
dxbc::PSV::v3::RuntimeInfo | BaseData |
SmallVector< dxbc::PSV::v2::ResourceBindInfo > | Resources |
SmallVector< PSVSignatureElement > | InputElements |
SmallVector< PSVSignatureElement > | OutputElements |
SmallVector< PSVSignatureElement > | PatchOrPrimElements |
std::array< SmallVector< uint32_t >, 4 > | OutputVectorMasks |
SmallVector< uint32_t > | PatchOrPrimMasks |
std::array< SmallVector< uint32_t >, 4 > | InputOutputMap |
SmallVector< uint32_t > | InputPatchMap |
SmallVector< uint32_t > | PatchOutputMap |
llvm::StringRef | EntryName |
Definition at line 49 of file DXContainerPSVInfo.h.
|
inline |
Definition at line 50 of file DXContainerPSVInfo.h.
References BaseData.
void PSVRuntimeInfo::finalize | ( | Triple::EnvironmentType | Stage | ) |
Definition at line 150 of file DXContainerPSVInfo.cpp.
References llvm::StringTableBuilder::add(), BaseData, EntryName, llvm::dxbc::PSV::v3::RuntimeInfo::EntryNameOffset, llvm::StringTableBuilder::finalize(), llvm::StringTableBuilder::getOffset(), InputElements, llvm::sys::IsBigEndianHost, IsFinalized, Name, llvm::dxbc::PSV::v0::SignatureElement::NameOffset, OutputElements, PatchOrPrimElements, ProcessElementList(), Resources, llvm::dxbc::PSV::v1::RuntimeInfo::SigInputElements, llvm::dxbc::PSV::v1::RuntimeInfo::SigOutputElements, llvm::dxbc::PSV::v1::RuntimeInfo::SigPatchOrPrimElements, llvm::dxbc::PSV::v0::SignatureElement::swapBytes(), llvm::dxbc::PSV::v3::RuntimeInfo::swapBytes(), and llvm::zip().
void PSVRuntimeInfo::write | ( | raw_ostream & | OS, |
uint32_t | Version = std::numeric_limits<uint32_t>::max() |
||
) | const |
Definition at line 69 of file DXContainerPSVInfo.cpp.
References assert(), BaseData, llvm::StringTableBuilder::getSize(), I, InputOutputMap, InputPatchMap, IsFinalized, llvm::little, OS, OutputVectorMasks, PatchOrPrimMasks, PatchOutputMap, Resources, llvm::SmallVectorBase< Size_T >::size(), llvm::Version, llvm::StringTableBuilder::write(), llvm::raw_ostream::write(), llvm::support::endian::write(), and llvm::support::endian::write_array().
dxbc::PSV::v3::RuntimeInfo llvm::mcdxbc::PSVRuntimeInfo::BaseData |
Definition at line 54 of file DXContainerPSVInfo.h.
Referenced by finalize(), PSVRuntimeInfo(), and write().
llvm::StringRef llvm::mcdxbc::PSVRuntimeInfo::EntryName |
Definition at line 72 of file DXContainerPSVInfo.h.
Referenced by finalize().
SmallVector<PSVSignatureElement> llvm::mcdxbc::PSVRuntimeInfo::InputElements |
Definition at line 56 of file DXContainerPSVInfo.h.
Referenced by finalize().
std::array<SmallVector<uint32_t>, 4> llvm::mcdxbc::PSVRuntimeInfo::InputOutputMap |
Definition at line 69 of file DXContainerPSVInfo.h.
Referenced by write().
SmallVector<uint32_t> llvm::mcdxbc::PSVRuntimeInfo::InputPatchMap |
Definition at line 70 of file DXContainerPSVInfo.h.
Referenced by write().
bool llvm::mcdxbc::PSVRuntimeInfo::IsFinalized = false |
Definition at line 53 of file DXContainerPSVInfo.h.
Referenced by finalize(), and write().
SmallVector<PSVSignatureElement> llvm::mcdxbc::PSVRuntimeInfo::OutputElements |
Definition at line 57 of file DXContainerPSVInfo.h.
Referenced by finalize().
std::array<SmallVector<uint32_t>, 4> llvm::mcdxbc::PSVRuntimeInfo::OutputVectorMasks |
Definition at line 67 of file DXContainerPSVInfo.h.
Referenced by write().
SmallVector<PSVSignatureElement> llvm::mcdxbc::PSVRuntimeInfo::PatchOrPrimElements |
Definition at line 58 of file DXContainerPSVInfo.h.
Referenced by finalize().
SmallVector<uint32_t> llvm::mcdxbc::PSVRuntimeInfo::PatchOrPrimMasks |
Definition at line 68 of file DXContainerPSVInfo.h.
Referenced by write().
SmallVector<uint32_t> llvm::mcdxbc::PSVRuntimeInfo::PatchOutputMap |
Definition at line 71 of file DXContainerPSVInfo.h.
Referenced by write().
SmallVector<dxbc::PSV::v2::ResourceBindInfo> llvm::mcdxbc::PSVRuntimeInfo::Resources |
Definition at line 55 of file DXContainerPSVInfo.h.
Referenced by finalize(), and write().