|
LLVM
4.0.0
|
Namespaces | |
| detail | |
Typedefs | |
| typedef char | char_16 [16] |
| typedef uint8_t | uuid_t [16] |
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) |
| Escape Input for a double quoted scalar. More... | |
| template<class CollectionType > | |
| CollectionType::iterator | begin (CollectionType &C) |
| template<class CollectionType > | |
| void | skip (CollectionType &C) |
| bool | isNumber (StringRef S) |
| bool | isNumeric (StringRef S) |
| bool | isNull (StringRef S) |
| bool | isBool (StringRef S) |
| bool | needsQuotes (StringRef S) |
| template<typename T > | |
| std::enable_if < has_ScalarEnumerationTraits < T >::value, void >::type | yamlize (IO &io, T &Val, bool, EmptyContext &Ctx) |
| template<typename T > | |
| std::enable_if < has_ScalarBitSetTraits< T > ::value, void >::type | yamlize (IO &io, T &Val, bool, EmptyContext &Ctx) |
| template<typename T > | |
| std::enable_if < has_ScalarTraits< T >::value, void >::type | yamlize (IO &io, T &Val, bool, EmptyContext &Ctx) |
| template<typename T > | |
| std::enable_if < has_BlockScalarTraits< T > ::value, void >::type | yamlize (IO &YamlIO, T &Val, bool, EmptyContext &Ctx) |
| template<typename T , typename Context > | |
| std::enable_if < validatedMappingTraits< T, Context >::value, void >::type | yamlize (IO &io, T &Val, bool, Context &Ctx) |
| template<typename T , typename Context > | |
| std::enable_if < unvalidatedMappingTraits< T, Context >::value, void >::type | yamlize (IO &io, T &Val, bool, Context &Ctx) |
| template<typename T > | |
| std::enable_if < has_CustomMappingTraits< T > ::value, void >::type | yamlize (IO &io, T &Val, bool, EmptyContext &Ctx) |
| template<typename T > | |
| std::enable_if< missingTraits < T, EmptyContext >::value, void >::type | yamlize (IO &io, T &Val, bool, EmptyContext &Ctx) |
| template<typename T , typename Context > | |
| std::enable_if < has_SequenceTraits< T > ::value, void >::type | yamlize (IO &io, T &Seq, bool, Context &Ctx) |
| template<typename T > | |
| std::enable_if < has_DocumentListTraits< T > ::value, Input & >::type | operator>> (Input &yin, T &docList) |
| template<typename T > | |
| std::enable_if < has_MappingTraits< T, EmptyContext >::value, Input & > ::type | operator>> (Input &yin, T &docMap) |
| template<typename T > | |
| std::enable_if < has_SequenceTraits< T > ::value, Input & >::type | operator>> (Input &yin, T &docSeq) |
| template<typename T > | |
| std::enable_if < has_BlockScalarTraits< T > ::value, Input & >::type | operator>> (Input &In, T &Val) |
| template<typename T > | |
| std::enable_if < has_CustomMappingTraits< T > ::value, Input & >::type | operator>> (Input &In, T &Val) |
| template<typename T > | |
| std::enable_if< missingTraits < T, EmptyContext >::value, Input & >::type | operator>> (Input &yin, T &docSeq) |
| template<typename T > | |
| std::enable_if < has_DocumentListTraits< T > ::value, Output & >::type | operator<< (Output &yout, T &docList) |
| template<typename T > | |
| std::enable_if < has_MappingTraits< T, EmptyContext >::value, Output & > ::type | operator<< (Output &yout, T &map) |
| template<typename T > | |
| std::enable_if < has_SequenceTraits< T > ::value, Output & >::type | operator<< (Output &yout, T &seq) |
| template<typename T > | |
| std::enable_if < has_BlockScalarTraits< T > ::value, Output & >::type | operator<< (Output &Out, T &Val) |
| template<typename T > | |
| std::enable_if < has_CustomMappingTraits< T > ::value, Output & >::type | operator<< (Output &Out, T &Val) |
| template<typename T > | |
| std::enable_if< missingTraits < T, EmptyContext >::value, Output & >::type | operator<< (Output &yout, T &seq) |
| 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) |
| typedef char llvm::yaml::char_16[16] |
Definition at line 248 of file MachOYAML.h.
| typedef uint8_t llvm::yaml::uuid_t[16] |
Definition at line 259 of file MachOYAML.h.
| CollectionType::iterator llvm::yaml::begin | ( | CollectionType & | C | ) |
Definition at line 366 of file YAMLParser.h.
References assert().
Referenced by llvm::yaml::MappingNode::begin(), llvm::yaml::SequenceNode::begin(), and skip().
|
static |
Definition at line 685 of file ELFYAML.cpp.
References llvm::ELFYAML::Section::Address, llvm::ELFYAML::Section::AddressAlign, llvm::ELFYAML::Section::Flags, llvm::ELFYAML::Section::Info, llvm::ELFYAML::Section::Link, llvm::yaml::IO::mapOptional(), llvm::yaml::IO::mapRequired(), 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 573 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.
| std::string llvm::yaml::escape | ( | StringRef | Input | ) |
Escape Input for a double quoted scalar.
Definition at line 670 of file YAMLParser.cpp.
References llvm::StringRef::begin(), llvm::SmallVectorTemplateCommon< T >::begin(), decodeUTF8(), encodeUTF8(), llvm::StringRef::end(), llvm::SmallVectorTemplateCommon< T >::end(), i, and llvm::utohexstr().
|
static |
Definition at line 711 of file ELFYAML.cpp.
References commonSectionMapping(), llvm::yaml::IO::mapRequired(), and llvm::ELFYAML::Group::Members.
Referenced by llvm::yaml::MappingTraits< std::unique_ptr< ELFYAML::Section > >::mapping().
|
inline |
Definition at line 484 of file YAMLTraits.h.
References llvm::StringRef::equals().
Referenced by needsQuotes().
|
inline |
Definition at line 479 of file YAMLTraits.h.
References llvm::StringRef::equals().
Referenced by llvm::ConstantFoldGetElementPtr(), llvm::object::ImportDirectoryEntryRef::moveNext(), needsQuotes(), and llvm::MachineRegisterInfo::setType().
|
inline |
Definition at line 437 of file YAMLTraits.h.
References llvm::StringRef::drop_front(), llvm::StringRef::equals(), llvm::StringRef::find_first_not_of(), llvm::Regex::match(), llvm::StringRef::npos, and llvm::StringRef::startswith().
Referenced by isNumeric().
|
inline |
Definition at line 466 of file YAMLTraits.h.
References llvm::StringRef::drop_front(), llvm::StringRef::equals(), llvm::StringRef::front(), and isNumber().
Referenced by needsQuotes().
| void llvm::yaml::mapLoadCommandData | ( | IO & | IO, |
| MachOYAML::LoadCommand & | LoadCommand | ||
| ) |
Definition at line 201 of file MachOYAML.cpp.
| void llvm::yaml::mapLoadCommandData< MachO::dylib_command > | ( | IO & | IO, |
| MachOYAML::LoadCommand & | LoadCommand | ||
| ) |
Definition at line 216 of file MachOYAML.cpp.
References llvm::yaml::IO::mapOptional().
| void llvm::yaml::mapLoadCommandData< MachO::dylinker_command > | ( | IO & | IO, |
| MachOYAML::LoadCommand & | LoadCommand | ||
| ) |
Definition at line 228 of file MachOYAML.cpp.
References llvm::yaml::IO::mapOptional().
| void llvm::yaml::mapLoadCommandData< MachO::rpath_command > | ( | IO & | IO, |
| MachOYAML::LoadCommand & | LoadCommand | ||
| ) |
Definition at line 222 of file MachOYAML.cpp.
References llvm::yaml::IO::mapOptional().
| void llvm::yaml::mapLoadCommandData< MachO::segment_command > | ( | IO & | IO, |
| MachOYAML::LoadCommand & | LoadCommand | ||
| ) |
Definition at line 204 of file MachOYAML.cpp.
References llvm::yaml::IO::mapOptional().
| void llvm::yaml::mapLoadCommandData< MachO::segment_command_64 > | ( | IO & | IO, |
| MachOYAML::LoadCommand & | LoadCommand | ||
| ) |
Definition at line 210 of file MachOYAML.cpp.
References llvm::yaml::IO::mapOptional().
|
inline |
Definition at line 489 of file YAMLTraits.h.
References llvm::StringRef::back(), llvm::StringRef::empty(), llvm::StringRef::find_first_not_of(), llvm::StringRef::front(), isBool(), isNull(), isNumeric(), and llvm::StringRef::npos.
Referenced by llvm::yaml::ScalarTraits< StringValue >::mustQuote(), llvm::yaml::ScalarTraits< FlowStringValue >::mustQuote(), llvm::yaml::ScalarTraits< BinaryRef >::mustQuote(), llvm::yaml::ScalarTraits< char_16 >::mustQuote(), llvm::yaml::ScalarTraits< uuid_t >::mustQuote(), llvm::yaml::ScalarTraits< StringRef >::mustQuote(), llvm::yaml::ScalarTraits< std::string >::mustQuote(), and llvm::PrintStatisticsJSON().
|
inline |
Definition at line 1454 of file YAMLTraits.h.
References llvm::yaml::Output::beginDocuments(), llvm::count(), llvm::yaml::Output::endDocuments(), i, llvm::yaml::Output::postflightDocument(), llvm::yaml::Output::preflightDocument(), and yamlize().
|
inline |
Definition at line 1473 of file YAMLTraits.h.
References llvm::yaml::Output::beginDocuments(), llvm::yaml::Output::endDocuments(), llvm::yaml::Output::postflightDocument(), llvm::yaml::Output::preflightDocument(), and yamlize().
|
inline |
Definition at line 1488 of file YAMLTraits.h.
References llvm::yaml::Output::beginDocuments(), llvm::yaml::Output::endDocuments(), llvm::yaml::Output::postflightDocument(), llvm::yaml::Output::preflightDocument(), and yamlize().
|
inline |
Definition at line 1503 of file YAMLTraits.h.
References llvm::yaml::Output::beginDocuments(), llvm::yaml::Output::endDocuments(), llvm::yaml::Output::postflightDocument(), llvm::yaml::Output::preflightDocument(), and yamlize().
|
inline |
Definition at line 1518 of file YAMLTraits.h.
References llvm::yaml::Output::beginDocuments(), llvm::yaml::Output::endDocuments(), llvm::yaml::Output::postflightDocument(), llvm::yaml::Output::preflightDocument(), and yamlize().
|
inline |
Definition at line 1533 of file YAMLTraits.h.
Definition at line 88 of file YAML.h.
References llvm::ArrayRef< T >::empty().
|
inline |
Definition at line 1383 of file YAMLTraits.h.
References llvm::yaml::Input::error(), i, llvm::yaml::Input::nextDocument(), llvm::yaml::Input::setCurrentDocument(), and yamlize().
|
inline |
Definition at line 1400 of file YAMLTraits.h.
References llvm::yaml::Input::setCurrentDocument(), and yamlize().
|
inline |
Definition at line 1412 of file YAMLTraits.h.
References llvm::yaml::Input::setCurrentDocument(), and yamlize().
|
inline |
Definition at line 1423 of file YAMLTraits.h.
References llvm::tgtok::In, llvm::yaml::Input::setCurrentDocument(), and yamlize().
|
inline |
Definition at line 1434 of file YAMLTraits.h.
References llvm::tgtok::In, llvm::yaml::Input::setCurrentDocument(), and yamlize().
|
inline |
Definition at line 1445 of file YAMLTraits.h.
Scans all tokens in input without outputting anything.
This is used for benchmarking the tokenizer.
Definition at line 657 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 695 of file ELFYAML.cpp.
References llvm::yaml::BinaryRef::binary_size(), commonSectionMapping(), llvm::ELFYAML::RawContentSection::Content, llvm::yaml::IO::mapOptional(), and llvm::ELFYAML::RawContentSection::Size.
|
static |
Definition at line 701 of file ELFYAML.cpp.
References commonSectionMapping(), llvm::yaml::IO::mapOptional(), and llvm::ELFYAML::NoBitsSection::Size.
|
static |
Definition at line 706 of file ELFYAML.cpp.
References commonSectionMapping(), llvm::yaml::IO::mapOptional(), and llvm::ELFYAML::RelocationSection::Relocations.
|
static |
Definition at line 721 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::yaml::IO::mapOptional(), llvm::yaml::IO::mapRequired(), llvm::Mips::Val_GNU_MIPS_ABI_FP_ANY, and llvm::ELFYAML::MipsABIFlags::Version.
Referenced by llvm::yaml::MappingTraits< std::unique_ptr< ELFYAML::Section > >::mapping().
| void llvm::yaml::skip | ( | CollectionType & | C | ) |
Definition at line 374 of file YAMLParser.h.
References assert(), begin(), and i.
Referenced by llvm::yaml::MappingNode::skip(), and llvm::yaml::SequenceNode::skip().
| std::enable_if<has_ScalarEnumerationTraits<T>::value, void>::type llvm::yaml::yamlize | ( | IO & | io, |
| T & | Val, | ||
| bool | , | ||
| EmptyContext & | Ctx | ||
| ) |
Definition at line 752 of file YAMLTraits.h.
References llvm::yaml::IO::beginEnumScalar(), and llvm::yaml::IO::endEnumScalar().
Referenced by llvm::yaml::IO::enumFallback(), operator<<(), operator>>(), llvm::MIRParserImpl::parseMachineFunction(), and yamlize().
| std::enable_if<has_ScalarBitSetTraits<T>::value, void>::type llvm::yaml::yamlize | ( | IO & | io, |
| T & | Val, | ||
| bool | , | ||
| EmptyContext & | Ctx | ||
| ) |
Definition at line 760 of file YAMLTraits.h.
References llvm::yaml::IO::beginBitSetScalar(), and llvm::yaml::IO::endBitSetScalar().
| std::enable_if<has_ScalarTraits<T>::value, void>::type llvm::yaml::yamlize | ( | IO & | io, |
| T & | Val, | ||
| bool | , | ||
| EmptyContext & | Ctx | ||
| ) |
Definition at line 772 of file YAMLTraits.h.
References llvm::StringRef::empty(), llvm::yaml::IO::getContext(), llvm::yaml::IO::outputting(), llvm::yaml::IO::scalarString(), llvm::yaml::IO::setError(), and llvm::raw_string_ostream::str().
| std::enable_if<has_BlockScalarTraits<T>::value, void>::type llvm::yaml::yamlize | ( | IO & | YamlIO, |
| T & | Val, | ||
| bool | , | ||
| EmptyContext & | Ctx | ||
| ) |
Definition at line 792 of file YAMLTraits.h.
References llvm::yaml::IO::blockScalarString(), llvm::StringRef::empty(), llvm::yaml::IO::getContext(), llvm::yaml::IO::outputting(), llvm::yaml::IO::setError(), and llvm::raw_string_ostream::str().
| std::enable_if<validatedMappingTraits<T, Context>::value, void>::type llvm::yaml::yamlize | ( | IO & | io, |
| T & | Val, | ||
| bool | , | ||
| Context & | Ctx | ||
| ) |
Definition at line 811 of file YAMLTraits.h.
References assert(), llvm::yaml::IO::beginFlowMapping(), llvm::yaml::IO::beginMapping(), llvm::yaml::detail::doMapping(), llvm::StringRef::empty(), llvm::yaml::IO::endFlowMapping(), llvm::yaml::IO::endMapping(), llvm::errs(), llvm::yaml::IO::outputting(), and llvm::yaml::IO::setError().
| std::enable_if<unvalidatedMappingTraits<T, Context>::value, void>::type llvm::yaml::yamlize | ( | IO & | io, |
| T & | Val, | ||
| bool | , | ||
| Context & | Ctx | ||
| ) |
Definition at line 837 of file YAMLTraits.h.
References llvm::yaml::IO::beginFlowMapping(), llvm::yaml::IO::beginMapping(), llvm::yaml::detail::doMapping(), llvm::yaml::IO::endFlowMapping(), and llvm::yaml::IO::endMapping().
| std::enable_if<has_CustomMappingTraits<T>::value, void>::type llvm::yaml::yamlize | ( | IO & | io, |
| T & | Val, | ||
| bool | , | ||
| EmptyContext & | Ctx | ||
| ) |
Definition at line 851 of file YAMLTraits.h.
References llvm::yaml::IO::beginMapping(), llvm::yaml::IO::endMapping(), llvm::yaml::IO::keys(), and llvm::yaml::IO::outputting().
| std::enable_if<missingTraits<T, EmptyContext>::value, void>::type llvm::yaml::yamlize | ( | IO & | io, |
| T & | Val, | ||
| bool | , | ||
| EmptyContext & | Ctx | ||
| ) |
Definition at line 866 of file YAMLTraits.h.
| std::enable_if<has_SequenceTraits<T>::value, void>::type llvm::yaml::yamlize | ( | IO & | io, |
| T & | Seq, | ||
| bool | , | ||
| Context & | Ctx | ||
| ) |
Definition at line 872 of file YAMLTraits.h.
References llvm::yaml::IO::beginFlowSequence(), llvm::yaml::IO::beginSequence(), llvm::count(), llvm::yaml::IO::endFlowSequence(), llvm::yaml::IO::endSequence(), i, llvm::yaml::IO::outputting(), llvm::yaml::IO::postflightElement(), llvm::yaml::IO::postflightFlowElement(), llvm::yaml::IO::preflightElement(), llvm::yaml::IO::preflightFlowElement(), and yamlize().
1.8.6