Home
last modified time | relevance | path

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

12

/freebsd/contrib/llvm-project/llvm/lib/ObjectYAML/
H A DXCOFFYAML.cpp193 IO.mapOptional("MagicNumber", FileHdr.Magic); in mapping()
194 IO.mapOptional("NumberOfSections", FileHdr.NumberOfSections); in mapping()
195 IO.mapOptional("CreationTime", FileHdr.TimeStamp); in mapping()
196 IO.mapOptional("OffsetToSymbolTable", FileHdr.SymbolTableOffset); in mapping()
197 IO.mapOptional("EntriesInSymbolTable", FileHdr.NumberOfSymTableEntries); in mapping()
198 IO.mapOptional("AuxiliaryHeaderSize", FileHdr.AuxHeaderSize); in mapping()
199 IO.mapOptional("Flags", FileHdr.Flags); in mapping()
204 IO.mapOptional("Magic", AuxHdr.Magic); in mapping()
205 IO.mapOptional("Version", AuxHdr.Version); in mapping()
206 IO.mapOptional("TextStartAddr", AuxHdr.TextStartAddr); in mapping()
[all …]
H A DDWARFYAML.cpp95 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.mapOptional("debug_pubtypes", DWARF.PubTypes); in mapping()
102 IO.mapOptional("debug_gnu_pubnames", DWARF.GNUPubNames); in mapping()
103 IO.mapOptional("debug_gnu_pubtypes", DWARF.GNUPubTypes); in mapping()
104 IO.mapOptional("debug_info", DWARF.Units); in mapping()
105 IO.mapOptional("debug_line", DWARF.DebugLines); in mapping()
[all …]
H A DCOFFYAML.cpp437 IO.mapOptional("SymbolName", Rel.SymbolName, StringRef()); in mapping()
438 IO.mapOptional("SymbolTableIndex", Rel.SymbolTableIndex); in mapping()
479 IO.mapOptional("AddressOfEntryPoint", PH.Header.AddressOfEntryPoint); in mapping()
480 IO.mapOptional("ImageBase", PH.Header.ImageBase); in mapping()
481 IO.mapOptional("SectionAlignment", PH.Header.SectionAlignment, 1); in mapping()
482 IO.mapOptional("FileAlignment", PH.Header.FileAlignment, 1); in mapping()
483 IO.mapOptional("MajorOperatingSystemVersion", in mapping()
485 IO.mapOptional("MinorOperatingSystemVersion", in mapping()
487 IO.mapOptional("MajorImageVersion", PH.Header.MajorImageVersion); in mapping()
488 IO.mapOptional("MinorImageVersion", PH.Header.MinorImageVersion); in mapping()
[all …]
H A DELFYAML.cpp1157 IO.mapOptional("OSABI", FileHdr.OSABI, ELFYAML::ELF_ELFOSABI(0)); in mapping()
1158 IO.mapOptional("ABIVersion", FileHdr.ABIVersion, Hex8(0)); in mapping()
1160 IO.mapOptional("Machine", FileHdr.Machine); in mapping()
1161 IO.mapOptional("Flags", FileHdr.Flags, ELFYAML::ELF_EF(0)); in mapping()
1162 IO.mapOptional("Entry", FileHdr.Entry, Hex64(0)); in mapping()
1163 IO.mapOptional("SectionHeaderStringTable", FileHdr.SectionHeaderStringTable); in mapping()
1168 IO.mapOptional("EPhOff", FileHdr.EPhOff); in mapping()
1169 IO.mapOptional("EPhEntSize", FileHdr.EPhEntSize); in mapping()
1170 IO.mapOptional("EPhNum", FileHdr.EPhNum); in mapping()
1171 IO.mapOptional("EShEntSize", FileHdr.EShEntSize); in mapping()
[all …]
H A DGOFFYAML.cpp26 IO.mapOptional("TargetEnvironment", FileHdr.TargetEnvironment, 0); in mapping()
27 IO.mapOptional("TargetOperatingSystem", FileHdr.TargetOperatingSystem, 0); in mapping()
28 IO.mapOptional("CCSID", FileHdr.CCSID, 0); in mapping()
29 IO.mapOptional("CharacterSetName", FileHdr.CharacterSetName, ""); in mapping()
30 IO.mapOptional("LanguageProductIdentifier", FileHdr.LanguageProductIdentifier, in mapping()
32 IO.mapOptional("ArchitectureLevel", FileHdr.ArchitectureLevel, 1); in mapping()
33 IO.mapOptional("InternalCCSID", FileHdr.InternalCCSID); in mapping()
34 IO.mapOptional("TargetSoftwareEnvironment", in mapping()
H A DMachOYAML.cpp105 IO.mapOptional("IsLittleEndian", Object.IsLittleEndian, in mapping()
112 IO.mapOptional("LoadCommands", Object.LoadCommands); in mapping()
115 IO.mapOptional("__LINKEDIT", Object.RawLinkEditSegment); in mapping()
117 IO.mapOptional("LinkEditData", Object.LinkEdit); in mapping()
120 IO.mapOptional("DWARF", Object.DWARF); in mapping()
139 IO.mapOptional("reserved", FatArch.reserved, in mapping()
159 IO.mapOptional("RebaseOpcodes", LinkEditData.RebaseOpcodes); in mapping()
160 IO.mapOptional("BindOpcodes", LinkEditData.BindOpcodes); in mapping()
161 IO.mapOptional("WeakBindOpcodes", LinkEditData.WeakBindOpcodes); in mapping()
162 IO.mapOptional("LazyBindOpcodes", LinkEditData.LazyBindOpcodes); 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 DWasmYAML.cpp42 IO.mapOptional("Sections", Object.Sections); in mapping()
48 IO.mapOptional("Relocations", Section.Relocations); in commonSectionMapping()
49 IO.mapOptional("HeaderSecSizeEncodingLen", Section.HeaderSecSizeEncodingLen); in commonSectionMapping()
60 IO.mapOptional("ImportInfo", Section.ImportInfo); in sectionMapping()
61 IO.mapOptional("ExportInfo", Section.ExportInfo); in sectionMapping()
62 IO.mapOptional("RuntimePath", Section.RuntimePath); in sectionMapping()
68 IO.mapOptional("FunctionNames", Section.FunctionNames); in sectionMapping()
69 IO.mapOptional("GlobalNames", Section.GlobalNames); in sectionMapping()
70 IO.mapOptional("DataSegmentNames", Section.DataSegmentNames); in sectionMapping()
77 IO.mapOptional("SymbolTable", Section.SymbolTable); in sectionMapping()
[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 DCodeViewYAMLSymbols.cpp358 IO.mapOptional("PtrParent", Symbol.Parent, 0U); in map()
359 IO.mapOptional("PtrEnd", Symbol.End, 0U); in map()
360 IO.mapOptional("PtrNext", Symbol.Next, 0U); in map()
365 IO.mapOptional("Offset", Symbol.CodeOffset, 0U); in map()
366 IO.mapOptional("Segment", Symbol.Segment, uint16_t(0)); in map()
379 IO.mapOptional("Offset", Symbol.Offset, 0U); in map()
380 IO.mapOptional("Segment", Symbol.Segment, uint16_t(0)); in map()
396 IO.mapOptional("PtrParent", Symbol.Parent, 0U); in map()
397 IO.mapOptional("PtrEnd", Symbol.End, 0U); in map()
457 IO.mapOptional("PtrParent", Symbol.Parent, 0U); in map()
[all …]
H A DDXContainerYAML.cpp283 IO.mapOptional("FileSize", Header.FileSize); in mapping()
285 IO.mapOptional("PartOffsets", Header.PartOffsets); in mapping()
293 IO.mapOptional("Size", Program.Size); in mapping()
296 IO.mapOptional("DXILSize", Program.DXILSize); in mapping()
297 IO.mapOptional("DXIL", Program.DXIL); in mapping()
383 IO.mapOptional("Samplers", S.StaticSamplers); in mapping()
384 #define ROOT_SIGNATURE_FLAG(Num, Val) IO.mapOptional(#Val, S.Val, false); in mapping()
409 IO.mapOptional(#Flag, R.Enum, false); in mapping()
416 IO.mapOptional("RangesOffset", T.RangesOffset); in mapping()
463 IO.mapOptional(#Flag, D.Enum, false); in mapping()
[all …]
H A DMinidumpYAML.cpp19 static inline void mapOptional(yaml::IO &IO, const char *Key, EndianType &Val, in mapOptional() function
21 IO.mapOptional(Key, Val, EndianType(Default)); in mapOptional()
39 IO.mapOptional(Key, Mapped, Default); in mapOptionalAs()
290 mapOptional(IO, "Time Date Stamp", M.Entry.TimeDateStamp, 0); in mapping()
292 IO.mapOptional("Version Info", M.Entry.VersionInfo, VSFixedFileInfo()); in mapping()
294 IO.mapOptional("Misc Record", M.MiscRecord, yaml::BinaryRef()); in mapping()
300 IO.mapOptional("Content", Stream.Content); in streamMapping()
301 IO.mapOptional("Size", Stream.Size, Stream.Content.binary_size()); in streamMapping()
343 mapOptional(IO, "Processor Level", Info.ProcessorLevel, 0); in streamMapping()
344 mapOptional(IO, "Processor Revision", Info.ProcessorRevision, 0); in streamMapping()
[all …]
/freebsd/contrib/llvm-project/llvm/tools/llvm-pdbutil/
H A DPdbYaml.cpp105 IO.mapOptional("MSF", Obj.Headers); in mapping()
106 IO.mapOptional("StreamSizes", Obj.StreamSizes); in mapping()
107 IO.mapOptional("StreamMap", Obj.StreamMap); in mapping()
108 IO.mapOptional("StringTable", Obj.StringTable); in mapping()
109 IO.mapOptional("PdbStream", Obj.PdbStream); in mapping()
110 IO.mapOptional("DbiStream", Obj.DbiStream); in mapping()
111 IO.mapOptional("TpiStream", Obj.TpiStream); in mapping()
112 IO.mapOptional("IpiStream", Obj.IpiStream); in mapping()
113 IO.mapOptional("PublicsStream", Obj.PublicsStream); in mapping()
117 IO.mapOptional("SuperBlock", Obj.SuperBlock); in mapping()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DMIRYamlMapping.h208 YamlIO.mapOptional("preferred-register", Reg.PreferredRegister,
210 YamlIO.mapOptional("flags", Reg.RegisterFlags,
230 YamlIO.mapOptional(
285 YamlIO.mapOptional("name", Object.Name,
287 YamlIO.mapOptional(
290 YamlIO.mapOptional("offset", Object.Offset, (int64_t)0);
293 YamlIO.mapOptional("alignment", Object.Alignment, std::nullopt);
294 YamlIO.mapOptional("stack-id", Object.StackID, TargetStackID::Default);
295 YamlIO.mapOptional("callee-saved-register", Object.CalleeSavedRegister,
297 YamlIO.mapOptional("callee-saved-restored", Object.CalleeSavedRestored,
[all …]
/freebsd/contrib/llvm-project/clang/lib/APINotes/
H A DAPINotesYAMLCompiler.cpp123 IO.mapOptional("Nullability", P.Nullability, std::nullopt); in mapping()
124 IO.mapOptional("RetainCountConvention", P.RetainCountConvention); in mapping()
125 IO.mapOptional("NoEscape", P.NoEscape); in mapping()
126 IO.mapOptional("Lifetimebound", P.Lifetimebound); in mapping()
127 IO.mapOptional("Type", P.Type, StringRef("")); in mapping()
187 IO.mapOptional("Parameters", M.Params); in mapping()
188 IO.mapOptional("Nullability", M.Nullability); in mapping()
189 IO.mapOptional("NullabilityOfRet", M.NullabilityOfRet, std::nullopt); in mapping()
190 IO.mapOptional("RetainCountConvention", M.RetainCountConvention); in mapping()
191 IO.mapOptional("Availability", M.Availability.Mode, in mapping()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DAMDGPUMetadata.cpp95 YIO.mapOptional(Kernel::Attrs::Key::ReqdWorkGroupSize, in mapping()
97 YIO.mapOptional(Kernel::Attrs::Key::WorkGroupSizeHint, in mapping()
99 YIO.mapOptional(Kernel::Attrs::Key::VecTypeHint, in mapping()
101 YIO.mapOptional(Kernel::Attrs::Key::RuntimeHandle, MD.mRuntimeHandle, in mapping()
109 YIO.mapOptional(Kernel::Arg::Key::Name, MD.mName, std::string()); in mapping()
110 YIO.mapOptional(Kernel::Arg::Key::TypeName, MD.mTypeName, std::string()); in mapping()
117 YIO.mapOptional(Kernel::Arg::Key::ValueType, Unused); in mapping()
119 YIO.mapOptional(Kernel::Arg::Key::PointeeAlign, MD.mPointeeAlign, in mapping()
121 YIO.mapOptional(Kernel::Arg::Key::AddrSpaceQual, MD.mAddrSpaceQual, in mapping()
123 YIO.mapOptional(Kernel::Arg::Key::AccQual, MD.mAccQual, in mapping()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DModuleSummaryIndexYAML.h33 io.mapOptional("Kind", res.TheKind);
34 io.mapOptional("SizeM1BitWidth", res.SizeM1BitWidth);
35 io.mapOptional("AlignLog2", res.AlignLog2);
36 io.mapOptional("SizeM1", res.SizeM1);
37 io.mapOptional("BitMask", res.BitMask);
38 io.mapOptional("InlineBits", res.InlineBits);
58 io.mapOptional("Kind", res.TheKind);
59 io.mapOptional("Info", res.Info);
60 io.mapOptional("Byte", res.Byte);
61 io.mapOptional("Bit", res.Bit);
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DSIMachineFunctionInfo.h160 YamlIO.mapOptional("mask", A.Mask);
191 YamlIO.mapOptional("privateSegmentBuffer", AI.PrivateSegmentBuffer);
192 YamlIO.mapOptional("dispatchPtr", AI.DispatchPtr);
193 YamlIO.mapOptional("queuePtr", AI.QueuePtr);
194 YamlIO.mapOptional("kernargSegmentPtr", AI.KernargSegmentPtr);
195 YamlIO.mapOptional("dispatchID", AI.DispatchID);
196 YamlIO.mapOptional("flatScratchInit", AI.FlatScratchInit);
197 YamlIO.mapOptional("privateSegmentSize", AI.PrivateSegmentSize);
199 YamlIO.mapOptional("workGroupIDX", AI.WorkGroupIDX);
200 YamlIO.mapOptional("workGroupIDY", AI.WorkGroupIDY);
[all …]
/freebsd/contrib/llvm-project/clang/lib/Format/
H A DFormat.cpp85 IO.mapOptional("Enabled", Value.Enabled); in mapping()
86 IO.mapOptional("AcrossEmptyLines", Value.AcrossEmptyLines); in mapping()
87 IO.mapOptional("AcrossComments", Value.AcrossComments); in mapping()
88 IO.mapOptional("AlignCompound", Value.AlignCompound); in mapping()
89 IO.mapOptional("AlignFunctionDeclarations", in mapping()
91 IO.mapOptional("AlignFunctionPointers", Value.AlignFunctionPointers); in mapping()
92 IO.mapOptional("PadOperators", Value.PadOperators); in mapping()
100 IO.mapOptional("Enabled", Value.Enabled); in mapping()
101 IO.mapOptional("AcrossEmptyLines", Value.AcrossEmptyLines); in mapping()
102 IO.mapOptional("AcrossComments", Value.AcrossComments); in mapping()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/TextAPI/
H A DTextStub.cpp283 IO.mapOptional("allowed-clients", Section.AllowableClients); in mapping()
285 IO.mapOptional("allowable-clients", Section.AllowableClients); in mapping()
286 IO.mapOptional("re-exports", Section.ReexportedLibraries); in mapping()
287 IO.mapOptional("symbols", Section.Symbols); in mapping()
288 IO.mapOptional("objc-classes", Section.Classes); in mapping()
290 IO.mapOptional("objc-eh-types", Section.ClassEHs); in mapping()
291 IO.mapOptional("objc-ivars", Section.IVars); in mapping()
292 IO.mapOptional("weak-def-symbols", Section.WeakDefSymbols); in mapping()
293 IO.mapOptional("thread-local-symbols", Section.TLVSymbols); in mapping()
304 IO.mapOptional("symbols", Section.Symbols); in mapping()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/InterfaceStub/
H A DIFSHandler.cpp105 IO.mapOptional("ObjectFormat", Target.ObjectFormat); in mapping()
106 IO.mapOptional("Arch", Target.ArchString); in mapping()
107 IO.mapOptional("Endianness", Target.Endianness); in mapping()
108 IO.mapOptional("BitWidth", Target.BitWidth); in mapping()
125 IO.mapOptional("Size", Symbol.Size); in mapping()
127 IO.mapOptional("Size", Symbol.Size); in mapping()
129 IO.mapOptional("Undefined", Symbol.Undefined, false); in mapping()
130 IO.mapOptional("Weak", Symbol.Weak, false); in mapping()
131 IO.mapOptional("Warning", Symbol.Warning); in mapping()
144 IO.mapOptional("SoName", Stub.SoName); in mapping()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/ProfileData/
H A DMemProfYAML.h213 Io.mapOptional("CalleeGuids", Keys->CalleeGuids);
227 Io.mapOptional("FileName", Loc.FileName);
228 Io.mapOptional("Line", Loc.Line);
236 Io.mapOptional("Symbol", std::get<std::string>(Rec.SymHandle));
238 Io.mapOptional("Hash", std::get<uint64_t>(Rec.SymHandle));
243 Io.mapOptional("Symbol", SymName);
244 Io.mapOptional("Hash", Hash);
252 Io.mapOptional("Locations", Rec.Locations);
258 Io.mapOptional("SampledRecords", Data.Records);
259 Io.mapOptional("KnownColdSymbols", Data.KnownColdSymbols);
[all …]
/freebsd/contrib/llvm-project/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);
/freebsd/contrib/llvm-project/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()
/freebsd/contrib/llvm-project/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