Thanks to visit codestin.com
Credit goes to llvm.org

LLVM 22.0.0git
llvm::yaml Namespace Reference

Namespaces

namespace  detail

Classes

struct  AArch64FunctionInfo
class  AliasNode
 Represents an alias to a Node with an anchor. More...
struct  ARMFunctionInfo
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< MinidumpYAML::BlockStringRef >
struct  BlockScalarTraits< Module >
 This struct serializes the LLVM IR module. More...
struct  BlockScalarTraits< StringBlockVal >
struct  BlockStringValue
struct  CalledGlobal
struct  CallSiteInfo
 Serializable representation of CallSiteInfo. More...
struct  CallSiteYAML
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< BBNumberMap >
struct  CustomMappingTraits< GlobalValueSummaryMapTy >
struct  CustomMappingTraits< IdHashNodeStableMapTy >
struct  CustomMappingTraits< MapDocNode >
 YAMLIO for MapDocNode. More...
struct  CustomMappingTraits< memprof::PortableMemInfoBlock >
struct  CustomMappingTraits< std::map< std::vector< uint64_t >, WholeProgramDevirtResolution::ByArg > >
struct  CustomMappingTraits< std::map< uint64_t, WholeProgramDevirtResolution > >
struct  CustomMappingTraits< TypeIdSummaryMapTy >
struct  DebugValueSubstitution
 Serializable representation of debug value substitutions. More...
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  DocumentListTraits< std::vector< const MachO::InterfaceFile * > >
struct  EmptyContext
struct  EntryValueObject
 Serializable representation of the MCRegister variant of MachineFunction::VariableDbgInfo. More...
struct  FixedMachineStackObject
 Serializable representation of the fixed stack object from the MachineFrameInfo class. More...
struct  FlowStringValue
struct  FrameIndex
 A serializaable representation of a reference to a stack object or fixed stack object. More...
struct  FunctionsYAML
struct  FunctionYAML
struct  GlobalValueSummaryYaml
struct  has_BlockScalarTraits
struct  has_CustomMappingTraits
struct  has_DocumentListTraits
struct  has_FlowTraits
struct  has_MappingEnumInputTraits
struct  has_MappingEnumInputTraits< T, EmptyContext >
struct  has_MappingTraits
struct  has_MappingTraits< T, EmptyContext >
struct  has_MappingValidateTraits
struct  has_MappingValidateTraits< T, EmptyContext >
struct  has_PolymorphicTraits
struct  has_ScalarBitSetTraits
struct  has_ScalarEnumerationTraits
struct  has_ScalarTraits
struct  has_SequenceMethodTraits
struct  has_SequenceTraits
struct  has_TaggedScalarTraits
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 >
struct  IsResizableBase
class  KeyValueNode
 A key and value pair. More...
struct  MachineConstantPoolValue
struct  MachineFrameInfo
 Serializable representation of MachineFrameInfo. More...
struct  MachineFunction
struct  MachineFunctionInfo
 Targets should override this in a way that mirrors the implementation of llvm::MachineFunctionInfo. More...
struct  MachineFunctionLiveIn
struct  MachineInstrLoc
 Identifies call instruction location in machine function. More...
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...
struct  MappingContextTraits< DXContainerYAML::RootParameterLocationYaml, DXContainerYAML::RootSignatureYamlDesc >
struct  MappingContextTraits< MetadataSection, MetadataSection::Option >
struct  MappingContextTraits< minidump::MemoryDescriptor, BinaryRef >
struct  MappingContextTraits< minidump::MemoryDescriptor_64, BinaryRef >
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< AArch64FunctionInfo >
struct  MappingTraits< ArchYAML::Archive >
struct  MappingTraits< ArchYAML::Archive::Child >
struct  MappingTraits< Argument >
 Implement this as a mapping for now to get proper quotation for the value. More...
struct  MappingTraits< ARMFunctionInfo >
struct  MappingTraits< CalledGlobal >
struct  MappingTraits< CallSiteInfo >
struct  MappingTraits< CallSiteInfo::ArgRegPair >
struct  MappingTraits< CallSiteYAML >
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::SectionDataEntry >
struct  MappingTraits< COFFYAML::Symbol >
struct  MappingTraits< const InterfaceFile * >
struct  MappingTraits< DebugValueSubstitution >
struct  MappingTraits< DXContainerYAML::DXILProgram >
struct  MappingTraits< DXContainerYAML::FileHeader >
struct  MappingTraits< DXContainerYAML::Object >
struct  MappingTraits< DXContainerYAML::Part >
struct  MappingTraits< DXContainerYAML::PSVInfo >
struct  MappingTraits< DXContainerYAML::ResourceBindInfo >
struct  MappingTraits< DXContainerYAML::ResourceFlags >
struct  MappingTraits< DXContainerYAML::RootSignatureYamlDesc >
struct  MappingTraits< DXContainerYAML::ShaderFeatureFlags >
struct  MappingTraits< DXContainerYAML::ShaderHash >
struct  MappingTraits< DXContainerYAML::Signature >
struct  MappingTraits< DXContainerYAML::SignatureElement >
struct  MappingTraits< DXContainerYAML::SignatureParameter >
struct  MappingTraits< DXContainerYAML::VersionTuple >
struct  MappingTraits< EntryValueObject >
struct  MappingTraits< ExportSection >
struct  MappingTraits< FixedMachineStackObject >
struct  MappingTraits< FunctionSummary::ConstVCall >
struct  MappingTraits< FunctionSummary::VFuncId >
struct  MappingTraits< FunctionsYAML >
struct  MappingTraits< FunctionYAML >
struct  MappingTraits< GlobalValueSummaryYaml >
struct  MappingTraits< HashNodeStable >
struct  MappingTraits< IFSStub >
 YAML traits for ELFStub objects. More...
