|
LLVM 24.0.0git
|
#include "llvm/Frontend/HLSL/SemanticSignatures.h"
Public Member Functions | |
| bool | isAllocated () const |
| uint8_t | getDeclaredMask () const |
| uint8_t | getAlwaysReadsMask () const |
| uint8_t | getNeverWritesMask () const |
| dxbc::SigMinPrecision | getMinPrecision (bool UseMinPrecision) const |
| LLVM_ABI MDNode * | toMetadata (LLVMContext &Ctx) const |
Static Public Member Functions | |
| static LLVM_ABI Expected< SemanticSignatureElement > | fromMetadata (const MDNode *Node) |
Definition at line 40 of file SemanticSignatures.h.
|
static |
Definition at line 46 of file SemanticSignatures.cpp.
References Cols, CompType, llvm::dyn_cast(), DynIndexMask, GSStream, I, InterpMode, OpIdx, llvm::SmallVectorTemplateBase< T, bool >::push_back(), Rows, SemanticIndices, SemanticKind, SemanticName, SigId, llvm::SmallVectorTemplateCommon< T, typename >::size(), StartCol, StartRow, llvm::to_underlying(), llvm::hlsl::UnallocatedCol, llvm::hlsl::UnallocatedRow, and UsageMask.
|
inline |
Definition at line 66 of file SemanticSignatures.h.
References UsageMask.
|
inline |
Definition at line 60 of file SemanticSignatures.h.
References Cols, isAllocated(), and StartCol.
Referenced by getNeverWritesMask().
|
inline |
Definition at line 72 of file SemanticSignatures.h.
References CompType, llvm::dxil::F16, llvm::dxil::I16, and llvm::dxil::U16.
|
inline |
Definition at line 68 of file SemanticSignatures.h.
References getDeclaredMask(), and UsageMask.
|
inline |
Definition at line 56 of file SemanticSignatures.h.
References StartCol, StartRow, llvm::hlsl::UnallocatedCol, and llvm::hlsl::UnallocatedRow.
Referenced by getDeclaredMask().
| MDNode * SemanticSignatureElement::toMetadata | ( | LLVMContext & | Ctx | ) | const |
Definition at line 180 of file SemanticSignatures.cpp.
References Cols, CompType, DynIndexMask, llvm::ConstantAsMetadata::get(), llvm::MDNode::get(), llvm::MDString::get(), llvm::Type::getInt32Ty(), llvm::Type::getInt8Ty(), GSStream, InterpMode, llvm::SmallVectorTemplateBase< T, bool >::push_back(), Rows, SemanticIndices, SemanticKind, SemanticName, SigId, StartCol, StartRow, and UsageMask.
| uint8_t llvm::hlsl::SemanticSignatureElement::Cols |
Definition at line 49 of file SemanticSignatures.h.
Referenced by fromMetadata(), getDeclaredMask(), and toMetadata().
| dxil::ElementType llvm::hlsl::SemanticSignatureElement::CompType |
Definition at line 43 of file SemanticSignatures.h.
Referenced by fromMetadata(), getMinPrecision(), and toMetadata().
| uint8_t llvm::hlsl::SemanticSignatureElement::DynIndexMask = 0 |
Definition at line 53 of file SemanticSignatures.h.
Referenced by fromMetadata(), and toMetadata().
| uint32_t llvm::hlsl::SemanticSignatureElement::GSStream = 0 |
Definition at line 54 of file SemanticSignatures.h.
Referenced by fromMetadata(), and toMetadata().
| dxbc::PSV::InterpolationMode llvm::hlsl::SemanticSignatureElement::InterpMode |
Definition at line 46 of file SemanticSignatures.h.
Referenced by fromMetadata(), and toMetadata().
| uint32_t llvm::hlsl::SemanticSignatureElement::Rows |
Definition at line 48 of file SemanticSignatures.h.
Referenced by fromMetadata(), and toMetadata().
| SmallVector<uint32_t> llvm::hlsl::SemanticSignatureElement::SemanticIndices |
Definition at line 45 of file SemanticSignatures.h.
Referenced by fromMetadata(), and toMetadata().
| dxbc::PSV::SemanticKind llvm::hlsl::SemanticSignatureElement::SemanticKind |
Definition at line 44 of file SemanticSignatures.h.
Referenced by fromMetadata(), and toMetadata().
| StringRef llvm::hlsl::SemanticSignatureElement::SemanticName |
Definition at line 42 of file SemanticSignatures.h.
Referenced by fromMetadata(), and toMetadata().
| uint32_t llvm::hlsl::SemanticSignatureElement::SigId |
Definition at line 41 of file SemanticSignatures.h.
Referenced by fromMetadata(), and toMetadata().
| uint8_t llvm::hlsl::SemanticSignatureElement::StartCol = UnallocatedCol |
Definition at line 51 of file SemanticSignatures.h.
Referenced by fromMetadata(), getDeclaredMask(), isAllocated(), and toMetadata().
| uint32_t llvm::hlsl::SemanticSignatureElement::StartRow = UnallocatedRow |
Definition at line 50 of file SemanticSignatures.h.
Referenced by fromMetadata(), isAllocated(), and toMetadata().
| uint8_t llvm::hlsl::SemanticSignatureElement::UsageMask = 0 |
Definition at line 52 of file SemanticSignatures.h.
Referenced by fromMetadata(), getAlwaysReadsMask(), getNeverWritesMask(), and toMetadata().