Home
last modified time | relevance | path

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

12

/external/valgrind/main/VEX/priv/
Dguest_ppc_toIR.c522 static IRExpr* unop ( IROp op, IRExpr* a ) in unop() function
584 return unop(Iop_32to1, binop(Iop_Or32, unop(Iop_1Uto32, arg1), in mkOR1()
585 unop(Iop_1Uto32, arg2))); in mkOR1()
592 return unop(Iop_32to1, binop(Iop_And32, unop(Iop_1Uto32, arg1), in mkAND1()
593 unop(Iop_1Uto32, arg2))); in mkAND1()
608 assign( ones8x16, unop(Iop_Dup8x16, mkU8(0x1)) ); in expand8Ux16()
626 assign( ones8x16, unop(Iop_Dup8x16, mkU8(0x1)) ); in expand8Sx16()
644 assign( ones16x8, unop(Iop_Dup16x8, mkU16(0x1)) ); in expand16Ux8()
662 assign( ones16x8, unop(Iop_Dup16x8, mkU16(0x1)) ); in expand16Sx8()
687 assign( hi64, unop(Iop_V128HIto64, t128) ); in breakV128to4xF64()
[all …]
Dguest_s390_helpers.c1185 #define unop(op,a1) IRExpr_Unop((op),(a1)) macro
1262 return unop(Iop_1Uto32, binop(Iop_CmpEQ64, cc_dep1, cc_dep2)); in guest_s390x_spechelper()
1265 return unop(Iop_1Uto32, binop(Iop_CmpNE64, cc_dep1, cc_dep2)); in guest_s390x_spechelper()
1268 return unop(Iop_1Uto32, binop(Iop_CmpLT64S, cc_dep1, cc_dep2)); in guest_s390x_spechelper()
1271 return unop(Iop_1Uto32, binop(Iop_CmpLE64S, cc_dep1, cc_dep2)); in guest_s390x_spechelper()
1275 return unop(Iop_1Uto32, binop(Iop_CmpLT64S, cc_dep2, cc_dep1)); in guest_s390x_spechelper()
1278 return unop(Iop_1Uto32, binop(Iop_CmpLE64S, cc_dep2, cc_dep1)); in guest_s390x_spechelper()
1298 return unop(Iop_1Uto32, binop(Iop_CmpEQ64, cc_dep1, cc_dep2)); in guest_s390x_spechelper()
1301 return unop(Iop_1Uto32, binop(Iop_CmpNE64, cc_dep1, cc_dep2)); in guest_s390x_spechelper()
1304 return unop(Iop_1Uto32, binop(Iop_CmpLT64U, cc_dep1, cc_dep2)); in guest_s390x_spechelper()
[all …]
Dguest_mips_toIR.c299 unop(Iop_32to8, \
322 assign(t3, binop(Iop_And32, IRExpr_Mux0X( unop(Iop_1Uto8, \
600 static IRExpr *unop(IROp op, IRExpr * a) in unop() function
668 assign(t0, unop(Iop_32to8, binop(Iop_And32, rs, mkU32(0x0000001F)))); in genRORV32()
767 return (sined) ? unop(Iop_32Sto64, src) : unop(Iop_32Uto64, src); in mkWidenFrom32()
778 return unop(Iop_32to16, e); in narrowTo()
780 return unop(Iop_32to8, e); in narrowTo()
783 return unop(Iop_64to8, e); in narrowTo()
787 return unop(Iop_64to16, e); in narrowTo()
805 return ty == Ity_I64 ? unop(Iop_64to32, src) : src; in mkNarrowTo32()
[all …]
Dguest_amd64_helpers.c877 # define unop(_op,_a1) IRExpr_Unop((_op),(_a1)) in guest_amd64_spechelper() macro
911 return unop(Iop_1Uto64, in guest_amd64_spechelper()
921 return unop(Iop_1Uto64, in guest_amd64_spechelper()
926 return unop(Iop_1Uto64, in guest_amd64_spechelper()
933 return unop(Iop_1Uto64, in guest_amd64_spechelper()
940 return unop(Iop_1Uto64, in guest_amd64_spechelper()
947 return unop(Iop_1Uto64, in guest_amd64_spechelper()
954 return unop(Iop_1Uto64, in guest_amd64_spechelper()
961 unop(Iop_1Uto64, in guest_amd64_spechelper()
970 return unop(Iop_1Uto64, in guest_amd64_spechelper()
[all …]
Dguest_arm_helpers.c558 # define unop(_op,_a1) IRExpr_Unop((_op),(_a1)) in guest_arm_spechelper() macro
595 return unop(Iop_1Uto32, in guest_arm_spechelper()
600 return unop(Iop_1Uto32, in guest_arm_spechelper()
607 return unop(Iop_1Uto32, in guest_arm_spechelper()
612 return unop(Iop_1Uto32, in guest_arm_spechelper()
618 return unop(Iop_1Uto32, in guest_arm_spechelper()
625 return unop(Iop_1Uto32, in guest_arm_spechelper()
632 return unop(Iop_1Uto32, in guest_arm_spechelper()
637 return unop(Iop_1Uto32, in guest_arm_spechelper()
643 return unop(Iop_1Uto32, in guest_arm_spechelper()
[all …]
Dguest_x86_helpers.c780 # define unop(_op,_a1) IRExpr_Unop((_op),(_a1)) in guest_x86_spechelper() macro
813 return unop(Iop_1Uto32, in guest_x86_spechelper()
823 return unop(Iop_1Uto32, in guest_x86_spechelper()
828 return unop(Iop_1Uto32, in guest_x86_spechelper()
835 return unop(Iop_1Uto32, in guest_x86_spechelper()
842 unop(Iop_1Uto32, in guest_x86_spechelper()
850 return unop(Iop_1Uto32, in guest_x86_spechelper()
858 unop(Iop_1Uto32, in guest_x86_spechelper()
866 return unop(Iop_1Uto32, in guest_x86_spechelper()
873 unop(Iop_1Uto32, in guest_x86_spechelper()
[all …]
Dguest_x86_toIR.c646 static IRExpr* unop ( IROp op, IRExpr* a ) in unop() function
741 return unop(Iop_32to1, in mkAnd1()
743 unop(Iop_1Uto32,x), in mkAnd1()
744 unop(Iop_1Uto32,y))); in mkAnd1()
827 return unop(Iop_32to1, call); in mk_x86g_calculate_condition()
874 case Ity_I16: return unop(Iop_16Uto32,e); in widenUto32()
875 case Ity_I8: return unop(Iop_8Uto32,e); in widenUto32()
885 case Ity_I16: return unop(Iop_16Sto32,e); in widenSto32()
886 case Ity_I8: return unop(Iop_8Sto32,e); in widenSto32()
899 return unop(Iop_32to16, e); in narrowTo()
[all …]
Dguest_arm_toIR.c295 static IRExpr* unop ( IROp op, IRExpr* a ) in unop() function
550 IRExpr_Mux0X( unop(Iop_32to8, mkexpr(guardT)), in putIRegA()
584 IRExpr_Mux0X( unop(Iop_32to8, mkexpr(guardT)), in putIRegT()
680 IRExpr_Mux0X( unop(Iop_32to8, mkexpr(guardT)), in putDReg()
724 IRExpr_Mux0X( unop(Iop_32to8, mkexpr(guardT)), in putDRegI64()
791 IRExpr_Mux0X( unop(Iop_32to8, mkexpr(guardT)), in putQReg()
851 IRExpr_Mux0X( unop(Iop_32to8, mkexpr(guardT)), in putFReg()
881 IRExpr_Mux0X( unop(Iop_32to8, mkexpr(guardT)), in putMiscReg32()
1253 res = unop(Iop_1Uto32, in mk_armg_calculate_flag_qc()
1272 res = unop(Iop_1Uto32, in mk_armg_calculate_flag_qc()
[all …]
Dguest_amd64_toIR.c248 static IRExpr* unop ( IROp op, IRExpr* a ) in unop() function
334 return unop(signd ? Iop_8Sto32 : Iop_8Uto32, src); in doScalarWidening()
337 return unop(signd ? Iop_8Sto16 : Iop_8Uto16, src); in doScalarWidening()
340 return unop(signd ? Iop_16Sto32 : Iop_16Uto32, src); in doScalarWidening()
343 return unop(Iop_8Uto64, src); in doScalarWidening()
346 return unop(Iop_8Sto64, src); in doScalarWidening()
349 return unop(Iop_16Uto64, src); in doScalarWidening()
352 return unop(Iop_16Sto64, src); in doScalarWidening()
1012 case 4: return unop(Iop_64to32, IRExpr_Get( OFFB_RAX, Ity_I64 )); in getIRegRAX()
1027 stmt( IRStmt_Put( OFFB_RAX, unop(Iop_32Uto64,e) )); in putIRegRAX()
[all …]
Dguest_s390_toIR.c159 unop(IROp kind, IRExpr *op) in unop() function
239 return IRExpr_Mux0X(unop(Iop_1Uto8, condition), iffalse, iftrue); in mkite()
306 condition = unop(Iop_Not1, condition); in if_condition_goto_computed()
460 IRExpr *high = unop(Iop_F128HItoF64, expr); in put_fpr_pair()
461 IRExpr *low = unop(Iop_F128LOtoF64, expr); in put_fpr_pair()
527 expr = unop(sign_extend ? Iop_32Sto64 : Iop_32Uto64, expr); in s390_cc_widen()
530 expr = unop(sign_extend ? Iop_16Sto64 : Iop_16Uto64, expr); in s390_cc_widen()
533 expr = unop(sign_extend ? Iop_8Sto64 : Iop_8Uto64, expr); in s390_cc_widen()
636 hi = unop(Iop_F128HItoF64, mkexpr(d1)); in s390_cc_thunk_put1f128()
637 lo = unop(Iop_F128LOtoF64, mkexpr(d1)); in s390_cc_thunk_put1f128()
[all …]
Dhost_s390_isel.c1124 IROp unop, binop; in s390_isel_int_expr_wrk() local
1132 unop = expr->Iex.Unop.op; in s390_isel_int_expr_wrk()
1136 ((unop == Iop_64to32 && in s390_isel_int_expr_wrk()
1138 (unop == Iop_128to64 && in s390_isel_int_expr_wrk()
1149 if (unop == Iop_ReinterpF64asI64 || unop == Iop_ReinterpF32asI32) { in s390_isel_int_expr_wrk()
1163 switch (unop) { in s390_isel_int_expr_wrk()
1200 if (unop == Iop_128to64) { in s390_isel_int_expr_wrk()
1207 if (unop == Iop_128HIto64) { in s390_isel_int_expr_wrk()
1217 switch (unop) { in s390_isel_int_expr_wrk()
1302 shift.variant.imm = (unop == Iop_CmpwNEZ32) ? 31 : 63; in s390_isel_int_expr_wrk()
Dhost_arm_isel.c191 static IRExpr* unop ( IROp op, IRExpr* a ) in unop() function
3125 unop(Iop_Not64, unop(Iop_CmpNEZ8x8, bind(0)))); in iselNeon64Expr_wrk()
3127 unop(Iop_Not64, unop(Iop_CmpNEZ16x4, bind(0)))); in iselNeon64Expr_wrk()
3129 unop(Iop_Not64, unop(Iop_CmpNEZ32x2, bind(0)))); in iselNeon64Expr_wrk()
3131 unop(Iop_Not64, binop(Iop_CmpGT8Sx8, bind(1), bind(0)))); in iselNeon64Expr_wrk()
3133 unop(Iop_Not64, binop(Iop_CmpGT16Sx4, bind(1), bind(0)))); in iselNeon64Expr_wrk()
3135 unop(Iop_Not64, binop(Iop_CmpGT32Sx2, bind(1), bind(0)))); in iselNeon64Expr_wrk()
3137 unop(Iop_Not64, binop(Iop_CmpGT8Ux8, bind(1), bind(0)))); in iselNeon64Expr_wrk()
3139 unop(Iop_Not64, binop(Iop_CmpGT16Ux4, bind(1), bind(0)))); in iselNeon64Expr_wrk()
3141 unop(Iop_Not64, binop(Iop_CmpGT32Ux2, bind(1), bind(0)))); in iselNeon64Expr_wrk()
[all …]
Dhost_s390_defs.c594 addHRegUse(u, HRmWrite, insn->variant.unop.dst); in s390_insn_get_reg_usage()
595 s390_opnd_RMI_get_reg_usage(u, insn->variant.unop.src); in s390_insn_get_reg_usage()
834 insn->variant.unop.dst = lookupHRegRemap(m, insn->variant.unop.dst); in s390_insn_map_regs()
835 s390_opnd_RMI_map_regs(m, &insn->variant.unop.src); in s390_insn_map_regs()
4319 insn->variant.unop.tag = tag; in s390_insn_unop()
4320 insn->variant.unop.dst = dst; in s390_insn_unop()
4321 insn->variant.unop.src = opnd; in s390_insn_unop()
4978 switch (insn->variant.unop.tag) { in s390_insn_as_string()
4998 s390_sprintf(buf, "%M %R,%O", op, insn->variant.unop.dst, in s390_insn_as_string()
4999 &insn->variant.unop.src); in s390_insn_as_string()
[all …]
Dhost_x86_isel.c91 static IRExpr* unop ( IROp op, IRExpr* a ) in unop() function
1062 unop(Iop_1Uto8,unop(Iop_32to1,bind(0)))); in iselIntExpr_R_wrk()
1078 unop(Iop_8Uto32, in iselIntExpr_R_wrk()
1092 unop(Iop_8Sto32, in iselIntExpr_R_wrk()
1106 unop(Iop_16Uto32, in iselIntExpr_R_wrk()
1731 unop(Iop_CmpNEZ32, binop(Iop_And32, bind(0), bind(1)))); in iselCondCode_wrk()
1746 unop(Iop_CmpNEZ32, binop(Iop_Or32, bind(0), bind(1)))); in iselCondCode_wrk()
1782 unop(Iop_CmpNEZ64, binop(Iop_Or64, bind(0), bind(1)))); in iselCondCode_wrk()
2628 unop(Iop_CmpwNEZ64,binop(Iop_Or64,bind(0),bind(1)))); in iselInt64Expr_wrk()
3207 unop(Iop_64UtoV128, in iselVecExpr_wrk()
Dhost_s390_defs.h322 } unop; member
Dhost_amd64_isel.c77 static IRExpr* unop ( IROp op, IRExpr* a ) in unop() function
1278 unop(Iop_1Uto8, unop(Iop_64to1, bind(0))) ); in iselIntExpr_R_wrk()
1293 unop(Iop_8Uto64, in iselIntExpr_R_wrk()
1306 unop(Iop_16Uto64, in iselIntExpr_R_wrk()
2137 unop(Iop_CmpNEZ64, binop(Iop_Or64, bind(0), bind(1)))); in iselCondCode_wrk()
Dhost_ppc_isel.c195 static IRExpr* unop ( IROp op, IRExpr* a ) in unop() function
1646 unop(Iop_1Uto8,unop(Iop_32to1,bind(0)))); in iselWordExpr_R_wrk()
1660 unop(Iop_16Uto32, in iselWordExpr_R_wrk()
/external/llvm/test/Transforms/InstCombine/
Dcast_ptr.ll54 %unop = type { i32 }
59 define %unop* @test5(%op* %O) {
60 …%tmp = load %unop* (%op*)** bitcast ([1 x %op* (%op*)*]* @Array to %unop* (%op*)**); <%unop* (%op*…
61 %tmp.2 = call %unop* %tmp( %op* %O ) ; <%unop*> [#uses=1]
62 ret %unop* %tmp.2
/external/valgrind/main/memcheck/
Dmc_translate.c425 #define unop(_op, _arg) IRExpr_Unop((_op),(_arg)) macro
549 tmp1 = assignNew('V', mce, Ity_I64, unop(Iop_128to64, a1)); in mkUifU128()
550 tmp2 = assignNew('V', mce, Ity_I64, unop(Iop_128HIto64, a1)); in mkUifU128()
551 tmp3 = assignNew('V', mce, Ity_I64, unop(Iop_128to64, a2)); in mkUifU128()
552 tmp4 = assignNew('V', mce, Ity_I64, unop(Iop_128HIto64, a2)); in mkUifU128()
589 return assignNew('V', mce, Ity_I8, unop(Iop_Left8, a1)); in mkLeft8()
594 return assignNew('V', mce, Ity_I16, unop(Iop_Left16, a1)); in mkLeft16()
599 return assignNew('V', mce, Ity_I32, unop(Iop_Left32, a1)); in mkLeft32()
604 return assignNew('V', mce, Ity_I64, unop(Iop_Left64, a1)); in mkLeft64()
671 assignNew('V', mce, Ity_I8, unop(Iop_Not8, data)), in mkImproveOR8()
[all …]
/external/valgrind/main/VEX/
Dtest_main.c693 #define unop(_op, _arg) IRExpr_Unop((_op),(_arg)) macro
880 assignNew(mce, Ity_I8, unop(Iop_Not8, data)), in mkImproveOR8()
892 assignNew(mce, Ity_I16, unop(Iop_Not16, data)), in mkImproveOR16()
904 assignNew(mce, Ity_I32, unop(Iop_Not32, data)), in mkImproveOR32()
916 assignNew(mce, Ity_I64, unop(Iop_Not64, data)), in mkImproveOR64()
928 assignNew(mce, Ity_V128, unop(Iop_NotV128, data)), in mkImproveORV128()
968 return assignNew(mce, Ity_I8, unop(Iop_1Sto8, tmp1)); in mkPCastTo()
970 return assignNew(mce, Ity_I16, unop(Iop_1Sto16, tmp1)); in mkPCastTo()
972 return assignNew(mce, Ity_I32, unop(Iop_1Sto32, tmp1)); in mkPCastTo()
974 return assignNew(mce, Ity_I64, unop(Iop_1Sto64, tmp1)); in mkPCastTo()
[all …]
/external/webkit/Source/ThirdParty/ANGLE/src/compiler/preprocessor/
Dcpp.c387 } unop[] = { variable
436 for (i = ALEN(unop) - 1; i >= 0; i--) { in eval()
437 if (unop[i].token == token) in eval()
443 *res = unop[i].op(*res); in eval()
/external/llvm/examples/OCaml-Kaleidoscope/Chapter6/
Dcodegen.ml28 build_call callee [|operand|] "unop" builder
/external/llvm/examples/OCaml-Kaleidoscope/Chapter7/
Dcodegen.ml37 build_call callee [|operand|] "unop" builder
/external/llvm/docs/tutorial/
DOCamlLangImpl6.rst398 build_call callee [|operand|] "unop" builder
1087 build_call callee [|operand|] "unop" builder
DLangImpl6.rst422 return Builder.CreateCall(F, OperandV, "unop");
1312 return Builder.CreateCall(F, OperandV, "unop");

12