Home | History | Annotate | Download | only in SelectionDAG

Lines Matching refs:dag

50   : ScheduleDAG(mf), BB(nullptr), DAG(nullptr),
55 void ScheduleDAGSDNodes::Run(SelectionDAG *dag, MachineBasicBlock *bb) {
57 DAG = dag;
59 // Clear the scheduler's SUnit DAG.
80 const TargetLowering &TLI = DAG->getTargetLoweringInfo();
136 static void CloneNodeWithValues(SDNode *N, SelectionDAG *DAG,
146 SDVTList VTList = DAG->getVTList(VTs);
156 DAG->MorphNodeTo(N, N->getOpcode(), VTList, Ops);
163 static bool AddGlue(SDNode *N, SDValue Glue, bool AddGlue, SelectionDAG *DAG) {
184 CloneNodeWithValues(N, DAG, VTs, Glue);
191 static void RemoveUnusedGlue(SDNode *N, SelectionDAG *DAG) {
200 CloneNodeWithValues(N, DAG, VTs);
276 if (AddGlue(Lead, InGlue, true, DAG))
284 if (AddGlue(Load, InGlue, OutGlue, DAG)) {
291 RemoveUnusedGlue(InGlue.getNode(), DAG);
298 for (SelectionDAG::allnodes_iterator NI = DAG->allnodes_begin(),
299 E = DAG->allnodes_end(); NI != E; ++NI) {
317 for (SelectionDAG::allnodes_iterator NI = DAG->allnodes_begin(),
318 E = DAG->allnodes_end(); NI != E; ++NI) {
333 Worklist.push_back(DAG->getRoot().getNode());
334 Visited.insert(DAG->getRoot().getNode());
518 /// BuildSchedGraph - Build the SUnit graph from the selection dag that we
551 // Some instructions define regs that are not represented in the selection DAG
659 SU->getNode()->dump(DAG);
666 GluedNodes.back()->dump(DAG);
701 ProcessSDDbgValues(SDNode *N, SelectionDAG *DAG, InstrEmitter &Emitter,
711 ArrayRef<SDDbgValue*> DVs = DAG->GetDbgValues(N);
731 ProcessSourceNode(SDNode *N, SelectionDAG *DAG, InstrEmitter &Emitter,
739 ProcessSDDbgValues(N, DAG, Emitter, Orders, VRBaseMap, 0);
754 ProcessSDDbgValues(N, DAG, Emitter, Orders, VRBaseMap, Order);
804 bool HasDbg = DAG->hasDebugValues();
808 SDDbgInfo::DbgIterator PDI = DAG->ByvalParmDbgBegin();
809 SDDbgInfo::DbgIterator PDE = DAG->ByvalParmDbgEnd();
842 ProcessSourceNode(N, DAG, Emitter, VRBaseMap, Orders, Seen);
849 ProcessSourceNode(SU->getNode(), DAG, Emitter, VRBaseMap, Orders,
862 SDDbgInfo::DbgIterator DI = DAG->DbgBegin();
863 SDDbgInfo::DbgIterator DE = DAG->DbgEnd();
912 return "sunit-dag." + BB->getFullName();