Lines Matching refs:P0STR
191 #define P0STR "ptrtoint (i32** @dummy to i32)" in TEST() macro
199 CHECK(ConstantExpr::getNeg(P0), "sub i32 0, " P0STR); in TEST()
201 CHECK(ConstantExpr::getNot(P0), "xor i32 " P0STR ", -1"); in TEST()
202 CHECK(ConstantExpr::getAdd(P0, P0), "add i32 " P0STR ", " P0STR); in TEST()
203 CHECK(ConstantExpr::getAdd(P0, P0, false, true), "add nsw i32 " P0STR ", " in TEST()
204 P0STR); in TEST()
205 CHECK(ConstantExpr::getAdd(P0, P0, true, true), "add nuw nsw i32 " P0STR ", " in TEST()
206 P0STR); in TEST()
208 CHECK(ConstantExpr::getSub(P0, P0), "sub i32 " P0STR ", " P0STR); in TEST()
210 CHECK(ConstantExpr::getMul(P0, P0), "mul i32 " P0STR ", " P0STR); in TEST()
212 CHECK(ConstantExpr::getUDiv(P0, P0), "udiv i32 " P0STR ", " P0STR); in TEST()
213 CHECK(ConstantExpr::getSDiv(P0, P0), "sdiv i32 " P0STR ", " P0STR); in TEST()
215 CHECK(ConstantExpr::getURem(P0, P0), "urem i32 " P0STR ", " P0STR); in TEST()
216 CHECK(ConstantExpr::getSRem(P0, P0), "srem i32 " P0STR ", " P0STR); in TEST()
218 CHECK(ConstantExpr::getAnd(P0, P0), "and i32 " P0STR ", " P0STR); in TEST()
219 CHECK(ConstantExpr::getOr(P0, P0), "or i32 " P0STR ", " P0STR); in TEST()
220 CHECK(ConstantExpr::getXor(P0, P0), "xor i32 " P0STR ", " P0STR); in TEST()
221 CHECK(ConstantExpr::getShl(P0, P0), "shl i32 " P0STR ", " P0STR); in TEST()
222 CHECK(ConstantExpr::getShl(P0, P0, true), "shl nuw i32 " P0STR ", " P0STR); in TEST()
223 CHECK(ConstantExpr::getShl(P0, P0, false, true), "shl nsw i32 " P0STR ", " in TEST()
224 P0STR); in TEST()
225 CHECK(ConstantExpr::getLShr(P0, P0, false), "lshr i32 " P0STR ", " P0STR); in TEST()
226 CHECK(ConstantExpr::getLShr(P0, P0, true), "lshr exact i32 " P0STR ", " P0STR); in TEST()
227 CHECK(ConstantExpr::getAShr(P0, P0, false), "ashr i32 " P0STR ", " P0STR); in TEST()
228 CHECK(ConstantExpr::getAShr(P0, P0, true), "ashr exact i32 " P0STR ", " P0STR); in TEST()
230 CHECK(ConstantExpr::getSExt(P0, Int64Ty), "sext i32 " P0STR " to i64"); in TEST()
231 CHECK(ConstantExpr::getZExt(P0, Int64Ty), "zext i32 " P0STR " to i64"); in TEST()
237 CHECK(ConstantExpr::getExactUDiv(P0, P0), "udiv exact i32 " P0STR ", " P0STR); in TEST()
239 CHECK(ConstantExpr::getSelect(P3, P0, P4), "select i1 " P3STR ", i32 " P0STR in TEST()
241 CHECK(ConstantExpr::getICmp(CmpInst::ICMP_EQ, P0, P4), "icmp eq i32 " P0STR in TEST()