Lines Matching refs:Dag
55 unsigned addDagOperandMapping(Record *Rec, DagInit *Dag,
74 addDagOperandMapping(Record *Rec, DagInit *Dag, CodeGenInstruction &Insn, in addDagOperandMapping() argument
77 for (unsigned i = 0, e = Dag->getNumArgs(); i != e; ++i) { in addDagOperandMapping()
78 if (DefInit *DI = dyn_cast<DefInit>(Dag->getArg(i))) { in addDagOperandMapping()
104 } else if (IntInit *II = dyn_cast<IntInit>(Dag->getArg(i))) { in addDagOperandMapping()
108 } else if (DagInit *SubDag = dyn_cast<DagInit>(Dag->getArg(i))) { in addDagOperandMapping()
127 DagInit *Dag = Rec->getValueAsDag("ResultInst"); in evaluateExpansion() local
128 assert(Dag && "Missing result instruction in pseudo expansion!"); in evaluateExpansion()
129 DEBUG(dbgs() << " Result: " << *Dag << "\n"); in evaluateExpansion()
131 DefInit *OpDef = dyn_cast<DefInit>(Dag->getOperator()); in evaluateExpansion()
146 if (Insn.Operands.size() != Dag->getNumArgs()) in evaluateExpansion()
156 addDagOperandMapping(Rec, Dag, Insn, OperandMap, 0); in evaluateExpansion()
180 SourceOperands.find(Dag->getArgName(i)); in evaluateExpansion()
183 "Pseudo output operand '" + Dag->getArgName(i) + in evaluateExpansion()