Home
last modified time | relevance | path

Searched refs:unop (Results 1 – 25 of 34) sorted by relevance

12

/external/valgrind/VEX/priv/
Dguest_mips_toIR.c501 unop(Iop_32to8, \
513 unop(Iop_32to8, \
879 static IRExpr *unop(IROp op, IRExpr * a) in unop() function
953 assign(t0, unop(Iop_32to8, binop(Iop_And32, rs, mkU32(0x0000001F)))); in genRORV32()
1095 return unop(Iop_64to8, binop(Iop_And64, in getByteFromReg()
1099 return unop(Iop_32to8, binop(Iop_And32, in getByteFromReg()
1219 return ty == Ity_I64 ? unop(Iop_64to32, src) : src; in mkNarrowTo32()
1234 assign(t_hi, unop(Iop_64HIto32, getAcc(0))); in putLO()
1252 assign(t_lo, unop(Iop_64to32, getAcc(0))); in putHI()
1268 putLO(unop(Iop_64to32, e)); in putAcc()
[all …]
Dguest_tilegx_toIR.c120 static IRExpr *unop ( IROp op, IRExpr * a ) in unop() function
210 return unop(Iop_32to16, e); in narrowTo()
212 return unop(Iop_32to8, e); in narrowTo()
215 return unop(Iop_64to8, e); in narrowTo()
218 return unop(Iop_64to16, e); in narrowTo()
221 return unop(Iop_64to32, e); in narrowTo()
237 unop(Iop_32Sto64, _e) : \
239 unop(Iop_16Sto64, _e) : \
696 bstmt = dis_branch(unop(Iop_Not1, in disInstr_TILEGX_WRK()
705 bstmt = dis_branch(unop(Iop_64to1, in disInstr_TILEGX_WRK()
[all …]
Dguest_ppc_toIR.c605 static IRExpr* unop ( IROp op, IRExpr* a ) in unop() function
679 return unop(Iop_32to1, binop(Iop_Or32, unop(Iop_1Uto32, arg1), in mkOR1()
680 unop(Iop_1Uto32, arg2))); in mkOR1()
687 return unop(Iop_32to1, binop(Iop_And32, unop(Iop_1Uto32, arg1), in mkAND1()
688 unop(Iop_1Uto32, arg2))); in mkAND1()
703 assign( ones8x16, unop(Iop_Dup8x16, mkU8(0x1)) ); in expand8Ux16()
721 assign( ones8x16, unop(Iop_Dup8x16, mkU8(0x1)) ); in expand8Sx16()
739 assign( ones16x8, unop(Iop_Dup16x8, mkU16(0x1)) ); in expand16Ux8()
757 assign( ones16x8, unop(Iop_Dup16x8, mkU16(0x1)) ); in expand16Sx8()
782 assign( hi64, unop(Iop_V128HIto64, t128) ); in breakV128to4xF64()
[all …]
Dguest_arm64_helpers.c717 # define unop(_op,_a1) IRExpr_Unop((_op),(_a1)) in guest_arm64_spechelper() macro
755 return unop(Iop_1Uto64, in guest_arm64_spechelper()
760 return unop(Iop_1Uto64, in guest_arm64_spechelper()
768 return unop(Iop_1Uto64, in guest_arm64_spechelper()
773 return unop(Iop_1Uto64, in guest_arm64_spechelper()
780 return unop(Iop_1Uto64, in guest_arm64_spechelper()
786 return unop(Iop_1Uto64, in guest_arm64_spechelper()
793 return unop(Iop_1Uto64, in guest_arm64_spechelper()
799 return unop(Iop_1Uto64, in guest_arm64_spechelper()
807 return unop(Iop_1Uto64, in guest_arm64_spechelper()
[all …]
Dguest_s390_helpers.c1808 #define unop(op,a1) IRExpr_Unop((op),(a1)) macro
1885 return unop(Iop_1Uto32, binop(Iop_CmpEQ64, cc_dep1, cc_dep2)); in guest_s390x_spechelper()
1888 return unop(Iop_1Uto32, binop(Iop_CmpNE64, cc_dep1, cc_dep2)); in guest_s390x_spechelper()
1891 return unop(Iop_1Uto32, binop(Iop_CmpLT64S, cc_dep1, cc_dep2)); in guest_s390x_spechelper()
1894 return unop(Iop_1Uto32, binop(Iop_CmpLE64S, cc_dep1, cc_dep2)); in guest_s390x_spechelper()
1898 return unop(Iop_1Uto32, binop(Iop_CmpLT64S, cc_dep2, cc_dep1)); in guest_s390x_spechelper()
1901 return unop(Iop_1Uto32, binop(Iop_CmpLE64S, cc_dep2, cc_dep1)); in guest_s390x_spechelper()
1921 return unop(Iop_1Uto32, binop(Iop_CmpEQ64, cc_dep1, cc_dep2)); in guest_s390x_spechelper()
1924 return unop(Iop_1Uto32, binop(Iop_CmpNE64, cc_dep1, cc_dep2)); in guest_s390x_spechelper()
1927 return unop(Iop_1Uto32, binop(Iop_CmpLT64U, cc_dep1, cc_dep2)); in guest_s390x_spechelper()
[all …]
Dir_inject.c41 #define unop(kind, a) IRExpr_Unop(kind, a) macro
67 return unop(Iop_ReinterpI64asD64, in load_aux()
72 return unop(Iop_32to1, IRExpr_Load(endian, Ity_I32, addr)); in load_aux()
131 data = unop(Iop_ReinterpD64asI64, data); in store_aux()
136 data = unop(Iop_1Uto32, data); in store_aux()
173 store_aux(irsb, endian, addr, unop(high, data)); in store()
174 store_aux(irsb, endian, next_addr, unop(low, data)); in store()
177 store_aux(irsb, endian, addr, unop(low, data)); in store()
178 store_aux(irsb, endian, next_addr, unop(high, data)); in store()
207 data = unop(iricb.op, opnd1); in vex_inject_ir()
Dguest_amd64_helpers.c995 # define unop(_op,_a1) IRExpr_Unop((_op),(_a1)) in guest_amd64_spechelper() macro
1029 return unop(Iop_1Uto64, in guest_amd64_spechelper()
1052 unop(Iop_Not64, in guest_amd64_spechelper()
1088 return unop(Iop_1Uto64, in guest_amd64_spechelper()
1095 return unop(Iop_1Uto64, in guest_amd64_spechelper()
1102 return unop(Iop_1Uto64, in guest_amd64_spechelper()
1107 return unop(Iop_1Uto64, in guest_amd64_spechelper()
1115 return unop(Iop_1Uto64, in guest_amd64_spechelper()
1122 unop(Iop_1Uto64, in guest_amd64_spechelper()
1151 return unop(Iop_1Uto64, in guest_amd64_spechelper()
[all …]
Dguest_arm_helpers.c559 # define unop(_op,_a1) IRExpr_Unop((_op),(_a1)) in guest_arm_spechelper() macro
596 return unop(Iop_1Uto32, in guest_arm_spechelper()
601 return unop(Iop_1Uto32, in guest_arm_spechelper()
608 return unop(Iop_1Uto32, in guest_arm_spechelper()
613 return unop(Iop_1Uto32, in guest_arm_spechelper()
619 return unop(Iop_1Uto32, in guest_arm_spechelper()
626 return unop(Iop_1Uto32, in guest_arm_spechelper()
633 return unop(Iop_1Uto32, in guest_arm_spechelper()
638 return unop(Iop_1Uto32, in guest_arm_spechelper()
644 return unop(Iop_1Uto32, in guest_arm_spechelper()
[all …]
Dguest_x86_helpers.c818 # define unop(_op,_a1) IRExpr_Unop((_op),(_a1)) in guest_x86_spechelper() macro
851 return unop(Iop_1Uto32, in guest_x86_spechelper()
861 return unop(Iop_1Uto32, in guest_x86_spechelper()
866 return unop(Iop_1Uto32, in guest_x86_spechelper()
873 return unop(Iop_1Uto32, in guest_x86_spechelper()
880 unop(Iop_1Uto32, in guest_x86_spechelper()
888 return unop(Iop_1Uto32, in guest_x86_spechelper()
896 unop(Iop_1Uto32, in guest_x86_spechelper()
904 return unop(Iop_1Uto32, in guest_x86_spechelper()
911 unop(Iop_1Uto32, in guest_x86_spechelper()
[all …]
Dguest_x86_toIR.c643 static IRExpr* unop ( IROp op, IRExpr* a ) in unop() function
739 return unop(Iop_32to1, in mkAnd1()
741 unop(Iop_1Uto32,x), in mkAnd1()
742 unop(Iop_1Uto32,y))); in mkAnd1()
825 return unop(Iop_32to1, call); in mk_x86g_calculate_condition()
872 case Ity_I16: return unop(Iop_16Uto32,e); in widenUto32()
873 case Ity_I8: return unop(Iop_8Uto32,e); in widenUto32()
883 case Ity_I16: return unop(Iop_16Sto32,e); in widenSto32()
884 case Ity_I8: return unop(Iop_8Sto32,e); in widenSto32()
897 return unop(Iop_32to16, e); in narrowTo()
[all …]
Dguest_arm_toIR.c298 static IRExpr* unop ( IROp op, IRExpr* a ) in unop() function
356 loaded = unop(Iop_8Uto32, loadLE(Ity_I8, addr)); break; in loadGuardedLE()
358 loaded = unop(Iop_8Sto32, loadLE(Ity_I8, addr)); break; in loadGuardedLE()
360 loaded = unop(Iop_16Uto32, loadLE(Ity_I16, addr)); break; in loadGuardedLE()
362 loaded = unop(Iop_16Sto32, loadLE(Ity_I16, addr)); break; in loadGuardedLE()
1405 unop(Iop_Not1, unop(Iop_32to1, mkexpr(guardT))), in mk_skip_over_A32_if_cond_is_false()
1422 unop(Iop_Not1, unop(Iop_32to1, mkexpr(guardT))), in mk_skip_over_T16_if_cond_is_false()
1440 unop(Iop_Not1, unop(Iop_32to1, mkexpr(guardT))), in mk_skip_over_T32_if_cond_is_false()
1516 unop(Iop_1Uto32, in synthesise_APSR()
1524 = unop(Iop_1Uto32, binop(Iop_CmpNE32, get_GEFLAG32(0), mkU32(0))); in synthesise_APSR()
[all …]
Dguest_amd64_toIR.c243 static IRExpr* unop ( IROp op, IRExpr* a ) in unop() function
329 return unop(signd ? Iop_8Sto32 : Iop_8Uto32, src); in doScalarWidening()
332 return unop(signd ? Iop_8Sto16 : Iop_8Uto16, src); in doScalarWidening()
335 return unop(signd ? Iop_16Sto32 : Iop_16Uto32, src); in doScalarWidening()
338 return unop(Iop_8Uto64, src); in doScalarWidening()
341 return unop(Iop_8Sto64, src); in doScalarWidening()
344 return unop(Iop_16Uto64, src); in doScalarWidening()
347 return unop(Iop_16Sto64, src); in doScalarWidening()
1020 case 4: return unop(Iop_64to32, IRExpr_Get( OFFB_RAX, Ity_I64 )); in getIRegRAX()
1035 stmt( IRStmt_Put( OFFB_RAX, unop(Iop_32Uto64,e) )); in putIRegRAX()
[all …]
Dguest_arm64_toIR.c275 static IRExpr* unop ( IROp op, IRExpr* a ) in unop() function
1042 case Ity_I32: return unop(Iop_32Uto64, e); in widenUto64()
1043 case Ity_I16: return unop(Iop_16Uto64, e); in widenUto64()
1044 case Ity_I8: return unop(Iop_8Uto64, e); in widenUto64()
1055 case Ity_I32: return unop(Iop_64to32, e); in narrowFrom64()
1056 case Ity_I16: return unop(Iop_64to16, e); in narrowFrom64()
1057 case Ity_I8: return unop(Iop_64to8, e); in narrowFrom64()
1272 return unop(Iop_64to32, in getIReg32orSP()
1282 return unop(Iop_64to32, in getIReg32orZR()
1289 stmt( IRStmt_Put(offsetIReg64orSP(iregNo), unop(Iop_32Uto64, e)) ); in putIReg32orSP()
[all …]
Dguest_s390_toIR.c154 unop(IROp kind, IRExpr *op) in unop() function
301 condition = unop(Iop_Not1, condition); in if_condition_goto_computed()
444 IRExpr *high = unop(Iop_F128HItoF64, expr); in put_fpr_pair()
445 IRExpr *low = unop(Iop_F128LOtoF64, expr); in put_fpr_pair()
467 IRExpr *high = unop(Iop_D128HItoD64, expr); in put_dpr_pair()
468 IRExpr *low = unop(Iop_D128LOtoD64, expr); in put_dpr_pair()
567 expr = unop(sign_extend ? Iop_32Sto64 : Iop_32Uto64, expr); in s390_cc_widen()
570 expr = unop(sign_extend ? Iop_16Sto64 : Iop_16Uto64, expr); in s390_cc_widen()
573 expr = unop(sign_extend ? Iop_8Sto64 : Iop_8Uto64, expr); in s390_cc_widen()
692 hi = unop(Iop_F128HItoF64, mkexpr(d1)); in s390_cc_thunk_put1f128()
[all …]
Dhost_s390_isel.c1548 IROp unop, binop; in s390_isel_int_expr_wrk() local
1556 unop = expr->Iex.Unop.op; in s390_isel_int_expr_wrk()
1560 ((unop == Iop_64to32 && in s390_isel_int_expr_wrk()
1562 (unop == Iop_128to64 && in s390_isel_int_expr_wrk()
1573 if (unop == Iop_ReinterpF64asI64 || unop == Iop_ReinterpF32asI32) { in s390_isel_int_expr_wrk()
1581 if (unop == Iop_ReinterpD64asI64) { in s390_isel_int_expr_wrk()
1589 if (unop == Iop_ExtractExpD64 || unop == Iop_ExtractSigD64) { in s390_isel_int_expr_wrk()
1591 switch(unop) { in s390_isel_int_expr_wrk()
1602 if (unop == Iop_ExtractExpD128 || unop == Iop_ExtractSigD128) { in s390_isel_int_expr_wrk()
1606 switch(unop) { in s390_isel_int_expr_wrk()
[all …]
Dhost_arm_isel.c183 static IRExpr* unop ( IROp op, IRExpr* a ) in unop() function
3228 unop(Iop_Not64, unop(Iop_CmpNEZ8x8, bind(0)))); in iselNeon64Expr_wrk()
3230 unop(Iop_Not64, unop(Iop_CmpNEZ16x4, bind(0)))); in iselNeon64Expr_wrk()
3232 unop(Iop_Not64, unop(Iop_CmpNEZ32x2, bind(0)))); in iselNeon64Expr_wrk()
3234 unop(Iop_Not64, binop(Iop_CmpGT8Sx8, bind(1), bind(0)))); in iselNeon64Expr_wrk()
3236 unop(Iop_Not64, binop(Iop_CmpGT16Sx4, bind(1), bind(0)))); in iselNeon64Expr_wrk()
3238 unop(Iop_Not64, binop(Iop_CmpGT32Sx2, bind(1), bind(0)))); in iselNeon64Expr_wrk()
3240 unop(Iop_Not64, binop(Iop_CmpGT8Ux8, bind(1), bind(0)))); in iselNeon64Expr_wrk()
3242 unop(Iop_Not64, binop(Iop_CmpGT16Ux4, bind(1), bind(0)))); in iselNeon64Expr_wrk()
3244 unop(Iop_Not64, binop(Iop_CmpGT32Ux2, bind(1), bind(0)))); in iselNeon64Expr_wrk()
[all …]
Dhost_x86_isel.c91 static IRExpr* unop ( IROp op, IRExpr* a ) in unop() function
1162 unop(Iop_1Uto8,unop(Iop_32to1,bind(0)))); in iselIntExpr_R_wrk()
1178 unop(Iop_8Uto32, in iselIntExpr_R_wrk()
1192 unop(Iop_8Sto32, in iselIntExpr_R_wrk()
1206 unop(Iop_16Uto32, in iselIntExpr_R_wrk()
1854 unop(Iop_CmpNEZ32, binop(Iop_And32, bind(0), bind(1)))); in iselCondCode_wrk()
1869 unop(Iop_CmpNEZ32, binop(Iop_Or32, bind(0), bind(1)))); in iselCondCode_wrk()
1905 unop(Iop_CmpNEZ64, binop(Iop_Or64, bind(0), bind(1)))); in iselCondCode_wrk()
2724 unop(Iop_CmpwNEZ64,binop(Iop_Or64,bind(0),bind(1)))); in iselInt64Expr_wrk()
3317 unop(Iop_64UtoV128, in iselVecExpr_wrk()
Dhost_s390_defs.c614 addHRegUse(u, HRmWrite, insn->variant.unop.dst); in s390_insn_get_reg_usage()
615 s390_opnd_RMI_get_reg_usage(u, insn->variant.unop.src); in s390_insn_get_reg_usage()
936 insn->variant.unop.dst = lookupHRegRemap(m, insn->variant.unop.dst); in s390_insn_map_regs()
937 s390_opnd_RMI_map_regs(m, &insn->variant.unop.src); in s390_insn_map_regs()
5462 insn->variant.unop.tag = tag; in s390_insn_unop()
5463 insn->variant.unop.dst = dst; in s390_insn_unop()
5464 insn->variant.unop.src = opnd; in s390_insn_unop()
6606 switch (insn->variant.unop.tag) { in s390_insn_as_string()
6626 s390_sprintf(buf, "%M %R,%O", op, insn->variant.unop.dst, in s390_insn_as_string()
6627 &insn->variant.unop.src); in s390_insn_as_string()
[all …]
Dhost_s390_defs.h439 } unop; member
/external/llvm/test/Transforms/InstCombine/
Dcast_ptr.ll104 %unop = type { i32 }
109 define %unop* @test5(%op* %O) {
110 …%tmp = load %unop* (%op*)*, %unop* (%op*)** bitcast ([1 x %op* (%op*)*]* @Array to %unop* (%op*)**…
111 %tmp.2 = call %unop* %tmp( %op* %O ) ; <%unop*> [#uses=1]
112 ret %unop* %tmp.2
/external/valgrind/memcheck/
Dmc_translate.c439 #define unop(_op, _arg) IRExpr_Unop((_op),(_arg)) macro
564 tmp1 = assignNew('V', mce, Ity_I64, unop(Iop_128to64, a1)); in mkUifU128()
565 tmp2 = assignNew('V', mce, Ity_I64, unop(Iop_128HIto64, a1)); in mkUifU128()
566 tmp3 = assignNew('V', mce, Ity_I64, unop(Iop_128to64, a2)); in mkUifU128()
567 tmp4 = assignNew('V', mce, Ity_I64, unop(Iop_128HIto64, a2)); in mkUifU128()
605 return assignNew('V', mce, Ity_I8, unop(Iop_Left8, a1)); in mkLeft8()
610 return assignNew('V', mce, Ity_I16, unop(Iop_Left16, a1)); in mkLeft16()
615 return assignNew('V', mce, Ity_I32, unop(Iop_Left32, a1)); in mkLeft32()
620 return assignNew('V', mce, Ity_I64, unop(Iop_Left64, a1)); in mkLeft64()
687 assignNew('V', mce, Ity_I8, unop(Iop_Not8, data)), in mkImproveOR8()
[all …]
/external/valgrind/VEX/useful/
Dtest_main.c737 #define unop(_op, _arg) IRExpr_Unop((_op),(_arg)) macro
924 assignNew(mce, Ity_I8, unop(Iop_Not8, data)), in mkImproveOR8()
936 assignNew(mce, Ity_I16, unop(Iop_Not16, data)), in mkImproveOR16()
948 assignNew(mce, Ity_I32, unop(Iop_Not32, data)), in mkImproveOR32()
960 assignNew(mce, Ity_I64, unop(Iop_Not64, data)), in mkImproveOR64()
972 assignNew(mce, Ity_V128, unop(Iop_NotV128, data)), in mkImproveORV128()
1012 return assignNew(mce, Ity_I8, unop(Iop_1Sto8, tmp1)); in mkPCastTo()
1014 return assignNew(mce, Ity_I16, unop(Iop_1Sto16, tmp1)); in mkPCastTo()
1016 return assignNew(mce, Ity_I32, unop(Iop_1Sto32, tmp1)); in mkPCastTo()
1018 return assignNew(mce, Ity_I64, unop(Iop_1Sto64, tmp1)); in mkPCastTo()
[all …]
/external/v8/test/cctest/compiler/
Dtest-machine-operator-reducer.cc58 unop(NULL), in ReducerTester()
72 const Operator* unop; member in v8::internal::compiler::ReducerTester
/external/llvm/examples/OCaml-Kaleidoscope/Chapter6/
Dcodegen.ml28 build_call callee [|operand|] "unop" builder
/external/valgrind/coregrind/m_debuginfo/
Dreaddwarf.c2894 uop = Cunop_Abs; opname = "abs"; goto unop; in dwarfexpr_to_dag()
2896 uop = Cunop_Neg; opname = "neg"; goto unop; in dwarfexpr_to_dag()
2898 uop = Cunop_Not; opname = "not"; goto unop; in dwarfexpr_to_dag()
2899 unop: in dwarfexpr_to_dag()

12