Lines Matching defs:Error
21 #include "llvm/TableGen/Error.h"
93 TP.error("Type inference contradiction found, no " +
164 /// contradictory (e.g. merge f32 into i32) then this flags an error.
240 TP.error("Type inference contradiction found, merging '" +
263 TP.error("Type inference contradiction found, '" +
289 TP.error("Type inference contradiction found, '" +
316 TP.error("Type inference contradiction found, '" +
343 TP.error("Type inference contradiction found, '" +
424 TP.error("Type inference contradiction found, '" + InputSet.getName() +
451 TP.error("Type inference contradiction found, '" + InputSet.getName() +
479 TP.error("Type inference contradiction found, forcing '" +
526 TP.error("Type inference contradiction found, forcing '" +
580 TP.error("Type inference contradiction found, forcing '" +
604 TP.error("Type inference contradiction found, forcing '" +
642 TP.error("Type inference contradiction found, forcing '" +
662 TP.error("Type inference contradiction found, forcing '" +
947 /// change, false otherwise. If a type contradiction is found, flag an error.
987 TP.error(N->getOperator()->getName() + " expects a VT operand!");
1388 TP.error("'" + Op->getName() + "' fragment requires " +
1531 TP.error("Unknown node flavor used in pattern: " + R->getName());
1640 TP.error("Instruction '" + InstName + "' was provided " + Twine(Actual) +
1647 TP.error("Instruction '" + InstName +
1653 /// change, false otherwise. If a type contradiction is found, flag an error.
1693 TP.error("Integer value '" + itostr(II->getValue()) +
1740 TP.error("Intrinsic '" + Int->Name + "' expects " +
1765 TP.error(getOperator()->getName() + " node requires exactly " +
1816 TP.error("REG_SEQUENCE requires at least 3 operands!");
1821 TP.error("REG_SEQUENCE requires an odd number of operands!");
1826 TP.error("REG_SEQUENCE requires a RegisterClass for first operand!");
1833 TP.error("REG_SEQUENCE requires a SubRegIndex for operand " +
1921 TP.error("Node transform '" + getOperator()->getName() +
2019 void TreePattern::error(const Twine &Msg) {
2058 error("'node' argument requires a name to match with operand list");
2069 error("'?' argument requires a name to match with operand list");
2078 error("Constant int argument should not have a name!");
2086 error("Bits value must be constants!");
2093 error("Pattern has unexpected init kind!");
2096 if (!OpDef) error("Pattern has unexpected operator type!");
2103 error("Type cast only takes one operand!");
2112 error("ValueType cast should not have a name!");
2125 error("Unrecognized node '" + Operator->getName() + "'!");
2131 error("Cannot use '" + Operator->getName() + "' in an input pattern!");
2134 error("Cannot use '" + Operator->getName() + "' in an output pattern!");
2148 error("Cannot use '" + Operator->getName() + "' in an output pattern!");
2183 error("All arguments to a ComplexPattern must be named");
2192 error("All ComplexPattern operands must appear consistently: "
2245 /// otherwise. Flags an error if a type contradiction is found.
2268 error("Node '" + std::string(I->getKey()) +
2377 errs() << "Error getting SDNode '" << Name << "'!\n";
2444 P->error("Cannot have unnamed 'node' values in pattern fragment!");
2455 P->error("Operands list should start with '(ops ... '!");
2462 P->error("Operands list should all be 'node' values.");
2464 P->error("Operands list should have names for each operand!");
2466 P->error("'" + OpsList->getArgName(j) +
2473 P->error("Operands list does not contain an entry for operand '" +
2563 I->error("Input " + DI->getDef()->getName() + " must be named!");
2571 if (!DI) I->error("Input $" + Pat->getName() + " must be an identifier!");
2596 I->error("All $" + Pat->getName() + " inputs must agree with each other");
2598 I->error("All $" + Pat->getName() + " inputs must agree with each other");
2613 I->error("Cannot specify a transform function for a non-input value!");
2621 I->error("implicitly defined value should be a register!");
2625 I->error("implicitly defined value should be a register!");
2636 I->error("Cannot have void nodes inside of patterns!");
2646 I->error("Cannot specify a transform function for a non-input value!");
2652 I->error("set requires operands!");
2655 I->error("Cannot specify a transform function on a set node!");
2662 I->error("set destination should be a register!");
2666 I->error("set destination should be a register!");
2675 I->error("set destination must have a name!");
2677 I->error("cannot set '" + Dest->getName() +"' multiple times");
2682 I->error("set destination should be a register!");
2792 bool Error = false;
2805 Error = true;
2812 Error = true;
2821 Error = true;
2840 return Error;
2917 I->error("Could not infer all types in pattern!");
2934 I->error("Top-level forms in instruction pattern should have"
2955 I->error("'" + InstResults.begin()->first +
2962 I->error("Operand $" + OpName + " does not exist in operand list!");
2968 I->error("Operand $" + OpName + " should be a set destination: all "
2972 I->error("Operand $" + OpName + " class mismatch!");
2991 I->error("Operand #" + utostr(i) + " in operands list has no name!");
3002 I->error("Operand $" + OpName +
3011 I->error("Operand $" + OpName + "'s register class disagrees"
3034 I->error("Input operand $" + InstInputsCheck.begin()->first +
3154 PatternTop->error("repetition of value: $" + P->getName() +
3179 Pattern->error("ComplexPattern at root must specify list of opcodes it"
3194 Pattern->error("Pattern has input without matching name in output: $" +
3203 Pattern->error("Pattern has dead named input: $" + I->first);
3317 // Collect error messages.
3334 // Print error messages.
3413 Result.error("Cannot handle instructions producing instructions "
3462 Pattern->error("Could not infer all types in pattern!");
3465 Result.error("Could not infer all types in pattern result!");