LLVM  6.0.0svn
Namespaces | Classes | Typedefs | Functions
llvm::yaml Namespace Reference

Namespaces

 detail
 

Classes

class  AliasNode
 Represents an alias to a Node with an anchor. More...
 
class  basic_collection_iterator
 This is an iterator abstraction over YAML collections shared by both sequences and maps. More...
 
class  BinaryRef
 Specialized YAMLIO scalar type for representing a binary blob. More...
 
class  BlockScalarNode
 A block scalar node is an opaque datum that can be presented as a series of zero or more Unicode scalar values. More...
 
struct  BlockScalarTraits
 This class should be specialized by type that requires custom conversion to/from a YAML literal block scalar. More...
 
struct  BlockScalarTraits< BlockStringValue >
 
struct  BlockScalarTraits< Module >
 This struct serializes the LLVM IR module. More...
 
struct  BlockStringValue
 
struct  CheckIsBool
 
struct  CustomMappingTraits
 This class should be specialized by any type that needs to be converted to/from a YAML mapping in the case where the names of the keys are not known in advance, e.g. More...
 
struct  CustomMappingTraits< GlobalValueSummaryMapTy >
 
struct  CustomMappingTraits< std::map< std::vector< uint64_t >, WholeProgramDevirtResolution::ByArg > >
 
struct  CustomMappingTraits< std::map< uint64_t, WholeProgramDevirtResolution > >
 
class  Document
 A YAML Stream is a sequence of Documents. More...
 
class  document_iterator
 Iterator abstraction for Documents over a Stream. More...
 
struct  DocumentListTraits
 This class should be specialized by any type that needs to be converted to/from a list of YAML documents. More...
 
struct  EmptyContext
 
struct  FixedMachineStackObject
 Serializable representation of the fixed stack object from the MachineFrameInfo class. More...
 
struct  FlowStringValue
 
struct  FunctionSummaryYaml
 
struct  has_BlockScalarTraits
 
struct  has_CustomMappingTraits
 
struct  has_DocumentListTraits
 
class  has_FlowTraits
 
struct  has_FlowTraits< T, true >
 
struct  has_MappingTraits
 
struct  has_MappingTraits< T, EmptyContext >
 
struct  has_MappingValidateTraits
 
struct  has_MappingValidateTraits< T, EmptyContext >
 
struct  has_ScalarBitSetTraits
 
struct  has_ScalarEnumerationTraits
 
struct  has_ScalarTraits
 
struct  has_SequenceMethodTraits
 
struct  has_SequenceTraits
 
class  Input
 The Input class is used to parse a yaml document into in-memory structs and vectors. More...
 
class  IO
 
struct  IsFlowSequenceBase
 
struct  IsFlowSequenceBase< true >
 
class  KeyValueNode
 A key and value pair. More...
 
struct  MachineConstantPoolValue
 
struct  MachineFrameInfo
 Serializable representation of MachineFrameInfo. More...
 
struct  MachineFunction
 
struct  MachineFunctionLiveIn
 
struct  MachineJumpTable
 
struct  MachineStackObject
 Serializable representation of stack object from the MachineFrameInfo class. More...
 
struct  MappingContextTraits
 This class is similar to MappingTraits<T> but allows you to pass in additional context for each map operation. More...
 
class  MappingNode
 Represents a YAML map created from either a block map for a flow map. More...
 
struct  MappingNormalization
 
struct  MappingNormalizationHeap
 
struct  MappingTraits
 This class should be specialized by any type that needs to be converted to/from a YAML mapping. More...
 
struct  MappingTraits< COFF::AuxiliarybfAndefSymbol >
 
struct  MappingTraits< COFF::AuxiliaryCLRToken >
 
struct  MappingTraits< COFF::AuxiliaryFunctionDefinition >
 
struct  MappingTraits< COFF::AuxiliarySectionDefinition >
 
struct  MappingTraits< COFF::AuxiliaryWeakExternal >
 
struct  MappingTraits< COFF::DataDirectory >
 
