|
LLVM 23.0.0git
|
#include "llvm/Object/DXContainer.h"#include "llvm/ADT/Sequence.h"#include "llvm/BinaryFormat/DXContainer.h"#include "llvm/Object/Error.h"#include "llvm/Support/Compression.h"#include "llvm/Support/Endian.h"#include "llvm/Support/FormatVariadic.h"#include "llvm/TargetParser/SubtargetFeature.h"Go to the source code of this file.
Classes | |
| class | DXNotSupportedError |
|
static |
Definition at line 392 of file DXContainer.cpp.
References llvm::formatv(), I, llvm::object::DirectX::parseFailed(), readString(), readStruct(), and llvm::seq().
Referenced by parseSourceInfoSection().
|
static |
Definition at line 369 of file DXContainer.cpp.
References llvm::dxbc::SourceInfo::Contents::Header::EntriesSizeInBytes, llvm::dxbc::SourceInfo::Contents::Header::Flags, llvm::formatv(), llvm::mcdxbc::SourceInfo::SourceContents::Parameters, parseContentsEntries(), llvm::object::DirectX::parseFailed(), and readStruct().
Referenced by parseSourceInfoSection().
|
static |
Definition at line 317 of file DXContainer.cpp.
References llvm::ArrayRef(), llvm::StringRef::begin(), llvm::SmallVectorTemplateCommon< T, typename >::data(), llvm::compression::zlib::decompress(), llvm::dxbc::SourceInfo::Contents::Header::EntriesSizeInBytes, llvm::formatv(), llvm::compression::getReasonIfUnsupported(), llvm::compression::zlib::isAvailable(), llvm::dxbc::SourceInfo::Contents::isValidCompressionType(), llvm::mcdxbc::SourceInfo::SourceContents::Parameters, llvm::object::DirectX::parseFailed(), parseUncompressedContentsEntries(), llvm::SmallVectorTemplateCommon< T, typename >::size(), llvm::to_underlying(), llvm::dxbc::SourceInfo::Contents::Header::Type, llvm::dxbc::SourceInfo::Contents::Header::UncompressedEntriesSizeInBytes, and llvm::compression::Zlib.
Referenced by parseContents().
Definition at line 21 of file DXContainer.cpp.
References llvm::make_error(), llvm::object::parse_failed, and llvm::Twine::str().
Referenced by readInteger(), readString(), and readStruct().
|
static |
Definition at line 223 of file DXContainer.cpp.
References llvm::mcdxbc::SourceInfo::SourceNames::Header::Count, llvm::SmallVectorImpl< T >::emplace_back(), llvm::mcdxbc::SourceInfo::SourceNames::Entries, llvm::mcdxbc::SourceInfo::SourceNames::Header::EntriesSizeInBytes, llvm::mcdxbc::SourceInfo::SourceNames::Header::Flags, llvm::formatv(), I, llvm::sys::IsBigEndianHost, llvm::Next, llvm::mcdxbc::SourceInfo::SourceNames::Parameters, llvm::object::DirectX::parseFailed(), readString(), readStruct(), llvm::SmallVectorImpl< T >::reserve(), llvm::seq(), and llvm::mcdxbc::SourceInfo::SourceNames::Header::swapBytes().
Referenced by parseSourceInfoSection().
|
static |
Definition at line 422 of file DXContainer.cpp.
References llvm_unreachable, parseArgs(), parseContents(), and parseNames().
|
static |
Definition at line 269 of file DXContainer.cpp.
References llvm::StringRef::begin(), llvm::dxbc::SourceInfo::Contents::Header::Count, llvm::StringRef::data(), llvm::SmallVectorImpl< T >::emplace_back(), llvm::StringRef::end(), llvm::mcdxbc::SourceInfo::SourceContents::Entries, llvm::formatv(), I, llvm::Next, llvm::mcdxbc::SourceInfo::SourceContents::Parameters, llvm::object::DirectX::parseFailed(), readString(), readStruct(), llvm::SmallVectorImpl< T >::reserve(), and llvm::seq().
Referenced by parseContentsEntries().
|
static |
Definition at line 44 of file DXContainer.cpp.
References llvm::sys::IsBigEndianHost, parseFailed(), readIsOutOfBounds(), llvm::Error::success(), llvm::sys::swapByteOrder(), and T.
Referenced by llvm::object::DirectX::PSVRuntimeInfo::parse().
Definition at line 25 of file DXContainer.cpp.
References llvm::StringRef::end(), and Size.
Referenced by readInteger(), readString(), and readStruct().
|
static |
Read a null-terminated string at the position Src from Buffer, with maximum byte size of MaxSize (including the null-terminator).
Advance Src by the number of bytes read.
Definition at line 68 of file DXContainer.cpp.
References llvm::StringRef::data(), llvm::StringRef::find(), llvm::Length, llvm::StringRef::npos, parseFailed(), readIsOutOfBounds(), llvm::StringRef::substr(), and llvm::Error::success().
Referenced by parseArgs(), parseNames(), parseUncompressedContentsEntries(), and readSection().
Definition at line 30 of file DXContainer.cpp.
References llvm::sys::IsBigEndianHost, parseFailed(), readIsOutOfBounds(), llvm::Error::success(), and T.
Referenced by llvm::object::DirectX::Signature::initialize(), llvm::object::DirectX::PSVRuntimeInfo::parse(), parseArgs(), parseContents(), parseNames(), and parseUncompressedContentsEntries().