Lines Matching defs:SrcMF
181 MachineFunction &SrcMF, MachineFunction &DstMF) {
236 static std::unique_ptr<MachineFunction> cloneMF(MachineFunction *SrcMF,
239 SrcMF->getFunction(), SrcMF->getTarget(), SrcMF->getSubtarget(),
240 SrcMF->getContext(), SrcMF->getFunctionNumber());
243 auto *SrcMRI = &SrcMF->getRegInfo();
247 for (MachineBasicBlock &SrcMBB : *SrcMF) {
287 const MachineFrameInfo &SrcMFI = SrcMF->getFrameInfo();
293 if (MachineJumpTableInfo *SrcJTI = SrcMF->getJumpTableInfo()) {
298 DstMF->VariableDbgInfos = SrcMF->VariableDbgInfos;
325 for (auto &SrcMBB : *SrcMF) {
353 for (auto &SrcMBB : *SrcMF) {
385 cloneMemOperands(*DstMI, SrcMI, *SrcMF, *DstMF);
389 DstMF->setAlignment(SrcMF->getAlignment());
390 DstMF->setExposesReturnsTwice(SrcMF->exposesReturnsTwice());
391 DstMF->setHasInlineAsm(SrcMF->hasInlineAsm());
392 DstMF->setHasWinCFI(SrcMF->hasWinCFI());
394 DstMF->getProperties().reset().set(SrcMF->getProperties());
396 if (!SrcMF->getFrameInstructions().empty() ||
397 !SrcMF->getLongjmpTargets().empty() ||
398 !SrcMF->getCatchretTargets().empty())
401 DstMF->setCallsEHReturn(SrcMF->callsEHReturn());
402 DstMF->setCallsUnwindInit(SrcMF->callsUnwindInit());
403 DstMF->setHasEHCatchret(SrcMF->hasEHCatchret());
404 DstMF->setHasEHScopes(SrcMF->hasEHScopes());
405 DstMF->setHasEHFunclets(SrcMF->hasEHFunclets());
406 DstMF->setHasFakeUses(SrcMF->hasFakeUses());
407 DstMF->setIsOutlined(SrcMF->isOutlined());
409 if (!SrcMF->getLandingPads().empty() ||
410 !SrcMF->getCodeViewAnnotations().empty() ||
411 !SrcMF->getTypeInfos().empty() ||
412 !SrcMF->getFilterIds().empty() ||
413 SrcMF->hasAnyWasmLandingPadIndex() ||
414 SrcMF->hasAnyCallSiteLandingPad() ||
415 SrcMF->hasAnyCallSiteLabel() ||
416 !SrcMF->getCallSitesInfo().empty())
419 DstMF->setDebugInstrNumberingCount(SrcMF->DebugInstrNumberingCount);
421 if (!DstMF->cloneInfoFrom(*SrcMF, Src2DstMBB))