Lines Matching refs:assert_with_loc
50 static void assert_with_loc(bool Assertion, const std::string &Str) { in assert_with_loc() function
205 assert_with_loc(Bitwidth != 128, "Can't get bigger than 128!"); in doubleLanes()
209 assert_with_loc(Bitwidth != 64, "Can't get smaller than 64!"); in halveLanes()
1104 assert_with_loc(Variables.find(VarName) != Variables.end(), in replaceParamsIn()
1439 assert_with_loc(false, "Unknown operation!"); in emitDag()
1456 assert_with_loc(R1.first == R2.first, "Argument type mismatch!"); in emitDagOp()
1512 assert_with_loc(Intr.Variables.find(DI->getArgName(ArgIdx)) != in emitDagCast()
1518 assert_with_loc(SI, "Expected string type or $Name for cast type"); in emitDagCast()
1534 assert_with_loc(!castToType.isVoid(), "Unknown typedef"); in emitDagCast()
1628 assert_with_loc(Arg1.first == Arg2.first, in emitDagShuffle()
1646 assert_with_loc(Name.startswith("sv"), in emitDagShuffle()
1655 assert_with_loc( in emitDagShuffle()
1660 assert_with_loc( in emitDagShuffle()
1670 assert_with_loc(DI->getNumArgs() == 1, "dup() expects one argument"); in emitDagDup()
1672 assert_with_loc(A.first.isScalar(), "dup() expects a scalar argument"); in emitDagDup()
1675 assert_with_loc(T.isVector(), "dup() used but default type is scalar!"); in emitDagDup()
1688 assert_with_loc(DI->getNumArgs() == 2, "splat() expects two arguments"); in emitDagSplat()
1692 assert_with_loc(B.first.isScalar(), in emitDagSplat()
1705 assert_with_loc(DI->getNumArgs() == 2, "save_temp() expects two arguments"); in emitDagSaveTemp()
1708 assert_with_loc(!A.first.isVoid(), in emitDagSaveTemp()
1712 assert_with_loc(N.size(), "save_temp() expects a name as the first argument"); in emitDagSaveTemp()
1714 assert_with_loc(Intr.Variables.find(N) == Intr.Variables.end(), in emitDagSaveTemp()
1728 assert_with_loc(DI->getNumArgs() == 2, "name_replace requires 2 arguments!"); in emitDagNameReplace()
1734 assert_with_loc(Idx != std::string::npos, "name should contain '" + ToReplace + "'!"); in emitDagNameReplace()
1749 assert_with_loc(!Arg->isComplete(), in emitDagArg()
1751 assert_with_loc(Intr.Variables.find(ArgName) != Intr.Variables.end(), in emitDagArg()
1759 assert_with_loc(DI, "Arguments must either be DAGs or names!"); in emitDagArg()
1845 assert_with_loc(IntrinsicMap.find(Name.str()) != IntrinsicMap.end(), in getIntrinsic()
1886 assert_with_loc(GoodVec.size() > 0, in getIntrinsic()
1888 assert_with_loc(GoodVec.size() == 1, "Multiple overloads found - " + ErrMsg); in getIntrinsic()