|
LLVM 24.0.0git
|
Namespaces | |
| namespace | detail |
Typedefs | |
| using | StringAndGUID = std::pair<llvm::StringRef, llvm::GlobalValue::GUID> |
| 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 178 of file WebAssemblyMachineFunctionInfo.h.
| using llvm::yaml::char_16 = char[16] |
Definition at line 318 of file MachOYAML.h.
| using llvm::yaml::check_resize_t = decltype(std::declval<T>().resize(0)) |
Definition at line 1846 of file YAMLTraits.h.
| using llvm::yaml::ErrorHandler = llvm::function_ref<void(const Twine &Msg)> |
Definition at line 68 of file yaml2obj.h.
| using llvm::yaml::StringAndGUID = std::pair<llvm::StringRef, llvm::GlobalValue::GUID> |
Definition at line 341 of file ModuleSummaryIndexYAML.h.
Definition at line 328 of file MachOYAML.h.
|
strong |
| Enumerator | |
|---|---|
| Scalar | |
| Map | |
| Sequence | |
Definition at line 45 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 132 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.
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 1199 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, uint64_t, 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 1332 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.
Referenced by llvm::yaml::MappingTraits< std::unique_ptr< ELFYAML::Chunk > >::mapping().
Definition at line 1393 of file ELFYAML.cpp.
References llvm::InnerAnalysisManagerProxy< AnalysisManagerT, IRUnitT, ExtraArgTs... >::Key, and llvm::yaml::IO::mapRequired().
Referenced by llvm::yaml::MappingTraits< ELFYAML::ARMIndexTableEntry >::mapping(), and llvm::yaml::MappingTraits< std::unique_ptr< ELFYAML::Chunk > >::mapping().
|
static |
Definition at line 1316 of file ELFYAML.cpp.
References commonSectionMapping(), llvm::yaml::IO::mapOptional(), llvm::ELFYAML::GroupSection::Members, and llvm::ELFYAML::GroupSection::Signature.
Referenced by llvm::yaml::MappingTraits< std::unique_ptr< ELFYAML::Chunk > >::mapping().
Definition at line 575 of file YAMLTraits.h.
Referenced by needsQuotes().
Definition at line 1403 of file ELFYAML.cpp.
References llvm::StringRef::getAsInteger().
Referenced by llvm::yaml::MappingTraits< std::unique_ptr< ELFYAML::Chunk > >::mapping().
Definition at line 571 of file YAMLTraits.h.
Referenced by needsQuotes().
Definition at line 476 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(), and llvm::StringRef::starts_with().
Referenced by needsQuotes().
| void llvm::yaml::mapLoadCommandData | ( | IO & | IO, |
| MachOYAML::LoadCommand & | LoadCommand ) |
Definition at line 220 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 >(), mapLoadCommandData< MachO::sub_umbrella_command >(), and mapLoadCommandData< MachO::target_triple_command >().
| void llvm::yaml::mapLoadCommandData< MachO::build_version_command > | ( | IO & | IO, |
| MachOYAML::LoadCommand & | LoadCommand ) |
Definition at line 277 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 235 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 247 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 241 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 223 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 229 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 265 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 253 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 271 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 259 of file MachOYAML.cpp.
References llvm::MachOYAML::LoadCommand::Content, mapLoadCommandData(), and llvm::yaml::IO::mapOptional().
| void llvm::yaml::mapLoadCommandData< MachO::target_triple_command > | ( | IO & | IO, |
| MachOYAML::LoadCommand & | LoadCommand ) |
Definition at line 283 of file MachOYAML.cpp.
References llvm::MachOYAML::LoadCommand::Content, mapLoadCommandData(), and llvm::yaml::IO::mapOptional().
Definition at line 590 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 582 of file COFFYAML.cpp.
References llvm::yaml::IO::mapOptional(), and T.
|
inline |
Definition at line 590 of file YAMLTraits.h.
References llvm::StringRef::back(), 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 1734 of file YAMLTraits.h.
|
inline |
Definition at line 1734 of file YAMLTraits.h.
|
inline |
Definition at line 1734 of file YAMLTraits.h.
|
inline |
Definition at line 1734 of file YAMLTraits.h.
References T.
|
inline |
Definition at line 1734 of file YAMLTraits.h.
|
inline |
Definition at line 1734 of file YAMLTraits.h.
|
inline |
Definition at line 1734 of file YAMLTraits.h.
|
inline |
Definition at line 1704 of file YAMLTraits.h.
|
inline |
Definition at line 1714 of file YAMLTraits.h.
|
inline |
Definition at line 1724 of file YAMLTraits.h.
|
inline |
Definition at line 1667 of file YAMLTraits.h.
References llvm::yaml::Input::error(), llvm::yaml::Input::nextDocument(), llvm::yaml::Input::setCurrentDocument(), T, and yamlize().
|
inline |
Definition at line 1683 of file YAMLTraits.h.
References llvm::yaml::Input::setCurrentDocument(), T, and yamlize().
|
inline |
Definition at line 1694 of file YAMLTraits.h.
References llvm::yaml::Input::setCurrentDocument(), T, and yamlize().
|
inline |
Definition at line 1734 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 1339 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.
Referenced by llvm::yaml::MappingTraits< std::unique_ptr< ELFYAML::Chunk > >::mapping().
|
static |
Definition at line 1327 of file ELFYAML.cpp.
References commonSectionMapping(), and llvm::yaml::IO::mapOptional().
|
static |
Definition at line 1368 of file ELFYAML.cpp.
References commonSectionMapping(), and llvm::yaml::IO::mapOptional().
|
static |
Definition at line 1247 of file ELFYAML.cpp.
References commonSectionMapping(), and llvm::yaml::IO::mapOptional().
|
static |
Definition at line 1358 of file ELFYAML.cpp.
References commonSectionMapping(), and llvm::yaml::IO::mapOptional().
|
static |
Definition at line 1352 of file ELFYAML.cpp.
References commonSectionMapping(), and llvm::yaml::IO::mapOptional().
|
static |
Definition at line 1226 of file ELFYAML.cpp.
References commonSectionMapping(), and llvm::yaml::IO::mapOptional().
Referenced by llvm::yaml::MappingTraits< std::unique_ptr< ELFYAML::Chunk > >::mapping(), and llvm::yaml::MappingTraits< std::unique_ptr< WasmYAML::Section > >::mapping().
|
static |
Definition at line 1277 of file ELFYAML.cpp.
References commonSectionMapping(), and llvm::yaml::IO::mapOptional().
|
static |
Definition at line 1259 of file ELFYAML.cpp.
References assert(), commonSectionMapping(), llvm::yaml::IO::mapOptional(), and llvm::yaml::IO::outputting().
|
static |
Definition at line 1347 of file ELFYAML.cpp.
References commonSectionMapping(), and llvm::yaml::IO::mapOptional().
|
static |
Definition at line 1373 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 1284 of file ELFYAML.cpp.
References commonSectionMapping().
|
static |
Definition at line 1271 of file ELFYAML.cpp.
References commonSectionMapping(), and llvm::yaml::IO::mapOptional().
|
static |
Definition at line 1231 of file ELFYAML.cpp.
References assert(), commonSectionMapping(), llvm::yaml::IO::mapOptional(), llvm::yaml::IO::outputting(), and llvm::yaml::IO::setError().
|
static |
Definition at line 1305 of file ELFYAML.cpp.
References commonSectionMapping(), and llvm::yaml::IO::mapOptional().
|
static |
Definition at line 1311 of file ELFYAML.cpp.
References commonSectionMapping(), and llvm::yaml::IO::mapOptional().
|
static |
Definition at line 1254 of file ELFYAML.cpp.
References commonSectionMapping(), and llvm::yaml::IO::mapOptional().
|
static |
Definition at line 1322 of file ELFYAML.cpp.
References commonSectionMapping(), and llvm::yaml::IO::mapOptional().
|
static |
Definition at line 1294 of file ELFYAML.cpp.
References commonSectionMapping(), and llvm::yaml::IO::mapOptional().
|
static |
Definition at line 1288 of file ELFYAML.cpp.
References commonSectionMapping(), and llvm::yaml::IO::mapOptional().
|
static |
Definition at line 1299 of file ELFYAML.cpp.
References commonSectionMapping(), and llvm::yaml::IO::mapOptional().
|
static |
Definition at line 155 of file WasmYAML.cpp.
References commonSectionMapping(), and llvm::yaml::IO::mapRequired().
|
static |
Definition at line 99 of file WasmYAML.cpp.
References commonSectionMapping(), and llvm::yaml::IO::mapRequired().
|
static |
Definition at line 165 of file WasmYAML.cpp.
References commonSectionMapping(), and llvm::yaml::IO::mapRequired().
|
static |
Definition at line 160 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 150 of file WasmYAML.cpp.
References commonSectionMapping(), and llvm::yaml::IO::mapOptional().
|
static |
Definition at line 140 of file WasmYAML.cpp.
References commonSectionMapping(), and llvm::yaml::IO::mapOptional().
|
static |
Definition at line 115 of file WasmYAML.cpp.
References commonSectionMapping(), and llvm::yaml::IO::mapOptional().
|
static |
Definition at line 135 of file WasmYAML.cpp.
References commonSectionMapping(), and llvm::yaml::IO::mapOptional().
|
static |
Definition at line 110 of file WasmYAML.cpp.
References commonSectionMapping(), and llvm::yaml::IO::mapOptional().
|
static |
Definition at line 74 of file WasmYAML.cpp.
References commonSectionMapping(), llvm::yaml::IO::mapOptional(), and llvm::yaml::IO::mapRequired().
|
static |
Definition at line 125 of file WasmYAML.cpp.
References commonSectionMapping(), and llvm::yaml::IO::mapOptional().
|
static |
Definition at line 66 of file WasmYAML.cpp.
References commonSectionMapping(), llvm::yaml::IO::mapOptional(), and llvm::yaml::IO::mapRequired().
|
static |
Definition at line 85 of file WasmYAML.cpp.
References commonSectionMapping(), llvm::yaml::IO::mapOptional(), and llvm::yaml::IO::mapRequired().
|
static |
Definition at line 145 of file WasmYAML.cpp.
References commonSectionMapping(), and llvm::yaml::IO::mapOptional().
|
static |
Definition at line 120 of file WasmYAML.cpp.
References commonSectionMapping(), and llvm::yaml::IO::mapOptional().
|
static |
Definition at line 130 of file WasmYAML.cpp.
References commonSectionMapping(), and llvm::yaml::IO::mapOptional().
|
static |
Definition at line 93 of file WasmYAML.cpp.
References commonSectionMapping(), and llvm::yaml::IO::mapRequired().
|
static |
Definition at line 105 of file WasmYAML.cpp.
References commonSectionMapping(), and llvm::yaml::IO::mapOptional().
Definition at line 1399 of file ELFYAML.cpp.
References llvm::InnerAnalysisManagerProxy< AnalysisManagerT, IRUnitT, ExtraArgTs... >::Key, and llvm::yaml::IO::mapRequired().
Referenced by llvm::yaml::MappingTraits< std::unique_ptr< ELFYAML::Chunk > >::mapping().
| void llvm::yaml::skip | ( | CollectionType & | C | ) |
Definition at line 405 of file YAMLParser.h.
References assert(), begin(), and 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 C(), llvm::ArchYAML::Archive::Content, llvm::StringRef::data(), I, llvm::ArchYAML::Archive::Magic, llvm::ArchYAML::Archive::Members, P, llvm::Size, and llvm::StringRef::size().
Referenced by convertYAML().
| bool llvm::yaml::yaml2coff | ( | COFFYAML::Object & | Doc, |
| raw_ostream & | Out, | ||
| ErrorHandler | EH, | ||
| uint64_t | MaxSize ) |
Definition at line 607 of file COFFEmitter.cpp.
References llvm::consumeError(), llvm::yaml::ContiguousBlobAccumulator::takeLimitError(), llvm::yaml::ContiguousBlobAccumulator::writeBlobToStream(), and writeCOFF().
Referenced by convertYAML().
| bool llvm::yaml::yaml2dxcontainer | ( | DXContainerYAML::Object & | Doc, |
| raw_ostream & | Out, | ||
| ErrorHandler | EH ) |
Definition at line 572 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 1955 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 convertYAML().
| bool llvm::yaml::yaml2goff | ( | GOFFYAML::Object & | Doc, |
| raw_ostream & | Out, | ||
| ErrorHandler | EH ) |
Definition at line 274 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 813 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(), layout(), 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 22 of file OffloadEmitter.cpp.
References llvm::SmallVectorTemplateCommon< T, typename >::begin(), llvm::Binary, llvm::OffloadYAML::Binary::Compression, llvm::Data, llvm::OffloadYAML::Binary::EntriesCount, llvm::OffloadYAML::Binary::EntriesOffset, llvm::MemoryBuffer::getMemBufferCopy(), llvm::OffloadYAML::Binary::Members, llvm::SmallVectorTemplateBase< T, bool >::push_back(), llvm::OffloadYAML::Binary::Size, llvm::SmallVectorTemplateCommon< T, typename >::size(), llvm::raw_svector_ostream::str(), llvm::Expected< T >::takeError(), llvm::toString(), llvm::object::OffloadBinary::Header::Version, llvm::OffloadYAML::Binary::Version, and llvm::object::OffloadBinary::write().
Referenced by convertYAML().
| bool llvm::yaml::yaml2wasm | ( | WasmYAML::Object & | Doc, |
| raw_ostream & | Out, | ||
| ErrorHandler | EH ) |
Definition at line 733 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 1076 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 984 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 1025 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 888 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 896 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 907 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 946 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 1041 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 1056 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 1070 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 927 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 1009 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().