struct  MappingTraits< COFF::header >
 
struct  MappingTraits< COFFYAML::Object >
 
struct  MappingTraits< COFFYAML::PEHeader >
 
struct  MappingTraits< COFFYAML::Relocation >
 
struct  MappingTraits< COFFYAML::Section >
 
struct  MappingTraits< COFFYAML::Symbol >
 
struct  MappingTraits< DiagnosticInfoOptimizationBase * >
 
struct  MappingTraits< DiagnosticInfoOptimizationBase::Argument >
 
struct  MappingTraits< DiagnosticLocation >
 
struct  MappingTraits< DWARFYAML::Abbrev >
 
struct  MappingTraits< DWARFYAML::ARange >
 
struct  MappingTraits< DWARFYAML::ARangeDescriptor >
 
struct  MappingTraits< DWARFYAML::AttributeAbbrev >
 
struct  MappingTraits< DWARFYAML::Data >
 
struct  MappingTraits< DWARFYAML::Entry >
 
struct  MappingTraits< DWARFYAML::File >
 
struct  MappingTraits< DWARFYAML::FormValue >
 
struct  MappingTraits< DWARFYAML::InitialLength >
 
struct  MappingTraits< DWARFYAML::LineTable >
 
struct  MappingTraits< DWARFYAML::LineTableOpcode >
 
struct  MappingTraits< DWARFYAML::PubEntry >
 
struct  MappingTraits< DWARFYAML::PubSection >
 
struct  MappingTraits< DWARFYAML::Unit >
 
struct  MappingTraits< ELFYAML::FileHeader >
 
struct  MappingTraits< ELFYAML::LocalGlobalWeakSymbols >
 
struct  MappingTraits< ELFYAML::Object >
 
struct  MappingTraits< ELFYAML::ProgramHeader >
 
struct  MappingTraits< ELFYAML::Relocation >
 
struct  MappingTraits< ELFYAML::SectionName >
 
struct  MappingTraits< ELFYAML::SectionOrType >
 
struct  MappingTraits< ELFYAML::Symbol >
 
struct  MappingTraits< FixedMachineStackObject >
 
struct  MappingTraits< FunctionSummary::ConstVCall >
 
struct  MappingTraits< FunctionSummary::VFuncId >
 
struct  MappingTraits< FunctionSummaryYaml >
 
struct  MappingTraits< HSAMD::Metadata >
 
struct  MappingTraits< Kernel::Arg::Metadata >
 
struct  MappingTraits< Kernel::Attrs::Metadata >
 
struct  MappingTraits< Kernel::CodeProps::Metadata >
 
struct  MappingTraits< Kernel::DebugProps::Metadata >
 
struct  MappingTraits< Kernel::Metadata >
 
struct  MappingTraits< LeafRecordBase >
 
struct  MappingTraits< MachineConstantPoolValue >
 
struct  MappingTraits< MachineFrameInfo >
 
struct  MappingTraits< MachineFunction >
 
struct  MappingTraits< MachineFunctionLiveIn >
 
struct  MappingTraits< MachineJumpTable >
 
struct  MappingTraits< MachineJumpTable::Entry >
 
struct  MappingTraits< MachineStackObject >
 
struct  MappingTraits< MachO::build_tool_version >
 
struct  MappingTraits< MachO::dylib >
 
struct  MappingTraits< MachO::fvmlib >
 
struct  MappingTraits< MachO::section >
 
struct  MappingTraits< MachO::section_64 >
 
struct  MappingTraits< MachOYAML::BindOpcode >
 
struct  MappingTraits< MachOYAML::ExportEntry >
 
struct  MappingTraits< MachOYAML::FatArch >
 
struct  MappingTraits< MachOYAML::FatHeader >
 
struct  MappingTraits< MachOYAML::FileHeader >
 
struct  MappingTraits< MachOYAML::LinkEditData >
 
struct  MappingTraits< MachOYAML::LoadCommand >
 