struct  MappingTraits< IFSStubTriple >
 YAML traits for ELFStubTriple objects. More...
struct  MappingTraits< IFSSymbol >
 YAML traits for ELFSymbol. More...
struct  MappingTraits< IFSTarget >
struct  MappingTraits< IndexPairHash >
struct  MappingTraits< InstrProfCorrelator::CorrelationData >
struct  MappingTraits< InstrProfCorrelator::Probe >
struct  MappingTraits< LeafRecordBase >
struct  MappingTraits< llvm::DXContainerYAML::DescriptorRangeYaml >
struct  MappingTraits< llvm::DXContainerYAML::DescriptorTableYaml >
struct  MappingTraits< llvm::DXContainerYAML::RootConstantsYaml >
struct  MappingTraits< llvm::DXContainerYAML::RootDescriptorYaml >
struct  MappingTraits< llvm::DXContainerYAML::StaticSamplerYamlDesc >
struct  MappingTraits< LocalVariableAddrGap >
struct  MappingTraits< LocalVariableAddrRange >
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::DataInCodeEntry >
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::Relocation >
struct  MappingTraits< MachOYAML::Section >
struct  MappingTraits< MachOYAML::UniversalBinary >
struct  MappingTraits< MemberRecordBase >
struct  MappingTraits< memprof::AllMemProfData >
struct  MappingTraits< memprof::AllocationInfo >
struct  MappingTraits< memprof::CallSiteInfo >
struct  MappingTraits< memprof::DataAccessProfRecord >
struct  MappingTraits< memprof::Frame >
struct  MappingTraits< memprof::GUIDMemProfRecordPair >
struct  MappingTraits< memprof::SourceLocation >
struct  MappingTraits< memprof::YamlDataAccessProfData >
struct  MappingTraits< ModuleSummaryIndex >
struct  MappingTraits< object::coff_load_config_code_integrity >
struct  MappingTraits< object::coff_load_configuration32 >
struct  MappingTraits< object::coff_load_configuration64 >
struct  MappingTraits< OffloadYAML::Binary >
struct  MappingTraits< OffloadYAML::Binary::Member >
struct  MappingTraits< OffloadYAML::Binary::StringEntry >
struct  MappingTraits< RemarkLocation >
struct  MappingTraits< remarks::Remark * >
struct  MappingTraits< RISCVMachineFunctionInfo >
struct  MappingTraits< SaveRestorePointEntry >
struct  MappingTraits< SerializableCtxRepresentation >
struct  MappingTraits< SerializableFlatProfileRepresentation >
struct  MappingTraits< SerializableProfileRepresentation >
struct  MappingTraits< SerializableRootRepresentation >
struct  MappingTraits< SIArgument >
struct  MappingTraits< SIArgumentInfo >
struct  MappingTraits< SIMachineFunctionInfo >
struct  MappingTraits< SIMode >
struct  MappingTraits< StableFunction >
struct  MappingTraits< std::unique_ptr< MachineFunctionInfo > >
struct  MappingTraits< std::unique_ptr< MinidumpYAML::Stream > >
struct  MappingTraits< std::unique_ptr< WasmYAML::Section > >
struct  MappingTraits< std::unique_ptr< XCOFFYAML::AuxSymbolEnt > >
struct  MappingTraits< SymbolRecordBase >
struct  MappingTraits< SymbolSection >
struct  MappingTraits< TypeIdSummary >
struct  MappingTraits< TypeTestResolution >
struct  MappingTraits< UmbrellaSection >
struct  MappingTraits< UndefinedSection >
struct  MappingTraits< UUIDv4 >
struct  MappingTraits< VirtualRegisterDefinition >
struct  MappingTraits< WasmYAML::Comdat >
struct  MappingTraits< WasmYAML::ComdatEntry >
struct  MappingTraits< WasmYAML::DataSegment >
struct  MappingTraits< WasmYAML::DylinkExportInfo >
struct  MappingTraits< WasmYAML::DylinkImportInfo >
struct  MappingTraits< WasmYAML::ElemSegment >
struct  MappingTraits< WasmYAML::Export >
struct  MappingTraits< WasmYAML::FeatureEntry >
struct  MappingTraits< WasmYAML::FileHeader >
struct  MappingTraits< WasmYAML::Function >
struct  MappingTraits< WasmYAML::Global >
struct  MappingTraits< WasmYAML::Import >
struct  MappingTraits< WasmYAML::InitExpr >
struct  MappingTraits< WasmYAML::InitFunction >
struct  MappingTraits< WasmYAML::Limits >
struct  MappingTraits< WasmYAML::LocalDecl >
struct  MappingTraits< WasmYAML::NameEntry >
struct  MappingTraits< WasmYAML::Object >
struct  MappingTraits< WasmYAML::ProducerEntry >
struct  MappingTraits< WasmYAML::Relocation >
struct  MappingTraits< WasmYAML::SegmentInfo >
struct  MappingTraits< WasmYAML::Signature >
struct  MappingTraits< WasmYAML::SymbolInfo >
struct  MappingTraits< WasmYAML::Table >
struct  MappingTraits< WebAssemblyFunctionInfo >
struct  MappingTraits< WholeProgramDevirtResolution >
struct  MappingTraits< WholeProgramDevirtResolution::ByArg >
struct  MappingTraits< X86MachineFunctionInfo >
struct  MappingTraits< XCOFFYAML::AuxiliaryHeader >
struct  MappingTraits< XCOFFYAML::FileHeader >
struct  MappingTraits< XCOFFYAML::Object >
struct  MappingTraits< XCOFFYAML::Relocation >
struct  MappingTraits< XCOFFYAML::Section >
struct  MappingTraits< XCOFFYAML::StringTable >
struct  MappingTraits< XCOFFYAML::Symbol >
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...
struct  NSectionFlags
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  PolymorphicTraits
 This class should be specialized by any type that can be represented as a scalar, map, or sequence, decided dynamically. More...
