Lines Matching refs:YamlMF
115 bool initializeMachineFunction(const yaml::MachineFunction &YamlMF,
119 const yaml::MachineFunction &YamlMF);
122 const yaml::MachineFunction &YamlMF);
125 const yaml::MachineFunction &YamlMF);
128 const yaml::MachineFunction &YamlMF);
152 const yaml::MachineFunction &YamlMF);
184 PerFunctionMIParsingState &PFS, const yaml::MachineFunction &YamlMF);
313 yaml::MachineFunction YamlMF; in parseMachineFunction() local
317 YamlMF.MachineFuncInfo = std::unique_ptr<yaml::MachineFunctionInfo>( in parseMachineFunction()
320 yaml::yamlize(In, YamlMF, false, Ctx); in parseMachineFunction()
325 StringRef FunctionName = YamlMF.Name; in parseMachineFunction()
343 if (initializeMachineFunction(YamlMF, MF)) in parseMachineFunction()
354 if (initializeMachineFunction(YamlMF, MF)) in parseMachineFunction()
419 PerFunctionMIParsingState &PFS, const yaml::MachineFunction &YamlMF) { in initializeCallSiteInfo() argument
423 for (auto &YamlCSInfo : YamlMF.CallSitesInfo) { in initializeCallSiteInfo()
454 if (YamlMF.CallSitesInfo.size() && !TM.Options.EmitCallSiteInfo) in initializeCallSiteInfo()
461 const yaml::MachineFunction &YamlMF) { in setupDebugValueTracking() argument
470 for (const auto &Sub : YamlMF.DebugValueSubstitutions) { in setupDebugValueTracking()
476 MF.setUseDebugInstrRef(YamlMF.UseDebugInstrRef); in setupDebugValueTracking()
480 MIRParserImpl::initializeMachineFunction(const yaml::MachineFunction &YamlMF, in initializeMachineFunction() argument
490 MF.setAlignment(YamlMF.Alignment.valueOrOne()); in initializeMachineFunction()
491 MF.setExposesReturnsTwice(YamlMF.ExposesReturnsTwice); in initializeMachineFunction()
492 MF.setHasWinCFI(YamlMF.HasWinCFI); in initializeMachineFunction()
494 MF.setCallsEHReturn(YamlMF.CallsEHReturn); in initializeMachineFunction()
495 MF.setCallsUnwindInit(YamlMF.CallsUnwindInit); in initializeMachineFunction()
496 MF.setHasEHCatchret(YamlMF.HasEHCatchret); in initializeMachineFunction()
497 MF.setHasEHScopes(YamlMF.HasEHScopes); in initializeMachineFunction()
498 MF.setHasEHFunclets(YamlMF.HasEHFunclets); in initializeMachineFunction()
499 MF.setIsOutlined(YamlMF.IsOutlined); in initializeMachineFunction()
501 if (YamlMF.Legalized) in initializeMachineFunction()
503 if (YamlMF.RegBankSelected) in initializeMachineFunction()
506 if (YamlMF.Selected) in initializeMachineFunction()
508 if (YamlMF.FailedISel) in initializeMachineFunction()
510 if (YamlMF.FailsVerification) in initializeMachineFunction()
513 if (YamlMF.TracksDebugUserValues) in initializeMachineFunction()
518 if (parseRegisterInfo(PFS, YamlMF)) in initializeMachineFunction()
520 if (!YamlMF.Constants.empty()) { in initializeMachineFunction()
523 if (initializeConstantPool(PFS, *ConstantPool, YamlMF)) in initializeMachineFunction()
526 if (!YamlMF.MachineMetadataNodes.empty() && in initializeMachineFunction()
527 parseMachineMetadataNodes(PFS, MF, YamlMF)) in initializeMachineFunction()
530 StringRef BlockStr = YamlMF.Body.Value.Value; in initializeMachineFunction()
539 diagFromBlockStringDiag(Error, YamlMF.Body.Value.SourceRange)); in initializeMachineFunction()
552 if (initializeFrameInfo(PFS, YamlMF)) in initializeMachineFunction()
556 if (!YamlMF.JumpTableInfo.Entries.empty() && in initializeMachineFunction()
557 initializeJumpTableInfo(PFS, YamlMF.JumpTableInfo)) in initializeMachineFunction()
561 StringRef InsnStr = YamlMF.Body.Value.Value; in initializeMachineFunction()
569 diagFromBlockStringDiag(Error, YamlMF.Body.Value.SourceRange)); in initializeMachineFunction()
574 if (setupRegisterInfo(PFS, YamlMF)) in initializeMachineFunction()
577 if (YamlMF.MachineFuncInfo) { in initializeMachineFunction()
584 if (TM.parseMachineFunctionInfo(*YamlMF.MachineFuncInfo, PFS, Error, in initializeMachineFunction()
600 if (initializeCallSiteInfo(PFS, YamlMF)) in initializeMachineFunction()
603 setupDebugValueTracking(MF, PFS, YamlMF); in initializeMachineFunction()
612 const yaml::MachineFunction &YamlMF) { in parseRegisterInfo() argument
616 if (!YamlMF.TracksRegLiveness) in parseRegisterInfo()
621 for (const auto &VReg : YamlMF.VirtualRegisters) { in parseRegisterInfo()
661 for (const auto &LiveIn : YamlMF.LiveIns) { in parseRegisterInfo()
678 if (YamlMF.CalleeSavedRegisters) { in parseRegisterInfo()
680 for (const auto &RegSource : *YamlMF.CalleeSavedRegisters) { in parseRegisterInfo()
693 const yaml::MachineFunction &YamlMF) { in setupRegisterInfo() argument
759 const yaml::MachineFunction &YamlMF) { in initializeFrameInfo() argument
764 const yaml::MachineFrameInfo &YamlMFI = YamlMF.FrameInfo; in initializeFrameInfo()
799 for (const auto &Object : YamlMF.FixedStackObjects) { in initializeFrameInfo()
825 for (const auto &Object : YamlMF.EntryValueObjects) { in initializeFrameInfo()
844 for (const auto &Object : YamlMF.StackObjects) { in initializeFrameInfo()
983 MachineConstantPool &ConstantPool, const yaml::MachineFunction &YamlMF) { in initializeConstantPool() argument
988 for (const auto &YamlConstant : YamlMF.Constants) { in initializeConstantPool()