struct  MappingTraits< MachOYAML::NListEntry >
 
struct  MappingTraits< MachOYAML::Object >
 
struct  MappingTraits< MachOYAML::RebaseOpcode >
 
struct  MappingTraits< MachOYAML::Section >
 
struct  MappingTraits< MachOYAML::UniversalBinary >
 
struct  MappingTraits< MemberRecordBase >
 
struct  MappingTraits< ModuleSummaryIndex >
 
struct  MappingTraits< std::unique_ptr< ELFYAML::Section > >
 
struct  MappingTraits< std::unique_ptr< WasmYAML::Section > >
 
struct  MappingTraits< SymbolRecordBase >
 
struct  MappingTraits< TypeIdSummary >
 
struct  MappingTraits< TypeTestResolution >
 
struct  MappingTraits< VirtualRegisterDefinition >
 
struct  MappingTraits< wasm::WasmInitExpr >
 
struct  MappingTraits< WasmYAML::DataSegment >
 
struct  MappingTraits< WasmYAML::ElemSegment >
 
struct  MappingTraits< WasmYAML::Export >
 
struct  MappingTraits< WasmYAML::FileHeader >
 
struct  MappingTraits< WasmYAML::Function >
 
struct  MappingTraits< WasmYAML::Global >
 
struct  MappingTraits< WasmYAML::Import >
 
struct  MappingTraits< WasmYAML::Limits >
 
struct  MappingTraits< WasmYAML::LocalDecl >
 
struct  MappingTraits< WasmYAML::NameEntry >
 
struct  MappingTraits< WasmYAML::Object >
 
struct  MappingTraits< WasmYAML::Relocation >
 
struct  MappingTraits< WasmYAML::SegmentInfo >
 
struct  MappingTraits< WasmYAML::Signature >
 
struct  MappingTraits< WasmYAML::SymbolInfo >
 
struct  MappingTraits< WasmYAML::Table >
 
struct  MappingTraits< WholeProgramDevirtResolution >
 
struct  MappingTraits< WholeProgramDevirtResolution::ByArg >
 
struct  MappingTraits< xray::YAMLXRayFileHeader >
 
struct  MappingTraits< xray::YAMLXRayRecord >
 
struct  MappingTraits< xray::YAMLXRaySledEntry >
 
struct  MappingTraits< xray::YAMLXRayTrace >
 
struct  MappingTraits< YamlObjectFile >
 
struct  MissingTrait
 
struct  missingTraits
 
class  Node
 Abstract base class for all Nodes. More...
 
class  NullNode
 A null value. More...
 
class  Output
 The Output class is used to generate a yaml document from in-memory structs and vectors. More...
 
struct  ScalarBitSetTraits
 This class should be specialized by any integer type that is a union of bit values and the YAML representation is a flow sequence of strings. More...
 
struct  ScalarBitSetTraits< COFF::Characteristics >
 
struct  ScalarBitSetTraits< COFF::DLLCharacteristics >
 
struct  ScalarBitSetTraits< COFF::SectionCharacteristics >
 
struct  ScalarBitSetTraits< ELFYAML::ELF_EF >
 
struct  ScalarBitSetTraits< ELFYAML::ELF_PF >
 
struct  ScalarBitSetTraits< ELFYAML::ELF_SHF >
 
struct  ScalarBitSetTraits< ELFYAML::ELF_STO >
 
struct  ScalarBitSetTraits< ELFYAML::MIPS_AFL_ASE >
 
struct  ScalarBitSetTraits< ELFYAML::MIPS_AFL_FLAGS1 >
 
struct  ScalarEnumerationTraits
 This class should be specialized by any integral type that converts to/from a YAML scalar where there is a one-to-one mapping between in-memory values and a string in YAML. More...
 
struct  ScalarEnumerationTraits< AccessQualifier >
 
struct  ScalarEnumerationTraits< AddressSpaceQualifier >
 
struct  ScalarEnumerationTraits< COFF::MachineTypes >
 
