Lines Matching defs:OperandList
101 /// OperandList may not match the MachineInstr operand num. Until it
141 const Record *TheDef; // The actual record containing this OperandList.
148 /// OperandList - The list of declared operands, along with their declared
150 std::vector<OperandInfo> OperandList;
161 bool empty() const { return OperandList.empty(); }
162 unsigned size() const { return OperandList.size(); }
163 const OperandInfo &operator[](unsigned i) const { return OperandList[i]; }
164 OperandInfo &operator[](unsigned i) { return OperandList[i]; }
165 OperandInfo &back() { return OperandList.back(); }
166 const OperandInfo &back() const { return OperandList.back(); }
170 iterator begin() { return OperandList.begin(); }
171 const_iterator begin() const { return OperandList.begin(); }
172 iterator end() { return OperandList.end(); }
173 const_iterator end() const { return OperandList.end(); }
198 return OperandList[Op.first].MIOperandNo + Op.second;
205 assert(i < OperandList.size() && "Invalid flat operand #");
206 if (OperandList[i].MIOperandNo + OperandList[i].MINumOperands > Op)
207 return {i, Op - OperandList[i].MIOperandNo};
215 if (OperandList[Op.first].DoNotEncode.size() > Op.second)
216 return OperandList[Op.first].DoNotEncode[Op.second];