Lines Matching refs:Twine
99 bool error(const Twine &Msg);
104 bool error(StringRef::iterator Loc, const Twine &Msg);
265 [this](StringRef::iterator Loc, const Twine &Msg) { error(Loc, Msg); });
268 bool MIParser::error(const Twine &Msg) { return error(Token.location(), Msg); }
270 bool MIParser::error(StringRef::iterator Loc, const Twine &Msg) {
306 return error(Twine("expected ") + toString(TokenKind));
367 return error(Loc, Twine("basic block '") + Name +
375 return error(Loc, Twine("redefinition of machine basic block with id #") +
376 Twine(ID));
782 Twine("missing implicit register operand '") +
798 return error(Twine("unknown machine instruction name '") + InstrName + "'");
811 return error(Twine("unknown register name '") + Name + "'");
820 return error(Twine("use of undefined virtual register '%") + Twine(ID) +
881 return error(Twine("use of unknown subregister index '") + Name + "'");
921 Twine("use of invalid tied-def operand index '" +
922 Twine(DefIdx) + "'; instruction has only ") +
923 Twine(E) + " operands");
928 Twine("use of invalid tied-def operand index '") +
929 Twine(DefIdx) + "'; the operand #" + Twine(DefIdx) +
935 Twine("the tied-def operand #") + Twine(DefIdx) +
1100 return error(Twine("use of undefined machine basic block #") +
1101 Twine(Number));
1104 return error(Twine("the name of machine basic block #") + Twine(Number) +
1125 return error(Twine("use of undefined stack object '%stack.") + Twine(ID) +
1132 return error(Twine("the name of the stack object '%stack.") + Twine(ID) +
1154 return error(Twine("use of undefined fixed stack object '%fixed-stack.") +
1155 Twine(ID) + "'");
1175 return error(Twine("use of undefined global value '") + Token.range() +
1184 return error(Twine("use of undefined global value '@") + Twine(GVIdx) +
1213 return error("use of undefined constant '%const." + Twine(ID) + "'");
1228 return error("use of undefined jump table '%jump-table." + Twine(ID) + "'");
1249 return error(Twine("unknown subregister index '") + Name + "'");
1266 return error(Loc, "use of undefined metadata '!" + Twine(ID) + "'");
1362 return error(Twine("use of undefined IR block '") + Token.range() + "'");
1371 return error(Twine("use of undefined IR block '%ir-block.") +
1372 Twine(SlotNumber) + "'");
1643 return error(Twine("use of undefined IR value '") + Token.range() + "'");
1797 return error(Twine("expected '") + Word + "'");