Lines Matching refs:assert_with_loc
53 static void assert_with_loc(bool Assertion, const std::string &Str) { in assert_with_loc() function
218 assert_with_loc(Bitwidth != 128, "Can't get bigger than 128!"); in doubleLanes()
222 assert_with_loc(Bitwidth != 64, "Can't get smaller than 64!"); in halveLanes()
1124 assert_with_loc(Variables.find(VarName) != Variables.end(), in replaceParamsIn()
1459 assert_with_loc(false, "Unknown operation!"); in emitDag()
1476 assert_with_loc(R1.first == R2.first, "Argument type mismatch!"); in emitDagOp()
1531 assert_with_loc(Intr.Variables.find(DI->getArgName(ArgIdx)) != in emitDagCast()
1537 assert_with_loc(SI, "Expected string type or $Name for cast type"); in emitDagCast()
1553 assert_with_loc(!castToType.isVoid(), "Unknown typedef"); in emitDagCast()
1647 assert_with_loc(Arg1.first == Arg2.first, in emitDagShuffle()
1663 assert_with_loc(Name.startswith("sv"), in emitDagShuffle()
1672 assert_with_loc( in emitDagShuffle()
1677 assert_with_loc( in emitDagShuffle()
1687 assert_with_loc(DI->getNumArgs() == 1, "dup() expects one argument"); in emitDagDup()
1689 assert_with_loc(A.first.isScalar(), "dup() expects a scalar argument"); in emitDagDup()
1692 assert_with_loc(T.isVector(), "dup() used but default type is scalar!"); in emitDagDup()
1705 assert_with_loc(DI->getNumArgs() == 2, "splat() expects two arguments"); in emitDagSplat()
1709 assert_with_loc(B.first.isScalar(), in emitDagSplat()
1722 assert_with_loc(DI->getNumArgs() == 2, "save_temp() expects two arguments"); in emitDagSaveTemp()
1725 assert_with_loc(!A.first.isVoid(), in emitDagSaveTemp()
1729 assert_with_loc(N.size(), "save_temp() expects a name as the first argument"); in emitDagSaveTemp()
1731 assert_with_loc(Intr.Variables.find(N) == Intr.Variables.end(), in emitDagSaveTemp()
1745 assert_with_loc(DI->getNumArgs() == 2, "name_replace requires 2 arguments!"); in emitDagNameReplace()
1751 assert_with_loc(Idx != std::string::npos, "name should contain '" + ToReplace + "'!"); in emitDagNameReplace()
1766 assert_with_loc(!Arg->isComplete(), in emitDagArg()
1768 assert_with_loc(Intr.Variables.find(ArgName) != Intr.Variables.end(), in emitDagArg()
1776 assert_with_loc(DI, "Arguments must either be DAGs or names!"); in emitDagArg()
1862 assert_with_loc(IntrinsicMap.find(Name.str()) != IntrinsicMap.end(), in getIntrinsic()
1903 assert_with_loc(GoodVec.size() > 0, in getIntrinsic()
1905 assert_with_loc(GoodVec.size() == 1, "Multiple overloads found - " + ErrMsg); in getIntrinsic()