struct  PolymorphicTraits< DocNode >
 YAMLIO for DocNode. More...
struct  RISCVMachineFunctionInfo
struct  SaveRestorePointEntry
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< MachO::ArchitectureSet >
struct  ScalarBitSetTraits< support::detail::packed_endian_specific_integral< value_type, endian, alignment >, std::enable_if_t< has_ScalarBitSetTraits< value_type >::value > >
struct  ScalarBitSetTraits< TBDFlags >
struct  ScalarBitSetTraits< WasmYAML::LimitFlags >
struct  ScalarBitSetTraits< WasmYAML::SegmentFlags >
struct  ScalarBitSetTraits< WasmYAML::SymbolFlags >
struct  ScalarBitSetTraits< XCOFF::SectionTypeFlags >
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< AMXProgModelEnum >
struct  ScalarEnumerationTraits< COFF::MachineTypes >
struct  ScalarEnumerationTraits< COFF::RelocationTypeAMD64 >
struct  ScalarEnumerationTraits< COFF::RelocationTypeI386 >
struct  ScalarEnumerationTraits< COFF::RelocationTypesARM >
struct  ScalarEnumerationTraits< COFF::RelocationTypesARM64 >
struct  ScalarEnumerationTraits< COFF::RelocationTypesMips >
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< FixedMachineStackObject::ObjectType >
struct  ScalarEnumerationTraits< IFSSymbolType >
 YAML traits for ELFSymbolType. More...
struct  ScalarEnumerationTraits< MachineJumpTableInfo::JTEntryKind >
struct  ScalarEnumerationTraits< MachineStackObject::ObjectType >
struct  ScalarEnumerationTraits< MachO::BindOpcode >
struct  ScalarEnumerationTraits< MachO::LoadCommandType >
struct  ScalarEnumerationTraits< MachO::ObjCConstraintType >
struct  ScalarEnumerationTraits< MachO::RebaseOpcode >
struct  ScalarEnumerationTraits< object::ImageKind >
struct  ScalarEnumerationTraits< object::OffloadKind >
struct  ScalarEnumerationTraits< support::detail::packed_endian_specific_integral< value_type, endian, alignment >, std::enable_if_t< has_ScalarEnumerationTraits< value_type >::value > >
struct  ScalarEnumerationTraits< TargetStackID::Value >
struct  ScalarEnumerationTraits< TypeTestResolution::Kind >
struct  ScalarEnumerationTraits< ValueKind >
struct  ScalarEnumerationTraits< ValueType >
struct  ScalarEnumerationTraits< WasmYAML::ComdatKind >
struct  ScalarEnumerationTraits< WasmYAML::ExportKind >
struct  ScalarEnumerationTraits< WasmYAML::FeaturePolicyPrefix >
struct  ScalarEnumerationTraits< WasmYAML::Opcode >
struct  ScalarEnumerationTraits< WasmYAML::RelocType >
struct  ScalarEnumerationTraits< WasmYAML::SectionType >
struct  ScalarEnumerationTraits< WasmYAML::SymbolKind >
struct  ScalarEnumerationTraits< WasmYAML::TableType >
struct  ScalarEnumerationTraits< WasmYAML::ValueType >
struct  ScalarEnumerationTraits< WholeProgramDevirtResolution::ByArg::Kind >
struct  ScalarEnumerationTraits< WholeProgramDevirtResolution::Kind >
struct  ScalarEnumerationTraits< XCOFF::CFileStringType >
struct  ScalarEnumerationTraits< XCOFF::DwarfSectionSubtypeFlags >
struct  ScalarEnumerationTraits< XCOFF::StorageClass >
struct  ScalarEnumerationTraits< XCOFF::StorageMappingClass >
struct  ScalarEnumerationTraits< XCOFF::SymbolType >
struct  ScalarEnumerationTraits< XCOFFYAML::AuxSymbolType >
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< Align >
struct  ScalarTraits< BinaryRef >
struct  ScalarTraits< bool >
struct  ScalarTraits< char_16 >
struct  ScalarTraits< double >
struct  ScalarTraits< ELFYAML::YAMLFlowString >
struct  ScalarTraits< FixedSizeHex< N > >
struct  ScalarTraits< FixedSizeString< N > >
struct  ScalarTraits< float >
struct  ScalarTraits< FlowStringRef >
struct  ScalarTraits< FlowStringValue >
struct  ScalarTraits< FrameIndex >
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< IFSBitWidthType >
struct  ScalarTraits< IFSEndiannessType >
struct  ScalarTraits< int16_t >
struct  ScalarTraits< int32_t >
struct  ScalarTraits< int64_t >
struct  ScalarTraits< int8_t >
struct  ScalarTraits< MachO::Architecture >
struct  ScalarTraits< MachO::PackedVersion >
struct  ScalarTraits< MachO::PlatformSet >
struct  ScalarTraits< MaybeAlign >
struct  ScalarTraits< memprof::GUIDHex64 >
struct  ScalarTraits< std::string >
struct  ScalarTraits< StOtherPiece >
struct  ScalarTraits< StringRef >
struct  ScalarTraits< StringValue >
struct  ScalarTraits< support::detail::packed_endian_specific_integral< value_type, endian, alignment >, std::enable_if_t< has_ScalarTraits< value_type >::value > >
struct  ScalarTraits< SwiftVersion >
struct  ScalarTraits< Target >
struct  ScalarTraits< uint16_t >
struct  ScalarTraits< uint32_t >
struct  ScalarTraits< uint64_t >
struct  ScalarTraits< uint8_t >
struct  ScalarTraits< UnsignedValue >
struct  ScalarTraits< UUID >
struct  ScalarTraits< uuid_t >
struct  ScalarTraits< VersionTuple >
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< ELFYAML::YAMLFlowString >
struct  SequenceElementTraits< InstrProfCorrelator::Probe >
struct  SequenceElementTraits< std::pair< std::string, std::string > >
struct  SequenceElementTraits< std::string >
struct  SequenceElementTraits< StOtherPiece >
struct  SequenceElementTraits< StringRef >
struct  SequenceElementTraits< T, std::enable_if_t< std::is_fundamental_v< T > > >
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< ArrayDocNode >
 YAMLIO for ArrayNode. More...
