LLVM
8.0.1
|
Typedefs | |
using | char_16 = char[16] |
using | uuid_t = raw_ostream::uuid_t |
Functions | |
bool | operator== (const BinaryRef &LHS, const BinaryRef &RHS) |
bool | dumpTokens (StringRef Input, raw_ostream &) |
Dump all the tokens in this stream to OS. More... | |
bool | scanTokens (StringRef Input) |
Scans all tokens in input without outputting anything. More... | |
std::string | escape (StringRef Input, bool EscapePrintable=true) |
Escape Input for a double quoted scalar; if EscapePrintable is true, all UTF8 sequences will be escaped, if EscapePrintable is false, those UTF8 sequences encoding printable unicode scalars will not be escaped, but emitted verbatim. More... | |
template<class CollectionType > | |
CollectionType::iterator | begin (CollectionType &C) |
template<class CollectionType > | |
void | skip (CollectionType &C) |
static void | commonSectionMapping (IO &IO, ELFYAML::Section &Section) |
static void | sectionMapping (IO &IO, ELFYAML::RawContentSection &Section) |
static void | sectionMapping (IO &IO, ELFYAML::NoBitsSection &Section) |
static void | sectionMapping (IO &IO, ELFYAML::RelocationSection &Section) |
static void | groupSectionMapping (IO &IO, ELFYAML::Group &group) |
static void | sectionMapping (IO &IO, ELFYAML::MipsABIFlags &Section) |
template<typename StructType > | |
void | mapLoadCommandData (IO &IO, MachOYAML::LoadCommand &LoadCommand) |
template<> | |
void | mapLoadCommandData< MachO::segment_command > (IO &IO, MachOYAML::LoadCommand &LoadCommand) |
template<> | |
void | mapLoadCommandData< MachO::segment_command_64 > (IO &IO, MachOYAML::LoadCommand &LoadCommand) |
template<> | |
void | mapLoadCommandData< MachO::dylib_command > (IO &IO, MachOYAML::LoadCommand &LoadCommand) |
template<> | |
void | mapLoadCommandData< MachO::rpath_command > (IO &IO, MachOYAML::LoadCommand &LoadCommand) |
template<> | |
void | mapLoadCommandData< MachO::dylinker_command > (IO &IO, MachOYAML::LoadCommand &LoadCommand) |
template<> | |
void | mapLoadCommandData< MachO::build_version_command > (IO &IO, MachOYAML::LoadCommand &LoadCommand) |
static void | commonSectionMapping (IO &IO, WasmYAML::Section &Section) |
static void | sectionMapping (IO &IO, WasmYAML::DylinkSection &Section) |
static void | sectionMapping (IO &IO, WasmYAML::NameSection &Section) |
static void | sectionMapping (IO &IO, WasmYAML::LinkingSection &Section) |
static void | sectionMapping (IO &IO, WasmYAML::CustomSection &Section) |
static void | sectionMapping (IO &IO, WasmYAML::TypeSection &Section) |
static void | sectionMapping (IO &IO, WasmYAML::ImportSection &Section) |
static void | sectionMapping (IO &IO, WasmYAML::FunctionSection &Section) |
static void | sectionMapping (IO &IO, WasmYAML::TableSection &Section) |
static void | sectionMapping (IO &IO, WasmYAML::MemorySection &Section) |
static void | sectionMapping (IO &IO, WasmYAML::GlobalSection &Section) |
static void | sectionMapping (IO &IO, WasmYAML::EventSection &Section) |
static void | sectionMapping (IO &IO, WasmYAML::ExportSection &Section) |
static void | sectionMapping (IO &IO, WasmYAML::StartSection &Section) |
static void | sectionMapping (IO &IO, WasmYAML::ElemSection &Section) |
static void | sectionMapping (IO &IO, WasmYAML::CodeSection &Section) |
static void | sectionMapping (IO &IO, WasmYAML::DataSection &Section) |
using llvm::yaml::char_16 = typedef char[16] |
Definition at line 259 of file MachOYAML.h.
using llvm::yaml::uuid_t = typedef raw_ostream::uuid_t |
Definition at line 269 of file MachOYAML.h.
CollectionType::iterator llvm::yaml::begin | ( | CollectionType & | C | ) |
Definition at line 381 of file YAMLParser.h.
References assert().
Referenced by llvm::yaml::MappingNode::begin(), and llvm::yaml::SequenceNode::begin().
|
static |
Definition at line 46 of file WasmYAML.cpp.
References llvm::WasmYAML::Section::Relocations, and llvm::WasmYAML::Section::Type.
Referenced by sectionMapping().
|
static |
Definition at line 823 of file ELFYAML.cpp.
References llvm::ELFYAML::Section::Address, llvm::ELFYAML::Section::AddressAlign, llvm::ELFYAML::Section::EntSize, llvm::ELFYAML::Section::Flags, llvm::ELFYAML::Section::Info, llvm::ELFYAML::Section::Link, llvm::ELFYAML::Section::Name, and llvm::ELFYAML::Section::Type.
Referenced by groupSectionMapping(), and sectionMapping().
bool llvm::yaml::dumpTokens | ( | StringRef | Input, |
raw_ostream & | OS | ||
) |
Dump all the tokens in this stream to OS.
Definition at line 594 of file YAMLParser.cpp.
References llvm::yaml::Scanner::getNext(), llvm::yaml::Token::Kind, llvm::yaml::Token::Range, llvm::yaml::Token::TK_Alias, llvm::yaml::Token::TK_Anchor, llvm::yaml::Token::TK_BlockEnd, llvm::yaml::Token::TK_BlockEntry, llvm::yaml::Token::TK_BlockMappingStart, llvm::yaml::Token::TK_BlockScalar, llvm::yaml::Token::TK_BlockSequenceStart, llvm::yaml::Token::TK_DocumentEnd, llvm::yaml::Token::TK_DocumentStart, llvm::yaml::Token::TK_Error, llvm::yaml::Token::TK_FlowEntry, llvm::yaml::Token::TK_FlowMappingEnd, llvm::yaml::Token::TK_FlowMappingStart, llvm::yaml::Token::TK_FlowSequenceEnd, llvm::yaml::Token::TK_FlowSequenceStart, llvm::yaml::Token::TK_Key, llvm::yaml::Token::TK_Scalar, llvm::yaml::Token::TK_StreamEnd, llvm::yaml::Token::TK_StreamStart, llvm::yaml::Token::TK_Tag, llvm::yaml::Token::TK_TagDirective, llvm::yaml::Token::TK_Value, and llvm::yaml::Token::TK_VersionDirective.
Escape Input for a double quoted scalar; if EscapePrintable
is true, all UTF8 sequences will be escaped, if EscapePrintable
is false, those UTF8 sequences encoding printable unicode scalars will not be escaped, but emitted verbatim.
Definition at line 691 of file YAMLParser.cpp.
References llvm::StringRef::begin(), llvm::SmallVectorTemplateCommon< T >::begin(), decodeUTF8(), encodeUTF8(), llvm::StringRef::end(), llvm::SmallVectorTemplateCommon< T >::end(), llvm::sys::unicode::isPrintable(), and llvm::utohexstr().
Referenced by llvm::vfs::YAMLVFSWriter::addFileMapping().
|
static |
Definition at line 850 of file ELFYAML.cpp.
References commonSectionMapping(), and llvm::ELFYAML::Group::Members.
Referenced by llvm::yaml::MappingTraits< std::unique_ptr< ELFYAML::Section > >::mapping().
void llvm::yaml::mapLoadCommandData | ( | IO & | IO, |
MachOYAML::LoadCommand & | LoadCommand | ||
) |
Definition at line 203 of file MachOYAML.cpp.
void llvm::yaml::mapLoadCommandData< MachO::build_version_command > | ( | IO & | IO, |
MachOYAML::LoadCommand & | LoadCommand | ||
) |
Definition at line 236 of file MachOYAML.cpp.
void llvm::yaml::mapLoadCommandData< MachO::dylib_command > | ( | IO & | IO, |
MachOYAML::LoadCommand & | LoadCommand | ||
) |
Definition at line 218 of file MachOYAML.cpp.
void llvm::yaml::mapLoadCommandData< MachO::dylinker_command > | ( | IO & | IO, |
MachOYAML::LoadCommand & | LoadCommand | ||
) |
Definition at line 230 of file MachOYAML.cpp.
void llvm::yaml::mapLoadCommandData< MachO::rpath_command > | ( | IO & | IO, |
MachOYAML::LoadCommand & | LoadCommand | ||
) |
Definition at line 224 of file MachOYAML.cpp.
void llvm::yaml::mapLoadCommandData< MachO::segment_command > | ( | IO & | IO, |
MachOYAML::LoadCommand & | LoadCommand | ||
) |
Definition at line 206 of file MachOYAML.cpp.
void llvm::yaml::mapLoadCommandData< MachO::segment_command_64 > | ( | IO & | IO, |
MachOYAML::LoadCommand & | LoadCommand | ||
) |
Definition at line 212 of file MachOYAML.cpp.
Definition at line 99 of file YAML.h.
References llvm::ArrayRef< T >::empty().
Scans all tokens in input without outputting anything.
This is used for benchmarking the tokenizer.
Definition at line 678 of file YAMLParser.cpp.
References llvm::yaml::Scanner::getNext(), llvm::yaml::Token::Kind, llvm::yaml::Token::TK_Error, and llvm::yaml::Token::TK_StreamEnd.
|
static |
Definition at line 51 of file WasmYAML.cpp.
References commonSectionMapping(), llvm::WasmYAML::DylinkSection::MemoryAlignment, llvm::WasmYAML::DylinkSection::MemorySize, llvm::WasmYAML::CustomSection::Name, llvm::WasmYAML::DylinkSection::Needed, llvm::WasmYAML::DylinkSection::TableAlignment, and llvm::WasmYAML::DylinkSection::TableSize.
|
static |
Definition at line 61 of file WasmYAML.cpp.
References commonSectionMapping(), llvm::WasmYAML::NameSection::FunctionNames, and llvm::WasmYAML::CustomSection::Name.
|
static |
Definition at line 67 of file WasmYAML.cpp.
References llvm::WasmYAML::LinkingSection::Comdats, commonSectionMapping(), llvm::WasmYAML::LinkingSection::InitFunctions, llvm::WasmYAML::CustomSection::Name, llvm::WasmYAML::LinkingSection::SegmentInfos, llvm::WasmYAML::LinkingSection::SymbolTable, and llvm::WasmYAML::LinkingSection::Version.
|
static |
Definition at line 77 of file WasmYAML.cpp.
References commonSectionMapping(), llvm::WasmYAML::CustomSection::Name, and llvm::WasmYAML::CustomSection::Payload.
|
static |
Definition at line 83 of file WasmYAML.cpp.
References commonSectionMapping(), and llvm::WasmYAML::TypeSection::Signatures.
|
static |
Definition at line 88 of file WasmYAML.cpp.
References commonSectionMapping(), and llvm::WasmYAML::ImportSection::Imports.
|
static |
Definition at line 93 of file WasmYAML.cpp.
References commonSectionMapping(), and llvm::WasmYAML::FunctionSection::FunctionTypes.
|
static |
Definition at line 98 of file WasmYAML.cpp.
References commonSectionMapping(), and llvm::WasmYAML::TableSection::Tables.
|
static |
Definition at line 103 of file WasmYAML.cpp.
References commonSectionMapping(), and llvm::WasmYAML::MemorySection::Memories.
|
static |
Definition at line 108 of file WasmYAML.cpp.
References commonSectionMapping(), and llvm::WasmYAML::GlobalSection::Globals.
|
static |
Definition at line 113 of file WasmYAML.cpp.
References commonSectionMapping(), and llvm::WasmYAML::EventSection::Events.
|
static |
Definition at line 118 of file WasmYAML.cpp.
References commonSectionMapping(), and llvm::WasmYAML::ExportSection::Exports.
|
static |
Definition at line 123 of file WasmYAML.cpp.
References commonSectionMapping(), and llvm::WasmYAML::StartSection::StartFunction.
|
static |
Definition at line 128 of file WasmYAML.cpp.
References commonSectionMapping(), and llvm::WasmYAML::ElemSection::Segments.
|
static |
Definition at line 133 of file WasmYAML.cpp.
References commonSectionMapping(), and llvm::WasmYAML::CodeSection::Functions.
|
static |
Definition at line 138 of file WasmYAML.cpp.
References commonSectionMapping(), and llvm::WasmYAML::DataSection::Segments.
Referenced by llvm::yaml::MappingTraits< std::unique_ptr< WasmYAML::Section > >::mapping().
|
static |
Definition at line 834 of file ELFYAML.cpp.
References llvm::yaml::BinaryRef::binary_size(), commonSectionMapping(), llvm::ELFYAML::RawContentSection::Content, and llvm::ELFYAML::RawContentSection::Size.
Referenced by llvm::yaml::MappingTraits< std::unique_ptr< ELFYAML::Section > >::mapping().
|
static |
Definition at line 840 of file ELFYAML.cpp.
References commonSectionMapping(), and llvm::ELFYAML::NoBitsSection::Size.
|
static |
Definition at line 845 of file ELFYAML.cpp.
References commonSectionMapping(), and llvm::ELFYAML::RelocationSection::Relocations.
|
static |
Definition at line 865 of file ELFYAML.cpp.
References llvm::Mips::AFL_EXT_NONE, llvm::Mips::AFL_REG_NONE, llvm::ELFYAML::MipsABIFlags::ASEs, commonSectionMapping(), llvm::ELFYAML::MipsABIFlags::CPR1Size, llvm::ELFYAML::MipsABIFlags::CPR2Size, llvm::ELFYAML::MipsABIFlags::Flags1, llvm::ELFYAML::MipsABIFlags::Flags2, llvm::ELFYAML::MipsABIFlags::FpABI, llvm::ELFYAML::MipsABIFlags::GPRSize, llvm::ELFYAML::MipsABIFlags::ISAExtension, llvm::ELFYAML::MipsABIFlags::ISALevel, llvm::ELFYAML::MipsABIFlags::ISARevision, llvm::Mips::Val_GNU_MIPS_ABI_FP_ANY, and llvm::ELFYAML::MipsABIFlags::Version.
void llvm::yaml::skip | ( | CollectionType & | C | ) |
Definition at line 389 of file YAMLParser.h.
References assert(), and llvm::yaml::Stream::begin().
Referenced by llvm::yaml::MappingNode::skip(), and llvm::yaml::SequenceNode::skip().