Home | History | Annotate | Download | only in TableGen

Lines Matching refs:Operands

89       // Normal operands should always have the same type, or we have a
93 if (DI->getDef() != Insn.Operands[BaseIdx + i].Rec)
97 Insn.Operands[BaseIdx + i].Rec->getName() + "'");
101 for (unsigned I = 0, E = Insn.Operands[i].MINumOperands; I != E; ++I)
103 OpsAdded += Insn.Operands[i].MINumOperands;
109 // Just add the operands recursively. This is almost certainly
146 if (Insn.Operands.size() != Dag->getNumArgs())
151 for (unsigned i = 0, e = Insn.Operands.size(); i != e; ++i)
152 NumMIOperands += Insn.Operands[i].MINumOperands;
158 // If there are more operands that weren't in the DAG, they have to
159 // be operands that have default values, or we have an error. Currently,
160 // Operands that are a subclass of OperandWithDefaultOp have default values.
170 for (unsigned i = 0, e = SourceInsn.Operands.size(); i != e; ++i)
171 SourceOperands[SourceInsn.Operands[i].Name] = i;
174 for (unsigned i = 0, e = Insn.Operands.size(); i != e; ++i) {
175 // We've already handled constant values. Just map instruction operands
177 if (OperandMap[Insn.Operands[i].MIOperandNo].Kind != OpData::Operand)
187 for (unsigned I = 0, E = Insn.Operands[i].MINumOperands; I != E; ++I)
188 OperandMap[Insn.Operands[i].MIOperandNo + I].Data.Operand =
218 // Copy the operands from the source instruction.
219 // FIXME: Instruction operands with defaults values (predicates and cc_out
223 for (const auto &DestOperand : Dest.Operands) {
229 << Source.Operands[Expansion.OperandMap[MIOpNo].Data
254 if (Dest.Operands.isVariadic) {
255 MIOpNo = Source.Operands.size() + 1;