struct  SequenceTraits< ArrayRef< T > >
 ArrayRef is not really compatible with the YAMLTraits. More...
struct  SequenceTraits< MutableArrayRef< T >, std::enable_if_t< CheckIsBool< SequenceElementTraits< T >::flow >::value > >
struct  SequenceTraits< SmallVector< memprof::GUIDHex64 > >
struct  SequenceTraits< SmallVector< T, N >, std::enable_if_t< CheckIsBool< SequenceElementTraits< T >::flow >::value > >
struct  SequenceTraits< SmallVectorImpl< T >, std::enable_if_t< CheckIsBool< SequenceElementTraits< T >::flow >::value > >
struct  SequenceTraits< std::array< T, N >, std::enable_if_t< CheckIsBool< SequenceElementTraits< T >::flow >::value > >
struct  SequenceTraits< std::vector< T >, std::enable_if_t< CheckIsBool< SequenceElementTraits< T >::flow >::value > >
struct  SequenceTraitsImpl
struct  SIArgument
struct  SIArgumentInfo
struct  SIMachineFunctionInfo
struct  SIMode
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  StringBlockVal
 Helper struct for multiline string block literals. More...
struct  StringValue
 A wrapper around std::string which contains a source range that's being set during parsing. More...
struct  TaggedScalarTraits
 This class should be specialized by type that requires custom conversion to/from a YAML scalar with optional tags. More...
struct  TaggedScalarTraits< ScalarDocNode >
 YAMLIO for ScalarDocNode. 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  WebAssemblyFunctionInfo
struct  X86MachineFunctionInfo
struct  YamlObjectFile

Typedefs

using char_16 = char[16]
using uuid_t = raw_ostream::uuid_t
using ErrorHandler = llvm::function_ref<void(const Twine &Msg)>
template<typename T>
using check_resize_t = decltype(std::declval<T>().resize(0))
using BBNumberMap = DenseMap<int, int>

Enumerations

enum class  NodeKind : uint8_t { Scalar , Map , Sequence }
enum class  QuotingType { None , Single , Double }
 Describe which type of quotes should be used when quoting is necessary. More...

Functions

bool operator== (const BinaryRef &LHS, const BinaryRef &RHS)
LLVM_ABI bool yaml2archive (ArchYAML::Archive &Doc, raw_ostream &Out, ErrorHandler EH)
LLVM_ABI bool yaml2coff (COFFYAML::Object &Doc, raw_ostream &Out, ErrorHandler EH)
LLVM_ABI bool yaml2goff (GOFFYAML::Object &Doc, raw_ostream &Out, ErrorHandler EH)
LLVM_ABI bool yaml2elf (ELFYAML::Object &Doc, raw_ostream &Out, ErrorHandler EH, uint64_t MaxSize)
LLVM_ABI bool yaml2macho (YamlObjectFile &Doc, raw_ostream &Out, ErrorHandler EH)
LLVM_ABI bool yaml2minidump (MinidumpYAML::Object &Doc, raw_ostream &Out, ErrorHandler EH)
LLVM_ABI bool yaml2offload (OffloadYAML::Binary &Doc, raw_ostream &Out, ErrorHandler EH)
LLVM_ABI bool yaml2wasm (WasmYAML::Object &Doc, raw_ostream &Out, ErrorHandler EH)
LLVM_ABI bool yaml2xcoff (XCOFFYAML::Object &Doc, raw_ostream &Out, ErrorHandler EH)
LLVM_ABI bool yaml2dxcontainer (DXContainerYAML::Object &Doc, raw_ostream &Out, ErrorHandler EH)
LLVM_ABI bool convertYAML (Input &YIn, raw_ostream &Out, ErrorHandler ErrHandler, unsigned DocNum=1, uint64_t MaxSize=UINT64_MAX)
LLVM_ABI std::unique_ptr< object::ObjectFileyaml2ObjectFile (SmallVectorImpl< char > &Storage, StringRef Yaml, ErrorHandler ErrHandler)
 Convenience function for tests.
LLVM_ABI bool dumpTokens (StringRef Input, raw_ostream &)
 Dump all the tokens in this stream to OS.
LLVM_ABI bool scanTokens (StringRef Input)
 Scans all tokens in input without outputting anything.
LLVM_ABI std::string escape (StringRef Input, bool EscapePrintable=true)
 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.
LLVM_ABI std::optional< boolparseBool (StringRef S)
 Parse S as a bool according to https://yaml.org/type/bool.html.
