reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
191 for (unsigned i = 0, e = Inst.Operands.size(); i != e; ++i) { 191 for (unsigned i = 0, e = Inst.Operands.size(); i != e; ++i) { 192 int TiedOpIdx = Inst.Operands[i].getTiedRegister(); 195 OperandMap[i].Kind = OperandMap[TiedOpIdx].Kind; 196 OperandMap[i].Data = OperandMap[TiedOpIdx].Data; 200 if (DefInit *DI = dyn_cast<DefInit>(Dag->getArg(i - TiedCount))) { 203 if (!validateRegister(DI->getDef(), Inst.Operands[i].Rec)) 208 Inst.Operands[i].Rec->getName() + "'"); 209 OperandMap[i].Kind = OpData::Reg; 210 OperandMap[i].Data.Reg = DI->getDef(); 217 if (!validateTypes(DI->getDef(), Inst.Operands[i].Rec, IsSourceInst)) 220 Dag->getArgNameStr(i - TiedCount) + "' has type '" + 223 Inst.Operands[i].Rec->getName() + 226 OperandMap[i].Kind = OpData::Operand; 227 } else if (IntInit *II = dyn_cast<IntInit>(Dag->getArg(i - TiedCount))) { 229 if (Inst.Operands[i].Rec->isSubClassOf("RegisterClass")) 236 OperandMap[i].Kind = OpData::Imm; 237 OperandMap[i].Data.Imm = II->getValue();