Home
last modified time | relevance | path

Searched refs:YamlIO (Results 1 – 12 of 12) sorted by relevance

/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DMIRYamlMapping.h205 YamlIO.mapRequired("id", Reg.ID);
206 YamlIO.mapRequired("class", Reg.Class);
227 YamlIO.mapOptional(
281 YamlIO.mapRequired("id", Object.ID);
284 YamlIO.mapOptional(
385 YamlIO.mapRequired("id", Object.ID);
386 YamlIO.mapOptional(
590 YamlIO.mapRequired("id", Entry.ID);
612 YamlIO.mapRequired("kind", JT.Kind);
712 MFI->mappingImpl(YamlIO);
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DSIMachineFunctionInfo.h138 static void mapping(IO &YamlIO, SIArgument &A) {
139 if (YamlIO.outputting()) {
141 YamlIO.mapRequired("reg", A.RegisterName);
145 auto Keys = YamlIO.keys();
148 YamlIO.mapRequired("reg", A.RegisterName);
154 YamlIO.mapOptional("mask", A.Mask);
187 YamlIO.mapOptional("queuePtr", AI.QueuePtr);
244 static void mapping(IO &YamlIO, SIMode &Mode) {
245 YamlIO.mapOptional("ieee", Mode.IEEE, true);
297 void mappingImpl(yaml::IO &YamlIO) override;
[all …]
H A DSIMachineFunctionInfo.cpp707 void yaml::SIMachineFunctionInfo::mappingImpl(yaml::IO &YamlIO) { in mappingImpl() argument
708 MappingTraits<SIMachineFunctionInfo>::mapping(YamlIO, *this); in mappingImpl()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyMachineFunctionInfo.h195 void mappingImpl(yaml::IO &YamlIO) override;
200 static void mapping(IO &YamlIO, WebAssemblyFunctionInfo &MFI) {
201 YamlIO.mapOptional("params", MFI.Params, std::vector<FlowStringValue>());
202 YamlIO.mapOptional("results", MFI.Results, std::vector<FlowStringValue>());
203 YamlIO.mapOptional("isCFGStackified", MFI.CFGStackified, false);
204 YamlIO.mapOptional("wasmEHFuncInfo", MFI.SrcToUnwindDest);
209 static void inputOne(IO &YamlIO, StringRef Key,
211 YamlIO.mapRequired(Key.str().c_str(),
215 static void output(IO &YamlIO, BBNumberMap &SrcToUnwindDest) {
217 YamlIO.mapRequired(std::to_string(KV.first).c_str(), KV.second);
H A DWebAssemblyMachineFunctionInfo.cpp150 void yaml::WebAssemblyFunctionInfo::mappingImpl(yaml::IO &YamlIO) { in mappingImpl() argument
151 MappingTraits<WebAssemblyFunctionInfo>::mapping(YamlIO, *this); in mappingImpl()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVMachineFunctionInfo.h33 void mappingImpl(yaml::IO &YamlIO) override;
38 static void mapping(IO &YamlIO, RISCVMachineFunctionInfo &MFI) {
39 YamlIO.mapOptional("varArgsFrameIndex", MFI.VarArgsFrameIndex);
40 YamlIO.mapOptional("varArgsSaveSize", MFI.VarArgsSaveSize);
H A DRISCVMachineFunctionInfo.cpp29 void yaml::RISCVMachineFunctionInfo::mappingImpl(yaml::IO &YamlIO) { in mappingImpl() argument
30 MappingTraits<RISCVMachineFunctionInfo>::mapping(YamlIO, *this); in mappingImpl()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMMachineFunctionInfo.h312 void mappingImpl(yaml::IO &YamlIO) override;
317 static void mapping(IO &YamlIO, ARMFunctionInfo &MFI) {
318 YamlIO.mapOptional("isLRSpilled", MFI.LRSpilled);
H A DARMMachineFunctionInfo.cpp19 void yaml::ARMFunctionInfo::mappingImpl(yaml::IO &YamlIO) { in mappingImpl() argument
20 MappingTraits<ARMFunctionInfo>::mapping(YamlIO, *this); in mappingImpl()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64MachineFunctionInfo.h505 void mappingImpl(yaml::IO &YamlIO) override;
510 static void mapping(IO &YamlIO, AArch64FunctionInfo &MFI) {
511 YamlIO.mapOptional("hasRedZone", MFI.HasRedZone);
H A DAArch64MachineFunctionInfo.cpp30 void yaml::AArch64FunctionInfo::mappingImpl(yaml::IO &YamlIO) { in mappingImpl() argument
31 MappingTraits<AArch64FunctionInfo>::mapping(YamlIO, *this); in mappingImpl()
/freebsd-14.2/contrib/llvm-project/llvm/lib/ObjectYAML/
H A DELFYAML.cpp1187 NormalizedOther(IO &IO) : YamlIO(IO) {} in NormalizedOther()
1188 NormalizedOther(IO &IO, std::optional<uint8_t> Original) : YamlIO(IO) { in NormalizedOther()
1192 const auto *Object = static_cast<ELFYAML::Object *>(YamlIO.getContext()); in NormalizedOther()
1212 const auto *Object = static_cast<ELFYAML::Object *>(YamlIO.getContext()); in toValue()
1223 YamlIO.setError("an unknown value is used for symbol's 'Other' field: " + in toValue()
1253 if (!YamlIO.outputting()) in getFlags()
1275 IO &YamlIO; member