template<class CollectionType>
CollectionType::iterator begin (CollectionType &C)
template<class CollectionType>
void skip (CollectionType &C)
bool isNumeric (StringRef S)
bool isNull (StringRef S)
bool isBool (StringRef S)
QuotingType needsQuotes (StringRef S, bool ForcePreserveAsString=true)
template<typename T>
std::enable_if_t< has_ScalarEnumerationTraits< T >::value, void > yamlize (IO &io, T &Val, bool, EmptyContext &Ctx)
template<typename T>
std::enable_if_t< has_ScalarBitSetTraits< T >::value, void > yamlize (IO &io, T &Val, bool, EmptyContext &Ctx)
template<typename T>
std::enable_if_t< has_ScalarTraits< T >::value, void > yamlize (IO &io, T &Val, bool, EmptyContext &Ctx)
template<typename T>
std::enable_if_t< has_BlockScalarTraits< T >::value, void > yamlize (IO &YamlIO, T &Val, bool, EmptyContext &Ctx)
template<typename T>
std::enable_if_t< has_TaggedScalarTraits< T >::value, void > yamlize (IO &io, T &Val, bool, EmptyContext &Ctx)
template<typename T, typename Context>
std::enable_if_t< validatedMappingTraits< T, Context >::value, void > yamlize (IO &io, T &Val, bool, Context &Ctx)
template<typename T, typename Context>
bool yamlizeMappingEnumInput (IO &io, T &Val)
template<typename T, typename Context>
std::enable_if_t< unvalidatedMappingTraits< T, Context >::value, void > yamlize (IO &io, T &Val, bool, Context &Ctx)
template<typename T>
std::enable_if_t< has_CustomMappingTraits< T >::value, void > yamlize (IO &io, T &Val, bool, EmptyContext &Ctx)
template<typename T>
std::enable_if_t< has_PolymorphicTraits< T >::value, void > yamlize (IO &io, T &Val, bool, EmptyContext &Ctx)
template<typename T>
std::enable_if_t< missingTraits< T, EmptyContext >::value, void > yamlize (IO &io, T &Val, bool, EmptyContext &Ctx)
template<typename T, typename Context>
std::enable_if_t< has_SequenceTraits< T >::value, void > yamlize (IO &io, T &Seq, bool, Context &Ctx)
template<typename T>
std::enable_if_t< has_DocumentListTraits< T >::value, Input & > operator>> (Input &yin, T &docList)
template<typename T>
std::enable_if_t< has_MappingTraits< T, EmptyContext >::value, Input & > operator>> (Input &yin, T &docMap)
template<typename T>
std::enable_if_t< has_SequenceTraits< T >::value, Input & > operator>> (Input &yin, T &docSeq)
template<typename T>
std::enable_if_t< has_BlockScalarTraits< T >::value, Input & > operator>> (Input &In, T &Val)
template<typename T>
std::enable_if_t< has_CustomMappingTraits< T >::value, Input & > operator>> (Input &In, T &Val)
template<typename T>
std::enable_if_t< has_PolymorphicTraits< T >::value, Input & > operator>> (Input &In, T &Val)
template<typename T>
std::enable_if_t< missingTraits< T, EmptyContext >::value, Input & > operator>> (Input &yin, T &docSeq)
template<typename T>
std::enable_if_t< has_DocumentListTraits< T >::value, Output & > operator<< (Output &yout, T &docList)
template<typename T>
std::enable_if_t< has_MappingTraits< T, EmptyContext >::value, Output & > operator<< (Output &yout, T &map)
template<typename T>
std::enable_if_t< has_SequenceTraits< T >::value, Output & > operator<< (Output &yout, T &seq)
template<typename T>
std::enable_if_t< has_BlockScalarTraits< T >::value, Output & > operator<< (Output &Out, T &Val)
template<typename T>
std::enable_if_t< has_CustomMappingTraits< T >::value, Output & > operator<< (Output &Out, T &Val)
template<typename T>
std::enable_if_t< has_PolymorphicTraits< T >::value, Output & > operator<< (Output &Out, T &Val)
template<typename T>
std::enable_if_t< missingTraits< T, EmptyContext >::value, Output & > operator<< (Output &yout, T &seq)
template<typename T, typename M>
void mapLoadConfigMember (IO &IO, T &LoadConfig, const char *Name, M &Member)
template<typename T>
void mapLoadConfig (IO &IO, T &LoadConfig)
static void commonSectionMapping (IO &IO, ELFYAML::Section &Section)
static void sectionMapping (IO &IO, ELFYAML::DynamicSection &Section)
static void sectionMapping (IO &IO, ELFYAML::RawContentSection &Section)
static void sectionMapping (IO &IO, ELFYAML::BBAddrMapSection &Section)
static void sectionMapping (IO &IO, ELFYAML::StackSizesSection &Section)
static void sectionMapping (IO &IO, ELFYAML::HashSection &Section)
static void sectionMapping (IO &IO, ELFYAML::NoteSection &Section)
static void sectionMapping (IO &IO, ELFYAML::GnuHashSection &Section)
static void sectionMapping (IO &IO, ELFYAML::NoBitsSection &Section)
static void sectionMapping (IO &IO, ELFYAML::VerdefSection &Section)
static void sectionMapping (IO &IO, ELFYAML::SymverSection &Section)
static void sectionMapping (IO &IO, ELFYAML::VerneedSection &Section)
static void sectionMapping (IO &IO, ELFYAML::RelocationSection &Section)
static void sectionMapping (IO &IO, ELFYAML::RelrSection &Section)
static void groupSectionMapping (IO &IO, ELFYAML::GroupSection &Group)
static void sectionMapping (IO &IO, ELFYAML::SymtabShndxSection &Section)
static void sectionMapping (IO &IO, ELFYAML::AddrsigSection &Section)
static void fillMapping (IO &IO, ELFYAML::Fill &Fill)
static void sectionHeaderTableMapping (IO &IO, ELFYAML::SectionHeaderTable &SHT)
static void sectionMapping (IO &IO, ELFYAML::LinkerOptionsSection &Section)
static void sectionMapping (IO &IO, ELFYAML::DependentLibrariesSection &Section)
static void sectionMapping (IO &IO, ELFYAML::CallGraphProfileSection &Section)
static void sectionMapping (IO &IO, ELFYAML::ARMIndexTableSection &Section)
static void sectionMapping (IO &IO, ELFYAML::MipsABIFlags &Section)
static StringRef getStringValue (IO &IO, const char *Key)
static void setStringValue (IO &IO, const char *Key, StringRef Val)
static bool isInteger (StringRef Val)
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::sub_framework_command > (IO &IO, MachOYAML::LoadCommand &LoadCommand)
template<>
void mapLoadCommandData< MachO::sub_umbrella_command > (IO &IO, MachOYAML::LoadCommand &LoadCommand)
template<>
void mapLoadCommandData< MachO::sub_client_command > (IO &IO, MachOYAML::LoadCommand &LoadCommand)
template<>
void mapLoadCommandData< MachO::sub_library_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::DylinkSection &Section)
static void sectionMapping (IO &IO, WasmYAML::NameSection &Section)
static void sectionMapping (IO &IO, WasmYAML::LinkingSection &Section)
static void sectionMapping (IO &IO, WasmYAML::ProducersSection &Section)
static void sectionMapping (IO &IO, WasmYAML::TargetFeaturesSection &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::TagSection &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)
static void sectionMapping (IO &IO, WasmYAML::DataCountSection &Section)
static void auxSymMapping (IO &IO, XCOFFYAML::CsectAuxEnt &AuxSym, bool Is64)
static void auxSymMapping (IO &IO, XCOFFYAML::FileAuxEnt &AuxSym)
static void auxSymMapping (IO &IO, XCOFFYAML::BlockAuxEnt &AuxSym, bool Is64)
static void auxSymMapping (IO &IO, XCOFFYAML::FunctionAuxEnt &AuxSym, bool Is64)
static void auxSymMapping (IO &IO, XCOFFYAML::ExcpetionAuxEnt &AuxSym)
static void auxSymMapping (IO &IO, XCOFFYAML::SectAuxEntForDWARF &AuxSym)
static void auxSymMapping (IO &IO, XCOFFYAML::SectAuxEntForStat &AuxSym)
template<typename AuxEntT>
static void ResetAuxSym (IO &IO, std::unique_ptr< XCOFFYAML::AuxSymbolEnt > &AuxSym)

