Searched refs:binop (Results 1 - 25 of 61) sorted by relevance

123

/external/valgrind/VEX/priv/
H A Dguest_mips_toIR.c466 assign(t1, binop(Iop_Add32, getIReg(rs), \
469 assign(t1, binop(Iop_Add64, getIReg(rs), \
475 assign(t1, binop(Iop_Add32, getIReg(regRs), getIReg(regRt))); \
477 assign(t1, binop(Iop_Add64, getIReg(regRs), getIReg(regRt)));
481 assign(t2, binop(Iop_And64, mkexpr(t1), mkU64(0xFFFFFFFFFFFFFFFCULL))); \
483 assign(t4, mkNarrowTo32( ty, binop(Iop_And64, \
488 assign(t2, binop(Iop_And64, mkexpr(t1), mkU64(0xFFFFFFFFFFFFFFF8ULL))); \
490 assign(t4, binop(Iop_And64, mkexpr(t1), mkU64(0x7)));
494 assign(t2, binop(Iop_And32, mkexpr(t1), mkU32(0xFFFFFFFC))); \
496 assign(t4, binop(Iop_And3
887 static IRExpr *binop(IROp op, IRExpr * a1, IRExpr * a2) function
[all...]
H A Dguest_ppc_toIR.c623 static IRExpr* binop ( IROp op, IRExpr* a1, IRExpr* a2 ) function
694 return unop(Iop_32to1, binop(Iop_Or32, unop(Iop_1Uto32, arg1),
702 return unop(Iop_32to1, binop(Iop_And32, unop(Iop_1Uto32, arg1),
709 return binop( Iop_Xor32,
710 binop( Iop_Xor32, mkexpr( t0 ), mkexpr( t1 ) ),
711 binop( Iop_Xor32, mkexpr( t2 ), mkexpr( t3 ) ) );
716 return binop( Iop_OrV128,
718 binop( Iop_OrV128, mkexpr( t1 ), mkexpr( t2 ) ) );
724 return binop( Iop_OrV128,
725 binop( Iop_OrV12
[all...]
H A Dguest_s390_helpers.c1809 #define binop(op,a1,a2) IRExpr_Binop((op),(a1),(a2)) macro
1885 return unop(Iop_1Uto32, binop(Iop_CmpEQ64, cc_dep1, cc_dep2));
1888 return unop(Iop_1Uto32, binop(Iop_CmpNE64, cc_dep1, cc_dep2));
1891 return unop(Iop_1Uto32, binop(Iop_CmpLT64S, cc_dep1, cc_dep2));
1894 return unop(Iop_1Uto32, binop(Iop_CmpLE64S, cc_dep1, cc_dep2));
1898 return unop(Iop_1Uto32, binop(Iop_CmpLT64S, cc_dep2, cc_dep1));
1901 return unop(Iop_1Uto32, binop(Iop_CmpLE64S, cc_dep2, cc_dep1));
1921 return unop(Iop_1Uto32, binop(Iop_CmpEQ64, cc_dep1, cc_dep2));
1924 return unop(Iop_1Uto32, binop(Iop_CmpNE64, cc_dep1, cc_dep2));
1927 return unop(Iop_1Uto32, binop(Iop_CmpLT64
[all...]
H A Dguest_arm_helpers.c819 # define binop(_op,_a1,_a2) IRExpr_Binop((_op),(_a1),(_a2)) macro
856 binop(Iop_CmpEQ32, cc_dep1, cc_dep2));
861 binop(Iop_CmpNE32, cc_dep1, cc_dep2));
868 binop(Iop_CmpLT32S, cc_dep2, cc_dep1));
873 binop(Iop_CmpLE32S, cc_dep1, cc_dep2));
879 binop(Iop_CmpLT32S, cc_dep1, cc_dep2));
886 binop(Iop_CmpLE32S, cc_dep2, cc_dep1));
893 binop(Iop_CmpLE32U, cc_dep2, cc_dep1));
898 binop(Iop_CmpLT32U, cc_dep1, cc_dep2));
904 binop(Iop_CmpLE32
1191 # undef binop macro
[all...]
H A Dguest_arm_toIR.c311 static IRExpr* binop ( IROp op, IRExpr* a1, IRExpr* a2 ) function
349 binop(Iop_CmpNE32, mkexpr(guardT), mkU32(0))) );
381 binop(Iop_CmpNE32, mkexpr(guardT), mkU32(0))) );
406 binop(Iop_Or32,
407 binop(Iop_Shl32, mkexpr(src), mkU8(32 - rot)),
408 binop(Iop_Shr32, mkexpr(src), mkU8(rot)));
413 return binop(Iop_64HLtoV128, mkU64(i), mkU64(i));
421 return binop(Iop_And32, e, mkU32(~3));
598 // e = binop(Iop_And32, e, mkU32(~3));
607 IRExpr_ITE( binop(Iop_CmpNE3
[all...]
H A Dguest_arm64_toIR.c281 static IRExpr* binop ( IROp op, IRExpr* a1, IRExpr* a2 ) function
319 //ZZ binop(Iop_CmpNE32, mkexpr(guardT), mkU32(0))) );
351 //ZZ binop(Iop_CmpNE32, mkexpr(guardT), mkU32(0))) );
436 //ZZ binop(Iop_Or32,
437 //ZZ binop(Iop_Shl32, mkexpr(src), mkU8(32 - rot)),
438 //ZZ binop(Iop_Shr32, mkexpr(src), mkU8(rot)));
443 //ZZ return binop(Iop_64HLtoV128, mkU64(i), mkU64(i));
451 //ZZ return binop(Iop_And32, e, mkU32(~3));
1012 assign(res, binop(mkOR(ty),
1013 binop(mkSH
[all...]
H A Dguest_x86_helpers.c819 # define binop(_op,_a1,_a2) IRExpr_Binop((_op),(_a1),(_a2)) macro
852 binop(Iop_CmpEQ32,
853 binop(Iop_Add32, cc_dep1, cc_dep2),
862 binop(Iop_CmpEQ32, cc_dep1, cc_dep2));
867 binop(Iop_CmpNE32, cc_dep1, cc_dep2));
874 binop(Iop_CmpLT32S, cc_dep1, cc_dep2));
879 return binop(Iop_Xor32,
881 binop(Iop_CmpLT32S, cc_dep1, cc_dep2)),
889 binop(Iop_CmpLE32S, cc_dep1, cc_dep2));
895 return binop(Iop_Xor3
1354 # undef binop macro
[all...]
H A Dguest_x86_toIR.c648 static IRExpr* binop ( IROp op, IRExpr* a1, IRExpr* a2 ) function
740 binop(Iop_And32,
766 binop( mkSizedOp(tyE,Iop_CasCmpNE8),
987 assign( guardB, binop(Iop_CmpNE8, mkexpr(guard), mkU8(0)) );
1141 assign( oldc, binop(Iop_And32,
1147 assign( tres, binop(plus,
1148 binop(plus,mkexpr(ta1),mkexpr(ta2)),
1167 stmt( IRStmt_Put( OFFB_CC_DEP2, widenUto32(binop(xor, mkexpr(ta2),
1195 assign( oldc, binop(Iop_And32,
1201 assign( tres, binop(minu
[all...]
H A Dguest_s390_toIR.c161 binop(IROp kind, IRExpr *op1, IRExpr *op2) function
437 return binop(Iop_F64HLtoF128, high, low);
460 return binop(Iop_D64HLtoD128, high, low);
631 dep2x = binop(Iop_Xor64, dep2, ndep);
712 lox = binop(Iop_Xor64, lo, ndep); /* convey dependency */
746 lox = binop(Iop_Xor64, lo, ndep); /* convey dependency */
1539 assign(fpc_bits, binop(Iop_And32, get_fpc_w0(), mkU32(7)));
1551 IRExpr *rm_s390 = mkite(binop(Iop_CmpLE32S, mkexpr(fpc_bits), mkU32(3)),
1556 return binop(Iop_And32, binop(Iop_Sub3
[all...]
H A Dir_inject.c43 #define binop(kind, a1, a2) IRExpr_Binop(kind, a1, a2) macro
92 next_addr = binop(Iop_Add64, addr, mkU64(8));
95 next_addr = binop(Iop_Add32, addr, mkU32(8));
109 return binop(concat,
114 return binop(concat,
153 next_addr = binop(Iop_Add64, addr, mkU64(8));
156 next_addr = binop(Iop_Add32, addr, mkU32(8));
206 data = binop(iricb.op, rounding_mode, opnd1);
240 data = binop(iricb.op, opnd1, opnd2);
H A Dguest_amd64_helpers.c1022 # define binop(_op,_a1,_a2) IRExpr_Binop((_op),(_a1),(_a2)) macro
1056 binop(Iop_CmpEQ64,
1057 binop(Iop_Add64, cc_dep1, cc_dep2),
1075 binop(Iop_And64,
1076 binop(Iop_Shr64,
1077 binop(Iop_And64,
1079 binop(Iop_Xor64, cc_dep1, cc_dep2)),
1080 binop(Iop_Xor64,
1082 binop(Iop_Add64, cc_dep1, cc_dep2))),
1098 return binop(Iop_Shr6
1845 # undef binop macro
[all...]
H A Dguest_amd64_toIR.c248 static IRExpr* binop ( IROp op, IRExpr* a1, IRExpr* a2 ) function
1609 binop(Iop_And64,
1636 binop( mkSizedOp(tyE,Iop_CasCmpNE8),
1874 assign( guardB, binop(Iop_CmpNE8, mkexpr(guard), mkU8(0)) );
2033 assign( oldc, binop(Iop_And64,
2039 assign( tres, binop(plus,
2040 binop(plus,mkexpr(ta1),mkexpr(ta2)),
2059 stmt( IRStmt_Put( OFFB_CC_DEP2, widenUto64(binop(xor, mkexpr(ta2),
2092 assign( oldc, binop(Iop_And64,
2098 assign( tres, binop(minu
[all...]
/external/mesa3d/src/compiler/nir/
H A Dnir_opcodes.py346 def binop(name, ty, alg_props, const_expr): function
379 binop("fadd", tfloat, commutative + associative, "src0 + src1")
380 binop("iadd", tint, commutative + associative, "src0 + src1")
381 binop("fsub", tfloat, "", "src0 - src1")
382 binop("isub", tint, "", "src0 - src1")
384 binop("fmul", tfloat, commutative + associative, "src0 * src1")
386 binop("imul", tint, commutative + associative, "src0 * src1")
388 binop("imul_high", tint32, commutative,
391 binop("umul_high", tuint32, commutative,
394 binop("fdi
[all...]
/external/v8/src/asmjs/
H A Dasm-typer.cc779 bool IsDoubleAnnotation(BinaryOperation* binop) { argument
781 if (binop->op() != Token::MUL) {
785 auto* right_as_literal = binop->right()->AsLiteral();
793 bool IsIntAnnotation(BinaryOperation* binop) { argument
794 if (binop->op() != Token::BIT_OR) {
798 auto* right_as_literal = binop->right()->AsLiteral();
1614 bool IsInvert(BinaryOperation* binop) { argument
1615 if (binop->op() != Token::BIT_XOR) {
1619 auto* right_as_literal = binop->right()->AsLiteral();
1627 bool IsUnaryMinus(BinaryOperation* binop) { argument
1959 ValidateMultiplicativeExpression(BinaryOperation* binop) argument
2044 ValidateAdditiveExpression(BinaryOperation* binop, uint32_t intish_count) argument
2105 ValidateShiftExpression(BinaryOperation* binop) argument
2225 ValidateBitwiseANDExpression(BinaryOperation* binop) argument
2252 ValidateBitwiseXORExpression(BinaryOperation* binop) argument
2279 ValidateBitwiseORExpression(BinaryOperation* binop) argument
[all...]
H A Dasm-typer.h320 AsmType* ValidateBinaryOperation(BinaryOperation* binop);
336 AsmType* ValidateMultiplicativeExpression(BinaryOperation* binop);
338 AsmType* ValidateAdditiveExpression(BinaryOperation* binop,
341 AsmType* ValidateShiftExpression(BinaryOperation* binop);
347 AsmType* ValidateBitwiseANDExpression(BinaryOperation* binop);
349 AsmType* ValidateBitwiseXORExpression(BinaryOperation* binop);
351 AsmType* ValidateBitwiseORExpression(BinaryOperation* binop);
/external/llvm/examples/OCaml-Kaleidoscope/Chapter2/
H A Dparser.ml53 (* If this is a binop, find its precedence. *)
57 (* If this is a binop that binds at least as tightly as the current binop,
60 (* Eat the binop. *)
66 (* Okay, we know this is a binop. *)
/external/llvm/examples/OCaml-Kaleidoscope/Chapter3/
H A Dparser.ml53 (* If this is a binop, find its precedence. *)
57 (* If this is a binop that binds at least as tightly as the current binop,
60 (* Eat the binop. *)
66 (* Okay, we know this is a binop. *)
/external/llvm/examples/OCaml-Kaleidoscope/Chapter4/
H A Dparser.ml53 (* If this is a binop, find its precedence. *)
57 (* If this is a binop that binds at least as tightly as the current binop,
60 (* Eat the binop. *)
66 (* Okay, we know this is a binop. *)
/external/swiftshader/third_party/LLVM/examples/OCaml-Kaleidoscope/Chapter2/
H A Dparser.ml53 (* If this is a binop, find its precedence. *)
57 (* If this is a binop that binds at least as tightly as the current binop,
60 (* Eat the binop. *)
66 (* Okay, we know this is a binop. *)
/external/swiftshader/third_party/LLVM/examples/OCaml-Kaleidoscope/Chapter3/
H A Dparser.ml53 (* If this is a binop, find its precedence. *)
57 (* If this is a binop that binds at least as tightly as the current binop,
60 (* Eat the binop. *)
66 (* Okay, we know this is a binop. *)
/external/swiftshader/third_party/LLVM/examples/OCaml-Kaleidoscope/Chapter4/
H A Dparser.ml53 (* If this is a binop, find its precedence. *)
57 (* If this is a binop that binds at least as tightly as the current binop,
60 (* Eat the binop. *)
66 (* Okay, we know this is a binop. *)
/external/valgrind/memcheck/
H A Dmc_translate.c438 #define binop(_op, _arg1, _arg2) IRExpr_Binop((_op),(_arg1),(_arg2)) macro
484 return binop(Iop_64HLto128, z64, z64);
501 return assignNew('V', mce, Ity_I8, binop(Iop_And8, a1, a2));
507 return assignNew('V', mce, Ity_I16, binop(Iop_And16, a1, a2));
513 return assignNew('V', mce, Ity_I32, binop(Iop_And32, a1, a2));
519 return assignNew('V', mce, Ity_I64, binop(Iop_And64, a1, a2));
525 return assignNew('V', mce, Ity_V128, binop(Iop_AndV128, a1, a2));
531 return assignNew('V', mce, Ity_V256, binop(Iop_AndV256, a1, a2));
539 return assignNew('V', mce, Ity_I8, binop(Iop_Or8, a1, a2));
545 return assignNew('V', mce, Ity_I16, binop(Iop_Or1
[all...]
/external/v8/src/interpreter/
H A Dbytecode-generator.h63 void VisitArithmeticExpression(BinaryOperation* binop);
64 void VisitCommaExpression(BinaryOperation* binop);
65 void VisitLogicalOrExpression(BinaryOperation* binop);
66 void VisitLogicalAndExpression(BinaryOperation* binop);
/external/llvm/examples/OCaml-Kaleidoscope/Chapter5/
H A Dparser.ml89 (* If this is a binop, find its precedence. *)
93 (* If this is a binop that binds at least as tightly as the current binop,
96 (* Eat the binop. *)
102 (* Okay, we know this is a binop. *)
/external/llvm/examples/OCaml-Kaleidoscope/Chapter6/
H A Dparser.ml100 (* If this is a binop, find its precedence. *)
104 (* If this is a binop that binds at least as tightly as the current binop,
107 (* Eat the binop. *)
113 (* Okay, we know this is a binop. *)

Completed in 498 milliseconds

123