Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/CodeGen/
H A DMIRYamlMapping.h202 static void mapping(IO &YamlIO, VirtualRegisterDefinition &Reg) {
203 YamlIO.mapRequired("id", Reg.ID);
204 YamlIO.mapRequired("class", Reg.Class);
205 YamlIO.mapOptional("preferred-register", Reg.PreferredRegister,
223 static void mapping(IO &YamlIO, MachineFunctionLiveIn &LiveIn) {
224 YamlIO.mapRequired("reg", LiveIn.Register);
225 YamlIO.mapOptional(
278 static void mapping(yaml::IO &YamlIO, MachineStackObject &Object) {
279 YamlIO.mapRequired("id", Object.ID);
280 YamlIO.mapOptional("name", Object.Name,
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/
H A DSIMachineFunctionInfo.h159 static void mapping(IO &YamlIO, SIArgument &A) {
160 if (YamlIO.outputting()) {
162 YamlIO.mapRequired("reg", A.RegisterName);
164 YamlIO.mapRequired("offset", A.StackOffset);
166 auto Keys = YamlIO.keys();
169 YamlIO.mapRequired("reg", A.RegisterName);
171 YamlIO.mapRequired("offset", A.StackOffset);
173 YamlIO.setError("missing required key 'reg' or 'offset'");
175 YamlIO.mapOptional("mask", A.Mask);
204 static void mapping(IO &YamlIO, SIArgumentInfo &AI) {
[all …]
H A DSIMachineFunctionInfo.cpp574 void yaml::SIMachineFunctionInfo::mappingImpl(yaml::IO &YamlIO) { in mappingImpl() argument
575 MappingTraits<SIMachineFunctionInfo>::mapping(YamlIO, *this); in mappingImpl()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/WebAssembly/
H A DWebAssemblyMachineFunctionInfo.h201 void mappingImpl(yaml::IO &YamlIO) override;
206 static void mapping(IO &YamlIO, WebAssemblyFunctionInfo &MFI) {
207 YamlIO.mapOptional("params", MFI.Params, std::vector<FlowStringValue>());
208 YamlIO.mapOptional("results", MFI.Results, std::vector<FlowStringValue>());
209 YamlIO.mapOptional("isCFGStackified", MFI.CFGStackified, false);
210 YamlIO.mapOptional("wasmEHFuncInfo", MFI.SrcToUnwindDest);
215 static void inputOne(IO &YamlIO, StringRef Key,
217 YamlIO.mapRequired(Key.str().c_str(),
221 static void output(IO &YamlIO, BBNumberMap &SrcToUnwindDest) {
223 YamlIO.mapRequired(std::to_string(KV.first).c_str(), KV.second);
H A DWebAssemblyMachineFunctionInfo.cpp137 void yaml::WebAssemblyFunctionInfo::mappingImpl(yaml::IO &YamlIO) { in mappingImpl() argument
138 MappingTraits<WebAssemblyFunctionInfo>::mapping(YamlIO, *this); in mappingImpl()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AArch64/
H A DAArch64MachineFunctionInfo.cpp27 void yaml::AArch64FunctionInfo::mappingImpl(yaml::IO &YamlIO) { in mappingImpl() argument
28 MappingTraits<AArch64FunctionInfo>::mapping(YamlIO, *this); in mappingImpl()
H A DAArch64MachineFunctionInfo.h426 void mappingImpl(yaml::IO &YamlIO) override;
431 static void mapping(IO &YamlIO, AArch64FunctionInfo &MFI) {
432 YamlIO.mapOptional("hasRedZone", MFI.HasRedZone);
/netbsd-src/external/apache2/llvm/dist/llvm/docs/
H A DReference.rst51 YamlIO
211 :doc:`YamlIO`
H A DAMDGPUUsage.rst2508 :doc:`YamlIO`).
/netbsd-src/external/apache2/llvm/dist/llvm/lib/ObjectYAML/
H A DELFYAML.cpp1081 NormalizedOther(IO &IO) : YamlIO(IO) {} in NormalizedOther()
1082 NormalizedOther(IO &IO, Optional<uint8_t> Original) : YamlIO(IO) { in NormalizedOther()
1086 const auto *Object = static_cast<ELFYAML::Object *>(YamlIO.getContext()); in NormalizedOther()
1106 const auto *Object = static_cast<ELFYAML::Object *>(YamlIO.getContext()); in toValue()
1117 YamlIO.setError("an unknown value is used for symbol's 'Other' field: " + in toValue()
1147 if (!YamlIO.outputting()) in getFlags()
1167 IO &YamlIO; member