Typedef Documentation

◆ BBNumberMap

using llvm::yaml::BBNumberMap = DenseMap<int, int>

Definition at line 180 of file WebAssemblyMachineFunctionInfo.h.

◆ char_16

Definition at line 298 of file MachOYAML.h.

◆ check_resize_t

template<typename T>
using llvm::yaml::check_resize_t = decltype(std::declval<T>().resize(0))

Definition at line 1844 of file YAMLTraits.h.

◆ ErrorHandler

Definition at line 68 of file yaml2obj.h.

◆ uuid_t

Definition at line 308 of file MachOYAML.h.

Enumeration Type Documentation

◆ NodeKind

enum class llvm::yaml::NodeKind : uint8_t
strong
Enumerator
Scalar 
Map 
Sequence 

Definition at line 44 of file YAMLTraits.h.

◆ QuotingType

enum class llvm::yaml::QuotingType
strong

Describe which type of quotes should be used when quoting is necessary.

Some non-printable characters need to be double-quoted, while some others are fine with simple-quoting, and some don't need any quoting.

Enumerator
None 
Single 
Double 

Definition at line 131 of file YAMLTraits.h.

Function Documentation

◆ auxSymMapping() [1/7]

◆ auxSymMapping() [2/7]

◆ auxSymMapping() [3/7]

◆ auxSymMapping() [4/7]

void llvm::yaml::auxSymMapping ( IO & IO,
XCOFFYAML::FileAuxEnt & AuxSym )
static

◆ auxSymMapping() [5/7]

◆ auxSymMapping() [6/7]

◆ auxSymMapping() [7/7]

◆ begin()

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

◆ commonSectionMapping() [1/2]

◆ commonSectionMapping() [2/2]

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

Definition at line 46 of file WasmYAML.cpp.

References llvm::yaml::IO::mapOptional(), and llvm::yaml::IO::mapRequired().

◆ convertYAML()

◆ dumpTokens()

◆ escape()

std::string llvm::yaml::escape ( StringRef Input,
bool EscapePrintable = true )

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().

◆ fillMapping()

◆ getStringValue()

StringRef llvm::yaml::getStringValue ( IO & IO,
const char * Key )
static

◆ groupSectionMapping()

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

◆ isBool()

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

Definition at line 574 of file YAMLTraits.h.

Referenced by needsQuotes().

◆ isInteger()

bool llvm::yaml::isInteger ( StringRef Val)
static

Definition at line 1598 of file ELFYAML.cpp.

References llvm::StringRef::getAsInteger().

◆ isNull()

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

Definition at line 570 of file YAMLTraits.h.

Referenced by needsQuotes().

◆ isNumeric()

◆ 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 >()

◆ mapLoadConfig()

template<typename T>
void llvm::yaml::mapLoadConfig ( IO & IO,
T & LoadConfig )

◆ mapLoadConfigMember()

template<typename T, typename M>
void llvm::yaml::mapLoadConfigMember ( IO & IO,
T & LoadConfig,
const char * Name,
M & Member )