struct  ScalarEnumerationTraits< COFF::RelocationTypeAMD64 >
 
struct  ScalarEnumerationTraits< COFF::RelocationTypeI386 >
 
struct  ScalarEnumerationTraits< COFF::RelocationTypesARM >
 
struct  ScalarEnumerationTraits< COFF::RelocationTypesARM64 >
 
struct  ScalarEnumerationTraits< COFF::SymbolBaseType >
 
struct  ScalarEnumerationTraits< COFF::SymbolComplexType >
 
struct  ScalarEnumerationTraits< COFF::SymbolStorageClass >
 
struct  ScalarEnumerationTraits< COFF::WindowsSubsystem >
 
struct  ScalarEnumerationTraits< COFFYAML::AuxSymbolType >
 
struct  ScalarEnumerationTraits< COFFYAML::COMDATType >
 
struct  ScalarEnumerationTraits< COFFYAML::WeakExternalCharacteristics >
 
struct  ScalarEnumerationTraits< dwarf::Attribute >
 
struct  ScalarEnumerationTraits< dwarf::Constants >
 
struct  ScalarEnumerationTraits< dwarf::Form >
 
struct  ScalarEnumerationTraits< dwarf::LineNumberExtendedOps >
 
struct  ScalarEnumerationTraits< dwarf::LineNumberOps >
 
struct  ScalarEnumerationTraits< dwarf::Tag >
 
struct  ScalarEnumerationTraits< dwarf::UnitType >
 
struct  ScalarEnumerationTraits< ELFYAML::ELF_ELFCLASS >
 
struct  ScalarEnumerationTraits< ELFYAML::ELF_ELFDATA >
 
struct  ScalarEnumerationTraits< ELFYAML::ELF_ELFOSABI >
 
struct  ScalarEnumerationTraits< ELFYAML::ELF_EM >
 
struct  ScalarEnumerationTraits< ELFYAML::ELF_ET >
 
struct  ScalarEnumerationTraits< ELFYAML::ELF_PT >
 
struct  ScalarEnumerationTraits< ELFYAML::ELF_REL >
 
struct  ScalarEnumerationTraits< ELFYAML::ELF_RSS >
 
struct  ScalarEnumerationTraits< ELFYAML::ELF_SHN >
 
struct  ScalarEnumerationTraits< ELFYAML::ELF_SHT >
 
struct  ScalarEnumerationTraits< ELFYAML::ELF_STT >
 
struct  ScalarEnumerationTraits< ELFYAML::ELF_STV >
 
struct  ScalarEnumerationTraits< ELFYAML::MIPS_ABI_FP >
 
struct  ScalarEnumerationTraits< ELFYAML::MIPS_AFL_EXT >
 
struct  ScalarEnumerationTraits< ELFYAML::MIPS_AFL_REG >
 
struct  ScalarEnumerationTraits< ELFYAML::MIPS_ISA >
 
struct  ScalarEnumerationTraits< FixedMachineStackObject::ObjectType >
 
struct  ScalarEnumerationTraits< MachineJumpTableInfo::JTEntryKind >
 
struct  ScalarEnumerationTraits< MachineStackObject::ObjectType >
 
struct  ScalarEnumerationTraits< MachO::BindOpcode >
 
struct  ScalarEnumerationTraits< MachO::LoadCommandType >
 
struct  ScalarEnumerationTraits< MachO::RebaseOpcode >
 
struct  ScalarEnumerationTraits< TypeTestResolution::Kind >
 
struct  ScalarEnumerationTraits< ValueKind >
 
struct  ScalarEnumerationTraits< ValueType >
 
struct  ScalarEnumerationTraits< WasmYAML::ExportKind >
 
struct  ScalarEnumerationTraits< WasmYAML::Opcode >
 
struct  ScalarEnumerationTraits< WasmYAML::RelocType >
 
struct  ScalarEnumerationTraits< WasmYAML::SectionType >
 
struct  ScalarEnumerationTraits< WasmYAML::TableType >
 
