Home
last modified time | relevance | path

Searched full:io (Results 1 – 25 of 667) sorted by relevance

12345678910>>...27

/llvm-project/llvm/lib/ObjectYAML/
H A DMachOYAML.cpp84 IO &IO, MachOYAML::FileHeader &FileHdr) {
85 IO.mapRequired("magic", FileHdr.magic); in mapping()
86 IO.mapRequired("cputype", FileHdr.cputype); in mapping() argument
87 IO.mapRequired("cpusubtype", FileHdr.cpusubtype); in mapping()
88 IO.mapRequired("filetype", FileHdr.filetype); in mapping()
89 IO.mapRequired("ncmds", FileHdr.ncmds); in mapping()
90 IO.mapRequired("sizeofcmds", FileHdr.sizeofcmds); in mapping()
91 IO.mapRequired("flags", FileHdr.flags); in mapping()
94 IO in mapping()
99 mapping(IO & IO,MachOYAML::Object & Object) mapping() argument
129 mapping(IO & IO,MachOYAML::FatHeader & FatHeader) mapping() argument
134 mapping(IO & IO,MachOYAML::FatArch & FatArch) mapping() argument
146 mapping(IO & IO,MachOYAML::UniversalBinary & UniversalBinary) mapping() argument
160 mapping(IO & IO,MachOYAML::LinkEditData & LinkEditData) mapping() argument
176 mapping(IO & IO,MachOYAML::RebaseOpcode & RebaseOpcode) mapping() argument
183 mapping(IO & IO,MachOYAML::BindOpcode & BindOpcode) mapping() argument
192 mapping(IO & IO,MachOYAML::ExportEntry & ExportEntry) mapping() argument
204 mapping(IO & IO,MachOYAML::NListEntry & NListEntry) mapping() argument
213 mapping(IO & IO,MachOYAML::DataInCodeEntry & DataInCodeEntry) mapping() argument
220 mapLoadCommandData(IO & IO,MachOYAML::LoadCommand & LoadCommand) mapLoadCommandData() argument
224 mapLoadCommandData(IO & IO,MachOYAML::LoadCommand & LoadCommand) mapLoadCommandData() argument
230 mapLoadCommandData(IO & IO,MachOYAML::LoadCommand & LoadCommand) mapLoadCommandData() argument
236 mapLoadCommandData(IO & IO,MachOYAML::LoadCommand & LoadCommand) mapLoadCommandData() argument
242 mapLoadCommandData(IO & IO,MachOYAML::LoadCommand & LoadCommand) mapLoadCommandData() argument
248 mapLoadCommandData(IO & IO,MachOYAML::LoadCommand & LoadCommand) mapLoadCommandData() argument
254 mapLoadCommandData(IO & IO,MachOYAML::LoadCommand & LoadCommand) mapLoadCommandData() argument
260 mapLoadCommandData(IO & IO,MachOYAML::LoadCommand & LoadCommand) mapLoadCommandData() argument
266 mapLoadCommandData(IO & IO,MachOYAML::LoadCommand & LoadCommand) mapLoadCommandData() argument
272 mapLoadCommandData(IO & IO,MachOYAML::LoadCommand & LoadCommand) mapLoadCommandData() argument
278 mapLoadCommandData(IO & IO,MachOYAML::LoadCommand & LoadCommand) mapLoadCommandData() argument
283 mapping(IO & IO,MachOYAML::LoadCommand & LoadCommand) mapping() argument
305 mapping(IO & IO,MachO::dyld_info_command & LoadCommand) mapping() argument
319 mapping(IO & IO,MachOYAML::Relocation & Relocation) mapping() argument
330 mapping(IO & IO,MachOYAML::Section & Section) mapping() argument
349 validate(IO & IO,MachOYAML::Section & Section) validate() argument
357 mapping(IO & IO,MachO::build_tool_version & tool) mapping() argument
362 mapping(IO & IO,MachO::dylib & DylibStruct) mapping() argument
370 mapping(IO & IO,MachO::dylib_command & LoadCommand) mapping() argument
375 mapping(IO & IO,MachO::dylinker_command & LoadCommand) mapping() argument
380 mapping(IO & IO,MachO::dysymtab_command & LoadCommand) mapping() argument
402 mapping(IO & IO,MachO::encryption_info_command & LoadCommand) mapping() argument
409 mapping(IO & IO,MachO::encryption_info_command_64 & LoadCommand) mapping() argument
417 mapping(IO & IO,MachO::entry_point_command & LoadCommand) mapping() argument
423 mapping(IO & IO,MachO::fvmfile_command & LoadCommand) mapping() argument
428 mapping(IO & IO,MachO::fvmlib & FVMLib) mapping() argument
435 mapping(IO & IO,MachO::fvmlib_command & LoadCommand) mapping() argument
440 mapping(IO & IO,MachO::ident_command & LoadCommand) mapping() argument
443 mapping(IO & IO,MachO::linkedit_data_command & LoadCommand) mapping() argument
449 mapping(IO & IO,MachO::linker_option_command & LoadCommand) mapping() argument
454 mapping(IO & IO,MachO::prebind_cksum_command & LoadCommand) mapping() argument
459 mapping(IO & IO,MachO::load_command & LoadCommand) mapping() argument
462 mapping(IO & IO,MachO::prebound_dylib_command & LoadCommand) mapping() argument
469 mapping(IO & IO,MachO::routines_command & LoadCommand) mapping() argument
481 mapping(IO & IO,MachO::routines_command_64 & LoadCommand) mapping() argument
493 mapping(IO & IO,MachO::rpath_command & LoadCommand) mapping() argument
497 mapping(IO & IO,MachO::section & Section) mapping() argument
511 mapping(IO & IO,MachO::section_64 & Section) mapping() argument
528 mapping(IO & IO,MachO::segment_command & LoadCommand) mapping() argument
541 mapping(IO & IO,MachO::segment_command_64 & LoadCommand) mapping() argument
554 mapping(IO & IO,MachO::source_version_command & LoadCommand) mapping() argument
559 mapping(IO & IO,MachO::sub_client_command & LoadCommand) mapping() argument
564 mapping(IO & IO,MachO::sub_framework_command & LoadCommand) mapping() argument
569 mapping(IO & IO,MachO::sub_library_command & LoadCommand) mapping() argument
574 mapping(IO & IO,MachO::sub_umbrella_command & LoadCommand) mapping() argument
579 mapping(IO & IO,MachO::symseg_command & LoadCommand) mapping() argument
585 mapping(IO & IO,MachO::symtab_command & LoadCommand) mapping() argument
593 mapping(IO & IO,MachO::thread_command & LoadCommand) mapping() argument
596 mapping(IO & IO,MachO::twolevel_hints_command & LoadCommand) mapping() argument
602 mapping(IO & IO,MachO::uuid_command & LoadCommand) mapping() argument
607 mapping(IO & IO,MachO::version_min_command & LoadCommand) mapping() argument
613 mapping(IO & IO,MachO::note_command & LoadCommand) mapping() argument
620 mapping(IO & IO,MachO::build_version_command & LoadCommand) mapping() argument
628 mapping(IO & IO,MachO::fileset_entry_command & LoadCommand) mapping() argument
[all...]
H A DCodeViewYAMLSymbols.cpp79 void ScalarEnumerationTraits<SymbolKind>::enumeration(IO &io, in enumeration() argument
83 io.enumCase(Value, E.Name.str().c_str(), E.Value); in enumeration()
86 void ScalarBitSetTraits<CompileSym2Flags>::bitset(IO &io, in bitset() argument
90 io.bitSetCase(Flags, E.Name.str().c_str(), in bitset()
95 void ScalarBitSetTraits<CompileSym3Flags>::bitset(IO &io, in bitset() argument
99 io.bitSetCase(Flags, E.Name.str().c_str(), in bitset()
104 void ScalarBitSetTraits<ExportFlags>::bitset(IO argument
112 bitset(IO & io,PublicSymFlags & Flags) bitset() argument
120 bitset(IO & io,LocalSymFlags & Flags) bitset() argument
128 bitset(IO & io,ProcSymFlags & Flags) bitset() argument
137 bitset(IO & io,FrameProcedureOptions & Flags) bitset() argument
145 enumeration(IO & io,CPUType & Cpu) enumeration() argument
152 enumeration(IO & io,RegisterId & Reg) enumeration() argument
186 enumeration(IO & io,TrampolineType & Tramp) enumeration() argument
194 enumeration(IO & io,ThunkOrdinal & Ord) enumeration() argument
203 enumeration(IO & io,FrameCookieKind & FC) enumeration() argument
212 enumeration(IO & io,JumpTableEntrySize & FC) enumeration() argument
300 map(IO & IO) map() argument
302 map(yaml::IO & io) map() argument
316 map(IO & IO) map() argument
326 map(IO & IO) map() argument
335 map(IO & IO) map() argument
344 map(IO & IO) map() argument
352 map(IO & IO) map() argument
358 map(IO & IO) map() argument
372 map(IO & IO) map() argument
378 map(IO & IO) map() argument
385 map(IO & IO) map() argument
392 map(IO & IO) map() argument
396 map(IO & IO) map() argument
403 map(IO & IO) map() argument
410 map(IO & IO) map() argument
416 map(IO & IO) map() argument
423 map(IO & IO) map() argument
430 map(IO & IO) map() argument
436 map(IO & IO) map() argument
445 map(IO & IO) map() argument
449 map(IO & IO) map() argument
457 map(IO & IO) map() argument
466 map(IO & IO) map() argument
473 map(IO & IO) map() argument
478 map(IO & IO) map() argument
490 map(IO & IO) map() argument
504 map(IO & IO) map() argument
516 map(IO & IO) map() argument
522 map(IO & IO) map() argument
529 map(IO & IO) map() argument
536 map(IO & IO) map() argument
542 map(IO & IO) map() argument
546 map(IO & IO) map() argument
551 map(IO & IO) map() argument
555 map(IO & IO) map() argument
561 map(IO & IO) map() argument
568 map(IO & IO) map() argument
574 map(IO & IO) map() argument
581 map(IO & IO) map() argument
588 map(IO & IO) map() argument
592 map(IO & IO) map() argument
598 map(IO & IO) map() argument
656 mapSymbolRecordImpl(IO & IO,const char * Class,SymbolKind Kind,CodeViewYAML::SymbolRecord & Obj) mapSymbolRecordImpl() argument
665 mapping(IO & IO,CodeViewYAML::SymbolRecord & Obj) mapping() argument
[all...]
H A DWasmYAML.cpp33 IO &IO, WasmYAML::FileHeader &FileHdr) { in mapping() argument
34 IO.mapRequired("Version", FileHdr.Version); in mapping()
37 void MappingTraits<WasmYAML::Object>::mapping(IO &IO, in mapping() argument
39 IO.setContext(&Object); in mapping()
40 IO.mapTag("!WASM", true); in mapping()
41 IO.mapRequired("FileHeader", Object.Header); in mapping()
42 IO.mapOptional("Sections", Object.Sections); in mapping()
43 IO in mapping()
46 commonSectionMapping(IO & IO,WasmYAML::Section & Section) commonSectionMapping() argument
52 sectionMapping(IO & IO,WasmYAML::DylinkSection & Section) sectionMapping() argument
64 sectionMapping(IO & IO,WasmYAML::NameSection & Section) sectionMapping() argument
72 sectionMapping(IO & IO,WasmYAML::LinkingSection & Section) sectionMapping() argument
82 sectionMapping(IO & IO,WasmYAML::ProducersSection & Section) sectionMapping() argument
90 sectionMapping(IO & IO,WasmYAML::TargetFeaturesSection & Section) sectionMapping() argument
96 sectionMapping(IO & IO,WasmYAML::CustomSection & Section) sectionMapping() argument
102 sectionMapping(IO & IO,WasmYAML::TypeSection & Section) sectionMapping() argument
107 sectionMapping(IO & IO,WasmYAML::ImportSection & Section) sectionMapping() argument
112 sectionMapping(IO & IO,WasmYAML::FunctionSection & Section) sectionMapping() argument
117 sectionMapping(IO & IO,WasmYAML::TableSection & Section) sectionMapping() argument
122 sectionMapping(IO & IO,WasmYAML::MemorySection & Section) sectionMapping() argument
127 sectionMapping(IO & IO,WasmYAML::TagSection & Section) sectionMapping() argument
132 sectionMapping(IO & IO,WasmYAML::GlobalSection & Section) sectionMapping() argument
137 sectionMapping(IO & IO,WasmYAML::ExportSection & Section) sectionMapping() argument
142 sectionMapping(IO & IO,WasmYAML::StartSection & Section) sectionMapping() argument
147 sectionMapping(IO & IO,WasmYAML::ElemSection & Section) sectionMapping() argument
152 sectionMapping(IO & IO,WasmYAML::CodeSection & Section) sectionMapping() argument
157 sectionMapping(IO & IO,WasmYAML::DataSection & Section) sectionMapping() argument
162 sectionMapping(IO & IO,WasmYAML::DataCountSection & Section) sectionMapping() argument
168 mapping(IO & IO,std::unique_ptr<WasmYAML::Section> & Section) mapping() argument
282 enumeration(IO & IO,WasmYAML::SectionType & Type) enumeration() argument
302 mapping(IO & IO,WasmYAML::Signature & Signature) mapping() argument
308 mapping(IO & IO,WasmYAML::Table & Table) mapping() argument
314 mapping(IO & IO,WasmYAML::Function & Function) mapping() argument
322 mapping(IO & IO,WasmYAML::Relocation & Relocation) mapping() argument
330 mapping(IO & IO,WasmYAML::NameEntry & NameEntry) mapping() argument
336 mapping(IO & IO,WasmYAML::ProducerEntry & ProducerEntry) mapping() argument
342 enumeration(IO & IO,WasmYAML::FeaturePolicyPrefix & Kind) enumeration() argument
351 mapping(IO & IO,WasmYAML::FeatureEntry & FeatureEntry) mapping() argument
357 mapping(IO & IO,WasmYAML::SegmentInfo & SegmentInfo) mapping() argument
365 mapping(IO & IO,WasmYAML::LocalDecl & LocalDecl) mapping() argument
370 mapping(IO & IO,WasmYAML::Limits & Limits) mapping() argument
379 mapping(IO & IO,WasmYAML::ElemSegment & Segment) mapping() argument
393 mapping(IO & IO,WasmYAML::Import & Import) mapping() argument
413 mapping(IO & IO,WasmYAML::Export & Export) mapping() argument
420 mapping(IO & IO,WasmYAML::Global & Global) mapping() argument
428 mapping(IO & IO,WasmYAML::InitExpr & Expr) mapping() argument
463 mapping(IO & IO,WasmYAML::DataSegment & Segment) mapping() argument
481 mapping(IO & IO,WasmYAML::InitFunction & Init) mapping() argument
487 enumeration(IO & IO,WasmYAML::ComdatKind & Kind) enumeration() argument
496 mapping(IO & IO,WasmYAML::ComdatEntry & ComdatEntry) mapping() argument
501 mapping(IO & IO,WasmYAML::Comdat & Comdat) mapping() argument
507 mapping(IO & IO,WasmYAML::SymbolInfo & Info) mapping() argument
538 mapping(IO & IO,WasmYAML::DylinkImportInfo & Info) mapping() argument
545 mapping(IO & IO,WasmYAML::DylinkExportInfo & Info) mapping() argument
551 bitset(IO & IO,WasmYAML::LimitFlags & Value) bitset() argument
560 bitset(IO & IO,WasmYAML::SegmentFlags & Value) bitset() argument
569 bitset(IO & IO,WasmYAML::SymbolFlags & Value) bitset() argument
587 enumeration(IO & IO,WasmYAML::SymbolKind & Kind) enumeration() argument
599 enumeration(IO & IO,WasmYAML::ValueType & Type) enumeration() argument
615 enumeration(IO & IO,WasmYAML::ExportKind & Kind) enumeration() argument
626 enumeration(IO & IO,WasmYAML::Opcode & Code) enumeration() argument
639 enumeration(IO & IO,WasmYAML::TableType & Type) enumeration() argument
650 enumeration(IO & IO,WasmYAML::RelocType & Type) enumeration() argument
[all...]
H A DCodeViewYAMLTypes.cpp84 virtual void map(yaml::IO &io) = 0;
93 void map(yaml::IO &io) override;
110 void map(yaml::IO &io) override;
123 virtual void map(yaml::IO &io) = 0;
131 void map(yaml::IO &io) override;
198 void ScalarEnumerationTraits<TypeLeafKind>::enumeration(IO &io, in enumeration() argument
200 #define CV_TYPE(name, val) io.enumCase(Value, #name, name); in enumeration()
206 IO &IO, PointerToMemberRepresentation &Value) { in enumeration() argument
207 IO.enumCase(Value, "Unknown", PointerToMemberRepresentation::Unknown); in enumeration()
208 IO.enumCase(Value, "SingleInheritanceData", in enumeration()
[all …]
H A DDWARFYAML.cpp91 void MappingTraits<DWARFYAML::Data>::mapping(IO &IO, DWARFYAML::Data &DWARF) { in mapping() argument
92 void *OldContext = IO.getContext(); in mapping()
94 IO.setContext(&DWARFCtx); in mapping()
95 IO.mapOptional("debug_str", DWARF.DebugStrings); in mapping()
96 IO.mapOptional("debug_abbrev", DWARF.DebugAbbrev); in mapping()
97 IO.mapOptional("debug_aranges", DWARF.DebugAranges); in mapping()
98 IO.mapOptional("debug_ranges", DWARF.DebugRanges); in mapping()
99 IO.mapOptional("debug_pubnames", DWARF.PubNames); in mapping()
100 IO in mapping()
115 mapping(IO & IO,DWARFYAML::AbbrevTable & AbbrevTable) mapping() argument
120 mapping(IO & IO,DWARFYAML::Abbrev & Abbrev) mapping() argument
128 mapping(IO & IO,DWARFYAML::IdxForm & IdxForm) mapping() argument
135 mapping(IO & IO,DWARFYAML::DebugNameAbbreviation & DebugNameAbbreviation) mapping() argument
142 mapping(IO & IO,DWARFYAML::DebugNameEntry & DebugNameEntry) mapping() argument
149 mapping(IO & IO,DWARFYAML::DebugNamesSection & DebugNames) mapping() argument
155 mapping(IO & IO,DWARFYAML::AttributeAbbrev & AttAbbrev) mapping() argument
163 mapping(IO & IO,DWARFYAML::ARangeDescriptor & Descriptor) mapping() argument
168 mapping(IO & IO,DWARFYAML::ARange & ARange) mapping() argument
180 mapping(IO & IO,DWARFYAML::RangeEntry & Descriptor) mapping() argument
185 mapping(IO & IO,DWARFYAML::Ranges & DebugRanges) mapping() argument
192 mapping(IO & IO,DWARFYAML::PubEntry & Entry) mapping() argument
201 mapping(IO & IO,DWARFYAML::PubSection & Section) mapping() argument
210 mapping(IO & IO,DWARFYAML::Unit & Unit) mapping() argument
222 mapping(IO & IO,DWARFYAML::Entry & Entry) mapping() argument
228 mapping(IO & IO,DWARFYAML::FormValue & FormValue) mapping() argument
236 mapping(IO & IO,DWARFYAML::File & File) mapping() argument
244 mapping(IO & IO,DWARFYAML::LineTableOpcode & LineTableOpcode) mapping() argument
263 mapping(IO & IO,DWARFYAML::LineTable & LineTable) mapping() argument
282 mapping(IO & IO,DWARFYAML::SegAddrPair & SegAddrPair) mapping() argument
288 mapping(IO & IO,DWARFYAML::AddrTableEntry & AddrTable) mapping() argument
298 mapping(IO & IO,DWARFYAML::StringOffsetsTable & StrOffsetsTable) mapping() argument
307 mapping(IO & IO,DWARFYAML::DWARFOperation & DWARFOperation) mapping() argument
313 mapping(IO & IO,DWARFYAML::RnglistEntry & RnglistEntry) mapping() argument
319 mapping(IO & IO,DWARFYAML::LoclistEntry & LoclistEntry) mapping() argument
328 mapping(IO & IO,DWARFYAML::ListEntries<EntryType> & ListEntries) mapping() argument
335 validate(IO & IO,DWARFYAML::ListEntries<EntryType> & ListEntries) validate() argument
343 mapping(IO & IO,DWARFYAML::ListTable<EntryType> & ListTable) mapping() argument
[all...]
H A DXCOFFYAML.cpp29 IO &IO, XCOFF::SectionTypeFlags &Value) { in bitset() argument
30 #define ECase(X) IO.bitSetCase(Value, #X, XCOFF::X) in bitset()
48 IO &IO, XCOFF::DwarfSectionSubtypeFlags &Value) { in enumeration() argument
49 #define ECase(X) IO.enumCase(Value, #X, XCOFF::X) in enumeration()
62 IO.enumFallback<Hex32>(Value); in enumeration()
66 IO &IO, XCOFF::StorageClass &Value) { in enumeration() argument
67 #define ECase(X) IO.enumCase(Value, #X, XCOFF::X) in enumeration()
122 IO &IO, XCOFF::StorageMappingClass &Value) { in enumeration() argument
123 #define ECase(X) IO.enumCase(Value, #X, XCOFF::X) in enumeration()
149 IO &IO, XCOFF::SymbolType &Value) { in enumeration() argument
[all …]
H A DDXContainerYAML.cpp90 IO &IO, DXContainerYAML::VersionTuple &Version) { in mapping() argument
91 IO.mapRequired("Major", Version.Major); in mapping()
92 IO.mapRequired("Minor", Version.Minor); in mapping()
96 IO &IO, DXContainerYAML::FileHeader &Header) { in mapping() argument
97 IO.mapRequired("Hash", Header.Hash); in mapping()
98 IO.mapRequired("Version", Header.Version); in mapping()
99 IO.mapOptional("FileSize", Header.FileSize); in mapping()
100 IO in mapping()
105 mapping(IO & IO,DXContainerYAML::DXILProgram & Program) mapping() argument
117 mapping(IO & IO,DXContainerYAML::ShaderFeatureFlags & Flags) mapping() argument
124 mapping(IO & IO,DXContainerYAML::ShaderHash & Hash) mapping() argument
130 mapping(IO & IO,DXContainerYAML::PSVInfo & PSV) mapping() argument
174 mapping(IO & IO,DXContainerYAML::SignatureParameter & S) mapping() argument
187 mapping(IO & IO,DXContainerYAML::Signature & S) mapping() argument
191 mapping(IO & IO,DXContainerYAML::Part & P) mapping() argument
203 mapping(IO & IO,DXContainerYAML::Object & Obj) mapping() argument
210 mapping(IO & IO,DXContainerYAML::ResourceBindInfo & Res) mapping() argument
225 mapping(IO & IO,DXContainerYAML::SignatureElement & El) mapping() argument
240 enumeration(IO & IO,dxbc::PSV::SemanticKind & Value) enumeration() argument
246 enumeration(IO & IO,dxbc::PSV::ComponentType & Value) enumeration() argument
252 enumeration(IO & IO,dxbc::PSV::InterpolationMode & Value) enumeration() argument
258 enumeration(IO & IO,dxbc::D3DSystemValue & Value) enumeration() argument
264 enumeration(IO & IO,dxbc::SigMinPrecision & Value) enumeration() argument
270 enumeration(IO & IO,dxbc::SigComponentType & Value) enumeration() argument
277 mapInfoForVersion(yaml::IO & IO) mapInfoForVersion() argument
[all...]
H A DCOFFYAML.cpp19 #define ECase(X) IO.enumCase(Value, #X, COFF::X);
34 IO &IO, COFFYAML::COMDATType &Value) { in enumeration() argument
35 IO.enumCase(Value, "0", 0); in enumeration()
47 IO &IO, COFFYAML::WeakExternalCharacteristics &Value) { in enumeration() argument
48 IO.enumCase(Value, "0", 0); in enumeration()
56 IO &IO, COFFYAML::AuxSymbolType &Value) { in enumeration() argument
61 IO in enumeration() argument
92 enumeration(IO & IO,COFF::SymbolBaseType & Value) enumeration() argument
112 enumeration(IO & IO,COFF::SymbolStorageClass & Value) enumeration() argument
143 enumeration(IO & IO,COFF::SymbolComplexType & Value) enumeration() argument
151 enumeration(IO & IO,COFF::RelocationTypeI386 & Value) enumeration() argument
166 enumeration(IO & IO,COFF::RelocationTypeAMD64 & Value) enumeration() argument
187 enumeration(IO & IO,COFF::RelocationTypesARM & Value) enumeration() argument
208 enumeration(IO & IO,COFF::RelocationTypesARM64 & Value) enumeration() argument
230 enumeration(IO & IO,COFF::WindowsSubsystem & Value) enumeration() argument
250 bitset(IO & IO,COFF::Characteristics & Value) bitset() argument
269 bitset(IO & IO,COFF::SectionCharacteristics & Value) bitset() argument
295 bitset(IO & IO,COFF::DLLCharacteristics & Value) bitset() argument
415 mapping(IO & IO,COFFYAML::Relocation & Rel) mapping() argument
443 mapping(IO & IO,COFF::DataDirectory & DD) mapping() argument
449 mapping(IO & IO,COFFYAML::PEHeader & PH) mapping() argument
498 mapping(IO & IO,COFF::header & H) mapping() argument
509 mapping(IO & IO,COFF::AuxiliaryFunctionDefinition & AFD) mapping() argument
517 mapping(IO & IO,COFF::AuxiliarybfAndefSymbol & AAS) mapping() argument
523 mapping(IO & IO,COFF::AuxiliaryWeakExternal & AWE) mapping() argument
531 mapping(IO & IO,COFF::AuxiliarySectionDefinition & ASD) mapping() argument
544 mapping(IO & IO,COFF::AuxiliaryCLRToken & ACT) mapping() argument
551 mapping(IO & IO,object::coff_load_config_code_integrity & S) mapping() argument
558 mapLoadConfigMember(IO & IO,T & LoadConfig,const char * Name,M & Member) mapLoadConfigMember() argument
566 mapLoadConfig(IO & IO,T & LoadConfig) mapLoadConfig() argument
625 mapping(IO & IO,object::coff_load_configuration32 & S) mapping() argument
630 mapping(IO & IO,object::coff_load_configuration64 & S) mapping() argument
635 mapping(IO & IO,COFFYAML::SectionDataEntry & E) mapping() argument
646 mapping(IO & IO,COFFYAML::Symbol & S) mapping() argument
663 mapping(IO & IO,COFFYAML::Section & Sec) mapping() argument
702 mapping(IO & IO,COFFYAML::Object & Obj) mapping() argument
[all...]
H A DELFYAML.cpp47 IO &IO, ELFYAML::ELF_ET &Value) { in enumeration() argument
48 #define ECase(X) IO.enumCase(Value, #X, ELF::X) in enumeration()
55 IO.enumFallback<Hex16>(Value); in enumeration()
59 IO &IO, ELFYAML::ELF_PT &Value) { in enumeration() argument
60 #define ECase(X) IO.enumCase(Value, #X, ELF::X) in enumeration()
74 IO.enumFallback<Hex32>(Value); in enumeration()
78 IO &IO, ELFYAM in enumeration() argument
194 enumeration(IO & IO,ELFYAML::ELF_EM & Value) enumeration() argument
364 enumeration(IO & IO,ELFYAML::ELF_ELFCLASS & Value) enumeration() argument
374 enumeration(IO & IO,ELFYAML::ELF_ELFDATA & Value) enumeration() argument
385 enumeration(IO & IO,ELFYAML::ELF_ELFOSABI & Value) enumeration() argument
417 bitset(IO & IO,ELFYAML::ELF_EF & Value) bitset() argument
668 enumeration(IO & IO,ELFYAML::ELF_SHT & Value) enumeration() argument
752 bitset(IO & IO,ELFYAML::ELF_PF & Value) bitset() argument
760 bitset(IO & IO,ELFYAML::ELF_SHF & Value) bitset() argument
812 enumeration(IO & IO,ELFYAML::ELF_SHN & Value) enumeration() argument
846 enumeration(IO & IO,ELFYAML::ELF_STB & Value) enumeration() argument
857 enumeration(IO & IO,ELFYAML::ELF_STT & Value) enumeration() argument
873 enumeration(IO & IO,ELFYAML::ELF_RSS & Value) enumeration() argument
883 enumeration(IO & IO,ELFYAML::ELF_REL & Value) enumeration() argument
952 enumeration(IO & IO,ELFYAML::ELF_DYNTAG & Value) enumeration() argument
1027 enumeration(IO & IO,ELFYAML::MIPS_AFL_REG & Value) enumeration() argument
1037 enumeration(IO & IO,ELFYAML::MIPS_ABI_FP & Value) enumeration() argument
1051 enumeration(IO & IO,ELFYAML::MIPS_AFL_EXT & Value) enumeration() argument
1077 enumeration(IO & IO,ELFYAML::MIPS_ISA & Value) enumeration() argument
1089 bitset(IO & IO,ELFYAML::MIPS_AFL_ASE & Value) bitset() argument
1110 bitset(IO & IO,ELFYAML::MIPS_AFL_FLAGS1 & Value) bitset() argument
1117 mapping(IO & IO,ELFYAML::SectionHeader & SHdr) mapping() argument
1121 mapping(IO & IO,ELFYAML::FileHeader & FileHdr) mapping() argument
1146 mapping(IO & IO,ELFYAML::ProgramHeader & Phdr) mapping() argument
1160 validate(IO & IO,ELFYAML::ProgramHeader & FileHdr) validate() argument
1332 mapping(IO & IO,ELFYAML::Symbol & Symbol) mapping() argument
1352 validate(IO & IO,ELFYAML::Symbol & Symbol) validate() argument
1359 commonSectionMapping(IO & IO,ELFYAML::Section & Section) commonSectionMapping() argument
1386 sectionMapping(IO & IO,ELFYAML::DynamicSection & Section) sectionMapping() argument
1391 sectionMapping(IO & IO,ELFYAML::RawContentSection & Section) sectionMapping() argument
1407 sectionMapping(IO & IO,ELFYAML::BBAddrMapSection & Section) sectionMapping() argument
1414 sectionMapping(IO & IO,ELFYAML::StackSizesSection & Section) sectionMapping() argument
1419 sectionMapping(IO & IO,ELFYAML::HashSection & Section) sectionMapping() argument
1431 sectionMapping(IO & IO,ELFYAML::NoteSection & Section) sectionMapping() argument
1437 sectionMapping(IO & IO,ELFYAML::GnuHashSection & Section) sectionMapping() argument
1444 sectionMapping(IO & IO,ELFYAML::NoBitsSection & Section) sectionMapping() argument
1448 sectionMapping(IO & IO,ELFYAML::VerdefSection & Section) sectionMapping() argument
1454 sectionMapping(IO & IO,ELFYAML::SymverSection & Section) sectionMapping() argument
1459 sectionMapping(IO & IO,ELFYAML::VerneedSection & Section) sectionMapping() argument
1465 sectionMapping(IO & IO,ELFYAML::RelocationSection & Section) sectionMapping() argument
1471 sectionMapping(IO & IO,ELFYAML::RelrSection & Section) sectionMapping() argument
1476 groupSectionMapping(IO & IO,ELFYAML::GroupSection & Group) groupSectionMapping() argument
1482 sectionMapping(IO & IO,ELFYAML::SymtabShndxSection & Section) sectionMapping() argument
1487 sectionMapping(IO & IO,ELFYAML::AddrsigSection & Section) sectionMapping() argument
1492 fillMapping(IO & IO,ELFYAML::Fill & Fill) fillMapping() argument
1499 sectionHeaderTableMapping(IO & IO,ELFYAML::SectionHeaderTable & SHT) sectionHeaderTableMapping() argument
1507 sectionMapping(IO & IO,ELFYAML::LinkerOptionsSection & Section) sectionMapping() argument
1512 sectionMapping(IO & IO,ELFYAML::DependentLibrariesSection & Section) sectionMapping() argument
1518 sectionMapping(IO & IO,ELFYAML::CallGraphProfileSection & Section) sectionMapping() argument
1524 mapping(IO & IO,ELFYAML::SectionOrType & sectionOrType) mapping() argument
1528 sectionMapping(IO & IO,ELFYAML::ARMIndexTableSection & Section) sectionMapping() argument
1533 sectionMapping(IO & IO,ELFYAML::MipsABIFlags & Section) sectionMapping() argument
1553 getStringValue(IO & IO,const char * Key) getStringValue() argument
1559 setStringValue(IO & IO,const char * Key,StringRef Val) setStringValue() argument
1569 mapping(IO & IO,std::unique_ptr<ELFYAML::Chunk> & Section) mapping() argument
1727 validate(IO & io,std::unique_ptr<ELFYAML::Chunk> & C) validate() argument
1822 mapping(IO & IO,ELFYAML::StackSizeEntry & E) mapping() argument
1829 mapping(IO & IO,ELFYAML::BBAddrMapEntry & E) mapping() argument
1838 mapping(IO & IO,ELFYAML::BBAddrMapEntry::BBRangeEntry & E) mapping() argument
1845 mapping(IO & IO,ELFYAML::BBAddrMapEntry::BBEntry & E) mapping() argument
1854 mapping(IO & IO,ELFYAML::PGOAnalysisMapEntry & E) mapping() argument
1861 mapping(IO & IO,ELFYAML::PGOAnalysisMapEntry::PGOBBEntry & E) mapping() argument
1868 mapping(IO & IO,ELFYAML::PGOAnalysisMapEntry::PGOBBEntry::SuccessorEntry & E) mapping() argument
1875 mapping(IO & IO,ELFYAML::GnuHashHeader & E) mapping() argument
1884 mapping(IO & IO,ELFYAML::DynamicEntry & Rel) mapping() argument
1892 mapping(IO & IO,ELFYAML::NoteEntry & N) mapping() argument
1900 mapping(IO & IO,ELFYAML::VerdefEntry & E) mapping() argument
1911 mapping(IO & IO,ELFYAML::VerneedEntry & E) mapping() argument
1920 mapping(IO & IO,ELFYAML::VernauxEntry & E) mapping() argument
1930 mapping(IO & IO,ELFYAML::Relocation & Rel) mapping() argument
1953 mapping(IO & IO,ELFYAML::ARMIndexTableEntry & E) mapping() argument
1966 mapping(IO & IO,ELFYAML::Object & Object) mapping() argument
1985 mapping(IO & IO,ELFYAML::LinkerOption & Opt) mapping() argument
1993 mapping(IO & IO,ELFYAML::CallGraphEntryWeight & E) mapping() argument
[all...]
H A DMinidumpYAML.cpp19 static inline void mapOptional(yaml::IO &IO, const char *Key, EndianType &Val,
21 IO.mapOptional(Key, Val, EndianType(Default)); in mapOptional()
26 static inline void mapRequiredAs(yaml::IO &IO, const char *Key,
29 IO.mapRequired(Key, Mapped); in mapRequiredAs()
36 static inline void mapOptionalAs(yaml::IO &IO, const char *Key, EndianType &Val,
39 IO.mapOptional(Key, Mapped, Default); in mapOptionalAs()
53 static inline void mapRequiredHex(yaml::IO
20 mapOptional(yaml::IO & IO,const char * Key,EndianType & Val,typename EndianType::value_type Default) mapOptional() argument
27 mapRequiredAs(yaml::IO & IO,const char * Key,EndianType & Val) mapRequiredAs() argument
37 mapOptionalAs(yaml::IO & IO,const char * Key,EndianType & Val,MapType Default) mapOptionalAs() argument
54 mapRequiredHex(yaml::IO & IO,const char * Key,EndianType & Val) mapRequiredHex() argument
62 mapOptionalHex(yaml::IO & IO,const char * Key,EndianType & Val,typename EndianType::value_type Default) mapOptionalHex() argument
121 bitset(IO & IO,MemoryProtection & Protect) bitset() argument
127 bitset(IO & IO,MemoryState & State) bitset() argument
133 bitset(IO & IO,MemoryType & Type) bitset() argument
140 enumeration(IO & IO,ProcessorArchitecture & Arch) enumeration() argument
147 enumeration(IO & IO,OSPlatform & Plat) enumeration() argument
155 enumeration(IO & IO,StreamType & Type) enumeration() argument
163 mapping(IO & IO,CPUInfo::ArmInfo & Info) mapping() argument
200 mapping(IO & IO,CPUInfo::OtherInfo & Info) mapping() argument
235 mapping(IO & IO,CPUInfo::X86Info & Info) mapping() argument
245 mapping(IO & IO,MemoryInfo & Info) mapping() argument
259 mapping(IO & IO,VSFixedFileInfo & Info) mapping() argument
277 mapping(IO & IO,ModuleListStream::entry_type & M) mapping() argument
290 streamMapping(yaml::IO & IO,RawContentStream & Stream) streamMapping() argument
302 mapping(IO & IO,MemoryListStream::entry_type & Range) mapping() argument
307 streamMapping(yaml::IO & IO,MemoryInfoListStream & Stream) streamMapping() argument
311 streamMapping(yaml::IO & IO,MemoryListStream & Stream) streamMapping() argument
315 streamMapping(yaml::IO & IO,ModuleListStream & Stream) streamMapping() argument
319 streamMapping(yaml::IO & IO,SystemInfoStream & Stream) streamMapping() argument
349 streamMapping(yaml::IO & IO,TextContentStream & Stream) streamMapping() argument
354 mapping(IO & IO,MemoryDescriptor & Memory,BinaryRef & Content) mapping() argument
360 mapping(IO & IO,ThreadListStream::entry_type & T) mapping() argument
370 streamMapping(yaml::IO & IO,ThreadListStream & Stream) streamMapping() argument
374 streamMapping(yaml::IO & IO,MinidumpYAML::ExceptionStream & Stream) streamMapping() argument
381 mapping(yaml::IO & IO,minidump::Exception & Exception) mapping() argument
401 mapping(yaml::IO & IO,std::unique_ptr<MinidumpYAML::Stream> & S) mapping() argument
438 validate(yaml::IO & IO,std::unique_ptr<MinidumpYAML::Stream> & S) validate() argument
454 mapping(IO & IO,Object & O) mapping() argument
[all...]
H A DOffloadYAML.cpp21 IO &IO, object::ImageKind &Value) { in enumeration() argument
22 #define ECase(X) IO.enumCase(Value, #X, object::X) in enumeration()
31 IO.enumFallback<Hex16>(Value); in enumeration()
35 IO &IO, object::OffloadKind &Value) { in enumeration() argument
36 #define ECase(X) IO.enumCase(Value, #X, object::X) in enumeration()
43 IO.enumFallback<Hex16>(Value); in enumeration()
46 void MappingTraits<OffloadYAML::Binary>::mapping(IO &IO, in mapping() argument
48 assert(!IO.getContext() && "The IO context is initialized already"); in mapping()
49 IO.setContext(&O); in mapping()
50 IO.mapTag("!Offload", true); in mapping()
[all …]
/llvm-project/llvm/tools/llvm-pdbutil/
H A DPdbYaml.cpp34 static void enumeration(IO &io, llvm::pdb::PDB_Machine &Value) { in enumeration()
35 io.enumCase(Value, "Invalid", PDB_Machine::Invalid); in enumeration()
36 io.enumCase(Value, "Am33", PDB_Machine::Am33); in enumeration()
37 io.enumCase(Value, "Amd64", PDB_Machine::Amd64); in enumeration()
38 io.enumCase(Value, "Arm", PDB_Machine::Arm); in enumeration()
39 io.enumCase(Value, "ArmNT", PDB_Machine::ArmNT); in enumeration()
40 io.enumCase(Value, "Ebc", PDB_Machine::Ebc); in enumeration()
41 io.enumCase(Value, "x86", PDB_Machine::x86); in enumeration()
42 io.enumCase(Value, "Ia64", PDB_Machine::Ia64); in enumeration()
43 io.enumCase(Value, "M32R", PDB_Machine::M32R); in enumeration()
[all …]
/llvm-project/llvm/lib/DebugInfo/CodeView/
H A DSymbolRecordMapping.cpp20 Error operator()(CodeViewRecordIO &IO, LocalVariableAddrGap &Gap) const { in operator ()()
21 error(IO.mapInteger(Gap.GapStartOffset)); in operator ()()
22 error(IO.mapInteger(Gap.Range)); in operator ()()
28 static Error mapLocalVariableAddrRange(CodeViewRecordIO &IO, in mapLocalVariableAddrRange() argument
30 error(IO.mapInteger(Range.OffsetStart)); in mapLocalVariableAddrRange()
31 error(IO.mapInteger(Range.ISectStart)); in mapLocalVariableAddrRange()
32 error(IO.mapInteger(Range.Range)); in mapLocalVariableAddrRange()
37 error(IO.beginRecord(MaxRecordLength - sizeof(RecordPrefix))); in visitSymbolBegin()
42 error(IO.padToAlignment(alignOf(Container))); in visitSymbolEnd()
43 error(IO.endRecord()); in visitSymbolEnd()
[all …]
H A DTypeRecordMapping.cpp67 static std::string getFlagNames(CodeViewRecordIO &IO, T Value, in getFlagNames() argument
69 if (!IO.isStreaming()) in getFlagNames()
104 static StringRef getEnumName(CodeViewRecordIO &IO, T Value, in getEnumName() argument
106 if (!IO.isStreaming()) in getEnumName()
119 static std::string getMemberAttributes(CodeViewRecordIO &IO, in getMemberAttributes() argument
122 if (!IO.isStreaming()) in getMemberAttributes()
125 getEnumName(IO, uint8_t(Access), ArrayRef(getMemberAccessNames()))); in getMemberAttributes()
129 getEnumName(IO, unsigned(Kind), ArrayRef(getMemberKindNames()))); in getMemberAttributes()
134 getFlagNames(IO, unsigned(Options), ArrayRef(getMethodOptionNames())); in getMemberAttributes()
144 Error operator()(CodeViewRecordIO &IO, OneMethodRecord &Method) const { in operator ()()
[all …]
/llvm-project/clang-tools-extra/clang-doc/
H A DYAMLGenerator.cpp40 static void enumeration(IO &IO, clang::AccessSpecifier &Value) { in enumeration()
41 IO.enumCase(Value, "Public", clang::AccessSpecifier::AS_public); in enumeration()
42 IO.enumCase(Value, "Protected", clang::AccessSpecifier::AS_protected); in enumeration()
43 IO.enumCase(Value, "Private", clang::AccessSpecifier::AS_private); in enumeration()
44 IO.enumCase(Value, "None", clang::AccessSpecifier::AS_none); in enumeration()
49 static void enumeration(IO &IO, clang::TagTypeKind &Value) { in enumeration()
50 IO.enumCase(Value, "Struct", clang::TagTypeKind::Struct); in enumeration()
51 IO.enumCase(Value, "Interface", clang::TagTypeKind::Interface); in enumeration()
52 IO.enumCase(Value, "Union", clang::TagTypeKind::Union); in enumeration()
53 IO.enumCase(Value, "Class", clang::TagTypeKind::Class); in enumeration()
[all …]
/llvm-project/llvm/include/llvm/IR/
H A DModuleSummaryIndexYAML.h19 static void enumeration(IO &io, TypeTestResolution::Kind &value) {
20 io.enumCase(value, "Unknown", TypeTestResolution::Unknown);
21 io.enumCase(value, "Unsat", TypeTestResolution::Unsat);
22 io.enumCase(value, "ByteArray", TypeTestResolution::ByteArray);
23 io.enumCase(value, "Inline", TypeTestResolution::Inline);
24 io.enumCase(value, "Single", TypeTestResolution::Single);
25 io.enumCase(value, "AllOnes", TypeTestResolution::AllOnes);
30 static void mapping(IO &io, TypeTestResolutio
[all...]
/llvm-project/flang/unittests/Runtime/
H A DExternalIOTest.cpp16 #include "flang/Runtime/io-api-consts.h"
24 using namespace Fortran::runtime::io;
31 Cookie io{IONAME(BeginOpenNewUnit)(__FILE__, __LINE__)}; in TEST() local
32 ASSERT_TRUE(IONAME(SetAccess)(io, "DIRECT", 6)) << "SetAccess(DIRECT)"; in TEST()
33 ASSERT_TRUE(IONAME(SetAction)(io, "READWRITE", 9)) << "SetAction(READWRITE)"; in TEST()
34 ASSERT_TRUE(IONAME(SetForm)(io, "UNFORMATTED", 11)) << "SetForm(UNFORMATTED)"; in TEST()
38 ASSERT_TRUE(IONAME(SetRecl)(io, recl)) << "SetRecl()"; in TEST()
39 ASSERT_TRUE(IONAME(SetStatus)(io, "SCRATCH", 7)) << "SetStatus(SCRATCH)"; in TEST()
42 ASSERT_TRUE(IONAME(GetNewUnit)(io, unit)) << "GetNewUnit()"; in TEST()
43 ASSERT_EQ(IONAME(EndIoStatement)(io), IostatO in TEST()
98 auto *io{IONAME(BeginOpenNewUnit)(__FILE__, __LINE__)}; TEST() local
161 auto *io{IONAME(BeginOpenNewUnit)(__FILE__, __LINE__)}; TEST() local
251 auto *io{IONAME(BeginOpenNewUnit)(__FILE__, __LINE__)}; TEST() local
337 auto *io{IONAME(BeginOpenNewUnit)(__FILE__, __LINE__)}; TEST() local
388 auto *io{IONAME(BeginOpenNewUnit)(__FILE__, __LINE__)}; TEST() local
490 auto *io{IONAME(BeginOpenNewUnit)(__FILE__, __LINE__)}; TEST() local
591 auto *io{IONAME(BeginOpenNewUnit)(__FILE__, __LINE__)}; TEST() local
689 auto *io{IONAME(BeginOpenNewUnit)(__FILE__, __LINE__)}; TEST() local
752 auto *io{IONAME(BeginOpenNewUnit)(__FILE__, __LINE__)}; TEST() local
831 auto *io{IONAME(BeginOpenNewUnit)(__FILE__, __LINE__)}; TEST() local
[all...]
/llvm-project/clang-tools-extra/clangd/index/
H A DYAMLSerialization.cpp96 NormalizedSymbolID(IO &) {} in NormalizedSymbolID()
97 NormalizedSymbolID(IO &, const SymbolID &ID) { in NormalizedSymbolID()
102 SymbolID denormalize(IO &I) { in denormalize()
115 NormalizedSymbolFlag(IO &) {} in NormalizedSymbolFlag()
116 NormalizedSymbolFlag(IO &, Symbol::SymbolFlag F) { in NormalizedSymbolFlag()
120 Symbol::SymbolFlag denormalize(IO &) { in denormalize()
128 static void mapping(IO &IO, YPosition &Value) { in mapping()
129 IO.mapRequired("Line", Value.Line); in mapping()
130 IO.mapRequired("Column", Value.Column); in mapping()
136 NormalizedPosition(IO &) {} in NormalizedPosition()
[all …]
/llvm-project/clang/lib/APINotes/
H A DAPINotesYAMLCompiler.cpp43 static void enumeration(IO &IO, APIAvailability &AA) { in enumeration()
44 IO.enumCase(AA, "none", APIAvailability::None); in enumeration()
45 IO.enumCase(AA, "nonswift", APIAvailability::NonSwift); in enumeration()
46 IO.enumCase(AA, "available", APIAvailability::Available); in enumeration()
62 static void enumeration(IO &IO, MethodKind &MK) { in enumeration()
63 IO.enumCase(MK, "Class", MethodKind::Class); in enumeration()
64 IO.enumCase(MK, "Instance", MethodKind::Instance); in enumeration()
89 static void enumeration(IO in enumeration()
522 mapTopLevelItems(IO & IO,TopLevelItems & TLI) mapTopLevelItems() argument
[all...]
/llvm-project/llvm/include/llvm/ObjectYAML/
H A DDWARFYAML.h313 static void mapping(IO &IO, DWARFYAML::Data &DWARF); in LLVM_YAML_IS_SEQUENCE_VECTOR()
317 static void mapping(IO &IO, DWARFYAML::AbbrevTable &AbbrevTable); in LLVM_YAML_IS_SEQUENCE_VECTOR()
321 static void mapping(IO &IO, DWARFYAML::Abbrev &Abbrev); in LLVM_YAML_IS_SEQUENCE_VECTOR()
325 static void mapping(IO &IO, DWARFYAML::AttributeAbbrev &AttAbbrev); in LLVM_YAML_IS_SEQUENCE_VECTOR()
329 static void mapping(IO &IO, DWARFYAM in LLVM_YAML_IS_SEQUENCE_VECTOR()
[all...]
H A DCOFFYAML.h51 // to use yaml::IO, we use these structures which are closer to the source.
139 static void enumeration(IO &IO, COFFYAML::WeakExternalCharacteristics &Value); in LLVM_YAML_IS_SEQUENCE_VECTOR()
144 static void enumeration(IO &IO, COFFYAML::AuxSymbolType &Value); in LLVM_YAML_IS_SEQUENCE_VECTOR()
149 static void enumeration(IO &IO, COFFYAML::COMDATType &Value); in LLVM_YAML_IS_SEQUENCE_VECTOR()
154 static void enumeration(IO &IO, COFF::MachineTypes &Value); in LLVM_YAML_IS_SEQUENCE_VECTOR()
159 static void enumeration(IO in LLVM_YAML_IS_SEQUENCE_VECTOR()
[all...]
H A DWasmYAML.h453 static void mapping(IO &IO, WasmYAML::FileHeader &FileHdr); in LLVM_YAML_IS_SEQUENCE_VECTOR()
457 static void mapping(IO &IO, std::unique_ptr<WasmYAML::Section> &Section); in LLVM_YAML_IS_SEQUENCE_VECTOR()
461 static void mapping(IO &IO, WasmYAML::Object &Object); in LLVM_YAML_IS_SEQUENCE_VECTOR()
465 static void mapping(IO &IO, WasmYAML::Import &Import); in LLVM_YAML_IS_SEQUENCE_VECTOR()
469 static void mapping(IO &IO, WasmYAML::Export &Export); in LLVM_YAML_IS_SEQUENCE_VECTOR()
473 static void mapping(IO &IO, WasmYAML::Global &Global); in LLVM_YAML_IS_SEQUENCE_VECTOR()
477 static void bitset(IO &IO, WasmYAML::LimitFlags &Value); in LLVM_YAML_IS_SEQUENCE_VECTOR()
481 static void bitset(IO &IO, WasmYAML::SymbolFlags &Value); in LLVM_YAML_IS_SEQUENCE_VECTOR()
485 static void enumeration(IO &IO, WasmYAML::SymbolKind &Kind); in LLVM_YAML_IS_SEQUENCE_VECTOR()
489 static void bitset(IO &IO, WasmYAML::SegmentFlags &Value); in LLVM_YAML_IS_SEQUENCE_VECTOR()
[all …]
/llvm-project/clang/lib/Format/
H A DFormat.cpp38 enumeration(IO &IO, FormatStyle::BreakBeforeNoexceptSpecifierStyle &Value) { in enumeration()
39 IO.enumCase(Value, "Never", FormatStyle::BBNSS_Never); in enumeration()
40 IO.enumCase(Value, "OnlyWithParen", FormatStyle::BBNSS_OnlyWithParen); in enumeration()
41 IO.enumCase(Value, "Always", FormatStyle::BBNSS_Always); in enumeration()
46 static void enumInput(IO &IO, FormatStyle::AlignConsecutiveStyle &Value) { in enumInput()
47 IO.enumCase(Value, "None", FormatStyle::AlignConsecutiveStyle({})); in enumInput()
48 IO.enumCase(Value, "Consecutive", in enumInput()
54 IO in enumInput()
[all...]
/llvm-project/flang/runtime/
H A Dnamelist.cpp10 #include "descriptor-io.h"
12 #include "io-stmt.h"
13 #include "flang/Runtime/io-api.h"
18 namespace Fortran::runtime::io { namespace
28 static inline RT_API_ATTRS char32_t GetComma(IoStatementState &io) { in GetComma() argument
29 return io.mutableModes().editingFlags & decimalComma ? char32_t{';'} in GetComma()
34 IoStatementState &io{*cookie}; in IODEF() local
35 io.CheckFormattedStmtType<Direction::Output>("OutputNamelist"); in IODEF()
36 io.mutableModes().inNamelist = true; in IODEF()
37 ConnectionState &connection{io.GetConnectionState()}; in IODEF()
[all …]
H A Ddescriptor-io.h1 //===-- runtime/descriptor-io.h ---------------------------------*- C++ -*-===//
19 #include "io-stmt.h"
29 namespace Fortran::runtime::io::descr {
31 inline RT_API_ATTRS A &ExtractElement(IoStatementState &io, in ExtractElement() argument
35 io.GetIoErrorHandler().Crash("Bad address for I/O item -- null base " in ExtractElement()
48 inline RT_API_ATTRS bool FormattedIntegerIO(IoStatementState &io, in FormattedIntegerIO()
56 if (auto edit{io.GetNextDataEdit()}) { in FormattedIntegerIO()
57 IntType &x{ExtractElement<IntType>(io, descriptor, subscripts)}; in FormattedIntegerIO()
59 if (!EditIntegerOutput<KIND>(io, *edit, x, isSigned)) { in FormattedIntegerIO()
64 io, *edi in FormattedIntegerIO()
49 FormattedIntegerIO(IoStatementState & io,const Descriptor & descriptor) FormattedIntegerIO() argument
82 FormattedRealIO(IoStatementState & io,const Descriptor & descriptor) FormattedRealIO() argument
115 FormattedComplexIO(IoStatementState & io,const Descriptor & descriptor) FormattedComplexIO() argument
163 FormattedCharacterIO(IoStatementState & io,const Descriptor & descriptor) FormattedCharacterIO() argument
203 FormattedLogicalIO(IoStatementState & io,const Descriptor & descriptor) FormattedLogicalIO() argument
249 DefaultComponentIO(IoStatementState & io,const typeInfo::Component & component,const Descriptor & origDescriptor,const SubscriptValue origSubscripts[],Terminator & terminator,const NonTbpDefinedIoTable * table) DefaultComponentIO() argument
276 DefaultComponentwiseFormattedIO(IoStatementState & io,const Descriptor & descriptor,const typeInfo::DerivedType & type,const NonTbpDefinedIoTable * table,const SubscriptValue subscripts[]) DefaultComponentwiseFormattedIO() argument
302 DefaultComponentwiseUnformattedIO(IoStatementState & io,const Descriptor & descriptor,const typeInfo::DerivedType & type,const NonTbpDefinedIoTable * table) DefaultComponentwiseUnformattedIO() argument
334 FormattedDerivedTypeIO(IoStatementState & io,const Descriptor & descriptor,const NonTbpDefinedIoTable * table) FormattedDerivedTypeIO() argument
495 DescriptorIO(IoStatementState & io,const Descriptor & descriptor,const NonTbpDefinedIoTable * table) DescriptorIO() argument
[all...]

12345678910>>...27