reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
76 for (unsigned i = 0, e = Dag->getNumArgs(); i != e; ++i) { 76 for (unsigned i = 0, e = Dag->getNumArgs(); i != e; ++i) { 77 if (DefInit *DI = dyn_cast<DefInit>(Dag->getArg(i))) { 82 OperandMap[BaseIdx + i].Kind = OpData::Reg; 83 OperandMap[BaseIdx + i].Data.Reg = DI->getDef(); 92 if (DI->getDef() != Insn.Operands[BaseIdx + i].Rec) 96 Insn.Operands[BaseIdx + i].Rec->getName() + "'"); 100 for (unsigned I = 0, E = Insn.Operands[i].MINumOperands; I != E; ++I) 101 OperandMap[BaseIdx + i + I].Kind = OpData::Operand; 102 OpsAdded += Insn.Operands[i].MINumOperands; 103 } else if (IntInit *II = dyn_cast<IntInit>(Dag->getArg(i))) { 104 OperandMap[BaseIdx + i].Kind = OpData::Imm; 105 OperandMap[BaseIdx + i].Data.Imm = II->getValue(); 107 } else if (DagInit *SubDag = dyn_cast<DagInit>(Dag->getArg(i))) { 111 addDagOperandMapping(Rec, SubDag, Insn, OperandMap, BaseIdx + i);