Lines Matching refs:SDB
936 static void copySwiftErrorsToFinalVRegs(SelectionDAGBuilder &SDB) { in copySwiftErrorsToFinalVRegs() argument
937 const TargetLowering &TLI = SDB.DAG.getTargetLoweringInfo(); in copySwiftErrorsToFinalVRegs()
941 if (!SDB.FuncInfo.SwiftErrorWorklist.count(SDB.FuncInfo.MBB)) in copySwiftErrorsToFinalVRegs()
946 SDB.FuncInfo.SwiftErrorWorklist[SDB.FuncInfo.MBB]; in copySwiftErrorsToFinalVRegs()
948 SDB.FuncInfo.SwiftErrorMap[SDB.FuncInfo.MBB]; in copySwiftErrorsToFinalVRegs()
961 auto &DL = SDB.DAG.getDataLayout(); in copySwiftErrorsToFinalVRegs()
962 SDValue CopyNode = SDB.DAG.getCopyToReg( in copySwiftErrorsToFinalVRegs()
963 SDB.getRoot(), SDB.getCurSDLoc(), WorkReg, in copySwiftErrorsToFinalVRegs()
964 SDB.DAG.getRegister(MapReg, EVT(TLI.getPointerTy(DL)))); in copySwiftErrorsToFinalVRegs()
966 SDB.DAG.setRoot(CopyNode); in copySwiftErrorsToFinalVRegs()
3736 SelectionDAGBuilder* SDB) { in getUniformBase() argument
3738 SelectionDAG& DAG = SDB->DAG; in getUniformBase()
3756 if (!SDB->findValue(Ptr) || !SDB->findValue(IndexVal)) in getUniformBase()
3759 Base = SDB->getValue(Ptr); in getUniformBase()
3760 Index = SDB->getValue(IndexVal); in getUniformBase()
3764 if (SDB->findValue(Sext->getOperand(0))) { in getUniformBase()
3766 Index = SDB->getValue(IndexVal); in getUniformBase()
7831 SelectionDAG &DAG = SDB->DAG; in LowerArguments()
7832 SDLoc dl = SDB->getCurSDLoc(); in LowerArguments()
7977 MachineFunction& MF = SDB->DAG.getMachineFunction(); in LowerArguments()
7982 SDB->DAG.getCopyToReg(NewRoot, SDB->getCurSDLoc(), SRetReg, ArgValue); in LowerArguments()
8000 SDB->setUnusedArgValue(&*I, InVals[i]); in LowerArguments()
8038 SDB->getCurSDLoc()); in LowerArguments()
8040 SDB->setValue(&*I, Res); in LowerArguments()
8072 SDB->CopyToExportRegsIfNeeded(&*I); in LowerArguments()