LLVM 22.0.0git
|
Namespaces | |
namespace | detail |
Typedefs | |
using | char_16 = char[16] |
using | uuid_t = raw_ostream::uuid_t |
using | ErrorHandler = llvm::function_ref<void(const Twine &Msg)> |
template<typename T> | |
using | check_resize_t = decltype(std::declval<T>().resize(0)) |
using | BBNumberMap = DenseMap<int, int> |
Enumerations | |
enum class | NodeKind : uint8_t { Scalar , Map , Sequence } |
enum class | QuotingType { None , Single , Double } |
Describe which type of quotes should be used when quoting is necessary. More... |
using llvm::yaml::BBNumberMap = DenseMap<int, int> |
Definition at line 180 of file WebAssemblyMachineFunctionInfo.h.
using llvm::yaml::char_16 = char[16] |
Definition at line 298 of file MachOYAML.h.
using llvm::yaml::check_resize_t = decltype(std::declval<T>().resize(0)) |
Definition at line 1843 of file YAMLTraits.h.
using llvm::yaml::ErrorHandler = llvm::function_ref<void(const Twine &Msg)> |
Definition at line 68 of file yaml2obj.h.
Definition at line 308 of file MachOYAML.h.
|
strong |
Enumerator | |
---|---|
Scalar | |
Map | |
Sequence |
Definition at line 44 of file YAMLTraits.h.
|
strong |
Describe which type of quotes should be used when quoting is necessary.
Some non-printable characters need to be double-quoted, while some others are fine with simple-quoting, and some don't need any quoting.
Enumerator | |
---|---|
None | |
Single | |
Double |
Definition at line 131 of file YAMLTraits.h.
|
static |
Definition at line 280 of file XCOFFYAML.cpp.
References llvm::XCOFFYAML::BlockAuxEnt::LineNum, llvm::XCOFFYAML::BlockAuxEnt::LineNumHi, llvm::XCOFFYAML::BlockAuxEnt::LineNumLo, and llvm::yaml::IO::mapOptional().
|
static |
Definition at line 258 of file XCOFFYAML.cpp.
References llvm::yaml::IO::mapOptional(), llvm::XCOFFYAML::CsectAuxEnt::ParameterHashIndex, llvm::XCOFFYAML::CsectAuxEnt::SectionOrLength, llvm::XCOFFYAML::CsectAuxEnt::SectionOrLengthHi, llvm::XCOFFYAML::CsectAuxEnt::SectionOrLengthLo, llvm::XCOFFYAML::CsectAuxEnt::StabInfoIndex, llvm::XCOFFYAML::CsectAuxEnt::StabSectNum, llvm::XCOFFYAML::CsectAuxEnt::StorageMappingClass, llvm::XCOFFYAML::CsectAuxEnt::SymbolAlignment, llvm::XCOFFYAML::CsectAuxEnt::SymbolAlignmentAndType, llvm::XCOFFYAML::CsectAuxEnt::SymbolType, and llvm::XCOFFYAML::CsectAuxEnt::TypeChkSectNum.
Referenced by llvm::yaml::MappingTraits< std::unique_ptr< XCOFFYAML::AuxSymbolEnt > >::mapping().
|
static |
Definition at line 298 of file XCOFFYAML.cpp.
References llvm::yaml::IO::mapOptional(), llvm::XCOFFYAML::ExcpetionAuxEnt::OffsetToExceptionTbl, llvm::XCOFFYAML::ExcpetionAuxEnt::SizeOfFunction, and llvm::XCOFFYAML::ExcpetionAuxEnt::SymIdxOfNextBeyond.
|
static |
Definition at line 275 of file XCOFFYAML.cpp.
References llvm::XCOFFYAML::FileAuxEnt::FileNameOrString, llvm::XCOFFYAML::FileAuxEnt::FileStringType, and llvm::yaml::IO::mapOptional().
|
static |
|
static |
Definition at line 304 of file XCOFFYAML.cpp.
References llvm::XCOFFYAML::SectAuxEntForDWARF::LengthOfSectionPortion, llvm::yaml::IO::mapOptional(), and llvm::XCOFFYAML::SectAuxEntForDWARF::NumberOfRelocEnt.
|
static |
Definition at line 309 of file XCOFFYAML.cpp.
References llvm::yaml::IO::mapOptional(), llvm::XCOFFYAML::SectAuxEntForStat::NumberOfLineNum, llvm::XCOFFYAML::SectAuxEntForStat::NumberOfRelocEnt, and llvm::XCOFFYAML::SectAuxEntForStat::SectionLength.
CollectionType::iterator llvm::yaml::begin | ( | CollectionType & | C | ) |
Definition at line 397 of file YAMLParser.h.
References assert(), and llvm::CallingConv::C.
Referenced by llvm::yaml::MappingNode::begin(), llvm::yaml::SequenceNode::begin(), skip(), llvm::yaml::MappingNode::yaml::begin, and llvm::yaml::SequenceNode::yaml::begin.
|
static |
Definition at line 1413 of file ELFYAML.cpp.
References assert(), llvm::yaml::IO::mapOptional(), llvm::yaml::IO::mapRequired(), and llvm::yaml::IO::outputting().
Referenced by groupSectionMapping(), sectionMapping(), sectionMapping(), sectionMapping(), sectionMapping(), sectionMapping(), sectionMapping(), sectionMapping(), sectionMapping(), sectionMapping(), sectionMapping(), sectionMapping(), sectionMapping(), sectionMapping(), sectionMapping(), sectionMapping(), sectionMapping(), sectionMapping(), sectionMapping(), sectionMapping(), sectionMapping(), sectionMapping(), sectionMapping(), sectionMapping(), sectionMapping(), sectionMapping(), sectionMapping(), sectionMapping(), sectionMapping(), sectionMapping(), sectionMapping(), sectionMapping(), sectionMapping(), sectionMapping(), sectionMapping(), sectionMapping(), sectionMapping(), sectionMapping(), sectionMapping(), and sectionMapping().
|
static |
Definition at line 46 of file WasmYAML.cpp.
References llvm::yaml::IO::mapOptional(), and llvm::yaml::IO::mapRequired().
bool llvm::yaml::convertYAML | ( | yaml::Input & | YIn, |
raw_ostream & | Out, | ||
ErrorHandler | ErrHandler, | ||
unsigned | DocNum = 1, | ||
uint64_t | MaxSize = UINT64_MAX ) |
Definition at line 20 of file yaml2obj.cpp.
References llvm::yaml::YamlObjectFile::Arch, llvm::yaml::YamlObjectFile::Coff, data, llvm::yaml::YamlObjectFile::DXContainer, llvm::yaml::YamlObjectFile::Elf, llvm::yaml::Input::error(), llvm::yaml::YamlObjectFile::FatMachO, llvm::getOrdinalSuffix(), llvm::yaml::YamlObjectFile::Goff, llvm::yaml::YamlObjectFile::MachO, llvm::yaml::YamlObjectFile::Minidump, llvm::yaml::Input::nextDocument(), llvm::yaml::YamlObjectFile::Offload, llvm::yaml::YamlObjectFile::Wasm, llvm::yaml::YamlObjectFile::Xcoff, yaml2archive(), yaml2coff(), yaml2dxcontainer(), yaml2elf(), yaml2goff(), yaml2macho(), yaml2minidump(), yaml2offload(), yaml2wasm(), and yaml2xcoff().
Referenced by yaml2ObjectFile().
bool llvm::yaml::dumpTokens | ( | StringRef | Input, |
raw_ostream & | OS ) |
Dump all the tokens in this stream to OS.
Definition at line 607 of file YAMLParser.cpp.
References llvm::yaml::Scanner::getNext(), T, 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 704 of file YAMLParser.cpp.
References llvm::append_range(), decodeUTF8(), encodeUTF8(), llvm::sys::unicode::isPrintable(), and llvm::utohexstr().
|
static |
Definition at line 1546 of file ELFYAML.cpp.
References llvm::yaml::IO::mapOptional(), llvm::yaml::IO::mapRequired(), llvm::ELFYAML::Chunk::Name, llvm::ELFYAML::Chunk::Offset, llvm::ELFYAML::Fill::Pattern, and llvm::ELFYAML::Fill::Size.
Definition at line 1607 of file ELFYAML.cpp.
References llvm::InnerAnalysisManagerProxy< AnalysisManagerT, IRUnitT, ExtraArgTs... >::Key, and llvm::yaml::IO::mapRequired().
|
static |
Definition at line 1530 of file ELFYAML.cpp.
References commonSectionMapping(), llvm::yaml::IO::mapOptional(), llvm::ELFYAML::GroupSection::Members, and llvm::ELFYAML::GroupSection::Signature.
Definition at line 574 of file YAMLTraits.h.
Referenced by needsQuotes().
Definition at line 1617 of file ELFYAML.cpp.
References llvm::StringRef::getAsInteger().
Definition at line 570 of file YAMLTraits.h.
Referenced by needsQuotes().
Definition at line 475 of file YAMLTraits.h.
References assert(), llvm::Default, llvm::StringRef::drop_front(), llvm::StringRef::empty(), llvm::StringRef::find_first_not_of(), llvm::StringRef::front(), llvm::StringRef::npos, llvm::StringRef::size(), llvm::StringRef::starts_with(), and llvm::CallingConv::Tail.
Referenced by needsQuotes().
void llvm::yaml::mapLoadCommandData | ( | IO & | IO, |
MachOYAML::LoadCommand & | LoadCommand ) |
Definition at line 218 of file MachOYAML.cpp.
References mapLoadCommandData().
Referenced by mapLoadCommandData(), mapLoadCommandData< MachO::build_version_command >(), mapLoadCommandData< MachO::dylib_command >(), mapLoadCommandData< MachO::dylinker_command >(), mapLoadCommandData< MachO::rpath_command >(), mapLoadCommandData< MachO::segment_command >(), mapLoadCommandData< MachO::segment_command_64 >(), mapLoadCommandData< MachO::sub_client_command >(), mapLoadCommandData< MachO::sub_framework_command >(), mapLoadCommandData< MachO::sub_library_command >(), and mapLoadCommandData< MachO::sub_umbrella_command >().
void llvm::yaml::mapLoadCommandData< MachO::build_version_command > | ( | IO & | IO, |
MachOYAML::LoadCommand & | LoadCommand ) |
Definition at line 275 of file MachOYAML.cpp.
References mapLoadCommandData(), llvm::yaml::IO::mapOptional(), and llvm::MachOYAML::LoadCommand::Tools.
void llvm::yaml::mapLoadCommandData< MachO::dylib_command > | ( | IO & | IO, |
MachOYAML::LoadCommand & | LoadCommand ) |
Definition at line 233 of file MachOYAML.cpp.
References llvm::MachOYAML::LoadCommand::Content, mapLoadCommandData(), and llvm::yaml::IO::mapOptional().
void llvm::yaml::mapLoadCommandData< MachO::dylinker_command > | ( | IO & | IO, |
MachOYAML::LoadCommand & | LoadCommand ) |
Definition at line 245 of file MachOYAML.cpp.
References llvm::MachOYAML::LoadCommand::Content, mapLoadCommandData(), and llvm::yaml::IO::mapOptional().
void llvm::yaml::mapLoadCommandData< MachO::rpath_command > | ( | IO & | IO, |
MachOYAML::LoadCommand & | LoadCommand ) |
Definition at line 239 of file MachOYAML.cpp.
References llvm::MachOYAML::LoadCommand::Content, mapLoadCommandData(), and llvm::yaml::IO::mapOptional().
void llvm::yaml::mapLoadCommandData< MachO::segment_command > | ( | IO & | IO, |
MachOYAML::LoadCommand & | LoadCommand ) |
Definition at line 221 of file MachOYAML.cpp.
References mapLoadCommandData(), llvm::yaml::IO::mapOptional(), and llvm::MachOYAML::LoadCommand::Sections.
void llvm::yaml::mapLoadCommandData< MachO::segment_command_64 > | ( | IO & | IO, |
MachOYAML::LoadCommand & | LoadCommand ) |
Definition at line 227 of file MachOYAML.cpp.
References mapLoadCommandData(), llvm::yaml::IO::mapOptional(), and llvm::MachOYAML::LoadCommand::Sections.
void llvm::yaml::mapLoadCommandData< MachO::sub_client_command > | ( | IO & | IO, |
MachOYAML::LoadCommand & | LoadCommand ) |
Definition at line 263 of file MachOYAML.cpp.
References llvm::MachOYAML::LoadCommand::Content, mapLoadCommandData(), and llvm::yaml::IO::mapOptional().
void llvm::yaml::mapLoadCommandData< MachO::sub_framework_command > | ( | IO & | IO, |
MachOYAML::LoadCommand & | LoadCommand ) |
Definition at line 251 of file MachOYAML.cpp.
References llvm::MachOYAML::LoadCommand::Content, mapLoadCommandData(), and llvm::yaml::IO::mapOptional().
void llvm::yaml::mapLoadCommandData< MachO::sub_library_command > | ( | IO & | IO, |
MachOYAML::LoadCommand & | LoadCommand ) |
Definition at line 269 of file MachOYAML.cpp.
References llvm::MachOYAML::LoadCommand::Content, mapLoadCommandData(), and llvm::yaml::IO::mapOptional().
void llvm::yaml::mapLoadCommandData< MachO::sub_umbrella_command > | ( | IO & | IO, |
MachOYAML::LoadCommand & | LoadCommand ) |
Definition at line 257 of file MachOYAML.cpp.
References llvm::MachOYAML::LoadCommand::Content, mapLoadCommandData(), and llvm::yaml::IO::mapOptional().
Definition at line 589 of file COFFYAML.cpp.
References llvm::yaml::IO::mapOptional(), MCase, llvm::yaml::IO::setError(), and T.
Referenced by llvm::yaml::MappingTraits< object::coff_load_configuration32 >::mapping(), and llvm::yaml::MappingTraits< object::coff_load_configuration64 >::mapping().
void llvm::yaml::mapLoadConfigMember | ( | IO & | IO, |
T & | LoadConfig, | ||
const char * | Name, | ||
M & | Member ) |
Definition at line 581 of file COFFYAML.cpp.
References llvm::yaml::IO::mapOptional(), and T.
|
inline |
Definition at line 589 of file YAMLTraits.h.
References llvm::StringRef::back(), llvm::CallingConv::C, Double, llvm::StringRef::empty(), llvm::StringRef::front(), llvm::isAlnum(), isBool(), isNull(), isNumeric(), llvm::isSpace(), None, and Single.
Referenced by llvm::yaml::ScalarTraits< BinaryRef >::mustQuote(), llvm::yaml::ScalarTraits< char_16 >::mustQuote(), llvm::yaml::ScalarTraits< FixedSizeString< N > >::mustQuote(), llvm::yaml::ScalarTraits< FlowStringValue >::mustQuote(), llvm::yaml::ScalarTraits< FrameIndex >::mustQuote(), llvm::yaml::ScalarTraits< std::string >::mustQuote(), llvm::yaml::ScalarTraits< StringRef >::mustQuote(), llvm::yaml::ScalarTraits< StringValue >::mustQuote(), llvm::yaml::ScalarTraits< uuid_t >::mustQuote(), and llvm::PrintStatisticsJSON().
|
inline |
Definition at line 1731 of file YAMLTraits.h.
|
inline |
Definition at line 1731 of file YAMLTraits.h.
|
inline |
Definition at line 1731 of file YAMLTraits.h.
|
inline |
Definition at line 1731 of file YAMLTraits.h.
References T.
|
inline |
Definition at line 1731 of file YAMLTraits.h.
|
inline |
Definition at line 1731 of file YAMLTraits.h.
|
inline |
Definition at line 1731 of file YAMLTraits.h.
|
inline |
Definition at line 1701 of file YAMLTraits.h.
|
inline |
Definition at line 1711 of file YAMLTraits.h.
|
inline |
Definition at line 1721 of file YAMLTraits.h.
|
inline |
Definition at line 1664 of file YAMLTraits.h.
References llvm::yaml::Input::error(), llvm::yaml::Input::nextDocument(), llvm::yaml::Input::setCurrentDocument(), T, and yamlize().
|
inline |
Definition at line 1680 of file YAMLTraits.h.
References llvm::yaml::Input::setCurrentDocument(), T, and yamlize().
|
inline |
Definition at line 1691 of file YAMLTraits.h.
References llvm::yaml::Input::setCurrentDocument(), T, and yamlize().
|
inline |
Definition at line 1731 of file YAMLTraits.h.
Parse S
as a bool according to https://yaml.org/type/bool.html.
Definition at line 771 of file YAMLParser.cpp.
References llvm::StringRef::drop_front(), llvm::StringRef::front(), and llvm::StringRef::size().
|
static |
Definition at line 316 of file XCOFFYAML.cpp.
References llvm::yaml::IO::outputting().
Referenced by llvm::yaml::MappingTraits< std::unique_ptr< XCOFFYAML::AuxSymbolEnt > >::mapping().
Scans all tokens in input without outputting anything.
This is used for benchmarking the tokenizer.
Definition at line 691 of file YAMLParser.cpp.
References llvm::yaml::Scanner::getNext(), T, llvm::yaml::Token::TK_Error, and llvm::yaml::Token::TK_StreamEnd.
|
static |
Definition at line 1553 of file ELFYAML.cpp.
References llvm::ELFYAML::SectionHeaderTable::Excluded, llvm::yaml::IO::mapOptional(), llvm::ELFYAML::SectionHeaderTable::NoHeaders, llvm::ELFYAML::Chunk::Offset, and llvm::ELFYAML::SectionHeaderTable::Sections.
|
static |
Definition at line 1541 of file ELFYAML.cpp.
References commonSectionMapping(), and llvm::yaml::IO::mapOptional().
|
static |
Definition at line 1582 of file ELFYAML.cpp.
References commonSectionMapping(), and llvm::yaml::IO::mapOptional().
|
static |
Definition at line 1461 of file ELFYAML.cpp.
References commonSectionMapping(), and llvm::yaml::IO::mapOptional().
|
static |
Definition at line 1572 of file ELFYAML.cpp.
References commonSectionMapping(), and llvm::yaml::IO::mapOptional().
|
static |
Definition at line 1566 of file ELFYAML.cpp.
References commonSectionMapping(), and llvm::yaml::IO::mapOptional().
|
static |
Definition at line 1440 of file ELFYAML.cpp.
References commonSectionMapping(), and llvm::yaml::IO::mapOptional().
Referenced by llvm::yaml::MappingTraits< std::unique_ptr< WasmYAML::Section > >::mapping().
|
static |
Definition at line 1491 of file ELFYAML.cpp.
References commonSectionMapping(), and llvm::yaml::IO::mapOptional().
|
static |
Definition at line 1473 of file ELFYAML.cpp.
References assert(), commonSectionMapping(), llvm::yaml::IO::mapOptional(), and llvm::yaml::IO::outputting().
|
static |
Definition at line 1561 of file ELFYAML.cpp.
References commonSectionMapping(), and llvm::yaml::IO::mapOptional().
|
static |
Definition at line 1587 of file ELFYAML.cpp.
References llvm::Mips::AFL_EXT_NONE, llvm::Mips::AFL_REG_NONE, commonSectionMapping(), llvm::yaml::IO::mapOptional(), llvm::yaml::IO::mapRequired(), and llvm::Mips::Val_GNU_MIPS_ABI_FP_ANY.
|
static |
Definition at line 1498 of file ELFYAML.cpp.
References commonSectionMapping().
|
static |
Definition at line 1485 of file ELFYAML.cpp.
References commonSectionMapping(), and llvm::yaml::IO::mapOptional().
|
static |
Definition at line 1445 of file ELFYAML.cpp.
References assert(), commonSectionMapping(), llvm::yaml::IO::mapOptional(), llvm::yaml::IO::outputting(), and llvm::yaml::IO::setError().
|
static |
Definition at line 1519 of file ELFYAML.cpp.
References commonSectionMapping(), and llvm::yaml::IO::mapOptional().
|
static |
Definition at line 1525 of file ELFYAML.cpp.
References commonSectionMapping(), and llvm::yaml::IO::mapOptional().
|
static |
Definition at line 1468 of file ELFYAML.cpp.
References commonSectionMapping(), and llvm::yaml::IO::mapOptional().
|
static |
Definition at line 1536 of file ELFYAML.cpp.
References commonSectionMapping(), and llvm::yaml::IO::mapOptional().
|
static |
Definition at line 1508 of file ELFYAML.cpp.
References commonSectionMapping(), and llvm::yaml::IO::mapOptional().
|
static |
Definition at line 1502 of file ELFYAML.cpp.
References commonSectionMapping(), and llvm::yaml::IO::mapOptional().
|
static |
Definition at line 1513 of file ELFYAML.cpp.
References commonSectionMapping(), and llvm::yaml::IO::mapOptional().
|
static |
Definition at line 153 of file WasmYAML.cpp.
References commonSectionMapping(), and llvm::yaml::IO::mapRequired().
|
static |
Definition at line 97 of file WasmYAML.cpp.
References commonSectionMapping(), and llvm::yaml::IO::mapRequired().
|
static |
Definition at line 163 of file WasmYAML.cpp.
References commonSectionMapping(), and llvm::yaml::IO::mapRequired().
|
static |
Definition at line 158 of file WasmYAML.cpp.
References commonSectionMapping(), and llvm::yaml::IO::mapRequired().
|
static |
Definition at line 52 of file WasmYAML.cpp.
References commonSectionMapping(), llvm::yaml::IO::mapOptional(), and llvm::yaml::IO::mapRequired().
|
static |
Definition at line 148 of file WasmYAML.cpp.
References commonSectionMapping(), and llvm::yaml::IO::mapOptional().
|
static |
Definition at line 138 of file WasmYAML.cpp.
References commonSectionMapping(), and llvm::yaml::IO::mapOptional().
|
static |
Definition at line 113 of file WasmYAML.cpp.
References commonSectionMapping(), and llvm::yaml::IO::mapOptional().
|
static |
Definition at line 133 of file WasmYAML.cpp.
References commonSectionMapping(), and llvm::yaml::IO::mapOptional().
|
static |
Definition at line 108 of file WasmYAML.cpp.
References commonSectionMapping(), and llvm::yaml::IO::mapOptional().
|
static |
Definition at line 73 of file WasmYAML.cpp.
References commonSectionMapping(), llvm::yaml::IO::mapOptional(), and llvm::yaml::IO::mapRequired().
|
static |
Definition at line 123 of file WasmYAML.cpp.
References commonSectionMapping(), and llvm::yaml::IO::mapOptional().
|
static |
Definition at line 65 of file WasmYAML.cpp.
References commonSectionMapping(), llvm::yaml::IO::mapOptional(), and llvm::yaml::IO::mapRequired().
|
static |
Definition at line 83 of file WasmYAML.cpp.
References commonSectionMapping(), llvm::yaml::IO::mapOptional(), and llvm::yaml::IO::mapRequired().
|
static |
Definition at line 143 of file WasmYAML.cpp.
References commonSectionMapping(), and llvm::yaml::IO::mapOptional().
|
static |
Definition at line 118 of file WasmYAML.cpp.
References commonSectionMapping(), and llvm::yaml::IO::mapOptional().
|
static |
Definition at line 128 of file WasmYAML.cpp.
References commonSectionMapping(), and llvm::yaml::IO::mapOptional().
|
static |
Definition at line 91 of file WasmYAML.cpp.
References commonSectionMapping(), and llvm::yaml::IO::mapRequired().
|
static |
Definition at line 103 of file WasmYAML.cpp.
References commonSectionMapping(), and llvm::yaml::IO::mapOptional().
Definition at line 1613 of file ELFYAML.cpp.
References llvm::InnerAnalysisManagerProxy< AnalysisManagerT, IRUnitT, ExtraArgTs... >::Key, and llvm::yaml::IO::mapRequired().
void llvm::yaml::skip | ( | CollectionType & | C | ) |
Definition at line 405 of file YAMLParser.h.
References assert(), begin(), and llvm::CallingConv::C.
Referenced by llvm::yaml::MappingNode::skip(), llvm::yaml::SequenceNode::skip(), llvm::yaml::MappingNode::yaml::skip, and llvm::yaml::SequenceNode::yaml::skip.
bool llvm::yaml::yaml2archive | ( | ArchYAML::Archive & | Doc, |
raw_ostream & | Out, | ||
ErrorHandler | EH ) |
Definition at line 19 of file ArchiveEmitter.cpp.
References llvm::CallingConv::C, llvm::ArchYAML::Archive::Content, llvm::StringRef::data(), I, llvm::ArchYAML::Archive::Magic, llvm::ArchYAML::Archive::Members, P, Size, llvm::StringRef::size(), and llvm::raw_ostream::write().
Referenced by convertYAML().
bool llvm::yaml::yaml2coff | ( | COFFYAML::Object & | Doc, |
raw_ostream & | Out, | ||
ErrorHandler | EH ) |
Definition at line 618 of file COFFEmitter.cpp.
References layoutCOFF(), layoutOptionalHeader(), and writeCOFF().
Referenced by convertYAML().
bool llvm::yaml::yaml2dxcontainer | ( | DXContainerYAML::Object & | Doc, |
raw_ostream & | Out, | ||
ErrorHandler | EH ) |
Definition at line 396 of file DXContainerEmitter.cpp.
References llvm::handleAllErrors(), and yaml2dxcontainer().
Referenced by convertYAML(), and yaml2dxcontainer().
bool llvm::yaml::yaml2elf | ( | ELFYAML::Object & | Doc, |
raw_ostream & | Out, | ||
ErrorHandler | EH, | ||
uint64_t | MaxSize ) |
Definition at line 2158 of file ELFEmitter.cpp.
References llvm::ELFYAML::FileHeader::Class, llvm::ELFYAML::FileHeader::Data, llvm::ELF::ELFCLASS64, llvm::ELF::ELFDATA2LSB, and llvm::ELFYAML::Object::Header.
Referenced by llvm::offloading::intel::containerizeOpenMPSPIRVImage(), and convertYAML().
bool llvm::yaml::yaml2goff | ( | GOFFYAML::Object & | Doc, |
raw_ostream & | Out, | ||
ErrorHandler | EH ) |
Definition at line 273 of file GOFFEmitter.cpp.
References yaml2goff().
Referenced by convertYAML(), and yaml2goff().
bool llvm::yaml::yaml2macho | ( | YamlObjectFile & | Doc, |
raw_ostream & | Out, | ||
ErrorHandler | EH ) |
Definition at line 745 of file MachOEmitter.cpp.
References llvm::handleAllErrors(), and yaml2macho().
Referenced by convertYAML(), and yaml2macho().
bool llvm::yaml::yaml2minidump | ( | MinidumpYAML::Object & | Doc, |
raw_ostream & | Out, | ||
ErrorHandler | EH ) |
Definition at line 257 of file MinidumpEmitter.cpp.
References llvm::ArrayRef(), llvm::enumerate(), llvm::MinidumpYAML::Object::Header, layout(), llvm::minidump::Header::NumberOfStreams, llvm::minidump::Header::StreamDirectoryRVA, llvm::MinidumpYAML::Object::Streams, and yaml2minidump().
Referenced by convertYAML(), and yaml2minidump().
std::unique_ptr< object::ObjectFile > llvm::yaml::yaml2ObjectFile | ( | SmallVectorImpl< char > & | Storage, |
StringRef | Yaml, | ||
ErrorHandler | ErrHandler ) |
Convenience function for tests.
Definition at line 66 of file yaml2obj.cpp.
References llvm::SmallVectorImpl< T >::clear(), convertYAML(), llvm::object::ObjectFile::createObjectFile(), llvm::raw_svector_ostream::str(), llvm::Expected< T >::takeError(), and llvm::toString().
bool llvm::yaml::yaml2offload | ( | OffloadYAML::Binary & | Doc, |
raw_ostream & | Out, | ||
ErrorHandler | EH ) |
Definition at line 20 of file OffloadEmitter.cpp.
References llvm::Data, llvm::OffloadYAML::Binary::EntryOffset, llvm::OffloadYAML::Binary::EntrySize, llvm::MemoryBuffer::getMemBufferCopy(), llvm::OffloadYAML::Binary::Members, llvm::OffloadYAML::Binary::Size, llvm::raw_svector_ostream::str(), llvm::object::OffloadBinary::Header::Version, llvm::OffloadYAML::Binary::Version, llvm::object::OffloadBinary::write(), and llvm::raw_ostream::write().
Referenced by convertYAML().
bool llvm::yaml::yaml2wasm | ( | WasmYAML::Object & | Doc, |
raw_ostream & | Out, | ||
ErrorHandler | EH ) |
Definition at line 697 of file WasmEmitter.cpp.
References yaml2wasm().
Referenced by convertYAML(), and yaml2wasm().
bool llvm::yaml::yaml2xcoff | ( | XCOFFYAML::Object & | Doc, |
raw_ostream & | Out, | ||
ErrorHandler | EH ) |
Definition at line 894 of file XCOFFEmitter.cpp.
References yaml2xcoff().
Referenced by convertYAML(), and yaml2xcoff().
std::enable_if_t< has_SequenceTraits< T >::value, void > llvm::yaml::yamlize | ( | IO & | io, |
T & | Seq, | ||
bool | , | ||
Context & | Ctx ) |
Definition at line 1075 of file YAMLTraits.h.
References llvm::yaml::IO::beginFlowSequence(), llvm::yaml::IO::beginSequence(), llvm::count(), llvm::yaml::IO::endFlowSequence(), llvm::yaml::IO::endSequence(), llvm::yaml::IO::outputting(), llvm::yaml::IO::postflightElement(), llvm::yaml::IO::postflightFlowElement(), llvm::yaml::IO::preflightElement(), llvm::yaml::IO::preflightFlowElement(), T, and yamlize().
std::enable_if_t< validatedMappingTraits< T, Context >::value, void > llvm::yaml::yamlize | ( | IO & | io, |
T & | Val, | ||
bool | , | ||
Context & | Ctx ) |
Definition at line 983 of file YAMLTraits.h.
References assert(), llvm::yaml::IO::beginFlowMapping(), llvm::yaml::IO::beginMapping(), llvm::yaml::detail::doMapping(), llvm::yaml::detail::doValidate(), llvm::yaml::IO::endFlowMapping(), llvm::yaml::IO::endMapping(), llvm::errs(), llvm::yaml::IO::outputting(), llvm::yaml::IO::setError(), and T.
std::enable_if_t< unvalidatedMappingTraits< T, Context >::value, void > llvm::yaml::yamlize | ( | IO & | io, |
T & | Val, | ||
bool | , | ||
Context & | Ctx ) |
Definition at line 1024 of file YAMLTraits.h.
References llvm::yaml::IO::beginFlowMapping(), llvm::yaml::IO::beginMapping(), llvm::yaml::detail::doMapping(), llvm::yaml::IO::endFlowMapping(), llvm::yaml::IO::endMapping(), T, and yamlizeMappingEnumInput().
std::enable_if_t< has_ScalarEnumerationTraits< T >::value, void > llvm::yaml::yamlize | ( | IO & | io, |
T & | Val, | ||
bool | , | ||
EmptyContext & | Ctx ) |
Definition at line 887 of file YAMLTraits.h.
References llvm::yaml::IO::beginEnumScalar(), llvm::yaml::IO::endEnumScalar(), and T.
Referenced by llvm::yaml::IO::enumFallback(), operator>>(), operator>>(), operator>>(), operator>>(), llvm::MIRParserImpl::parseMachineFunction(), yamlize(), and yamlize().
std::enable_if_t< has_ScalarBitSetTraits< T >::value, void > llvm::yaml::yamlize | ( | IO & | io, |
T & | Val, | ||
bool | , | ||
EmptyContext & | Ctx ) |
Definition at line 895 of file YAMLTraits.h.
References llvm::yaml::IO::beginBitSetScalar(), llvm::yaml::IO::endBitSetScalar(), and T.
std::enable_if_t< has_ScalarTraits< T >::value, void > llvm::yaml::yamlize | ( | IO & | io, |
T & | Val, | ||
bool | , | ||
EmptyContext & | Ctx ) |
Definition at line 906 of file YAMLTraits.h.
References llvm::yaml::IO::getContext(), llvm::yaml::IO::outputting(), llvm::yaml::IO::scalarString(), llvm::yaml::IO::setError(), llvm::raw_svector_ostream::str(), and T.
std::enable_if_t< has_TaggedScalarTraits< T >::value, void > llvm::yaml::yamlize | ( | IO & | io, |
T & | Val, | ||
bool | , | ||
EmptyContext & | Ctx ) |
Definition at line 945 of file YAMLTraits.h.
References llvm::yaml::IO::getContext(), None, llvm::yaml::IO::outputting(), llvm::yaml::IO::scalarString(), llvm::yaml::IO::scalarTag(), llvm::yaml::IO::setError(), T, and llvm::Tag.
std::enable_if_t< has_CustomMappingTraits< T >::value, void > llvm::yaml::yamlize | ( | IO & | io, |
T & | Val, | ||
bool | , | ||
EmptyContext & | Ctx ) |
Definition at line 1040 of file YAMLTraits.h.
References llvm::yaml::IO::beginMapping(), llvm::yaml::IO::endMapping(), llvm::yaml::IO::keys(), llvm::yaml::IO::outputting(), and T.
std::enable_if_t< has_PolymorphicTraits< T >::value, void > llvm::yaml::yamlize | ( | IO & | io, |
T & | Val, | ||
bool | , | ||
EmptyContext & | Ctx ) |
Definition at line 1055 of file YAMLTraits.h.
References llvm::yaml::IO::getNodeKind(), Map, llvm::yaml::IO::outputting(), Scalar, Sequence, T, and yamlize().
std::enable_if_t< missingTraits< T, EmptyContext >::value, void > llvm::yaml::yamlize | ( | IO & | io, |
T & | Val, | ||
bool | , | ||
EmptyContext & | Ctx ) |
Definition at line 1069 of file YAMLTraits.h.
References T.
std::enable_if_t< has_BlockScalarTraits< T >::value, void > llvm::yaml::yamlize | ( | IO & | YamlIO, |
T & | Val, | ||
bool | , | ||
EmptyContext & | Ctx ) |
Definition at line 926 of file YAMLTraits.h.
References llvm::yaml::IO::blockScalarString(), llvm::yaml::IO::getContext(), llvm::yaml::IO::outputting(), llvm::yaml::IO::setError(), and T.
Definition at line 1008 of file YAMLTraits.h.
References llvm::yaml::IO::beginEnumScalar(), llvm::yaml::IO::endEnumScalar(), llvm::yaml::IO::matchEnumFallback(), llvm::yaml::IO::outputting(), T, and llvm::yaml::has_MappingEnumInputTraits< T, Context >::value.
Referenced by yamlize().