Home | History | Annotate | Download | only in IR

Lines Matching defs:CHECK

181 #define CHECK(x, y) {                                         		\
231 CHECK(ConstantExpr::getNeg(P0), "sub i32 0, " P0STR);
232 CHECK(ConstantExpr::getFNeg(P1), "fsub float -0.000000e+00, " P1STR);
233 CHECK(ConstantExpr::getNot(P0), "xor i32 " P0STR ", -1");
234 CHECK(ConstantExpr::getAdd(P0, P0), "add i32 " P0STR ", " P0STR);
235 CHECK(ConstantExpr::getAdd(P0, P0, false, true), "add nsw i32 " P0STR ", "
237 CHECK(ConstantExpr::getAdd(P0, P0, true, true), "add nuw nsw i32 " P0STR ", "
239 CHECK(ConstantExpr::getFAdd(P1, P1), "fadd float " P1STR ", " P1STR);
240 CHECK(ConstantExpr::getSub(P0, P0), "sub i32 " P0STR ", " P0STR);
241 CHECK(ConstantExpr::getFSub(P1, P1), "fsub float " P1STR ", " P1STR);
242 CHECK(ConstantExpr::getMul(P0, P0), "mul i32 " P0STR ", " P0STR);
243 CHECK(ConstantExpr::getFMul(P1, P1), "fmul float " P1STR ", " P1STR);
244 CHECK(ConstantExpr::getUDiv(P0, P0), "udiv i32 " P0STR ", " P0STR);
245 CHECK(ConstantExpr::getSDiv(P0, P0), "sdiv i32 " P0STR ", " P0STR);
246 CHECK(ConstantExpr::getFDiv(P1, P1), "fdiv float " P1STR ", " P1STR);
247 CHECK(ConstantExpr::getURem(P0, P0), "urem i32 " P0STR ", " P0STR);
248 CHECK(ConstantExpr::getSRem(P0, P0), "srem i32 " P0STR ", " P0STR);
249 CHECK(ConstantExpr::getFRem(P1, P1), "frem float " P1STR ", " P1STR);
250 CHECK(ConstantExpr::getAnd(P0, P0), "and i32 " P0STR ", " P0STR);
251 CHECK(ConstantExpr::getOr(P0, P0), "or i32 " P0STR ", " P0STR);
252 CHECK(ConstantExpr::getXor(P0, P0), "xor i32 " P0STR ", " P0STR);
253 CHECK(ConstantExpr::getShl(P0, P0), "shl i32 " P0STR ", " P0STR);
254 CHECK(ConstantExpr::getShl(P0, P0, true), "shl nuw i32 " P0STR ", " P0STR);
255 CHECK(ConstantExpr::getShl(P0, P0, false, true), "shl nsw i32 " P0STR ", "
257 CHECK(ConstantExpr::getLShr(P0, P0, false), "lshr i32 " P0STR ", " P0STR);
258 CHECK(ConstantExpr::getLShr(P0, P0, true), "lshr exact i32 " P0STR ", " P0STR);
259 CHECK(ConstantExpr::getAShr(P0, P0, false), "ashr i32 " P0STR ", " P0STR);
260 CHECK(ConstantExpr::getAShr(P0, P0, true), "ashr exact i32 " P0STR ", " P0STR);
262 CHECK(ConstantExpr::getSExt(P0, Int64Ty), "sext i32 " P0STR " to i64");
263 CHECK(ConstantExpr::getZExt(P0, Int64Ty), "zext i32 " P0STR " to i64");
264 CHECK(ConstantExpr::getFPTrunc(P2, FloatTy), "fptrunc double " P2STR
266 CHECK(ConstantExpr::getFPExtend(P1, DoubleTy), "fpext float " P1STR
269 CHECK(ConstantExpr::getExactUDiv(P0, P0), "udiv exact i32 " P0STR ", " P0STR);
271 CHECK(ConstantExpr::getSelect(P3, P0, P4), "select i1 " P3STR ", i32 " P0STR
273 CHECK(ConstantExpr::getICmp(CmpInst::ICMP_EQ, P0, P4), "icmp eq i32 " P0STR
275 CHECK(ConstantExpr::getFCmp(CmpInst::FCMP_ULT, P1, P5), "fcmp ult float "
282 //CHECK(ConstantExpr::getGetElementPtr(Global, V, false),
284 CHECK(ConstantExpr::getInBoundsGetElementPtr(PointerType::getUnqual(Int32Ty),
288 CHECK(ConstantExpr::getExtractElement(P6, One), "extractelement <2 x i16> "
322 #undef CHECK