|
LLVM
3.7.0
|
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) |
| template<typename T > | |
| std::enable_if < has_ScalarBitSetTraits< T > ::value, void >::type | yamlize (IO &io, T &Val, bool) |
| template<typename T > | |
| std::enable_if < has_ScalarTraits< T >::value, void >::type | yamlize (IO &io, T &Val, bool) |
| template<typename T > | |
| std::enable_if < has_BlockScalarTraits< T > ::value, void >::type | yamlize (IO &YamlIO, T &Val, bool) |
| template<typename T > | |
| std::enable_if < validatedMappingTraits< T > ::value, void >::type | yamlize (IO &io, T &Val, bool) |
| template<typename T > | |
| std::enable_if < unvalidatedMappingTraits< T > ::value, void >::type | yamlize (IO &io, T &Val, bool) |
| template<typename T > | |
| std::enable_if< missingTraits < T >::value, void >::type | yamlize (IO &io, T &Val, bool) |
| template<typename T > | |
| std::enable_if < has_SequenceTraits< T > ::value, void >::type | yamlize (IO &io, T &Seq, bool) |
| 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 > ::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< missingTraits < T >::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 > ::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< missingTraits < T >::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) |
| CollectionType::iterator llvm::yaml::begin | ( | CollectionType & | C | ) |
Definition at line 350 of file YAMLParser.h.
Referenced by llvm::yaml::MappingNode::begin(), llvm::yaml::SequenceNode::begin(), and skip().
|
static |
Definition at line 614 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 601 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 698 of file YAMLParser.cpp.
References llvm::StringRef::begin(), llvm::SmallVectorTemplateCommon< T >::begin(), decodeUTF8(), encodeUTF8(), llvm::StringRef::end(), llvm::SmallVectorTemplateCommon< T >::end(), and llvm::utohexstr().
|
static |
Definition at line 640 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 427 of file YAMLTraits.h.
References llvm::StringRef::equals().
Referenced by needsQuotes().
|
inline |
Definition at line 422 of file YAMLTraits.h.
References llvm::StringRef::equals().
Referenced by ConstantFoldGetElementPtrImpl(), and needsQuotes().
|
inline |
Definition at line 380 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 409 of file YAMLTraits.h.
References llvm::StringRef::drop_front(), llvm::StringRef::equals(), llvm::StringRef::front(), and isNumber().
Referenced by needsQuotes().
|
inline |
Definition at line 432 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< StringRef >::mustQuote(), and llvm::yaml::ScalarTraits< std::string >::mustQuote().
|
inline |
Definition at line 1311 of file YAMLTraits.h.
References llvm::yaml::Output::beginDocuments(), llvm::yaml::Output::endDocuments(), llvm::yaml::Output::postflightDocument(), llvm::yaml::Output::preflightDocument(), size, and yamlize().
|
inline |
Definition at line 1328 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 1342 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 1356 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 1370 of file YAMLTraits.h.
Definition at line 79 of file YAML.h.
References llvm::ArrayRef< T >::empty().
|
inline |
Definition at line 1254 of file YAMLTraits.h.
References llvm::yaml::Input::error(), llvm::yaml::Input::nextDocument(), llvm::yaml::Input::setCurrentDocument(), and yamlize().
|
inline |
Definition at line 1270 of file YAMLTraits.h.
References llvm::yaml::Input::setCurrentDocument(), and yamlize().
|
inline |
Definition at line 1281 of file YAMLTraits.h.
References llvm::yaml::Input::setCurrentDocument(), and yamlize().
|
inline |
Definition at line 1291 of file YAMLTraits.h.
References llvm::tgtok::In, llvm::yaml::Input::setCurrentDocument(), and yamlize().
|
inline |
Definition at line 1301 of file YAMLTraits.h.
Scans all tokens in input without outputting anything.
This is used for benchmarking the tokenizer.
Definition at line 685 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 624 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 630 of file ELFYAML.cpp.
References commonSectionMapping(), llvm::yaml::IO::mapOptional(), and llvm::ELFYAML::NoBitsSection::Size.
|
static |
Definition at line 635 of file ELFYAML.cpp.
References commonSectionMapping(), llvm::yaml::IO::mapOptional(), and llvm::ELFYAML::RelocationSection::Relocations.
|
static |
Definition at line 650 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 358 of file YAMLParser.h.
References begin().
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 | |||
| ) |
Definition at line 661 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 | |||
| ) |
Definition at line 669 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 | |||
| ) |
Definition at line 682 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 | |||
| ) |
Definition at line 702 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>::value, void>::type llvm::yaml::yamlize | ( | IO & | io, |
| T & | Val, | ||
| bool | |||
| ) |
Definition at line 721 of file YAMLTraits.h.
References llvm::yaml::IO::beginFlowMapping(), llvm::yaml::IO::beginMapping(), 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>::value, void>::type llvm::yaml::yamlize | ( | IO & | io, |
| T & | Val, | ||
| bool | |||
| ) |
Definition at line 747 of file YAMLTraits.h.
References llvm::yaml::IO::beginFlowMapping(), llvm::yaml::IO::beginMapping(), llvm::yaml::IO::endFlowMapping(), and llvm::yaml::IO::endMapping().
| std::enable_if<missingTraits<T>::value, void>::type llvm::yaml::yamlize | ( | IO & | io, |
| T & | Val, | ||
| bool | |||
| ) |
Definition at line 761 of file YAMLTraits.h.
| std::enable_if<has_SequenceTraits<T>::value,void>::type llvm::yaml::yamlize | ( | IO & | io, |
| T & | Seq, | ||
| bool | |||
| ) |
Definition at line 767 of file YAMLTraits.h.
References llvm::yaml::IO::beginFlowSequence(), llvm::yaml::IO::beginSequence(), 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(), size, and yamlize().
1.8.6