Definition at line 581 of file COFFYAML.cpp.

References llvm::yaml::IO::mapOptional(), and T.

◆ needsQuotes()

◆ operator<<() [1/7]

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

Definition at line 1732 of file YAMLTraits.h.

◆ operator<<() [2/7]

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

Definition at line 1732 of file YAMLTraits.h.

◆ operator<<() [3/7]

template<typename T>
std::enable_if_t< has_PolymorphicTraits< T >::value, Output & > llvm::yaml::operator<< ( Output & Out,
T & Val )
inline

Definition at line 1732 of file YAMLTraits.h.

◆ operator<<() [4/7]

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

Definition at line 1732 of file YAMLTraits.h.

References T.

◆ operator<<() [5/7]

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

Definition at line 1732 of file YAMLTraits.h.

◆ operator<<() [6/7]

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

Definition at line 1732 of file YAMLTraits.h.

◆ operator<<() [7/7]

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

Definition at line 1732 of file YAMLTraits.h.

◆ operator==()

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

Definition at line 99 of file YAML.h.

◆ operator>>() [1/7]

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

Definition at line 1702 of file YAMLTraits.h.

References T, and yamlize().

◆ operator>>() [2/7]

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

Definition at line 1712 of file YAMLTraits.h.

References T, and yamlize().

◆ operator>>() [3/7]

template<typename T>
std::enable_if_t< has_PolymorphicTraits< T >::value, Input & > llvm::yaml::operator>> ( Input & In,
T & Val )
inline

Definition at line 1722 of file YAMLTraits.h.

References T, and yamlize().

◆ operator>>() [4/7]

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

◆ operator>>() [5/7]

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

Definition at line 1681 of file YAMLTraits.h.

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

◆ operator>>() [6/7]

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

Definition at line 1692 of file YAMLTraits.h.

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

◆ operator>>() [7/7]

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

Definition at line 1732 of file YAMLTraits.h.

◆ parseBool()

std::optional< bool > llvm::yaml::parseBool ( StringRef S)

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().

◆ ResetAuxSym()

template<typename AuxEntT>
void llvm::yaml::ResetAuxSym ( IO & IO,
std::unique_ptr< XCOFFYAML::AuxSymbolEnt > & AuxSym )
static

◆ 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 691 of file YAMLParser.cpp.

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

◆ sectionHeaderTableMapping()

◆ sectionMapping() [1/39]

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

Definition at line 1522 of file ELFYAML.cpp.

References commonSectionMapping(), and llvm::yaml::IO::mapOptional().

◆ sectionMapping() [2/39]

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

Definition at line 1563 of file ELFYAML.cpp.

References commonSectionMapping(), and llvm::yaml::IO::mapOptional().

◆ sectionMapping() [3/39]

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

Definition at line 1442 of file ELFYAML.cpp.

References commonSectionMapping(), and llvm::yaml::IO::mapOptional().

◆ sectionMapping() [4/39]

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

Definition at line 1553 of file ELFYAML.cpp.

References commonSectionMapping(), and llvm::yaml::IO::mapOptional().

◆ sectionMapping() [5/39]

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

Definition at line 1547 of file ELFYAML.cpp.

References commonSectionMapping(), and llvm::yaml::IO::mapOptional().

◆ sectionMapping() [6/39]

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

◆ sectionMapping() [7/39]

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

Definition at line 1472 of file ELFYAML.cpp.

References commonSectionMapping(), and llvm::yaml::IO::mapOptional().

◆ sectionMapping() [8/39]

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

◆ sectionMapping() [9/39]

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

Definition at line 1542 of file ELFYAML.cpp.

References commonSectionMapping(), and llvm::yaml::IO::mapOptional().

◆ sectionMapping() [10/39]

◆ sectionMapping() [11/39]

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

Definition at line 1479 of file ELFYAML.cpp.

References commonSectionMapping().

◆ sectionMapping() [12/39]

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

Definition at line 1466 of file ELFYAML.cpp.

References commonSectionMapping(), and llvm::yaml::IO::mapOptional().

◆ sectionMapping() [13/39]

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

◆ sectionMapping() [14/39]

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

Definition at line 1500 of file ELFYAML.cpp.

References commonSectionMapping(), and llvm::yaml::IO::mapOptional().

◆ sectionMapping() [15/39]

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

Definition at line 1506 of file ELFYAML.cpp.

References commonSectionMapping(), and llvm::yaml::IO::mapOptional().

◆ sectionMapping() [16/39]

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

Definition at line 1449 of file ELFYAML.cpp.

References commonSectionMapping(), and llvm::yaml::IO::mapOptional().

◆ sectionMapping() [17/39]

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

Definition at line 1517 of file ELFYAML.cpp.

References commonSectionMapping(), and llvm::yaml::IO::mapOptional().

◆ sectionMapping() [18/39]

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

Definition at line 1489 of file ELFYAML.cpp.

References commonSectionMapping(), and llvm::yaml::IO::mapOptional().

◆ sectionMapping() [19/39]

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

Definition at line 1483 of file ELFYAML.cpp.

References commonSectionMapping(), and llvm::yaml::IO::mapOptional().

◆ sectionMapping() [20/39]

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

Definition at line 1494 of file ELFYAML.cpp.

References commonSectionMapping(), and llvm::yaml::IO::mapOptional().

◆ sectionMapping() [21/39]

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

Definition at line 153 of file WasmYAML.cpp.

References commonSectionMapping(), and llvm::yaml::IO::mapRequired().

◆ sectionMapping() [22/39]

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

Definition at line 97 of file WasmYAML.cpp.

References commonSectionMapping(), and llvm::yaml::IO::mapRequired().

