Home
last modified time | relevance | path

Searched refs:binop (Results 1 – 25 of 28) sorted by relevance

12

/external/valgrind/main/VEX/priv/
Dguest_ppc_toIR.c468 static IRExpr* binop ( IROp op, IRExpr* a1, IRExpr* a2 ) in binop() function
519 return unop(Iop_32to1, binop(Iop_Or32, unop(Iop_1Uto32, arg1), in mkOR1()
527 return unop(Iop_32to1, binop(Iop_And32, unop(Iop_1Uto32, arg1), in mkAND1()
544 assign( *vOdd, binop(Iop_MullEven8Ux16, mkexpr(ones8x16), vIn) ); in expand8Ux16()
545 assign( *vEvn, binop(Iop_MullEven8Ux16, mkexpr(ones8x16), in expand8Ux16()
546 binop(Iop_ShrV128, vIn, mkU8(8))) ); in expand8Ux16()
562 assign( *vOdd, binop(Iop_MullEven8Sx16, mkexpr(ones8x16), vIn) ); in expand8Sx16()
563 assign( *vEvn, binop(Iop_MullEven8Sx16, mkexpr(ones8x16), in expand8Sx16()
564 binop(Iop_ShrV128, vIn, mkU8(8))) ); in expand8Sx16()
580 assign( *vOdd, binop(Iop_MullEven16Ux8, mkexpr(ones16x8), vIn) ); in expand16Ux8()
[all …]
Dguest_arm_toIR.c300 static IRExpr* binop ( IROp op, IRExpr* a1, IRExpr* a2 ) in binop() function
352 binop(Iop_Or32, in genROR32()
353 binop(Iop_Shl32, mkexpr(src), mkU8(32 - rot)), in genROR32()
354 binop(Iop_Shr32, mkexpr(src), mkU8(rot))); in genROR32()
359 return binop(Iop_64HLtoV128, mkU64(i), mkU64(i)); in mkU128()
367 return binop(Iop_And32, e, mkU32(~3)); in align4if()
923 assign(nyu, binop(Iop_Or32, mkexpr(old), e) ); in or_into_QFLAG32()
948 assign(masked, binop(Iop_Shr32, e, mkU8(lowbits_to_ignore))); in put_GEFLAG32()
979 assign(ge10, binop(Iop_And32, mkexpr(t32), mkU32(0x00008000))); in set_GE_32_10_from_bits_31_15()
980 assign(ge32, binop(Iop_And32, mkexpr(t32), mkU32(0x80000000))); in set_GE_32_10_from_bits_31_15()
[all …]
Dguest_amd64_helpers.c878 # define binop(_op,_a1,_a2) IRExpr_Binop((_op),(_a1),(_a2)) in guest_amd64_spechelper() macro
911 binop(Iop_CmpEQ64, in guest_amd64_spechelper()
912 binop(Iop_Add64, cc_dep1, cc_dep2), in guest_amd64_spechelper()
921 binop(Iop_CmpEQ64,cc_dep1,cc_dep2)); in guest_amd64_spechelper()
926 binop(Iop_CmpNE64,cc_dep1,cc_dep2)); in guest_amd64_spechelper()
933 binop(Iop_CmpLT64S, cc_dep1, cc_dep2)); in guest_amd64_spechelper()
940 binop(Iop_CmpLT64U, cc_dep1, cc_dep2)); in guest_amd64_spechelper()
947 binop(Iop_CmpLE64U, cc_dep2, cc_dep1)); in guest_amd64_spechelper()
954 binop(Iop_CmpLE64U, cc_dep1, cc_dep2)); in guest_amd64_spechelper()
962 binop(Iop_CmpEQ64, in guest_amd64_spechelper()
[all …]
Dguest_x86_toIR.c651 static IRExpr* binop ( IROp op, IRExpr* a1, IRExpr* a2 ) in binop() function
742 binop(Iop_And32, in mkAnd1()
768 binop( mkSizedOp(tyE,Iop_CasCmpNE8), in casLE()
1135 assign( oldc, binop(Iop_And32, in helper_ADC()
1141 assign( tres, binop(plus, in helper_ADC()
1142 binop(plus,mkexpr(ta1),mkexpr(ta2)), in helper_ADC()
1161 stmt( IRStmt_Put( OFFB_CC_DEP2, widenUto32(binop(xor, mkexpr(ta2), in helper_ADC()
1189 assign( oldc, binop(Iop_And32, in helper_SBB()
1195 assign( tres, binop(minus, in helper_SBB()
1196 binop(minus,mkexpr(ta1),mkexpr(ta2)), in helper_SBB()
[all …]
Dguest_x86_helpers.c781 # define binop(_op,_a1,_a2) IRExpr_Binop((_op),(_a1),(_a2)) in guest_x86_spechelper() macro
814 binop(Iop_CmpEQ32, in guest_x86_spechelper()
815 binop(Iop_Add32, cc_dep1, cc_dep2), in guest_x86_spechelper()
824 binop(Iop_CmpEQ32, cc_dep1, cc_dep2)); in guest_x86_spechelper()
829 binop(Iop_CmpNE32, cc_dep1, cc_dep2)); in guest_x86_spechelper()
836 binop(Iop_CmpLT32S, cc_dep1, cc_dep2)); in guest_x86_spechelper()
841 return binop(Iop_Xor32, in guest_x86_spechelper()
843 binop(Iop_CmpLT32S, cc_dep1, cc_dep2)), in guest_x86_spechelper()
851 binop(Iop_CmpLE32S, cc_dep1, cc_dep2)); in guest_x86_spechelper()
857 return binop(Iop_Xor32, in guest_x86_spechelper()
[all …]
Dguest_amd64_toIR.c253 static IRExpr* binop ( IROp op, IRExpr* a1, IRExpr* a2 ) in binop() function
1456 binop(Iop_And64, in mkAnd1()
1483 binop( mkSizedOp(tyE,Iop_CasCmpNE8), in casLE()
1874 assign( oldc, binop(Iop_And64, in helper_ADC()
1880 assign( tres, binop(plus, in helper_ADC()
1881 binop(plus,mkexpr(ta1),mkexpr(ta2)), in helper_ADC()
1900 stmt( IRStmt_Put( OFFB_CC_DEP2, widenUto64(binop(xor, mkexpr(ta2), in helper_ADC()
1933 assign( oldc, binop(Iop_And64, in helper_SBB()
1939 assign( tres, binop(minus, in helper_SBB()
1940 binop(minus,mkexpr(ta1),mkexpr(ta2)), in helper_SBB()
[all …]
Dguest_arm_helpers.c315 # define binop(_op,_a1,_a2) IRExpr_Binop((_op),(_a1),(_a2)) in guest_arm_spechelper() macro
348 binop(Iop_CmpEQ32, cc_dep1, cc_dep2)); in guest_arm_spechelper()
353 binop(Iop_CmpNE32, cc_dep1, cc_dep2)); in guest_arm_spechelper()
359 binop(Iop_CmpLE32S, cc_dep1, cc_dep2)); in guest_arm_spechelper()
365 binop(Iop_CmpLT32S, cc_dep1, cc_dep2)); in guest_arm_spechelper()
372 binop(Iop_CmpLE32S, cc_dep2, cc_dep1)); in guest_arm_spechelper()
379 binop(Iop_CmpLE32U, cc_dep2, cc_dep1)); in guest_arm_spechelper()
385 binop(Iop_CmpLE32U, cc_dep1, cc_dep2)); in guest_arm_spechelper()
392 binop(Iop_CmpEQ32, cc_dep1, mkU32(0))); in guest_arm_spechelper()
397 binop(Iop_CmpNE32, cc_dep1, mkU32(0))); in guest_arm_spechelper()
[all …]
Dhost_arm_isel.c184 static IRExpr* binop ( IROp op, IRExpr* a1, IRExpr* a2 ) in binop() function
3099 unop(Iop_Not64, binop(Iop_CmpGT8Sx8, bind(1), bind(0)))); in iselNeon64Expr_wrk()
3101 unop(Iop_Not64, binop(Iop_CmpGT16Sx4, bind(1), bind(0)))); in iselNeon64Expr_wrk()
3103 unop(Iop_Not64, binop(Iop_CmpGT32Sx2, bind(1), bind(0)))); in iselNeon64Expr_wrk()
3105 unop(Iop_Not64, binop(Iop_CmpGT8Ux8, bind(1), bind(0)))); in iselNeon64Expr_wrk()
3107 unop(Iop_Not64, binop(Iop_CmpGT16Ux4, bind(1), bind(0)))); in iselNeon64Expr_wrk()
3109 unop(Iop_Not64, binop(Iop_CmpGT32Ux2, bind(1), bind(0)))); in iselNeon64Expr_wrk()
3183 unop(Iop_Dup8x8, binop(Iop_GetElem8x8, bind(0), bind(1)))); in iselNeon64Expr_wrk()
3185 unop(Iop_Dup16x4, binop(Iop_GetElem16x4, bind(0), bind(1)))); in iselNeon64Expr_wrk()
3187 unop(Iop_Dup32x2, binop(Iop_GetElem32x2, bind(0), bind(1)))); in iselNeon64Expr_wrk()
[all …]
Dhost_amd64_isel.c82 static IRExpr* binop ( IROp op, IRExpr* a1, IRExpr* a2 ) in binop() function
1856 binop( Iop_Add64, in iselIntExpr_AMode_wrk()
1857 binop( Iop_Add64, in iselIntExpr_AMode_wrk()
1859 binop(Iop_Shl64, bind(1), bind(2)) in iselIntExpr_AMode_wrk()
2189 unop(Iop_CmpNEZ64, binop(Iop_Or64, bind(0), bind(1)))); in iselCondCode_wrk()
/external/valgrind/main/memcheck/
Dmc_translate.c403 #define binop(_op, _arg1, _arg2) IRExpr_Binop((_op),(_arg1),(_arg2)) macro
449 return assignNew('V', mce, Ity_I8, binop(Iop_And8, a1, a2)); in mkDifD8()
455 return assignNew('V', mce, Ity_I16, binop(Iop_And16, a1, a2)); in mkDifD16()
461 return assignNew('V', mce, Ity_I32, binop(Iop_And32, a1, a2)); in mkDifD32()
467 return assignNew('V', mce, Ity_I64, binop(Iop_And64, a1, a2)); in mkDifD64()
473 return assignNew('V', mce, Ity_V128, binop(Iop_AndV128, a1, a2)); in mkDifDV128()
481 return assignNew('V', mce, Ity_I8, binop(Iop_Or8, a1, a2)); in mkUifU8()
487 return assignNew('V', mce, Ity_I16, binop(Iop_Or16, a1, a2)); in mkUifU16()
493 return assignNew('V', mce, Ity_I32, binop(Iop_Or32, a1, a2)); in mkUifU32()
499 return assignNew('V', mce, Ity_I64, binop(Iop_Or64, a1, a2)); in mkUifU64()
[all …]
/external/llvm/examples/OCaml-Kaleidoscope/Chapter3/
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/
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/Chapter2/
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/test/CodeGen/X86/
D4char-promote.ll12 %binop = mul <4 x i8> %x, %y
13 %binop6 = add <4 x i8> %binop, %x
Dfast-isel-x86-64.ll6 ; Make sure that fast-isel folds the immediate into the binop even though it
/external/llvm/examples/OCaml-Kaleidoscope/Chapter5/
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/
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. *)
Dcodegen.ml50 build_call callee [|lhs_val; rhs_val|] "binop" builder
/external/llvm/examples/OCaml-Kaleidoscope/Chapter7/
Dparser.ml114 (* If this is a binop, find its precedence. *)
118 (* If this is a binop that binds at least as tightly as the current binop,
121 (* Eat the binop. *)
127 (* Okay, we know this is a binop. *)
Dcodegen.ml79 build_call callee [|lhs_val; rhs_val|] "binop" builder
/external/valgrind/main/exp-dhat/
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))); in add_counter_update()
846 ? binop(Iop_Sub32, mkexpr(sp), mkU32(rz_szB)) in addMemEvent()
847 : binop(Iop_Sub64, mkexpr(sp), mkU64(rz_szB))) in addMemEvent()
855 ? binop(Iop_Sub32, addr, mkexpr(sp_minus_rz)) in addMemEvent()
856 : binop(Iop_Sub64, addr, mkexpr(sp_minus_rz))) in addMemEvent()
864 ? binop(Iop_CmpLT32U, mkU32(THRESH), mkexpr(diff)) in addMemEvent()
865 : binop(Iop_CmpLT64U, mkU64(THRESH), mkexpr(diff))) in addMemEvent()
1019 #undef binop
/external/webkit/Source/ThirdParty/ANGLE/src/compiler/preprocessor/
Dcpp.c364 } binop[] = { variable
450 for (i = ALEN(binop) - 1; i >= 0; i--) { in eval()
451 if (binop[i].token == token) in eval()
454 if (i < 0 || binop[i].prec <= prec) in eval()
458 token = eval(token, binop[i].prec, res, err, yylvalpp); in eval()
459 *res = binop[i].op(val, *res); in eval()
/external/valgrind/main/exp-ptrcheck/
Dh_main.c3794 #define binop(_op, _arg1, _arg2) IRExpr_Binop((_op),(_arg1),(_arg2)) macro
4170 binop(Iop_Sub32,a1,a2) ) ); in instrument_arithop()
4273 binop(Iop_Sub64,a1,a2) ) ); in instrument_arithop()
4777 assign('I', pce, success, binop(cmpEQ, mkexpr(old), expd)); in schemeS()
4804 binop(cmpEQ, mkexpr(old), expd)); in schemeS()
4836 binop(cmpEQ, mkexpr(old), expd)); in schemeS()
4892 assign('I', pce, addrpp, binop(opADD, addr, step)); in schemeS()
4904 binop(opXOR, mkexpr(oldHi), expdHi)); in schemeS()
4907 binop(opXOR, mkexpr(oldLo), expdLo)); in schemeS()
4910 binop(opOR, mkexpr(diffHi), mkexpr(diffLo))); in schemeS()
[all …]
/external/valgrind/main/coregrind/m_debuginfo/
Dreaddwarf.c2832 op = Cop_Sub; opname = "minus"; goto binop; in dwarfexpr_to_dag()
2834 op = Cop_Add; opname = "plus"; goto binop; in dwarfexpr_to_dag()
2836 op = Cop_And; opname = "and"; goto binop; in dwarfexpr_to_dag()
2838 op = Cop_Mul; opname = "mul"; goto binop; in dwarfexpr_to_dag()
2839 binop: in dwarfexpr_to_dag()
/external/llvm/docs/HistoricalNotes/
D2007-OriginalClangReadme.txt135 highlight regions of interesting code (e.g. the LHS and RHS of a binop).

12