Home
last modified time | relevance | path

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

/external/llvm/include/llvm/CodeGen/
DMIRYamlMapping.h152 static void mapping(IO &YamlIO, VirtualRegisterDefinition &Reg) {
153 YamlIO.mapRequired("id", Reg.ID);
154 YamlIO.mapRequired("class", Reg.Class);
155 YamlIO.mapOptional("preferred-register", Reg.PreferredRegister,
168 static void mapping(IO &YamlIO, MachineFunctionLiveIn &LiveIn) {
169 YamlIO.mapRequired("reg", LiveIn.Register);
170 YamlIO.mapOptional(
210 static void mapping(yaml::IO &YamlIO, MachineStackObject &Object) {
211 YamlIO.mapRequired("id", Object.ID);
212 YamlIO.mapOptional("name", Object.Name,
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DMIRYamlMapping.h169 static void mapping(IO &YamlIO, VirtualRegisterDefinition &Reg) {
170 YamlIO.mapRequired("id", Reg.ID);
171 YamlIO.mapRequired("class", Reg.Class);
172 YamlIO.mapOptional("preferred-register", Reg.PreferredRegister,
190 static void mapping(IO &YamlIO, MachineFunctionLiveIn &LiveIn) {
191 YamlIO.mapRequired("reg", LiveIn.Register);
192 YamlIO.mapOptional(
245 static void mapping(yaml::IO &YamlIO, MachineStackObject &Object) {
246 YamlIO.mapRequired("id", Object.ID);
247 YamlIO.mapOptional("name", Object.Name,
[all …]
/external/llvm-project/llvm/include/llvm/CodeGen/
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 …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DSIMachineFunctionInfo.h165 static void mapping(IO &YamlIO, SIArgument &A) {
166 if (YamlIO.outputting()) {
168 YamlIO.mapRequired("reg", A.RegisterName);
170 YamlIO.mapRequired("offset", A.StackOffset);
172 auto Keys = YamlIO.keys();
175 YamlIO.mapRequired("reg", A.RegisterName);
177 YamlIO.mapRequired("offset", A.StackOffset);
179 YamlIO.setError("missing required key 'reg' or 'offset'");
181 YamlIO.mapOptional("mask", A.Mask);
210 static void mapping(IO &YamlIO, SIArgumentInfo &AI) {
[all …]
DSIMachineFunctionInfo.cpp496 void yaml::SIMachineFunctionInfo::mappingImpl(yaml::IO &YamlIO) { in mappingImpl() argument
497 MappingTraits<SIMachineFunctionInfo>::mapping(YamlIO, *this); in mappingImpl()
/external/llvm-project/llvm/lib/Target/AMDGPU/
DSIMachineFunctionInfo.h165 static void mapping(IO &YamlIO, SIArgument &A) {
166 if (YamlIO.outputting()) {
168 YamlIO.mapRequired("reg", A.RegisterName);
170 YamlIO.mapRequired("offset", A.StackOffset);
172 auto Keys = YamlIO.keys();
175 YamlIO.mapRequired("reg", A.RegisterName);
177 YamlIO.mapRequired("offset", A.StackOffset);
179 YamlIO.setError("missing required key 'reg' or 'offset'");
181 YamlIO.mapOptional("mask", A.Mask);
210 static void mapping(IO &YamlIO, SIArgumentInfo &AI) {
[all …]
DSIMachineFunctionInfo.cpp561 void yaml::SIMachineFunctionInfo::mappingImpl(yaml::IO &YamlIO) { in mappingImpl() argument
562 MappingTraits<SIMachineFunctionInfo>::mapping(YamlIO, *this); in mappingImpl()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/WebAssembly/
DWebAssemblyMachineFunctionInfo.h163 void mappingImpl(yaml::IO &YamlIO) override;
168 static void mapping(IO &YamlIO, WebAssemblyFunctionInfo &MFI) {
169 YamlIO.mapOptional("isCFGStackified", MFI.CFGStackified, false);
DWebAssemblyMachineFunctionInfo.cpp87 void yaml::WebAssemblyFunctionInfo::mappingImpl(yaml::IO &YamlIO) { in mappingImpl() argument
88 MappingTraits<WebAssemblyFunctionInfo>::mapping(YamlIO, *this); in mappingImpl()
/external/llvm-project/llvm/lib/Target/WebAssembly/
DWebAssemblyMachineFunctionInfo.h181 void mappingImpl(yaml::IO &YamlIO) override;
186 static void mapping(IO &YamlIO, WebAssemblyFunctionInfo &MFI) {
187 YamlIO.mapOptional("isCFGStackified", MFI.CFGStackified, false);
DWebAssemblyMachineFunctionInfo.cpp109 void yaml::WebAssemblyFunctionInfo::mappingImpl(yaml::IO &YamlIO) { in mappingImpl() argument
110 MappingTraits<WebAssemblyFunctionInfo>::mapping(YamlIO, *this); in mappingImpl()
/external/llvm-project/llvm/lib/Target/AArch64/
DAArch64MachineFunctionInfo.cpp27 void yaml::AArch64FunctionInfo::mappingImpl(yaml::IO &YamlIO) { in mappingImpl() argument
28 MappingTraits<AArch64FunctionInfo>::mapping(YamlIO, *this); in mappingImpl()
DAArch64MachineFunctionInfo.h390 void mappingImpl(yaml::IO &YamlIO) override;
395 static void mapping(IO &YamlIO, AArch64FunctionInfo &MFI) {
396 YamlIO.mapOptional("hasRedZone", MFI.HasRedZone);
/external/llvm/include/llvm/Support/
DYAMLTraits.h677 yamlize(IO &YamlIO, T &Val, bool) {
678 if (YamlIO.outputting()) {
681 BlockScalarTraits<T>::output(Val, YamlIO.getContext(), Buffer);
683 YamlIO.blockScalarString(Str);
686 YamlIO.blockScalarString(Str);
688 BlockScalarTraits<T>::input(Str, YamlIO.getContext(), Val);
690 YamlIO.setError(llvm::Twine(Result));
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/
DYAMLTraits.h764 yamlize(IO &YamlIO, T &Val, bool, EmptyContext &Ctx) {
765 if (YamlIO.outputting()) {
768 BlockScalarTraits<T>::output(Val, YamlIO.getContext(), Buffer);
770 YamlIO.blockScalarString(Str);
773 YamlIO.blockScalarString(Str);
775 BlockScalarTraits<T>::input(Str, YamlIO.getContext(), Val);
777 YamlIO.setError(llvm::Twine(Result));
/external/llvm-project/llvm/docs/
DReference.rst52 YamlIO
216 :doc:`YamlIO`
DAMDGPUUsage.rst2451 :doc:`YamlIO`).
/external/swiftshader/third_party/llvm-10.0/llvm/lib/ObjectYAML/
DELFYAML.cpp890 NormalizedOther(IO &IO) : YamlIO(IO) {} in NormalizedOther()
891 NormalizedOther(IO &IO, Optional<uint8_t> Original) : YamlIO(IO) { in NormalizedOther()
895 const auto *Object = static_cast<ELFYAML::Object *>(YamlIO.getContext()); in NormalizedOther()
915 const auto *Object = static_cast<ELFYAML::Object *>(YamlIO.getContext()); in toValue()
926 YamlIO.setError("an unknown value is used for symbol's 'Other' field: " + in toValue()
956 if (!YamlIO.outputting()) in getFlags()
973 IO &YamlIO; member
/external/llvm-project/llvm/lib/ObjectYAML/
DELFYAML.cpp963 NormalizedOther(IO &IO) : YamlIO(IO) {} in NormalizedOther()
964 NormalizedOther(IO &IO, Optional<uint8_t> Original) : YamlIO(IO) { in NormalizedOther()
968 const auto *Object = static_cast<ELFYAML::Object *>(YamlIO.getContext()); in NormalizedOther()
988 const auto *Object = static_cast<ELFYAML::Object *>(YamlIO.getContext()); in toValue()
999 YamlIO.setError("an unknown value is used for symbol's 'Other' field: " + in toValue()
1029 if (!YamlIO.outputting()) in getFlags()
1046 IO &YamlIO; member
/external/llvm/docs/
Dindex.rst86 YamlIO
152 :doc:`YamlIO`