Home | History | Annotate | Download | only in TableGen

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, '" +
410 TP.error("Type inference contradiction found, forcing '" +
431 TP.error("Type inference contradiction found, forcing '" +
460 TP.error("Type inference contradiction found, '" + InputSet.getName() +
477 TP.error("Type inference contradiction found, '" + InputSet.getName() +
524 TP.error("Type inference contradiction found, forcing '" +
578 TP.error("Type inference contradiction found, forcing '" +
602 TP.error("Type inference contradiction found, forcing '" +
874 /// change, false otherwise. If a type contradiction is found, flag an error.
914 TP.error(N->getOperator()->getName() + " expects a VT operand!");
1295 TP.error("'" + Op->getName() + "' fragment requires " +
1438 TP.error("Unknown node flavor used in pattern: " + R->getName());
1535 /// change, false otherwise. If a type contradiction is found, flag an error.
1575 TP.error("Integer value '" + itostr(II->getValue()) +
1622 TP.error("Intrinsic '" + Int->Name + "' expects " +
1647 TP.error(getOperator()->getName() + " node requires exactly " +
1707 TP.error("Instruction '" + getOperator()->getName() +
1732 TP.error("Instruction '" + getOperator()->getName() +
1753 TP.error("Instruction '" + getOperator()->getName() +
1776 TP.error("Node transform '" + getOperator()->getName() +
1874 void TreePattern::error(const std::string &Msg) {
1913 error("'node' argument requires a name to match with operand list");
1924 error("'?' argument requires a name to match with operand list");
1933 error("Constant int argument should not have a name!");
1941 error("Bits value must be constants!");
1948 error("Pattern has unexpected init kind!");
1951 if (!OpDef) error("Pattern has unexpected operator type!");
1958 error("Type cast only takes one operand!");
1967 error("ValueType cast should not have a name!");
1980 error("Unrecognized node '" + Operator->getName() + "'!");
1986 error("Cannot use '" + Operator->getName() + "' in an input pattern!");
1989 error("Cannot use '" + Operator->getName() + "' in an output pattern!");
2003 error("Cannot use '" + Operator->getName() + "' in an output pattern!");
2038 error("All arguments to a ComplexPattern must be named");
2047 error("All ComplexPattern operands must appear consistently: "
2100 /// otherwise. Flags an error if a type contradiction is found.
2123 error("Node '" + std::string(I->getKey()) +
2239 errs() << "Error getting SDNode '" << Name << "'!\n";
2306 P->error("Cannot have unnamed 'node' values in pattern fragment!");
2317 P->error
2324 P->error("Operands list should all be 'node' values.");
2326 P->error("Operands list should have names for each operand!");
2328 P->error("'" + OpsList->getArgName(j) +
2335 P->error("Operands list does not contain an entry for operand '" +
2425 I->error("Input " + DI->getDef()->getName() + " must be named!");
2433 if (!DI) I->error("Input $" + Pat->getName() + " must be an identifier!");
2458 I->error("All $" + Pat->getName() + " inputs must agree with each other");
2460 I->error("All $" + Pat->getName() + " inputs must agree with each other");
2475 I->error("Cannot specify a transform function for a non-input value!");
2483 I->error("implicitly defined value should be a register!");
2487 I->error("implicitly defined value should be a register!");
2498 I->error("Cannot have void nodes inside of patterns!");
2508 I->error("Cannot specify a transform function for a non-input value!");
2514 I->error("set requires operands!");
2517 I->error("Cannot specify a transform function on a set node!");
2524 I->error("set destination should be a register!");
2528 I->error("set destination should be a register!");
2535 I->error("set destination must have a name!");
2537 I->error("cannot set '" + Dest->getName() +"' multiple times");
2542 I->error("set destination should be a register!");
2652 bool Error = false;
2665 Error = true;
2672 Error = true;
2681 Error = true;
2700 return Error;
2777 I->error("Could not infer all types in pattern!");
2794 I->error("Top-level forms in instruction pattern should have"
2815 I->error("'" + InstResults.begin()->first +
2822 I->error("Operand $" + OpName + " does not exist in operand list!");
2828 I->error("Operand $" + OpName + " should be a set destination: all "
2832 I->error("Operand $" + OpName + " class mismatch!");
2851 I->error("Operand #" + utostr(i) + " in operands list has no name!");
2862 I->error("Operand $" + OpName +
2871 I->error("Operand $" + OpName + "'s register class disagrees"
2894 I->error("Input operand $" + InstInputsCheck.begin()->first +
3017 PatternTop->error("repetition of value: $" + P->getName() +
3042 Pattern->error("ComplexPattern at root must specify list of opcodes it"
3057 Pattern->error("Pattern has input without matching name in output: $" +
3066 Pattern->error("Pattern has dead named input: $" + I->first);
3187 // Collect error messages.
3204 // Print error messages.
3283 Result->error("Cannot handle instructions producing instructions "
3332 Pattern->error("Could not infer all types in pattern!");
3335 Result->error("Could not infer all types in pattern result!");