Lines Matching refs:InstArithmetic
1200 static bool isCommutative(Ice::InstArithmetic::OpKind op) in isCommutative()
1204 case Ice::InstArithmetic::Add: in isCommutative()
1205 case Ice::InstArithmetic::Fadd: in isCommutative()
1206 case Ice::InstArithmetic::Mul: in isCommutative()
1207 case Ice::InstArithmetic::Fmul: in isCommutative()
1208 case Ice::InstArithmetic::And: in isCommutative()
1209 case Ice::InstArithmetic::Or: in isCommutative()
1210 case Ice::InstArithmetic::Xor: in isCommutative()
1217 static Value *createArithmetic(Ice::InstArithmetic::OpKind op, Value *lhs, Value *rhs) in createArithmetic()
1224 …Ice::InstArithmetic *arithmetic = Ice::InstArithmetic::create(::function, op, result, swapOperands… in createArithmetic()
1233 return createArithmetic(Ice::InstArithmetic::Add, lhs, rhs); in createAdd()
1239 return createArithmetic(Ice::InstArithmetic::Sub, lhs, rhs); in createSub()
1245 return createArithmetic(Ice::InstArithmetic::Mul, lhs, rhs); in createMul()
1251 return createArithmetic(Ice::InstArithmetic::Udiv, lhs, rhs); in createUDiv()
1257 return createArithmetic(Ice::InstArithmetic::Sdiv, lhs, rhs); in createSDiv()
1263 return createArithmetic(Ice::InstArithmetic::Fadd, lhs, rhs); in createFAdd()
1269 return createArithmetic(Ice::InstArithmetic::Fsub, lhs, rhs); in createFSub()
1275 return createArithmetic(Ice::InstArithmetic::Fmul, lhs, rhs); in createFMul()
1281 return createArithmetic(Ice::InstArithmetic::Fdiv, lhs, rhs); in createFDiv()
1287 return createArithmetic(Ice::InstArithmetic::Urem, lhs, rhs); in createURem()
1293 return createArithmetic(Ice::InstArithmetic::Srem, lhs, rhs); in createSRem()
1313 return createArithmetic(Ice::InstArithmetic::Shl, lhs, rhs); in createShl()
1319 return createArithmetic(Ice::InstArithmetic::Lshr, lhs, rhs); in createLShr()
1325 return createArithmetic(Ice::InstArithmetic::Ashr, lhs, rhs); in createAShr()
1331 return createArithmetic(Ice::InstArithmetic::And, lhs, rhs); in createAnd()
1337 return createArithmetic(Ice::InstArithmetic::Or, lhs, rhs); in createOr()
1343 return createArithmetic(Ice::InstArithmetic::Xor, lhs, rhs); in createXor()