Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DMIRYamlMapping.h204 static void mapping(IO &YamlIO, VirtualRegisterDefinition &Reg) {
205 YamlIO.mapRequired("id", Reg.ID);
206 YamlIO.mapRequired("class", Reg.Class);
207 YamlIO.mapOptional("preferred-register", Reg.PreferredRegister,
225 static void mapping(IO &YamlIO, MachineFunctionLiveIn &LiveIn) {
226 YamlIO.mapRequired("reg", LiveIn.Register);
227 YamlIO.mapOptional(
280 static void mapping(yaml::IO &YamlIO, MachineStackObject &Object) {
281 YamlIO.mapRequired("id", Object.ID);
282 YamlIO.mapOptional("name", Object.Name,
[all …]
/freebsd/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);
143 YamlIO.mapRequired("offset", A.StackOffset);
145 auto Keys = YamlIO.keys();
148 YamlIO.mapRequired("reg", A.RegisterName);
150 YamlIO.mapRequired("offset", A.StackOffset);
152 YamlIO.setError("missing required key 'reg' or 'offset'");
154 YamlIO.mapOptional("mask", A.Mask);
184 static void mapping(IO &YamlIO, SIArgumentInfo &AI) {
[all …]
H A DSIMachineFunctionInfo.cpp709 void yaml::SIMachineFunctionInfo::mappingImpl(yaml::IO &YamlIO) { in mappingImpl() argument
710 MappingTraits<SIMachineFunctionInfo>::mapping(YamlIO, *this); in mappingImpl()
/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyMachineFunctionInfo.h194 void mappingImpl(yaml::IO &YamlIO) override;
199 static void mapping(IO &YamlIO, WebAssemblyFunctionInfo &MFI) {
200 YamlIO.mapOptional("params", MFI.Params, std::vector<FlowStringValue>());
201 YamlIO.mapOptional("results", MFI.Results, std::vector<FlowStringValue>());
202 YamlIO.mapOptional("isCFGStackified", MFI.CFGStackified, false);
203 YamlIO.mapOptional("wasmEHFuncInfo", MFI.SrcToUnwindDest);
208 static void inputOne(IO &YamlIO, StringRef Key,
210 YamlIO.mapRequired(Key.str().c_str(),
214 static void output(IO &YamlIO, BBNumberMap &SrcToUnwindDest) {
216 YamlIO.mapRequired(std::to_string(KV.first).c_str(), KV.second);
H A DWebAssemblyMachineFunctionInfo.cpp152 void yaml::WebAssemblyFunctionInfo::mappingImpl(yaml::IO &YamlIO) { in mappingImpl() argument
153 MappingTraits<WebAssemblyFunctionInfo>::mapping(YamlIO, *this); in mappingImpl()
/freebsd/contrib/llvm-project/llvm/lib/Target/X86/
H A DX86MachineFunctionInfo.h32 static void enumeration(IO &YamlIO, AMXProgModelEnum &Value) {
33 YamlIO.enumCase(Value, "None", AMXProgModelEnum::None);
34 YamlIO.enumCase(Value, "DirectReg", AMXProgModelEnum::DirectReg);
35 YamlIO.enumCase(Value, "ManagedRA", AMXProgModelEnum::ManagedRA);
45 void mappingImpl(yaml::IO &YamlIO) override;
50 static void mapping(IO &YamlIO, X86MachineFunctionInfo &MFI) {
51 YamlIO.mapOptional("amxProgModel", MFI.AMXProgModel);
H A DX86MachineFunctionInfo.cpp20 void yaml::X86MachineFunctionInfo::mappingImpl(yaml::IO &YamlIO) { in mappingImpl() argument
21 MappingTraits<X86MachineFunctionInfo>::mapping(YamlIO, *this); in mappingImpl()
/freebsd/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/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMMachineFunctionInfo.cpp20 void yaml::ARMFunctionInfo::mappingImpl(yaml::IO &YamlIO) { in mappingImpl() argument
21 MappingTraits<ARMFunctionInfo>::mapping(YamlIO, *this); in mappingImpl()
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64MachineFunctionInfo.cpp30 void yaml::AArch64FunctionInfo::mappingImpl(yaml::IO &YamlIO) { in mappingImpl() argument
31 MappingTraits<AArch64FunctionInfo>::mapping(YamlIO, *this); in mappingImpl()
H A DAArch64MachineFunctionInfo.h558 void mappingImpl(yaml::IO &YamlIO) override;
563 static void mapping(IO &YamlIO, AArch64FunctionInfo &MFI) {
564 YamlIO.mapOptional("hasRedZone", MFI.HasRedZone);
/freebsd/contrib/llvm-project/llvm/lib/ObjectYAML/
H A DELFYAML.cpp1205 NormalizedOther(IO &IO) : YamlIO(IO) {} in NormalizedOther()
1206 NormalizedOther(IO &IO, std::optional<uint8_t> Original) : YamlIO(IO) { in NormalizedOther()
1210 const auto *Object = static_cast<ELFYAML::Object *>(YamlIO.getContext()); in NormalizedOther()
1230 const auto *Object = static_cast<ELFYAML::Object *>(YamlIO.getContext()); in toValue()
1241 YamlIO.setError("an unknown value is used for symbol's 'Other' field: " + in toValue()
1271 if (!YamlIO.outputting()) in getFlags()
1293 IO &YamlIO; member