• Home
  • Raw
  • Download

Lines Matching refs:CurDAG

278   CurDAG(new SelectionDAG(tm, OL)),  in SelectionDAGISel()
279 SDB(new SelectionDAGBuilder(*CurDAG, *FuncInfo, OL)), in SelectionDAGISel()
291 delete CurDAG; in ~SelectionDAGISel()
371 CurDAG->init(*MF, TTI); in runOnMachineFunction()
516 CurDAG->setRoot(SDB->getControlRoot()); in SelectBasicBlock()
528 Worklist.push_back(CurDAG->getRoot().getNode()); in ComputeLiveOutVRegInfo()
559 unsigned NumSignBits = CurDAG->ComputeNumSignBits(Src); in ComputeLiveOutVRegInfo()
560 CurDAG->ComputeMaskedBits(Src, KnownZero, KnownOne); in ComputeLiveOutVRegInfo()
583 << " '" << BlockName << "'\n"; CurDAG->dump()); in CodeGenAndEmitDAG()
585 if (ViewDAGCombine1) CurDAG->viewGraph("dag-combine1 input for " + BlockName); in CodeGenAndEmitDAG()
590 CurDAG->Combine(BeforeLegalizeTypes, *AA, OptLevel); in CodeGenAndEmitDAG()
594 << " '" << BlockName << "'\n"; CurDAG->dump()); in CodeGenAndEmitDAG()
598 if (ViewLegalizeTypesDAGs) CurDAG->viewGraph("legalize-types input for " + in CodeGenAndEmitDAG()
604 Changed = CurDAG->LegalizeTypes(); in CodeGenAndEmitDAG()
608 << " '" << BlockName << "'\n"; CurDAG->dump()); in CodeGenAndEmitDAG()
612 CurDAG->viewGraph("dag-combine-lt input for " + BlockName); in CodeGenAndEmitDAG()
618 CurDAG->Combine(AfterLegalizeTypes, *AA, OptLevel); in CodeGenAndEmitDAG()
622 << " '" << BlockName << "'\n"; CurDAG->dump()); in CodeGenAndEmitDAG()
627 Changed = CurDAG->LegalizeVectors(); in CodeGenAndEmitDAG()
633 CurDAG->LegalizeTypes(); in CodeGenAndEmitDAG()
637 CurDAG->viewGraph("dag-combine-lv input for " + BlockName); in CodeGenAndEmitDAG()
643 CurDAG->Combine(AfterLegalizeVectorOps, *AA, OptLevel); in CodeGenAndEmitDAG()
647 << BlockNumber << " '" << BlockName << "'\n"; CurDAG->dump()); in CodeGenAndEmitDAG()
650 if (ViewLegalizeDAGs) CurDAG->viewGraph("legalize input for " + BlockName); in CodeGenAndEmitDAG()
654 CurDAG->Legalize(); in CodeGenAndEmitDAG()
658 << " '" << BlockName << "'\n"; CurDAG->dump()); in CodeGenAndEmitDAG()
660 if (ViewDAGCombine2) CurDAG->viewGraph("dag-combine2 input for " + BlockName); in CodeGenAndEmitDAG()
665 CurDAG->Combine(AfterLegalizeDAG, *AA, OptLevel); in CodeGenAndEmitDAG()
669 << " '" << BlockName << "'\n"; CurDAG->dump()); in CodeGenAndEmitDAG()
674 if (ViewISelDAGs) CurDAG->viewGraph("isel input for " + BlockName); in CodeGenAndEmitDAG()
684 << " '" << BlockName << "'\n"; CurDAG->dump()); in CodeGenAndEmitDAG()
686 if (ViewSchedDAGs) CurDAG->viewGraph("scheduler input for " + BlockName); in CodeGenAndEmitDAG()
693 Scheduler->Run(CurDAG, FuncInfo->MBB); in CodeGenAndEmitDAG()
722 CurDAG->clear(); in CodeGenAndEmitDAG()
754 DAGSize = CurDAG->AssignTopologicalOrder(); in DoInstructionSelection()
759 HandleSDNode Dummy(CurDAG->getRoot()); in DoInstructionSelection()
760 SelectionDAG::allnodes_iterator ISelPosition (CurDAG->getRoot().getNode()); in DoInstructionSelection()
765 ISelUpdater ISU(*CurDAG, ISelPosition); in DoInstructionSelection()
771 while (ISelPosition != CurDAG->allnodes_begin()) { in DoInstructionSelection()
794 CurDAG->RemoveDeadNode(Node); in DoInstructionSelection()
797 CurDAG->setRoot(Dummy.getValue()); in DoInstructionSelection()
1061 CurDAG->setRoot(SDB->getControlRoot()); in SelectAllBasicBlocks()
1236 CurDAG->setRoot(SDB->getRoot()); in FinishBasicBlock()
1267 CurDAG->setRoot(SDB->getRoot()); in FinishBasicBlock()
1309 CurDAG->setRoot(SDB->getRoot()); in FinishBasicBlock()
1319 CurDAG->setRoot(SDB->getRoot()); in FinishBasicBlock()
1366 CurDAG->setRoot(SDB->getRoot()); in FinishBasicBlock()
1445 if (CurDAG->MaskedValueIsZero(LHS, NeededMask)) in CheckAndMask()
1476 CurDAG->ComputeMaskedBits(LHS, KnownZero, KnownOne); in CheckOrMask()
1524 Ops.push_back(CurDAG->getTargetConstant(NewFlags, MVT::i32)); in SelectInlineAsmMemoryOperands()
1674 SDValue New = CurDAG->getNode(ISD::INLINEASM, N->getDebugLoc(), in Select_INLINEASM()
1681 return CurDAG->SelectNodeTo(N, TargetOpcode::IMPLICIT_DEF,N->getValueType(0)); in Select_UNDEF()
1735 CurDAG->ReplaceAllUsesOfValueWith(ChainVal, InputChain); in UpdateChainsAndGlue()
1757 CurDAG->ReplaceAllUsesOfValueWith(SDValue(FRN, FRN->getNumValues()-1), in UpdateChainsAndGlue()
1768 CurDAG->RemoveDeadNodes(NowDeadNodes); in UpdateChainsAndGlue()
1908 SelectionDAG *CurDAG) { in HandleMergeInputChains() argument
1949 return CurDAG->getNode(ISD::TokenFactor, ChainNodesMatched[0]->getDebugLoc(), in HandleMergeInputChains()
1976 SDNode *Res = CurDAG->MorphNodeTo(Node, ~TargetOpc, VTList, Ops, NumOps); in MorphNode()
1991 CurDAG->ReplaceAllUsesOfValueWith(SDValue(Node, OldGlueResultNo), in MorphNode()
2000 CurDAG->ReplaceAllUsesOfValueWith(SDValue(Node, OldChainResultNo), in MorphNode()
2006 CurDAG->ReplaceAllUsesWith(Node, Res); in MorphNode()
2236 CurDAG->ReplaceAllUsesOfValueWith(SDValue(NodeToMatch, 0), in SelectCodeCommon()
2276 NodeToMatch->dump(CurDAG); in SelectCodeCommon()
2576 CurDAG->getTargetConstant(Val, VT), (SDNode*)0)); in SelectCodeCommon()
2584 CurDAG->getRegister(RegNo, VT), (SDNode*)0)); in SelectCodeCommon()
2596 CurDAG->getRegister(RegNo, VT), (SDNode*)0)); in SelectCodeCommon()
2608 Imm = CurDAG->getConstant(*Val, Imm.getValueType(), true); in SelectCodeCommon()
2611 Imm = CurDAG->getConstantFP(*Val, Imm.getValueType(), true); in SelectCodeCommon()
2640 InputChain = HandleMergeInputChains(ChainNodesMatched, CurDAG); in SelectCodeCommon()
2682 InputChain = HandleMergeInputChains(ChainNodesMatched, CurDAG); in SelectCodeCommon()
2696 InputChain = CurDAG->getEntryNode(); in SelectCodeCommon()
2698 InputChain = CurDAG->getCopyToReg(InputChain, NodeToMatch->getDebugLoc(), in SelectCodeCommon()
2739 VTList = CurDAG->getVTList(VTs[0]); in SelectCodeCommon()
2741 VTList = CurDAG->getVTList(VTs[0], VTs[1]); in SelectCodeCommon()
2743 VTList = CurDAG->getVTList(VTs.data(), VTs.size()); in SelectCodeCommon()
2785 Res = CurDAG->getMachineNode(TargetOpc, NodeToMatch->getDebugLoc(), in SelectCodeCommon()
2864 << " node: "; Res->dump(CurDAG); errs() << "\n"); in SelectCodeCommon()
2916 CurDAG->ReplaceAllUsesOfValueWith(SDValue(NodeToMatch, i), Res); in SelectCodeCommon()
2999 N->printrFull(Msg, CurDAG); in CannotYetSelect()