Home
last modified time | relevance | path

Searched refs:mapOptional (Results 1 – 25 of 47) sorted by relevance

12

/llvm-project-15.0.7/llvm/lib/ObjectYAML/
H A DXCOFFYAML.cpp170 IO.mapOptional("Flags", FileHdr.Flags); in mapping()
175 IO.mapOptional("Magic", AuxHdr.Magic); in mapping()
201 IO.mapOptional("Flag", AuxHdr.Flag); in mapping()
208 IO.mapOptional("Info", R.Info); in mapping()
209 IO.mapOptional("Type", R.Type); in mapping()
217 IO.mapOptional("Size", Sec.Size); in mapping()
223 IO.mapOptional("Flags", NC->Flags); in mapping()
330 IO.mapOptional("Name", S.SymbolName); in mapping()
331 IO.mapOptional("Value", S.Value); in mapping()
334 IO.mapOptional("Type", S.Type); in mapping()
[all …]
H A DDWARFYAML.cpp115 IO.mapOptional("ID", AbbrevTable.ID); in mapping()
116 IO.mapOptional("Table", AbbrevTable.Table); in mapping()
121 IO.mapOptional("Code", Abbrev.Code); in mapping()
144 IO.mapOptional("Length", ARange.Length); in mapping()
185 IO.mapOptional("Length", Unit.Length); in mapping()
191 IO.mapOptional("AddrSize", Unit.AddrSize); in mapping()
192 IO.mapOptional("Entries", Unit.Entries); in mapping()
197 IO.mapOptional("Values", Entry.Values); in mapping()
202 IO.mapOptional("Value", FormValue.Value); in mapping()
204 IO.mapOptional("CStr", FormValue.CStr); in mapping()
[all …]
H A DCOFFYAML.cpp458 IO.mapOptional("MajorOperatingSystemVersion", in mapping()
460 IO.mapOptional("MinorOperatingSystemVersion", in mapping()
466 IO.mapOptional("Subsystem", NWS->Subsystem); in mapping()
480 IO.mapOptional("BaseRelocationTable", in mapping()
486 IO.mapOptional("LoadConfigTable", in mapping()
490 IO.mapOptional("DelayImportDescriptor", in mapping()
492 IO.mapOptional("ClrRuntimeHeader", in mapping()
560 IO.mapOptional("File", S.File, StringRef()); in mapping()
562 IO.mapOptional("CLRToken", S.CLRToken); in mapping()
579 IO.mapOptional("Subsections", Sec.DebugS); in mapping()
[all …]
H A DELFYAML.cpp1105 IO.mapOptional("Align", Phdr.Align); in mapping()
1292 IO.mapOptional("Size", Symbol.Size); in mapping()
1301 IO.mapOptional("Other", Keys->Other); in mapping()
1316 IO.mapOptional("Link", Section.Link); in commonSectionMapping()
1322 IO.mapOptional("Size", Section.Size); in commonSectionMapping()
1356 IO.mapOptional("Info", Section.Info); in sectionMapping()
1401 IO.mapOptional("Info", Section.Info); in sectionMapping()
1817 IO.mapOptional("Name", N.Name); in mapping()
1818 IO.mapOptional("Desc", N.Desc); in mapping()
1827 IO.mapOptional("Flags", E.Flags); in mapping()
[all …]
H A DOffloadYAML.cpp51 IO.mapOptional("Version", O.Version); in mapping()
52 IO.mapOptional("Size", O.Size); in mapping()
53 IO.mapOptional("EntryOffset", O.EntryOffset); in mapping()
54 IO.mapOptional("EntrySize", O.EntrySize); in mapping()
69 IO.mapOptional("ImageKind", M.ImageKind); in mapping()
70 IO.mapOptional("OffloadKind", M.OffloadKind); in mapping()
71 IO.mapOptional("Flags", M.Flags); in mapping()
72 IO.mapOptional("String", M.StringEntries); in mapping()
73 IO.mapOptional("Content", M.Content); in mapping()
H A DMachOYAML.cpp120 IO.mapOptional("DWARF", Object.DWARF); in mapping()
139 IO.mapOptional("reserved", FatArch.reserved, in mapping()
184 IO.mapOptional("Symbol", BindOpcode.Symbol); in mapping()
191 IO.mapOptional("Name", ExportEntry.Name); in mapping()
192 IO.mapOptional("Flags", ExportEntry.Flags); in mapping()
193 IO.mapOptional("Address", ExportEntry.Address); in mapping()
194 IO.mapOptional("Other", ExportEntry.Other); in mapping()
226 IO.mapOptional("Content", LoadCommand.Content); in mapLoadCommandData()
232 IO.mapOptional("Content", LoadCommand.Content); in mapLoadCommandData()
268 IO.mapOptional("Tools", LoadCommand.Tools); in mapLoadCommandData()
[all …]
H A DWasmYAML.cpp41 IO.mapOptional("Sections", Object.Sections); in mapping()
77 IO.mapOptional("Comdats", Section.Comdats); in sectionMapping()
84 IO.mapOptional("Tools", Section.Tools); in sectionMapping()
85 IO.mapOptional("SDKs", Section.SDKs); in sectionMapping()
107 IO.mapOptional("Imports", Section.Imports); in sectionMapping()
117 IO.mapOptional("Tables", Section.Tables); in sectionMapping()
122 IO.mapOptional("Memories", Section.Memories); in sectionMapping()
132 IO.mapOptional("Globals", Section.Globals); in sectionMapping()
137 IO.mapOptional("Exports", Section.Exports); in sectionMapping()
370 IO.mapOptional("Flags", Limits.Flags, 0); in mapping()
[all …]
H A DArchiveYAML.cpp23 IO.mapOptional("Magic", A.Magic, "!<arch>\n"); in mapping()
24 IO.mapOptional("Members", A.Members); in mapping()
25 IO.mapOptional("Content", A.Content); in mapping()
40 IO.mapOptional(P.first.data(), P.second.Value, P.second.DefaultValue); in mapping()
41 IO.mapOptional("Content", E.Content); in mapping()
42 IO.mapOptional("PaddingByte", E.PaddingByte); in mapping()
H A DDXContainerYAML.cpp29 IO.mapOptional("FileSize", Header.FileSize); in mapping()
31 IO.mapOptional("PartOffsets", Header.PartOffsets); in mapping()
39 IO.mapOptional("Size", Program.Size); in mapping()
42 IO.mapOptional("DXILSize", Program.DXILSize); in mapping()
43 IO.mapOptional("DXIL", Program.DXIL); in mapping()
50 IO.mapOptional("Program", P.Program); in mapping()
H A DCodeViewYAMLSymbols.cpp346 IO.mapOptional("PtrParent", Symbol.Parent, 0U); in map()
347 IO.mapOptional("PtrEnd", Symbol.End, 0U); in map()
348 IO.mapOptional("PtrNext", Symbol.Next, 0U); in map()
353 IO.mapOptional("Offset", Symbol.CodeOffset, 0U); in map()
367 IO.mapOptional("Offset", Symbol.Offset, 0U); in map()
384 IO.mapOptional("PtrParent", Symbol.Parent, 0U); in map()
385 IO.mapOptional("PtrEnd", Symbol.End, 0U); in map()
445 IO.mapOptional("PtrParent", Symbol.Parent, 0U); in map()
446 IO.mapOptional("PtrEnd", Symbol.End, 0U); in map()
448 IO.mapOptional("Offset", Symbol.CodeOffset, 0U); in map()
[all …]
H A DMinidumpYAML.cpp22 IO.mapOptional(Key, Val, EndianType(Default)); in mapOptional()
40 IO.mapOptional(Key, Mapped, Default); in mapOptionalAs()
291 IO.mapOptional("Content", Stream.Content); in streamMapping()
325 IO.mapOptional("Product type", Info.ProductType, 0); in streamMapping()
326 mapOptional(IO, "Major Version", Info.MajorVersion, 0); in streamMapping()
328 mapOptional(IO, "Build Number", Info.BuildNumber, 0); in streamMapping()
330 IO.mapOptional("CSD Version", Stream.CSDVersion, ""); in streamMapping()
336 IO.mapOptional("CPU", Info.CPU.X86); in streamMapping()
341 IO.mapOptional("CPU", Info.CPU.Arm); in streamMapping()
344 IO.mapOptional("CPU", Info.CPU.Other); in streamMapping()
[all …]
/llvm-project-15.0.7/clang/lib/APINotes/
H A DAPINotesYAMLCompiler.cpp124 IO.mapOptional("NoEscape", P.NoEscape); in mapping()
184 IO.mapOptional("Parameters", M.Params); in mapping()
224 IO.mapOptional("PropertyKind", P.Kind); in mapping()
273 IO.mapOptional("Methods", C.Methods); in mapping()
304 IO.mapOptional("Parameters", F.Params); in mapping()
448 IO.mapOptional("FlagEnum", T.FlagEnum); in mapping()
512 IO.mapOptional("Classes", TLI.Classes); in mapTopLevelItems()
513 IO.mapOptional("Protocols", TLI.Protocols); in mapTopLevelItems()
515 IO.mapOptional("Globals", TLI.Globals); in mapTopLevelItems()
517 IO.mapOptional("Tags", TLI.Tags); in mapTopLevelItems()
[all …]
/llvm-project-15.0.7/clang-tools-extra/clang-doc/
H A DYAMLGenerator.cpp106 IO.mapOptional("Type", I.Type, Reference()); in TypeInfoMapping()
119 IO.mapOptional("Description", I.Description); in InfoMapping()
131 IO.mapOptional("Members", I.Members); in RecordInfoMapping()
132 IO.mapOptional("Bases", I.Bases); in RecordInfoMapping()
138 IO.mapOptional("ChildEnums", I.ChildEnums); in RecordInfoMapping()
151 IO.mapOptional("AttrKeys", I.AttrKeys, in CommentInfoMapping()
153 IO.mapOptional("AttrValues", I.AttrValues, in CommentInfoMapping()
155 IO.mapOptional("Children", I.Children); in CommentInfoMapping()
228 IO.mapOptional("Scoped", I.Scoped, false); in mapping()
229 IO.mapOptional("Members", I.Members); in mapping()
[all …]
/llvm-project-15.0.7/llvm/tools/llvm-pdbutil/
H A DPdbYaml.cpp105 IO.mapOptional("MSF", Obj.Headers); in mapping()
107 IO.mapOptional("StreamMap", Obj.StreamMap); in mapping()
109 IO.mapOptional("PdbStream", Obj.PdbStream); in mapping()
110 IO.mapOptional("DbiStream", Obj.DbiStream); in mapping()
121 IO.mapOptional("FileSize", Obj.FileSize); in mapping()
143 IO.mapOptional("Age", Obj.Age, 1U); in mapping()
144 IO.mapOptional("Guid", Obj.Guid); in mapping()
146 IO.mapOptional("Features", Obj.Features); in mapping()
152 IO.mapOptional("Age", Obj.Age, 1U); in mapping()
158 IO.mapOptional("Modules", Obj.ModInfos); in mapping()
[all …]
/llvm-project-15.0.7/llvm/include/llvm/CodeGen/
H A DMIRYamlMapping.h225 YamlIO.mapOptional(
280 YamlIO.mapOptional("name", Object.Name,
282 YamlIO.mapOptional(
359 YamlIO.mapOptional(
585 YamlIO.mapOptional("entries", JT.Entries,
658 YamlIO.mapOptional("cvBytesOfCalleeSavedRegisters",
667 YamlIO.mapOptional("savePoint", MFI.SavePoint,
749 YamlIO.mapOptional("liveins", MF.LiveIns,
756 YamlIO.mapOptional("stack", MF.StackObjects,
758 YamlIO.mapOptional("callSites", MF.CallSitesInfo,
[all …]
/llvm-project-15.0.7/llvm/include/llvm/IR/
H A DModuleSummaryIndexYAML.h31 io.mapOptional("Kind", res.TheKind);
34 io.mapOptional("SizeM1", res.SizeM1);
35 io.mapOptional("BitMask", res.BitMask);
56 io.mapOptional("Kind", res.TheKind);
57 io.mapOptional("Info", res.Info);
58 io.mapOptional("Byte", res.Byte);
59 io.mapOptional("Bit", res.Bit);
108 io.mapOptional("Kind", res.TheKind);
157 io.mapOptional("GUID", id.GUID);
164 io.mapOptional("VFunc", id.VFunc);
[all …]
/llvm-project-15.0.7/llvm/lib/Support/
H A DAMDGPUMetadata.cpp94 YIO.mapOptional(Kernel::Attrs::Key::ReqdWorkGroupSize, in mapping()
96 YIO.mapOptional(Kernel::Attrs::Key::WorkGroupSizeHint, in mapping()
98 YIO.mapOptional(Kernel::Attrs::Key::VecTypeHint, in mapping()
116 YIO.mapOptional(Kernel::Arg::Key::ValueType, Unused); in mapping()
122 YIO.mapOptional(Kernel::Arg::Key::AccQual, MD.mAccQual, in mapping()
146 YIO.mapOptional(Kernel::CodeProps::Key::NumSGPRs, in mapping()
148 YIO.mapOptional(Kernel::CodeProps::Key::NumVGPRs, in mapping()
154 YIO.mapOptional(Kernel::CodeProps::Key::IsXNACKEnabled, in mapping()
188 YIO.mapOptional(Kernel::Key::Attrs, MD.mAttrs); in mapping()
190 YIO.mapOptional(Kernel::Key::Args, MD.mArgs); in mapping()
[all …]
/llvm-project-15.0.7/llvm/lib/Target/AMDGPU/
H A DSIMachineFunctionInfo.h176 YamlIO.mapOptional("mask", A.Mask);
208 YamlIO.mapOptional("dispatchPtr", AI.DispatchPtr);
209 YamlIO.mapOptional("queuePtr", AI.QueuePtr);
211 YamlIO.mapOptional("dispatchID", AI.DispatchID);
219 YamlIO.mapOptional("LDSKernelId", AI.LDSKernelId);
264 YamlIO.mapOptional("ieee", Mode.IEEE, true);
318 YamlIO.mapOptional("ldsSize", MFI.LDSSize, 0u);
319 YamlIO.mapOptional("gdsSize", MFI.GDSSize, 0u);
335 YamlIO.mapOptional("argumentInfo", MFI.ArgInfo);
336 YamlIO.mapOptional("mode", MFI.Mode, SIMode());
[all …]
/llvm-project-15.0.7/clang/lib/Format/
H A DFormat.cpp199 IO.mapOptional("Enabled", Value.Enabled); in mapping()
597 IO.mapOptional("Language", Style.Language); in mapping()
642 IO.mapOptional("AlignConsecutiveBitFields", in mapping()
770 IO.mapOptional("BasedOnStyle", BasedOn); in mapping()
795 IO.mapOptional("IfMacros", Style.IfMacros); in mapping()
800 IO.mapOptional("IncludeIsMainSourceRegex", in mapping()
836 IO.mapOptional("PenaltyBreakFirstLessLess", in mapping()
903 IO.mapOptional("UseCRLF", Style.UseCRLF); in mapping()
904 IO.mapOptional("UseTab", Style.UseTab); in mapping()
965 IO.mapOptional("Minimum", Space.Minimum); in mapping()
[all …]
/llvm-project-15.0.7/bolt/include/bolt/Profile/
H A DProfileYAMLMapping.h64 YamlIO.mapOptional("disc", CSI.EntryDiscriminator, (uint32_t)0);
66 YamlIO.mapOptional("mis", CSI.Mispreds, (uint64_t)0);
91 YamlIO.mapOptional("mis", SI.Mispreds, (uint64_t)0);
129 YamlIO.mapOptional("exec", BBP.ExecCount, (uint64_t)0);
130 YamlIO.mapOptional("events", BBP.EventCount, (uint64_t)0);
131 YamlIO.mapOptional("calls", BBP.CallSites,
133 YamlIO.mapOptional("succ", BBP.Successors,
165 YamlIO.mapOptional("blocks", BFP.Blocks,
196 YamlIO.mapOptional("binary-build-id", Header.Id);
198 YamlIO.mapOptional("profile-origin", Header.Origin);
[all …]
/llvm-project-15.0.7/llvm/lib/TextAPI/
H A DTextStub.cpp298 IO.mapOptional("symbols", Section.Symbols); in mapping()
302 IO.mapOptional("objc-ivars", Section.IVars); in mapping()
315 IO.mapOptional("symbols", Section.Symbols); in mapping()
319 IO.mapOptional("objc-ivars", Section.IVars); in mapping()
327 IO.mapOptional("symbols", Section.Symbols); in mapping()
330 IO.mapOptional("objc-ivars", Section.Ivars); in mapping()
1026 IO.mapOptional("uuids", Keys->UUIDs); in mapKeysToValues()
1046 IO.mapOptional("exports", Keys->Exports); in mapKeysToValues()
1057 IO.mapOptional("uuids", Keys->UUIDs); in mapKeysToValuesV4()
1072 IO.mapOptional("exports", Keys->Exports); in mapKeysToValuesV4()
[all …]
/llvm-project-15.0.7/llvm/lib/InterfaceStub/
H A DIFSHandler.cpp105 IO.mapOptional("Arch", Target.ArchString); in mapping()
107 IO.mapOptional("BitWidth", Target.BitWidth); in mapping()
124 IO.mapOptional("Size", Symbol.Size); in mapping()
126 IO.mapOptional("Size", Symbol.Size); in mapping()
129 IO.mapOptional("Weak", Symbol.Weak, false); in mapping()
130 IO.mapOptional("Warning", Symbol.Warning); in mapping()
143 IO.mapOptional("SoName", Stub.SoName); in mapping()
144 IO.mapOptional("Target", Stub.Target); in mapping()
145 IO.mapOptional("NeededLibs", Stub.NeededLibs); in mapping()
156 IO.mapOptional("SoName", Stub.SoName); in mapping()
[all …]
/llvm-project-15.0.7/llvm/include/llvm/XRay/
H A DYAMLXRayRecord.h79 IO.mapOptional("func-id", Record.FuncId);
80 IO.mapOptional("function", Record.Function);
81 IO.mapOptional("args", Record.CallArgs);
83 IO.mapOptional("thread", Record.TId, 0U);
84 IO.mapOptional("process", Record.PId, 0U);
87 IO.mapOptional("data", Record.Data);
/llvm-project-15.0.7/clang/lib/Tooling/Inclusions/
H A DIncludeStyle.cpp18 IO.mapOptional("Regex", Category.Regex); in mapping()
19 IO.mapOptional("Priority", Category.Priority); in mapping()
20 IO.mapOptional("SortPriority", Category.SortPriority); in mapping()
21 IO.mapOptional("CaseSensitive", Category.RegexIsCaseSensitive); in mapping()
/llvm-project-15.0.7/clang/include/clang/Tooling/
H A DDiagnosticsYaml.h41 Io.mapOptional("FilePath", M.FilePath); in LLVM_YAML_IS_SEQUENCE_VECTOR()
42 Io.mapOptional("FileOffset", M.FileOffset); in LLVM_YAML_IS_SEQUENCE_VECTOR()
56 Io.mapOptional("Ranges", M.Ranges); in LLVM_YAML_IS_SEQUENCE_VECTOR()
89 Io.mapOptional("Notes", Keys->Notes); in LLVM_YAML_IS_SEQUENCE_VECTOR()
90 Io.mapOptional("Level", Keys->DiagLevel); in LLVM_YAML_IS_SEQUENCE_VECTOR()
91 Io.mapOptional("BuildDirectory", Keys->BuildDirectory); in LLVM_YAML_IS_SEQUENCE_VECTOR()

12