Home
last modified time | relevance | path

Searched refs:lhs (Results 1 – 25 of 268) sorted by relevance

1234567891011

/dragonfly/contrib/gcc-8.0/gcc/
HDgimple-builder.c52 build_assign (enum tree_code code, tree op1, int val, tree lhs) in build_assign() argument
55 if (lhs == NULL_TREE) in build_assign()
56 lhs = make_ssa_name (get_expr_type (code, op1)); in build_assign()
57 return gimple_build_assign (lhs, code, op1, op2); in build_assign()
61 build_assign (enum tree_code code, gimple *g, int val, tree lhs ) in build_assign() argument
63 return build_assign (code, gimple_assign_lhs (g), val, lhs); in build_assign()
76 build_assign (enum tree_code code, tree op1, tree op2, tree lhs) in build_assign() argument
78 if (lhs == NULL_TREE) in build_assign()
79 lhs = make_ssa_name (get_expr_type (code, op1)); in build_assign()
80 return gimple_build_assign (lhs, code, op1, op2); in build_assign()
[all …]
HDtree-stdarg.c119 tree lhs, orig_lhs; in va_list_counter_bump() local
135 orig_lhs = lhs = rhs; in va_list_counter_bump()
136 while (lhs) in va_list_counter_bump()
141 if (si->offsets[SSA_NAME_VERSION (lhs)] != -1) in va_list_counter_bump()
149 ret -= counter_val - si->offsets[SSA_NAME_VERSION (lhs)]; in va_list_counter_bump()
153 stmt = SSA_NAME_DEF_STMT (lhs); in va_list_counter_bump()
155 if (!is_gimple_assign (stmt) || gimple_assign_lhs (stmt) != lhs) in va_list_counter_bump()
164 lhs = rhs1; in va_list_counter_bump()
174 lhs = rhs1; in va_list_counter_bump()
184 lhs = TREE_OPERAND (TREE_OPERAND (rhs1, 0), 0); in va_list_counter_bump()
[all …]
HDtree-ssa.c225 tree lhs = gimple_get_lhs (stmt); in gimple_replace_ssa_lhs() local
227 gcc_assert (SSA_NAME_DEF_STMT (lhs) == stmt); in gimple_replace_ssa_lhs()
229 insert_debug_temp_for_var_def (NULL, lhs); in gimple_replace_ssa_lhs()
1474 non_rewritable_lvalue_p (tree lhs) in non_rewritable_lvalue_p() argument
1477 if (DECL_P (lhs)) in non_rewritable_lvalue_p()
1482 if ((TREE_CODE (lhs) == REALPART_EXPR in non_rewritable_lvalue_p()
1483 || TREE_CODE (lhs) == IMAGPART_EXPR) in non_rewritable_lvalue_p()
1484 && DECL_P (TREE_OPERAND (lhs, 0))) in non_rewritable_lvalue_p()
1489 if (TREE_CODE (lhs) == MEM_REF in non_rewritable_lvalue_p()
1490 && TREE_CODE (TREE_OPERAND (lhs, 0)) == ADDR_EXPR) in non_rewritable_lvalue_p()
[all …]
HDtree-ssa-strlen.c579 tree callee, lhs, fn, tem; in get_string_length() local
586 lhs = gimple_call_lhs (stmt); in get_string_length()
601 gcc_assert (lhs == NULL_TREE); in get_string_length()
611 lhs = make_ssa_name (TREE_TYPE (TREE_TYPE (fn)), lenstmt); in get_string_length()
612 gimple_call_set_lhs (lenstmt, lhs); in get_string_length()
616 if (!ptrofftype_p (TREE_TYPE (lhs))) in get_string_length()
618 lhs = convert_to_ptrofftype (lhs); in get_string_length()
619 lhs = force_gimple_operand_gsi (&gsi, lhs, true, NULL_TREE, in get_string_length()
624 POINTER_PLUS_EXPR,tem, lhs); in get_string_length()
627 lhs = NULL_TREE; in get_string_length()
[all …]
HDinternal-fn.c130 tree type, lhs, rhs; in expand_load_lanes_optab_fn() local
133 lhs = gimple_call_lhs (stmt); in expand_load_lanes_optab_fn()
135 type = TREE_TYPE (lhs); in expand_load_lanes_optab_fn()
137 target = expand_expr (lhs, NULL_RTX, VOIDmode, EXPAND_WRITE); in expand_load_lanes_optab_fn()
154 tree type, lhs, rhs; in expand_store_lanes_optab_fn() local
157 lhs = gimple_call_lhs (stmt); in expand_store_lanes_optab_fn()
161 target = expand_expr (lhs, NULL_RTX, VOIDmode, EXPAND_WRITE); in expand_store_lanes_optab_fn()
200 tree lhs = gimple_call_lhs (stmt); in expand_GOMP_SIMT_ENTER_ALLOC() local
201 if (lhs) in expand_GOMP_SIMT_ENTER_ALLOC()
202 target = expand_expr (lhs, NULL_RTX, VOIDmode, EXPAND_WRITE); in expand_GOMP_SIMT_ENTER_ALLOC()
[all …]
HDgimple-builder.h24 gassign *build_assign (enum tree_code, tree, int, tree lhs = NULL_TREE);
25 gassign *build_assign (enum tree_code, gimple *, int, tree lhs = NULL_TREE);
26 gassign *build_assign (enum tree_code, tree, tree, tree lhs = NULL_TREE);
27 gassign *build_assign (enum tree_code, gimple *, tree, tree lhs = NULL_TREE);
28 gassign *build_assign (enum tree_code, tree, gimple *, tree lhs = NULL_TREE);
30 tree lhs = NULL_TREE);
31 gassign *build_type_cast (tree, tree, tree lhs = NULL_TREE);
32 gassign *build_type_cast (tree, gimple *, tree lhs = NULL_TREE);
HDtree-ssa-structalias.c526 struct constraint_expr lhs; member
652 new_constraint (const struct constraint_expr lhs, in new_constraint() argument
656 ret->lhs = lhs; in new_constraint()
666 if (c->lhs.type == ADDRESSOF) in dump_constraint()
668 else if (c->lhs.type == DEREF) in dump_constraint()
670 fprintf (file, "%s", get_varinfo (c->lhs.var)->name); in dump_constraint()
671 if (c->lhs.offset == UNKNOWN_OFFSET) in dump_constraint()
673 else if (c->lhs.offset != 0) in dump_constraint()
674 fprintf (file, " + " HOST_WIDE_INT_PRINT_DEC, c->lhs.offset); in dump_constraint()
872 if (constraint_expr_less (a->lhs, b->lhs)) in constraint_less()
[all …]
HDtree-ssa-dom.c382 edge_info::record_simple_equiv (tree lhs, tree rhs) in record_simple_equiv() argument
388 derive_equivalences (lhs, rhs, 4); in record_simple_equiv()
390 simple_equivalences.safe_push (equiv_pair (lhs, rhs)); in record_simple_equiv()
949 tree lhs = gimple_assign_lhs (assign_stmt); in simplify_stmt_for_jump_threading() local
950 if (TREE_CODE (lhs) == SSA_NAME in simplify_stmt_for_jump_threading()
951 && (INTEGRAL_TYPE_P (TREE_TYPE (lhs)) in simplify_stmt_for_jump_threading()
952 || POINTER_TYPE_P (TREE_TYPE (lhs))) in simplify_stmt_for_jump_threading()
985 back_propagate_equivalences (tree lhs, edge e, in back_propagate_equivalences() argument
999 FOR_EACH_IMM_USE_FAST (use_p, iter, lhs) in back_propagate_equivalences()
1074 tree lhs = seq->first; in record_temporary_equivalences() local
[all …]
HDgimplify-me.c156 tree lhs; in gimple_regimplify_operands() local
251 lhs = gimple_get_lhs (stmt); in gimple_regimplify_operands()
254 if (lhs && !is_gimple_reg (lhs)) in gimple_regimplify_operands()
265 else if (is_gimple_reg (lhs)) in gimple_regimplify_operands()
267 if (is_gimple_reg_type (TREE_TYPE (lhs))) in gimple_regimplify_operands()
282 if (is_gimple_reg_type (TREE_TYPE (lhs))) in gimple_regimplify_operands()
284 else if (TYPE_MODE (TREE_TYPE (lhs)) != BLKmode) in gimple_regimplify_operands()
290 if (!aggregate_value_p (TREE_TYPE (lhs), fndecl) in gimple_regimplify_operands()
301 tree temp = create_tmp_reg (TREE_TYPE (lhs)); in gimple_regimplify_operands()
303 && is_gimple_reg_type (TREE_TYPE (lhs))) in gimple_regimplify_operands()
[all …]
HDtree-ssa-phionlycprop.c104 propagate_rhs_into_lhs (gimple *stmt, tree lhs, tree rhs, in propagate_rhs_into_lhs() argument
110 if (may_propagate_copy (lhs, rhs)) in propagate_rhs_into_lhs()
121 print_generic_expr (dump_file, lhs, dump_flags); in propagate_rhs_into_lhs()
131 FOR_EACH_IMM_USE_STMT (use_stmt, iter, lhs) in propagate_rhs_into_lhs()
141 && ! may_propagate_copy_into_asm (lhs)) in propagate_rhs_into_lhs()
320 gcc_assert (!all || has_zero_uses (lhs)); in propagate_rhs_into_lhs()
348 tree lhs = get_lhs_or_phi_result (stmt); in eliminate_const_or_copy() local
350 int version = SSA_NAME_VERSION (lhs); in eliminate_const_or_copy()
358 if (has_zero_uses (lhs)) in eliminate_const_or_copy()
374 if (!virtual_operand_p (lhs)) in eliminate_const_or_copy()
[all …]
/dragonfly/sys/ddb/
HDdb_expr.c130 db_expr_t lhs, rhs; in db_mult_expr() local
135 if (!db_unary(&lhs)) in db_mult_expr()
145 lhs *= rhs; in db_mult_expr()
152 lhs /= rhs; in db_mult_expr()
154 lhs %= rhs; in db_mult_expr()
156 lhs = roundup(lhs, rhs); in db_mult_expr()
161 *valuep = lhs; in db_mult_expr()
168 db_expr_t lhs, rhs; in db_add_expr() local
173 if (!db_mult_expr(&lhs)) in db_add_expr()
183 lhs += rhs; in db_add_expr()
[all …]
/dragonfly/contrib/gcc-4.7/gcc/
HDtree-stdarg.c116 tree lhs, orig_lhs; in va_list_counter_bump() local
132 orig_lhs = lhs = rhs; in va_list_counter_bump()
133 while (lhs) in va_list_counter_bump()
138 if (si->offsets[SSA_NAME_VERSION (lhs)] != -1) in va_list_counter_bump()
146 ret -= counter_val - si->offsets[SSA_NAME_VERSION (lhs)]; in va_list_counter_bump()
150 stmt = SSA_NAME_DEF_STMT (lhs); in va_list_counter_bump()
152 if (!is_gimple_assign (stmt) || gimple_assign_lhs (stmt) != lhs) in va_list_counter_bump()
161 lhs = rhs1; in va_list_counter_bump()
171 lhs = rhs1; in va_list_counter_bump()
181 lhs = TREE_OPERAND (TREE_OPERAND (rhs1, 0), 0); in va_list_counter_bump()
[all …]
HDtree-ssa-strlen.c396 tree callee, lhs, lhs_var, fn, tem; in get_string_length() local
403 lhs = gimple_call_lhs (stmt); in get_string_length()
417 gcc_assert (lhs == NULL_TREE); in get_string_length()
422 lhs = make_ssa_name (lhs_var, lenstmt); in get_string_length()
423 gimple_call_set_lhs (lenstmt, lhs); in get_string_length()
433 tem, lhs); in get_string_length()
436 lhs = NULL_TREE; in get_string_length()
444 gcc_assert (lhs == NULL_TREE); in get_string_length()
453 lhs = make_ssa_name (lhs_var, stmt); in get_string_length()
454 gimple_call_set_lhs (stmt, lhs); in get_string_length()
[all …]
HDtree-ssa-dom.c103 tree lhs; member
136 tree lhs; local
203 initialize_hash_element (gimple stmt, tree lhs, in initialize_hash_element() argument
302 element->lhs = lhs; in initialize_hash_element()
340 tree lhs, in initialize_hash_element_from_expr() argument
344 element->lhs = lhs; in initialize_hash_element_from_expr()
575 if (element->lhs) in print_expr_hash_elt()
577 print_generic_expr (stream, element->lhs, 0); in print_expr_hash_elt()
1034 tree lhs = gimple_phi_result (phi); in record_equivalences_from_phis() local
1045 if (lhs == t) in record_equivalences_from_phis()
[all …]
HDtree-ssa-structalias.c491 struct constraint_expr lhs; member
617 new_constraint (const struct constraint_expr lhs, in new_constraint() argument
621 ret->lhs = lhs; in new_constraint()
631 if (c->lhs.type == ADDRESSOF) in dump_constraint()
633 else if (c->lhs.type == DEREF) in dump_constraint()
635 fprintf (file, "%s", get_varinfo (c->lhs.var)->name); in dump_constraint()
636 if (c->lhs.offset == UNKNOWN_OFFSET) in dump_constraint()
638 else if (c->lhs.offset != 0) in dump_constraint()
639 fprintf (file, " + " HOST_WIDE_INT_PRINT_DEC, c->lhs.offset); in dump_constraint()
833 if (constraint_expr_less (a->lhs, b->lhs)) in constraint_less()
[all …]
HDtree-ssa-phiopt.c657 tree lhs; in value_replacement() local
665 lhs = gimple_assign_lhs (stmt); in value_replacement()
666 if (!((lhs == arg0 in value_replacement()
668 || (lhs == arg1 in value_replacement()
830 tree lhs, op0, op1, bound; in minmax_replacement() local
836 lhs = gimple_assign_lhs (assign); in minmax_replacement()
846 if (!operand_equal_for_phi_arg_p (lhs, arg_true)) in minmax_replacement()
905 if (!operand_equal_for_phi_arg_p (lhs, arg_false)) in minmax_replacement()
995 tree rhs, lhs; in abs_replacement() local
1019 lhs = gimple_assign_lhs (assign); in abs_replacement()
[all …]
HDtree-complex.c165 is_complex_reg (tree lhs) in is_complex_reg() argument
167 return TREE_CODE (TREE_TYPE (lhs)) == COMPLEX_TYPE && is_gimple_reg (lhs); in is_complex_reg()
301 tree lhs; in complex_visit_stmt() local
303 lhs = gimple_get_lhs (stmt); in complex_visit_stmt()
305 if (!lhs) in complex_visit_stmt()
310 gcc_assert (TREE_CODE (lhs) == SSA_NAME); in complex_visit_stmt()
311 gcc_assert (TREE_CODE (TREE_TYPE (lhs)) == COMPLEX_TYPE); in complex_visit_stmt()
313 *result_p = lhs; in complex_visit_stmt()
314 ver = SSA_NAME_VERSION (lhs); in complex_visit_stmt()
395 tree lhs; in complex_visit_phi() local
[all …]
HDtree-ssa-sink.c146 tree lhs; in is_hidden_global_store() local
175 lhs = gimple_get_lhs (stmt); in is_hidden_global_store()
177 if (REFERENCE_CLASS_P (lhs)) in is_hidden_global_store()
178 lhs = get_base_address (lhs); in is_hidden_global_store()
180 if (lhs == NULL_TREE) in is_hidden_global_store()
187 else if (DECL_P (lhs)) in is_hidden_global_store()
190 if (is_global_var (lhs)) in is_hidden_global_store()
194 else if (INDIRECT_REF_P (lhs) in is_hidden_global_store()
195 || TREE_CODE (lhs) == MEM_REF in is_hidden_global_store()
196 || TREE_CODE (lhs) == TARGET_MEM_REF) in is_hidden_global_store()
[all …]
HDinternal-fn.c70 tree type, lhs, rhs; in expand_LOAD_LANES() local
73 lhs = gimple_call_lhs (stmt); in expand_LOAD_LANES()
75 type = TREE_TYPE (lhs); in expand_LOAD_LANES()
77 target = expand_expr (lhs, NULL_RTX, VOIDmode, EXPAND_WRITE); in expand_LOAD_LANES()
94 tree type, lhs, rhs; in expand_STORE_LANES() local
97 lhs = gimple_call_lhs (stmt); in expand_STORE_LANES()
101 target = expand_expr (lhs, NULL_RTX, VOIDmode, EXPAND_WRITE); in expand_STORE_LANES()
/dragonfly/contrib/gdb-7/libdecnumber/
HDdecNumber.c237 static Int decCompare(const decNumber *lhs, const decNumber *rhs, Flag);
287 #define SPECIALARGS ((lhs->bits | rhs->bits) & DECSPECIAL)
770 decNumber * decNumberAdd(decNumber *res, const decNumber *lhs, in decNumberAdd() argument
773 decAddOp(res, lhs, rhs, set, 0, &status); in decNumberAdd()
796 decNumber * decNumberAnd(decNumber *res, const decNumber *lhs, in decNumberAnd() argument
803 if (decCheckOperands(res, lhs, rhs, set)) return res; in decNumberAnd()
806 if (lhs->exponent!=0 || decNumberIsSpecial(lhs) || decNumberIsNegative(lhs) in decNumberAnd()
813 ua=lhs->lsu; /* bottom-up */ in decNumberAnd()
816 msua=ua+D2U(lhs->digits)-1; /* -> msu of lhs */ in decNumberAnd()
864 decNumber * decNumberCompare(decNumber *res, const decNumber *lhs, in decNumberCompare() argument
[all …]
/dragonfly/contrib/gcc-8.0/libdecnumber/
HDdecNumber.c237 static Int decCompare(const decNumber *lhs, const decNumber *rhs, Flag);
287 #define SPECIALARGS ((lhs->bits | rhs->bits) & DECSPECIAL)
770 decNumber * decNumberAdd(decNumber *res, const decNumber *lhs, in decNumberAdd() argument
773 decAddOp(res, lhs, rhs, set, 0, &status); in decNumberAdd()
796 decNumber * decNumberAnd(decNumber *res, const decNumber *lhs, in decNumberAnd() argument
803 if (decCheckOperands(res, lhs, rhs, set)) return res; in decNumberAnd()
806 if (lhs->exponent!=0 || decNumberIsSpecial(lhs) || decNumberIsNegative(lhs) in decNumberAnd()
813 ua=lhs->lsu; /* bottom-up */ in decNumberAnd()
816 msua=ua+D2U(lhs->digits)-1; /* -> msu of lhs */ in decNumberAnd()
864 decNumber * decNumberCompare(decNumber *res, const decNumber *lhs, in decNumberCompare() argument
[all …]
/dragonfly/contrib/gcc-4.7/libdecnumber/
HDdecNumber.c237 static Int decCompare(const decNumber *lhs, const decNumber *rhs, Flag);
287 #define SPECIALARGS ((lhs->bits | rhs->bits) & DECSPECIAL)
770 decNumber * decNumberAdd(decNumber *res, const decNumber *lhs, in decNumberAdd() argument
773 decAddOp(res, lhs, rhs, set, 0, &status); in decNumberAdd()
796 decNumber * decNumberAnd(decNumber *res, const decNumber *lhs, in decNumberAnd() argument
803 if (decCheckOperands(res, lhs, rhs, set)) return res; in decNumberAnd()
806 if (lhs->exponent!=0 || decNumberIsSpecial(lhs) || decNumberIsNegative(lhs) in decNumberAnd()
813 ua=lhs->lsu; /* bottom-up */ in decNumberAnd()
816 msua=ua+D2U(lhs->digits)-1; /* -> msu of lhs */ in decNumberAnd()
864 decNumber * decNumberCompare(decNumber *res, const decNumber *lhs, in decNumberCompare() argument
[all …]
/dragonfly/contrib/gcc-4.7/libcpp/
HDexpr.c1529 cpp_num lhs, cpp_num rhs, enum cpp_ttype op) in num_bitwise_op() argument
1531 lhs.overflow = false; in num_bitwise_op()
1532 lhs.unsignedp = lhs.unsignedp || rhs.unsignedp; in num_bitwise_op()
1538 lhs.low &= rhs.low; in num_bitwise_op()
1539 lhs.high &= rhs.high; in num_bitwise_op()
1543 lhs.low |= rhs.low; in num_bitwise_op()
1544 lhs.high |= rhs.high; in num_bitwise_op()
1548 lhs.low ^= rhs.low; in num_bitwise_op()
1549 lhs.high ^= rhs.high; in num_bitwise_op()
1552 return lhs; in num_bitwise_op()
[all …]
/dragonfly/contrib/gcc-8.0/libcpp/
HDexpr.c1758 cpp_num lhs, cpp_num rhs, enum cpp_ttype op) in num_bitwise_op() argument
1760 lhs.overflow = false; in num_bitwise_op()
1761 lhs.unsignedp = lhs.unsignedp || rhs.unsignedp; in num_bitwise_op()
1767 lhs.low &= rhs.low; in num_bitwise_op()
1768 lhs.high &= rhs.high; in num_bitwise_op()
1772 lhs.low |= rhs.low; in num_bitwise_op()
1773 lhs.high |= rhs.high; in num_bitwise_op()
1777 lhs.low ^= rhs.low; in num_bitwise_op()
1778 lhs.high ^= rhs.high; in num_bitwise_op()
1781 return lhs; in num_bitwise_op()
[all …]
/dragonfly/lib/libc/net/
HDhesiod.c62 char *lhs; /* normally ".ns" */ member
120 if (ctx->lhs) in hesiod_init()
121 free(ctx->lhs); in hesiod_init()
139 if (ctx->lhs) in hesiod_end()
140 free(ctx->lhs); in hesiod_end()
185 if (ctx->lhs) in hesiod_to_bind()
186 len += strlen(ctx->lhs) + ((ctx->lhs[0] != '.') ? 1 : 0); in hesiod_to_bind()
198 if (ctx->lhs && ctx->lhs[0] != '\0' ) { in hesiod_to_bind()
199 if (ctx->lhs[0] != '.') in hesiod_to_bind()
201 strcat(bindname, ctx->lhs); in hesiod_to_bind()
[all …]

1234567891011