Searched defs:binop (Results 1 - 21 of 21) sorted by relevance

/external/clang/lib/StaticAnalyzer/Checkers/
H A DMallocOverflowSecurityChecker.cpp73 const BinaryOperator * binop = dyn_cast<BinaryOperator>(e); local
74 BinaryOperatorKind opc = binop->getOpcode();
77 mulop = binop;
81 const Expr *lhs = binop->getLHS();
82 const Expr *rhs = binop->getRHS();
/external/valgrind/main/VEX/priv/
H A Dguest_arm_helpers.c559 # define binop(_op,_a1,_a2) IRExpr_Binop((_op),(_a1),(_a2)) macro
596 binop(Iop_CmpEQ32, cc_dep1, cc_dep2));
601 binop(Iop_CmpNE32, cc_dep1, cc_dep2));
608 binop(Iop_CmpLT32S, cc_dep2, cc_dep1));
613 binop(Iop_CmpLE32S, cc_dep1, cc_dep2));
619 binop(Iop_CmpLT32S, cc_dep1, cc_dep2));
626 binop(Iop_CmpLE32S, cc_dep2, cc_dep1));
633 binop(Iop_CmpLE32U, cc_dep2, cc_dep1));
638 binop(Iop_CmpLT32U, cc_dep1, cc_dep2));
644 binop(Iop_CmpLE32
881 # undef binop macro
[all...]
H A Dguest_s390_helpers.c1186 #define binop(op,a1,a2) IRExpr_Binop((op),(a1),(a2)) macro
1262 return unop(Iop_1Uto32, binop(Iop_CmpEQ64, cc_dep1, cc_dep2));
1265 return unop(Iop_1Uto32, binop(Iop_CmpNE64, cc_dep1, cc_dep2));
1268 return unop(Iop_1Uto32, binop(Iop_CmpLT64S, cc_dep1, cc_dep2));
1271 return unop(Iop_1Uto32, binop(Iop_CmpLE64S, cc_dep1, cc_dep2));
1275 return unop(Iop_1Uto32, binop(Iop_CmpLT64S, cc_dep2, cc_dep1));
1278 return unop(Iop_1Uto32, binop(Iop_CmpLE64S, cc_dep2, cc_dep1));
1298 return unop(Iop_1Uto32, binop(Iop_CmpEQ64, cc_dep1, cc_dep2));
1301 return unop(Iop_1Uto32, binop(Iop_CmpNE64, cc_dep1, cc_dep2));
1304 return unop(Iop_1Uto32, binop(Iop_CmpLT64
[all...]
H A Dguest_mips_toIR.c288 assign(t1, binop(Iop_Add32, getIReg(rs), mkU32(extend_s_16to32(imm)))); \
292 assign(t2, binop(Iop_And32, mkexpr(t1), mkU32(0xFFFFFFFC))); \
294 assign(t4, binop(Iop_And32, mkexpr(t1), mkU32(0x00000003)))
297 putIReg(rd, binop(op, \
300 binop(Iop_And32, \
309 putIReg(rd, binop(op, getIReg(rt), mkU8(sa)));
312 putIReg(rd, binop(op, getIReg(rs), getIReg(rt)));
315 putIReg(rt, binop(op, getIReg(rs), mkU32(imm)));
318 putIReg(rt, binop(op, getIReg(rs), mkU64(imm)));
322 assign(t3, binop(Iop_And3
605 static IRExpr *binop(IROp op, IRExpr * a1, IRExpr * a2) function
[all...]
H A Dguest_x86_helpers.c781 # define binop(_op,_a1,_a2) IRExpr_Binop((_op),(_a1),(_a2)) macro
814 binop(Iop_CmpEQ32,
815 binop(Iop_Add32, cc_dep1, cc_dep2),
824 binop(Iop_CmpEQ32, cc_dep1, cc_dep2));
829 binop(Iop_CmpNE32, cc_dep1, cc_dep2));
836 binop(Iop_CmpLT32S, cc_dep1, cc_dep2));
841 return binop(Iop_Xor32,
843 binop(Iop_CmpLT32S, cc_dep1, cc_dep2)),
851 binop(Iop_CmpLE32S, cc_dep1, cc_dep2));
857 return binop(Iop_Xor3
1316 # undef binop macro
[all...]
H A Dhost_arm_isel.c196 static IRExpr* binop ( IROp op, IRExpr* a1, IRExpr* a2 ) function
3131 unop(Iop_Not64, binop(Iop_CmpGT8Sx8, bind(1), bind(0))));
3133 unop(Iop_Not64, binop(Iop_CmpGT16Sx4, bind(1), bind(0))));
3135 unop(Iop_Not64, binop(Iop_CmpGT32Sx2, bind(1), bind(0))));
3137 unop(Iop_Not64, binop(Iop_CmpGT8Ux8, bind(1), bind(0))));
3139 unop(Iop_Not64, binop(Iop_CmpGT16Ux4, bind(1), bind(0))));
3141 unop(Iop_Not64, binop(Iop_CmpGT32Ux2, bind(1), bind(0))));
3215 unop(Iop_Dup8x8, binop(Iop_GetElem8x8, bind(0), bind(1))));
3217 unop(Iop_Dup16x4, binop(Iop_GetElem16x4, bind(0), bind(1))));
3219 unop(Iop_Dup32x2, binop(Iop_GetElem32x
[all...]
H A Dhost_s390_isel.c1124 IROp unop, binop; local
1133 binop = arg->Iex.Binop.op;
1137 (binop == Iop_MullS32 || binop == Iop_MullU32)) ||
1139 (binop == Iop_MullS64 || binop == Iop_MullU64))))) {
H A Dhost_x86_isel.c96 static IRExpr* binop ( IROp op, IRExpr* a1, IRExpr* a2 ) function
1731 unop(Iop_CmpNEZ32, binop(Iop_And32, bind(0), bind(1))));
1746 unop(Iop_CmpNEZ32, binop(Iop_Or32, bind(0), bind(1))));
1782 unop(Iop_CmpNEZ64, binop(Iop_Or64, bind(0), bind(1))));
2628 unop(Iop_CmpwNEZ64,binop(Iop_Or64,bind(0),bind(1))));
H A Dguest_amd64_helpers.c878 # define binop(_op,_a1,_a2) IRExpr_Binop((_op),(_a1),(_a2)) macro
912 binop(Iop_CmpEQ64,
913 binop(Iop_Add64, cc_dep1, cc_dep2),
922 binop(Iop_CmpEQ64,cc_dep1,cc_dep2));
927 binop(Iop_CmpNE64,cc_dep1,cc_dep2));
934 binop(Iop_CmpLT64S, cc_dep1, cc_dep2));
941 binop(Iop_CmpLT64U, cc_dep1, cc_dep2));
948 binop(Iop_CmpLE64U, cc_dep2, cc_dep1));
955 binop(Iop_CmpLE64U, cc_dep1, cc_dep2));
960 return binop(Iop_Xor6
1437 # undef binop macro
[all...]
H A Dhost_amd64_isel.c82 static IRExpr* binop ( IROp op, IRExpr* a1, IRExpr* a2 ) function
1797 binop( Iop_Add64,
1798 binop( Iop_Add64,
1800 binop(Iop_Shl64, bind(1), bind(2))
2137 unop(Iop_CmpNEZ64, binop(Iop_Or64, bind(0), bind(1))));
H A Dguest_arm_toIR.c300 static IRExpr* binop ( IROp op, IRExpr* a1, IRExpr* a2 ) function
352 binop(Iop_Or32,
353 binop(Iop_Shl32, mkexpr(src), mkU8(32 - rot)),
354 binop(Iop_Shr32, mkexpr(src), mkU8(rot)));
359 return binop(Iop_64HLtoV128, mkU64(i), mkU64(i));
367 return binop(Iop_And32, e, mkU32(~3));
541 // e = binop(Iop_And32, e, mkU32(~3));
923 assign(nyu, binop(Iop_Or32, mkexpr(old), e) );
948 assign(masked, binop(Iop_Shr32, e, mkU8(lowbits_to_ignore)));
979 assign(ge10, binop(Iop_And3
[all...]
H A Dguest_s390_toIR.c166 binop(IROp kind, IRExpr *op1, IRExpr *op2) function
453 return binop(Iop_F64HLtoF128, high, low);
591 dep2x = binop(Iop_Xor64, dep2, ndep);
656 lox = binop(Iop_Xor64, lo, ndep); /* convey dependency */
1563 assign(op4addr, binop(Iop_Add64, mkU64(d4), b4 != 0 ? get_gpr_dw0(b4) :
1581 assign(op4addr, binop(Iop_Add64, mkU64(d4), b4 != 0 ? get_gpr_dw0(b4) :
1752 assign(op4addr, binop(Iop_Add64, mkU64(d4), b4 != 0 ? get_gpr_dw0(b4) :
1769 assign(op2addr, binop(Iop_Add64, mkU64(d2), b2 != 0 ? get_gpr_dw0(b2) :
1785 assign(op2addr, binop(Iop_Add64, mkU64(d2), b2 != 0 ? get_gpr_dw0(b2) :
1801 assign(op2addr, binop(Iop_Add6
[all...]
H A Dguest_x86_toIR.c651 static IRExpr* binop ( IROp op, IRExpr* a1, IRExpr* a2 ) function
742 binop(Iop_And32,
768 binop( mkSizedOp(tyE,Iop_CasCmpNE8),
1139 assign( oldc, binop(Iop_And32,
1145 assign( tres, binop(plus,
1146 binop(plus,mkexpr(ta1),mkexpr(ta2)),
1165 stmt( IRStmt_Put( OFFB_CC_DEP2, widenUto32(binop(xor, mkexpr(ta2),
1193 assign( oldc, binop(Iop_And32,
1199 assign( tres, binop(minus,
1200 binop(minu
[all...]
H A Dguest_amd64_toIR.c253 static IRExpr* binop ( IROp op, IRExpr* a1, IRExpr* a2 ) function
1559 binop(Iop_And64,
1586 binop( mkSizedOp(tyE,Iop_CasCmpNE8),
1978 assign( oldc, binop(Iop_And64,
1984 assign( tres, binop(plus,
1985 binop(plus,mkexpr(ta1),mkexpr(ta2)),
2004 stmt( IRStmt_Put( OFFB_CC_DEP2, widenUto64(binop(xor, mkexpr(ta2),
2037 assign( oldc, binop(Iop_And64,
2043 assign( tres, binop(minus,
2044 binop(minu
[all...]
H A Dguest_ppc_toIR.c527 static IRExpr* binop ( IROp op, IRExpr* a1, IRExpr* a2 ) function
584 return unop(Iop_32to1, binop(Iop_Or32, unop(Iop_1Uto32, arg1),
592 return unop(Iop_32to1, binop(Iop_And32, unop(Iop_1Uto32, arg1),
609 assign( *vOdd, binop(Iop_MullEven8Ux16, mkexpr(ones8x16), vIn) );
610 assign( *vEvn, binop(Iop_MullEven8Ux16, mkexpr(ones8x16),
611 binop(Iop_ShrV128, vIn, mkU8(8))) );
627 assign( *vOdd, binop(Iop_MullEven8Sx16, mkexpr(ones8x16), vIn) );
628 assign( *vEvn, binop(Iop_MullEven8Sx16, mkexpr(ones8x16),
629 binop(Iop_ShrV128, vIn, mkU8(8))) );
645 assign( *vOdd, binop(Iop_MullEven16Ux
[all...]
/external/chromium_org/third_party/jinja2/
H A Dcompiler.py1421 def binop(operator, interceptable=True): member in class:CodeGenerator
1449 visit_Add = binop('+')
1450 visit_Sub = binop('-')
1451 visit_Mul = binop('*')
1452 visit_Div = binop('/')
1453 visit_FloorDiv = binop('//')
1454 visit_Pow = binop('**')
1455 visit_Mod = binop('%')
1456 visit_And = binop('and', interceptable=False)
1457 visit_Or = binop('o
[all...]
/external/valgrind/main/VEX/
H A Dtest_main.c692 #define binop(_op, _arg1, _arg2) IRExpr_Binop((_op),(_arg1),(_arg2)) macro
720 return assignNew(mce, Ity_I8, binop(Iop_And8, a1, a2));
726 return assignNew(mce, Ity_I16, binop(Iop_And16, a1, a2));
732 return assignNew(mce, Ity_I32, binop(Iop_And32, a1, a2));
738 return assignNew(mce, Ity_I64, binop(Iop_And64, a1, a2));
744 return assignNew(mce, Ity_V128, binop(Iop_AndV128, a1, a2));
752 return assignNew(mce, Ity_I8, binop(Iop_Or8, a1, a2));
758 return assignNew(mce, Ity_I16, binop(Iop_Or16, a1, a2));
764 return assignNew(mce, Ity_I32, binop(Iop_Or32, a1, a2));
770 return assignNew(mce, Ity_I64, binop(Iop_Or6
[all...]
/external/valgrind/main/exp-dhat/
H A Ddh_main.c766 #define binop(_op, _arg1, _arg2) IRExpr_Binop((_op),(_arg1),(_arg2)) macro
791 IRStmt* st2 = assign(t2, binop(Iop_Add64, mkexpr(t1), mkU64(n)));
846 ? binop(Iop_Sub32, mkexpr(sp), mkU32(rz_szB))
847 : binop(Iop_Sub64, mkexpr(sp), mkU64(rz_szB)))
855 ? binop(Iop_Sub32, addr, mkexpr(sp_minus_rz))
856 : binop(Iop_Sub64, addr, mkexpr(sp_minus_rz)))
864 ? binop(Iop_CmpLT32U, mkU32(THRESH), mkexpr(diff))
865 : binop(Iop_CmpLT64U, mkU64(THRESH), mkexpr(diff)))
1019 #undef binop macro
/external/valgrind/main/helgrind/
H A Dhg_main.c4131 #define binop(_op, _arg1, _arg2) IRExpr_Binop((_op),(_arg1),(_arg2)) macro
4264 ? binop(Iop_Sub32, addr, mkexpr(sp))
4265 : binop(Iop_Sub64, addr, mkexpr(sp)))
4274 ? binop(Iop_Add32, mkexpr(addr_minus_sp), mkU32(rz_szB))
4275 : binop(Iop_Add64, mkexpr(addr_minus_sp), mkU64(rz_szB)))
4283 ? binop(Iop_CmpLT32U, mkU32(THRESH), mkexpr(diff))
4284 : binop(Iop_CmpLT64U, mkU64(THRESH), mkexpr(diff)))
4539 #undef binop macro
/external/valgrind/main/memcheck/
H A Dmc_translate.c424 #define binop(_op, _arg1, _arg2) IRExpr_Binop((_op),(_arg1),(_arg2)) macro
469 return binop(Iop_64HLto128, z64, z64);
486 return assignNew('V', mce, Ity_I8, binop(Iop_And8, a1, a2));
492 return assignNew('V', mce, Ity_I16, binop(Iop_And16, a1, a2));
498 return assignNew('V', mce, Ity_I32, binop(Iop_And32, a1, a2));
504 return assignNew('V', mce, Ity_I64, binop(Iop_And64, a1, a2));
510 return assignNew('V', mce, Ity_V128, binop(Iop_AndV128, a1, a2));
516 return assignNew('V', mce, Ity_V256, binop(Iop_AndV256, a1, a2));
524 return assignNew('V', mce, Ity_I8, binop(Iop_Or8, a1, a2));
530 return assignNew('V', mce, Ity_I16, binop(Iop_Or1
[all...]
/external/chromium_org/v8/src/
H A Dhydrogen.cc7846 HBinaryOperation* binop = HBinaryOperation::cast(instr); local
7847 binop->set_observed_input_representation(1, left_rep);
7848 binop->set_observed_input_representation(2, right_rep);
7849 binop->initialize_output_representation(result_rep);

Completed in 466 milliseconds