Lines Matching refs:Name
37 PrintFatalError(R->getName() + ": invalid def name for output list: use 'outs'");
46 PrintFatalError(R->getName() + ": invalid def name for input list: use 'ins'");
110 // Check that the operand has a name and that it's unique.
113 Twine(i) + " has no name!");
116 Twine(i) + " has the same name as a previous operand!");
133 /// non-empty name. If the instruction does not have an operand with the
134 /// specified name, abort.
136 unsigned CGIOperandList::getOperandNamed(StringRef Name) const {
138 if (hasOperandNamed(Name, OpIdx)) return OpIdx;
140 "' does not have an operand named '$" + Name + "'!");
144 /// given name. If so, return true and set OpIdx to the index of the
146 bool CGIOperandList::hasOperandNamed(StringRef Name, unsigned &OpIdx) const {
147 assert(!Name.empty() && "Cannot search for operand with no name!");
149 if (OperandList[i].Name == Name) {
159 PrintFatalError(TheDef->getName() + ": Illegal operand name: '" + Op + "'");
169 PrintFatalError(TheDef->getName() + ": illegal empty suboperand name in '" +Op +"'");
175 if (SubOpName.empty()) { // If no suboperand name was specified:
189 PrintFatalError(TheDef->getName() + ": unknown suboperand name in '" + Op + "'");
191 // Find the operand with the right name.
197 PrintFatalError(TheDef->getName() + ": unknown suboperand name in '" + Op + "'");
207 std::string Name = CStr.substr(wpos+1);
208 wpos = Name.find_first_not_of(" \t");
211 Name = Name.substr(wpos);
212 std::pair<unsigned,unsigned> Op = Ops.ParseOperandName(Name, false);
216 PrintFatalError("Operand '" + Name + "' cannot have multiple constraints!");
226 std::string Name = CStr.substr(start, pos - start);
229 wpos = Name.find_first_of(" \t");
232 std::string DestOpName = Name.substr(0, wpos);
235 Name = CStr.substr(pos+1);
236 wpos = Name.find_first_not_of(" \t");
240 std::string SrcOpName = Name.substr(wpos);
445 // If the operand is a record, it must have a name, and the record type
449 " must have a name!");
492 "not have a name!");
521 " must not have a name!");
632 ->getValueAsString("Name") != "Imm")) {