Lines Matching refs:SDB
359 SDB(new SelectionDAGBuilder(*CurDAG, *FuncInfo, OL)), in SelectionDAGISel()
372 delete SDB; in ~SelectionDAGISel()
469 SDB->init(GFI, *AA, LibInfo); in runOnMachineFunction()
670 for (BasicBlock::const_iterator I = Begin; I != End && !SDB->HasTailCall; ++I) in SelectBasicBlock()
671 SDB->visit(*I); in SelectBasicBlock()
674 CurDAG->setRoot(SDB->getControlRoot()); in SelectBasicBlock()
675 HadTailCall = SDB->HasTailCall; in SelectBasicBlock()
676 SDB->clear(); in SelectBasicBlock()
885 SDB->UpdateSplitBlock(FirstMBB, LastMBB); in CodeGenAndEmitDAG()
994 BuildMI(*MBB, FuncInfo->InsertPt, SDB->getCurDebugLoc(), in PrepareEHLandingPad()
1009 MF->getMMI().setCallSiteLandingPad(Label, SDB->LPadToCallSiteMap[MBB]); in PrepareEHLandingPad()
1012 BuildMI(*MBB, FuncInfo->InsertPt, SDB->getCurDebugLoc(), II) in PrepareEHLandingPad()
1181 SelectionDAGBuilder *SDB) { in mergeIncomingSwiftErrors() argument
1197 auto &DL = SDB->DAG.getDataLayout(); in mergeIncomingSwiftErrors()
1204 BuildMI(*FuncInfo->MBB, FuncInfo->InsertPt, SDB->getCurDebugLoc(), in mergeIncomingSwiftErrors()
1252 FuncInfo->MBB->begin(), SDB->getCurDebugLoc(), in mergeIncomingSwiftErrors()
1312 mergeIncomingSwiftErrors(FuncInfo, TLI, TII, LLVMBB, SDB); in SelectAllBasicBlocks()
1339 CurDAG->setRoot(SDB->getControlRoot()); in SelectAllBasicBlocks()
1340 SDB->clear(); in SelectAllBasicBlocks()
1468 SDB->SPDescriptor.initialize(LLVMBB, FuncInfo->MBBMap[LLVMBB], in SelectAllBasicBlocks()
1490 SDB->clearDanglingDebugInfo(); in SelectAllBasicBlocks()
1491 SDB->SPDescriptor.resetPerFunctionState(); in SelectAllBasicBlocks()
1599 if (SDB->SPDescriptor.shouldEmitFunctionBasedCheckStackProtector()) { in FinishBasicBlock()
1602 MachineBasicBlock *ParentMBB = SDB->SPDescriptor.getParentMBB(); in FinishBasicBlock()
1608 SDB->visitSPDescriptorParent(SDB->SPDescriptor, ParentMBB); in FinishBasicBlock()
1609 CurDAG->setRoot(SDB->getRoot()); in FinishBasicBlock()
1610 SDB->clear(); in FinishBasicBlock()
1614 SDB->SPDescriptor.resetPerBBState(); in FinishBasicBlock()
1615 } else if (SDB->SPDescriptor.shouldEmitStackProtector()) { in FinishBasicBlock()
1616 MachineBasicBlock *ParentMBB = SDB->SPDescriptor.getParentMBB(); in FinishBasicBlock()
1617 MachineBasicBlock *SuccessMBB = SDB->SPDescriptor.getSuccessMBB(); in FinishBasicBlock()
1636 SDB->visitSPDescriptorParent(SDB->SPDescriptor, ParentMBB); in FinishBasicBlock()
1637 CurDAG->setRoot(SDB->getRoot()); in FinishBasicBlock()
1638 SDB->clear(); in FinishBasicBlock()
1642 MachineBasicBlock *FailureMBB = SDB->SPDescriptor.getFailureMBB(); in FinishBasicBlock()
1646 SDB->visitSPDescriptorFailure(SDB->SPDescriptor); in FinishBasicBlock()
1647 CurDAG->setRoot(SDB->getRoot()); in FinishBasicBlock()
1648 SDB->clear(); in FinishBasicBlock()
1653 SDB->SPDescriptor.resetPerBBState(); in FinishBasicBlock()
1657 for (auto &BTB : SDB->BitTestCases) { in FinishBasicBlock()
1664 SDB->visitBitTestHeader(BTB, FuncInfo->MBB); in FinishBasicBlock()
1665 CurDAG->setRoot(SDB->getRoot()); in FinishBasicBlock()
1666 SDB->clear(); in FinishBasicBlock()
1699 SDB->visitBitTestCase(BTB, NextMBB, UnhandledProb, BTB.Reg, BTB.Cases[j], in FinishBasicBlock()
1702 CurDAG->setRoot(SDB->getRoot()); in FinishBasicBlock()
1703 SDB->clear(); in FinishBasicBlock()
1738 SDB->BitTestCases.clear(); in FinishBasicBlock()
1743 for (unsigned i = 0, e = SDB->JTCases.size(); i != e; ++i) { in FinishBasicBlock()
1745 if (!SDB->JTCases[i].first.Emitted) { in FinishBasicBlock()
1747 FuncInfo->MBB = SDB->JTCases[i].first.HeaderBB; in FinishBasicBlock()
1750 SDB->visitJumpTableHeader(SDB->JTCases[i].second, SDB->JTCases[i].first, in FinishBasicBlock()
1752 CurDAG->setRoot(SDB->getRoot()); in FinishBasicBlock()
1753 SDB->clear(); in FinishBasicBlock()
1758 FuncInfo->MBB = SDB->JTCases[i].second.MBB; in FinishBasicBlock()
1761 SDB->visitJumpTable(SDB->JTCases[i].second); in FinishBasicBlock()
1762 CurDAG->setRoot(SDB->getRoot()); in FinishBasicBlock()
1763 SDB->clear(); in FinishBasicBlock()
1774 if (PHIBB == SDB->JTCases[i].second.Default) in FinishBasicBlock()
1776 .addMBB(SDB->JTCases[i].first.HeaderBB); in FinishBasicBlock()
1782 SDB->JTCases.clear(); in FinishBasicBlock()
1786 for (unsigned i = 0, e = SDB->SwitchCases.size(); i != e; ++i) { in FinishBasicBlock()
1788 FuncInfo->MBB = SDB->SwitchCases[i].ThisBB; in FinishBasicBlock()
1793 Succs.push_back(SDB->SwitchCases[i].TrueBB); in FinishBasicBlock()
1794 if (SDB->SwitchCases[i].TrueBB != SDB->SwitchCases[i].FalseBB) in FinishBasicBlock()
1795 Succs.push_back(SDB->SwitchCases[i].FalseBB); in FinishBasicBlock()
1798 SDB->visitSwitchCase(SDB->SwitchCases[i], FuncInfo->MBB); in FinishBasicBlock()
1799 CurDAG->setRoot(SDB->getRoot()); in FinishBasicBlock()
1800 SDB->clear(); in FinishBasicBlock()
1834 SDB->SwitchCases.clear(); in FinishBasicBlock()