struct  ScalarEnumerationTraits< WasmYAML::ValueType >
 
struct  ScalarEnumerationTraits< WholeProgramDevirtResolution::ByArg::Kind >
 
struct  ScalarEnumerationTraits< WholeProgramDevirtResolution::Kind >
 
struct  ScalarEnumerationTraits< xray::RecordTypes >
 
struct  ScalarEnumerationTraits< xray::SledEntry::FunctionKinds >
 
class  ScalarNode
 A scalar node is an opaque datum that can be presented as a series of zero or more Unicode scalar values. More...
 
struct  ScalarTraits
 This class should be specialized by type that requires custom conversion to/from a yaml scalar. More...
 
struct  ScalarTraits< BinaryRef >
 
struct  ScalarTraits< bool >
 
struct  ScalarTraits< char_16 >
 
struct  ScalarTraits< double >
 
struct  ScalarTraits< float >
 
struct  ScalarTraits< FlowStringValue >
 
struct  ScalarTraits< Hex16 >
 
struct  ScalarTraits< Hex32 >
 
struct  ScalarTraits< Hex64 >
 
struct  ScalarTraits< Hex8 >
 Use these types instead of uintXX_t in any mapping to have its yaml output formatted as hexadecimal. More...
 
struct  ScalarTraits< int16_t >
 
struct  ScalarTraits< int32_t >
 
struct  ScalarTraits< int64_t >
 
struct  ScalarTraits< int8_t >
 
struct  ScalarTraits< std::string >
 
struct  ScalarTraits< StringRef >
 
struct  ScalarTraits< StringValue >
 
struct  ScalarTraits< support::detail::packed_endian_specific_integral< value_type, endian, alignment > >
 
struct  ScalarTraits< uint16_t >
 
struct  ScalarTraits< uint32_t >
 
struct  ScalarTraits< uint64_t >
 
struct  ScalarTraits< uint8_t >
 
struct  ScalarTraits< UnsignedValue >
 
struct  ScalarTraits< uuid_t >
 
class  Scanner
 Scans YAML tokens from a MemoryBuffer. More...
 
struct  SequenceElementTraits
 This class should be specialized by any type for which vectors of that type need to be converted to/from a YAML sequence. More...
 
struct  SequenceElementTraits< std::pair< std::string, std::string > >
 
struct  SequenceElementTraits< std::string >
 
struct  SequenceElementTraits< StringRef >
 
struct  SequenceElementTraits< T, typename std::enable_if< std::is_fundamental< T >::value >::type >
 
class  SequenceNode
 Represents a YAML sequence created from either a block sequence for a flow sequence. More...
 
struct  SequenceTraits
 This class should be specialized by any type that needs to be converted to/from a YAML sequence. More...
 
struct  SequenceTraits< SmallVector< T, N >, typename std::enable_if< CheckIsBool< SequenceElementTraits< T >::flow >::value >::type >
 
struct  SequenceTraits< std::vector< T >, typename std::enable_if< CheckIsBool< SequenceElementTraits< T >::flow >::value >::type >
 
struct  SequenceTraitsImpl
 
struct  StdMapStringCustomMappingTraitsImpl
 Implementation of CustomMappingTraits for std::map<std::string, T>. More...
 
class  Stream
 This class represents a YAML stream potentially containing multiple documents. More...
 
struct  StringValue
 A wrapper around std::string which contains a source range that's being set during parsing. More...
 
struct  Token
 Token - A single YAML token. More...
 
struct  UnsignedValue
 A wrapper around unsigned which contains a source range that's being set during parsing. More...
 
struct  unvalidatedMappingTraits
 
struct  validatedMappingTraits
 
struct  VirtualRegisterDefinition
 
struct  YamlObjectFile
 

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)
 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)
 
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::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::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)
 

Typedef Documentation

◆ char_16

using llvm::yaml::char_16 = typedef char[16]

Definition at line 259 of file MachOYAML.h.

◆ uuid_t