◆ sectionMapping() [23/39]

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

Definition at line 163 of file WasmYAML.cpp.

References commonSectionMapping(), and llvm::yaml::IO::mapRequired().

◆ sectionMapping() [24/39]

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

Definition at line 158 of file WasmYAML.cpp.

References commonSectionMapping(), and llvm::yaml::IO::mapRequired().

◆ sectionMapping() [25/39]

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

◆ sectionMapping() [26/39]

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

Definition at line 148 of file WasmYAML.cpp.

References commonSectionMapping(), and llvm::yaml::IO::mapOptional().

◆ sectionMapping() [27/39]

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

Definition at line 138 of file WasmYAML.cpp.

References commonSectionMapping(), and llvm::yaml::IO::mapOptional().

◆ sectionMapping() [28/39]

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

Definition at line 113 of file WasmYAML.cpp.

References commonSectionMapping(), and llvm::yaml::IO::mapOptional().

◆ sectionMapping() [29/39]

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

Definition at line 133 of file WasmYAML.cpp.

References commonSectionMapping(), and llvm::yaml::IO::mapOptional().

◆ sectionMapping() [30/39]

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

Definition at line 108 of file WasmYAML.cpp.

References commonSectionMapping(), and llvm::yaml::IO::mapOptional().

◆ sectionMapping() [31/39]

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

◆ sectionMapping() [32/39]

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

Definition at line 123 of file WasmYAML.cpp.

References commonSectionMapping(), and llvm::yaml::IO::mapOptional().

◆ sectionMapping() [33/39]

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

◆ sectionMapping() [34/39]

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

◆ sectionMapping() [35/39]

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

Definition at line 143 of file WasmYAML.cpp.

References commonSectionMapping(), and llvm::yaml::IO::mapOptional().

◆ sectionMapping() [36/39]

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

Definition at line 118 of file WasmYAML.cpp.

References commonSectionMapping(), and llvm::yaml::IO::mapOptional().

◆ sectionMapping() [37/39]

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

Definition at line 128 of file WasmYAML.cpp.

References commonSectionMapping(), and llvm::yaml::IO::mapOptional().

◆ sectionMapping() [38/39]

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

Definition at line 91 of file WasmYAML.cpp.

References commonSectionMapping(), and llvm::yaml::IO::mapRequired().

◆ sectionMapping() [39/39]

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

Definition at line 103 of file WasmYAML.cpp.

References commonSectionMapping(), and llvm::yaml::IO::mapOptional().

◆ setStringValue()

void llvm::yaml::setStringValue ( IO & IO,
const char * Key,
StringRef Val )
static

◆ skip()

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

◆ yaml2archive()

◆ yaml2coff()

bool llvm::yaml::yaml2coff ( COFFYAML::Object & Doc,
raw_ostream & Out,
ErrorHandler EH )

Definition at line 618 of file COFFEmitter.cpp.

References layoutCOFF(), layoutOptionalHeader(), and writeCOFF().

Referenced by convertYAML().

◆ yaml2dxcontainer()

bool llvm::yaml::yaml2dxcontainer ( DXContainerYAML::Object & Doc,
raw_ostream & Out,
ErrorHandler EH )

Definition at line 393 of file DXContainerEmitter.cpp.

References llvm::handleAllErrors(), and yaml2dxcontainer().

Referenced by convertYAML(), and yaml2dxcontainer().

◆ yaml2elf()

◆ yaml2goff()

bool llvm::yaml::yaml2goff ( GOFFYAML::Object & Doc,
raw_ostream & Out,
ErrorHandler EH )

Definition at line 273 of file GOFFEmitter.cpp.

References yaml2goff().

Referenced by convertYAML(), and yaml2goff().

◆ yaml2macho()

bool llvm::yaml::yaml2macho ( YamlObjectFile & Doc,
raw_ostream & Out,
ErrorHandler EH )

Definition at line 745 of file MachOEmitter.cpp.

References llvm::handleAllErrors(), and yaml2macho().

Referenced by convertYAML(), and yaml2macho().

◆ yaml2minidump()

◆ yaml2ObjectFile()

std::unique_ptr< object::ObjectFile > llvm::yaml::yaml2ObjectFile ( SmallVectorImpl< char > & Storage,
StringRef Yaml,
ErrorHandler ErrHandler )

◆ yaml2offload()

◆ yaml2wasm()

bool llvm::yaml::yaml2wasm ( WasmYAML::Object & Doc,
raw_ostream & Out,
ErrorHandler EH )

Definition at line 697 of file WasmEmitter.cpp.

References yaml2wasm().

Referenced by convertYAML(), and yaml2wasm().

◆ yaml2xcoff()

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().

◆ yamlize() [1/11]

◆ yamlize() [2/11]

◆ yamlize() [3/11]

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

◆ yamlize() [4/11]

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

◆ yamlize() [5/11]

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

◆ yamlize() [6/11]

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

◆ yamlize() [7/11]

template<typename T>
std::enable_if_t< has_TaggedScalarTraits< T >::value, void > llvm::yaml::yamlize ( IO & io,
T & Val,
bool ,
EmptyContext & Ctx )

◆ yamlize() [8/11]

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

◆ yamlize() [9/11]

template<typename T>
std::enable_if_t< has_PolymorphicTraits< T >::value, void > llvm::yaml::yamlize ( IO & io,
T & Val,
bool ,
EmptyContext & Ctx )

◆ yamlize() [10/11]

template<typename T>
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.

◆ yamlize() [11/11]

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

◆ yamlizeMappingEnumInput()

template<typename T, typename Context>
bool llvm::yaml::yamlizeMappingEnumInput ( IO & io,
T & Val )