|
LLVM 23.0.0git
|
#include "llvm/MC/DXContainerInfo.h"#include "llvm/ADT/SmallString.h"#include "llvm/BinaryFormat/DXContainer.h"#include "llvm/Config/config.h"#include "llvm/Support/Compression.h"#include "llvm/Support/EndianStream.h"#include "llvm/Support/FormatVariadic.h"#include "llvm/Support/SwapByteOrder.h"#include "llvm/Support/VCSRevision.h"#include <type_traits>Go to the source code of this file.
Functions | |
| static uint64_t | align (uint64_t Size) |
| template<typename StructT> | |
| static void | writeStruct (raw_ostream &OS, StructT S) |
| static void | writeString (raw_ostream &OS, StringRef S) |
| static void | writePadding (raw_ostream &OS, uint64_t Prev) |
| template<typename VecT> | |
| static void | clearAndReserve (VecT &Vec, size_t N) |
Definition at line 23 of file DXContainerInfo.cpp.
References llvm::alignTo(), llvm::dxbc::DXCONTAINER_STRUCT_ALIGNMENT, and Size.
Referenced by _rpmalloc_mmap_os(), llvm::mcdxbc::SourceInfo::compute(), llvm::mcdxbc::SourceInfo::SourceContents::Entry::compute(), llvm::mcdxbc::SourceInfo::SourceNames::compute(), llvm::mcdxbc::SourceInfo::SourceNames::Entry::compute(), llvm::mcdxbc::SourceInfo::SourceContents::computeFinalSize(), llvm::mcdxbc::SourceInfo::Section::computeGenericHeader(), llvm::mcdxbc::SourceInfo::SourceContents::computeUncompressed(), DecodeAddrMode6Operand(), DecodeVLD1DupInstruction(), DecodeVLD1LN(), DecodeVLD2DupInstruction(), DecodeVLD2LN(), DecodeVLD3LN(), DecodeVLD4DupInstruction(), DecodeVLD4LN(), DecodeVLDST1Instruction(), DecodeVLDST2Instruction(), DecodeVLDST3Instruction(), DecodeVST1LN(), DecodeVST2LN(), DecodeVST3LN(), DecodeVST4LN(), llvm::CSKYFrameLowering::determineCalleeSaves(), llvm::mcdxbc::SourceInfoBuilder::finalize(), LLVMSetInstrParamAlignment(), LLVMSetParamAlignment(), llvm::MachO::SET_COMM_ALIGN(), and writePadding().
|
static |
Definition at line 196 of file DXContainerInfo.cpp.
References N.
Referenced by llvm::mcdxbc::SourceInfoBuilder::computeEntries().
|
static |
Definition at line 42 of file DXContainerInfo.cpp.
References align(), llvm::raw_ostream::tell(), and llvm::raw_ostream::write_zeros().
Referenced by llvm::mcdxbc::SourceInfoBuilder::finalize(), and llvm::mcdxbc::SourceInfoBuilder::write().
|
static |
Definition at line 36 of file DXContainerInfo.cpp.
References llvm::StringRef::data(), llvm::StringRef::size(), llvm::raw_ostream::write(), and llvm::raw_ostream::write_zeros().
Referenced by llvm::mcdxbc::SourceInfoBuilder::finalize(), llvm::mcdxbc::CompilerVersion::write(), llvm::mcdxbc::DebugName::write(), and llvm::mcdxbc::SourceInfoBuilder::write().
|
static |
Definition at line 28 of file DXContainerInfo.cpp.
References llvm::sys::IsBigEndianHost, and llvm::raw_ostream::write().
Referenced by llvm::mcdxbc::SourceInfoBuilder::finalize(), llvm::mcdxbc::CompilerVersion::write(), llvm::mcdxbc::DebugName::write(), and llvm::mcdxbc::SourceInfoBuilder::write().