Definition at line 269 of file MachOYAML.h.

Function Documentation

◆ begin()

template<class CollectionType >
CollectionType::iterator llvm::yaml::begin ( CollectionType &  C)

Definition at line 371 of file YAMLParser.h.

References assert().

Referenced by llvm::yaml::MappingNode::begin(), and llvm::yaml::SequenceNode::begin().

◆ commonSectionMapping() [1/2]

static void llvm::yaml::commonSectionMapping ( IO IO,
WasmYAML::Section Section 
)
static

◆ commonSectionMapping() [2/2]

static void llvm::yaml::commonSectionMapping ( IO IO,
ELFYAML::Section Section 
)
static

◆ dumpTokens()

bool llvm::yaml::dumpTokens ( StringRef  Input,
raw_ostream OS 
)

◆ escape()

std::string llvm::yaml::escape ( StringRef  Input)

◆ groupSectionMapping()

static void llvm::yaml::groupSectionMapping ( IO IO,
ELFYAML::Group group 
)
static

◆ isBool()

bool llvm::yaml::isBool ( StringRef  S)
inline

Definition at line 493 of file YAMLTraits.h.

References llvm::StringRef::equals().

Referenced by needsQuotes().

◆ isNull()

bool llvm::yaml::isNull ( StringRef  S)
inline

◆ isNumber()

bool llvm::yaml::isNumber ( StringRef  S)
inline

◆ isNumeric()

bool llvm::yaml::isNumeric ( StringRef  S)
inline

◆ mapLoadCommandData()

template<typename StructType >
void llvm::yaml::mapLoadCommandData ( IO IO,
MachOYAML::LoadCommand LoadCommand 
)

Definition at line 199 of file MachOYAML.cpp.

◆ mapLoadCommandData< MachO::build_version_command >()

Definition at line 232 of file MachOYAML.cpp.

◆ mapLoadCommandData< MachO::dylib_command >()

template<>
void llvm::yaml::mapLoadCommandData< MachO::dylib_command > ( IO IO,
MachOYAML::LoadCommand LoadCommand 
)

Definition at line 214 of file MachOYAML.cpp.

◆ mapLoadCommandData< MachO::dylinker_command >()

template<>
void llvm::yaml::mapLoadCommandData< MachO::dylinker_command > ( IO IO,
MachOYAML::LoadCommand LoadCommand 
)

Definition at line 226 of file MachOYAML.cpp.

◆ mapLoadCommandData< MachO::rpath_command >()

template<>
void llvm::yaml::mapLoadCommandData< MachO::rpath_command > ( IO IO,
MachOYAML::LoadCommand LoadCommand 
)

Definition at line 220 of file MachOYAML.cpp.

◆ mapLoadCommandData< MachO::segment_command >()

template<>
void llvm::yaml::mapLoadCommandData< MachO::segment_command > ( IO IO,
MachOYAML::LoadCommand LoadCommand 
)

Definition at line 202 of file MachOYAML.cpp.

◆ mapLoadCommandData< MachO::segment_command_64 >()

template<>
void llvm::yaml::mapLoadCommandData< MachO::segment_command_64 > ( IO IO,
MachOYAML::LoadCommand LoadCommand 
)

Definition at line 208 of file MachOYAML.cpp.

◆ needsQuotes()

bool llvm::yaml::needsQuotes ( StringRef  S)
inline

◆ operator<<() [1/6]

template<typename T >
std::enable_if<has_DocumentListTraits<T>::value, Output &>::type llvm::yaml::operator<< ( Output yout,
T docList 
)
inline

◆ operator<<() [2/6]

template<typename T >
std::enable_if<has_MappingTraits<T, EmptyContext>::value, Output &>::type llvm::yaml::operator<< ( Output yout,
T map 
)
inline

◆ operator<<() [3/6]

template<typename T >
std::enable_if<has_SequenceTraits<T>::value, Output &>::type llvm::yaml::operator<< ( Output yout,
T seq 
)
inline

◆ operator<<() [4/6]

template<typename T >
std::enable_if<has_BlockScalarTraits<T>::value, Output &>::type llvm::yaml::operator<< ( Output Out,
T Val 
)
inline

◆ operator<<() [5/6]

template<typename T >
std::enable_if<has_CustomMappingTraits<T>::value, Output &>::type llvm::yaml::operator<< ( Output Out,
T Val 
)
inline

◆ operator<<() [6/6]

template<typename T >
std::enable_if<missingTraits<T, EmptyContext>::value, Output &>::type llvm::yaml::operator<< ( Output yout,
T seq 
)
inline

Definition at line 1552 of file YAMLTraits.h.

◆ operator==()

bool llvm::yaml::operator== ( const BinaryRef LHS,
const BinaryRef RHS 
)
inline

Definition at line 99 of file YAML.h.

References llvm::ArrayRef< T >::empty().

◆ operator>>() [1/6]

template<typename T >
std::enable_if<has_DocumentListTraits<T>::value, Input &>::type llvm::yaml::operator>> ( Input yin,
T docList 
)
inline

◆ operator>>() [2/6]

template<typename T >
std::enable_if<has_MappingTraits<T, EmptyContext>::value, Input &>::type llvm::yaml::operator>> ( Input yin,
T docMap 
)
inline

Definition at line 1419 of file YAMLTraits.h.

References llvm::yaml::Input::setCurrentDocument(), and yamlize().

◆ operator>>() [3/6]

template<typename T >
std::enable_if<has_SequenceTraits<T>::value, Input &>::type llvm::yaml::operator>> ( Input yin,
T docSeq 
)
inline

Definition at line 1431 of file YAMLTraits.h.

References llvm::yaml::Input::setCurrentDocument(), and yamlize().

◆ operator>>() [4/6]

template<typename T >
std::enable_if<has_BlockScalarTraits<T>::value, Input &>::type llvm::yaml::operator>> ( Input In,
T Val 
)
inline

◆ operator>>() [5/6]

template<typename T >
std::enable_if<has_CustomMappingTraits<T>::value, Input &>::type llvm::yaml::operator>> ( Input In,
T Val 
)
inline

◆ operator>>() [6/6]

template<typename T >
std::enable_if<missingTraits<T, EmptyContext>::value, Input &>::type llvm::yaml::operator>> ( Input yin,
T docSeq 
)
inline

Definition at line 1464 of file YAMLTraits.h.

◆ scanTokens()

bool llvm::yaml::scanTokens ( StringRef  Input)

Scans all tokens in input without outputting anything.

This is used for benchmarking the tokenizer.

Returns
true if there was an error, false otherwise.

Definition at line 677 of file YAMLParser.cpp.

References llvm::yaml::Scanner::getNext(), llvm::yaml::Token::Kind, llvm::yaml::Token::TK_Error, and llvm::yaml::Token::TK_StreamEnd.

◆ sectionMapping() [1/18]

static void llvm::yaml::sectionMapping ( IO IO,
WasmYAML::NameSection Section 
)
static

◆ sectionMapping() [2/18]

static void llvm::yaml::sectionMapping ( IO IO,
WasmYAML::LinkingSection Section 
)
static

◆ sectionMapping() [3/18]

static void llvm::yaml::sectionMapping ( IO IO,
WasmYAML::CustomSection Section 
)
static

◆ sectionMapping() [4/18]

static void llvm::yaml::sectionMapping ( IO IO,
WasmYAML::TypeSection Section 
)
static

◆ sectionMapping() [5/18]

static void llvm::yaml::sectionMapping ( IO IO,
WasmYAML::ImportSection Section 
)
static

◆ sectionMapping() [6/18]

static void llvm::yaml::sectionMapping ( IO IO,
WasmYAML::FunctionSection Section 
)
static

◆ sectionMapping() [7/18]

static void llvm::yaml::sectionMapping ( IO IO,
WasmYAML::TableSection Section 
)
static

◆ sectionMapping() [8/18]

static void llvm::yaml::sectionMapping ( IO IO,
WasmYAML::MemorySection Section 
)
static

◆ sectionMapping() [9/18]

static void llvm::yaml::sectionMapping ( IO IO,
WasmYAML::GlobalSection Section 
)
static

◆ sectionMapping() [10/18]

static void llvm::yaml::sectionMapping ( IO IO,
WasmYAML::ExportSection Section 
)
static

◆ sectionMapping() [11/18]

static void llvm::yaml::sectionMapping ( IO IO,
WasmYAML::StartSection Section 
)
static

◆ sectionMapping() [12/18]

static void llvm::yaml::sectionMapping ( IO IO,
WasmYAML::ElemSection Section 
)
static

◆ sectionMapping() [13/18]

static void llvm::yaml::sectionMapping ( IO IO,
WasmYAML::CodeSection Section 
)
static

◆ sectionMapping() [14/18]

static void llvm::yaml::sectionMapping ( IO IO,
WasmYAML::DataSection Section 
)
static

◆ sectionMapping() [15/18]

static void llvm::yaml::sectionMapping ( IO IO,
ELFYAML::RawContentSection Section 
)
static

◆ sectionMapping() [16/18]

static void llvm::yaml::sectionMapping ( IO IO,
ELFYAML::NoBitsSection Section 
)
static

◆ sectionMapping() [17/18]

static void llvm::yaml::sectionMapping ( IO IO,
ELFYAML::RelocationSection Section 
)
static

◆ sectionMapping() [18/18]

static void llvm::yaml::sectionMapping ( IO IO,
ELFYAML::MipsABIFlags Section 
)
static

◆ skip()

template<class CollectionType >
void llvm::yaml::skip ( CollectionType &  C)

◆ yamlize() [1/9]

template<typename T >
std::enable_if<has_ScalarEnumerationTraits<T>::value, void>::type llvm::yaml::yamlize ( IO io,
T Val,
bool  ,
EmptyContext Ctx 
)

◆ yamlize() [2/9]

template<typename T >
std::enable_if<has_ScalarBitSetTraits<T>::value, void>::type llvm::yaml::yamlize ( IO io,
T Val,
bool  ,
EmptyContext Ctx 
)

◆ yamlize() [3/9]

template<typename T >
std::enable_if<has_ScalarTraits<T>::value, void>::type llvm::yaml::yamlize ( IO io,
T Val,
bool  ,
EmptyContext Ctx 
)

◆ yamlize() [4/9]

template<typename T >
std::enable_if<has_BlockScalarTraits<T>::value, void>::type llvm::yaml::yamlize ( IO YamlIO,
T Val,
bool  ,
EmptyContext Ctx 
)

◆ yamlize() [5/9]

template<typename T , typename Context >
std::enable_if<validatedMappingTraits<T, Context>::value, void>::type llvm::yaml::yamlize ( IO io,
T Val,
bool  ,
Context Ctx 
)

◆ yamlize() [6/9]

template<typename T , typename Context >
std::enable_if<unvalidatedMappingTraits<T, Context>::value, void>::type llvm::yaml::yamlize ( IO io,
T Val,
bool  ,
Context Ctx 
)

◆ yamlize() [7/9]

template<typename T >
std::enable_if<has_CustomMappingTraits<T>::value, void>::type llvm::yaml::yamlize ( IO io,
T Val,
bool  ,
EmptyContext Ctx 
)

◆ yamlize() [8/9]

template<typename T >
std::enable_if<missingTraits<T, EmptyContext>::value, void>::type llvm::yaml::yamlize ( IO io,
T Val,
bool  ,
EmptyContext Ctx 
)

Definition at line 877 of file YAMLTraits.h.

◆ yamlize() [9/9]

template<typename T , typename Context >
std::enable_if<has_SequenceTraits<T>::value, void>::type llvm::yaml::yamlize ( IO io,
T Seq,
bool  ,
Context Ctx 
)