Home
last modified time | relevance | path

Searched refs:rhs (Results 1 – 25 of 241) sorted by relevance

12345678910

/dragonfly/contrib/gdb-7/libdecnumber/
HDdecNumber.c237 static Int decCompare(const decNumber *lhs, const decNumber *rhs, Flag);
286 #define SPECIALARG (rhs->bits & DECSPECIAL)
287 #define SPECIALARGS ((lhs->bits | rhs->bits) & DECSPECIAL)
738 decNumber * decNumberAbs(decNumber *res, const decNumber *rhs, in decNumberAbs() argument
744 if (decCheckOperands(res, DECUNUSED, rhs, set)) return res; in decNumberAbs()
748 dzero.exponent=rhs->exponent; /* [no coefficient expansion] */ in decNumberAbs()
749 decAddOp(res, &dzero, rhs, set, (uByte)(rhs->bits & DECNEG), &status); in decNumberAbs()
771 const decNumber *rhs, decContext *set) { in decNumberAdd() argument
773 decAddOp(res, lhs, rhs, set, 0, &status); in decNumberAdd()
797 const decNumber *rhs, decContext *set) { in decNumberAnd() argument
[all …]
/dragonfly/contrib/gcc-8.0/libdecnumber/
HDdecNumber.c237 static Int decCompare(const decNumber *lhs, const decNumber *rhs, Flag);
286 #define SPECIALARG (rhs->bits & DECSPECIAL)
287 #define SPECIALARGS ((lhs->bits | rhs->bits) & DECSPECIAL)
738 decNumber * decNumberAbs(decNumber *res, const decNumber *rhs, in decNumberAbs() argument
744 if (decCheckOperands(res, DECUNUSED, rhs, set)) return res; in decNumberAbs()
748 dzero.exponent=rhs->exponent; /* [no coefficient expansion] */ in decNumberAbs()
749 decAddOp(res, &dzero, rhs, set, (uByte)(rhs->bits & DECNEG), &status); in decNumberAbs()
771 const decNumber *rhs, decContext *set) { in decNumberAdd() argument
773 decAddOp(res, lhs, rhs, set, 0, &status); in decNumberAdd()
797 const decNumber *rhs, decContext *set) { in decNumberAnd() argument
[all …]
/dragonfly/contrib/gcc-4.7/libdecnumber/
HDdecNumber.c237 static Int decCompare(const decNumber *lhs, const decNumber *rhs, Flag);
286 #define SPECIALARG (rhs->bits & DECSPECIAL)
287 #define SPECIALARGS ((lhs->bits | rhs->bits) & DECSPECIAL)
738 decNumber * decNumberAbs(decNumber *res, const decNumber *rhs, in decNumberAbs() argument
744 if (decCheckOperands(res, DECUNUSED, rhs, set)) return res; in decNumberAbs()
748 dzero.exponent=rhs->exponent; /* [no coefficient expansion] */ in decNumberAbs()
749 decAddOp(res, &dzero, rhs, set, (uByte)(rhs->bits & DECNEG), &status); in decNumberAbs()
771 const decNumber *rhs, decContext *set) { in decNumberAdd() argument
773 decAddOp(res, lhs, rhs, set, 0, &status); in decNumberAdd()
797 const decNumber *rhs, decContext *set) { in decNumberAnd() argument
[all …]
/dragonfly/sys/ddb/
HDdb_expr.c130 db_expr_t lhs, rhs; in db_mult_expr() local
140 if (!db_term(&rhs)) { in db_mult_expr()
145 lhs *= rhs; in db_mult_expr()
147 if (rhs == 0) { 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()
168 db_expr_t lhs, rhs; in db_add_expr() local
178 if (!db_mult_expr(&rhs)) { in db_add_expr()
183 lhs += rhs; in db_add_expr()
[all …]
/dragonfly/lib/libc/net/
HDhesiod.c63 char *rhs; /* AKA the default hesiod domain */ member
104 if (ctx->rhs) in hesiod_init()
105 free(ctx->rhs); in hesiod_init()
106 ctx->rhs = malloc(strlen(p) + 2); in hesiod_init()
107 if (ctx->rhs) { in hesiod_init()
108 *ctx->rhs = '.'; in hesiod_init()
109 strcpy(ctx->rhs + 1, in hesiod_init()
122 if (ctx->rhs) in hesiod_init()
123 free(ctx->rhs); in hesiod_init()
138 free(ctx->rhs); in hesiod_end()
[all …]
/dragonfly/contrib/gcc-4.7/gcc/
HDtree-stdarg.c113 va_list_counter_bump (struct stdarg_info *si, tree counter, tree rhs, in va_list_counter_bump() argument
132 orig_lhs = lhs = rhs; in va_list_counter_bump()
188 rhs = gimple_assign_rhs1 (stmt); in va_list_counter_bump()
189 if (TREE_CODE (counter) != TREE_CODE (rhs)) in va_list_counter_bump()
194 if (get_base_address (counter) != get_base_address (rhs) in va_list_counter_bump()
195 || TREE_CODE (TREE_OPERAND (rhs, 1)) != FIELD_DECL in va_list_counter_bump()
196 || TREE_OPERAND (counter, 1) != TREE_OPERAND (rhs, 1)) in va_list_counter_bump()
199 else if (counter != rhs) in va_list_counter_bump()
455 check_va_list_escapes (struct stdarg_info *si, tree lhs, tree rhs) in check_va_list_escapes() argument
457 if (! POINTER_TYPE_P (TREE_TYPE (rhs))) in check_va_list_escapes()
[all …]
HDtree-ssa-dom.c64 struct { tree rhs; } single; member
104 tree rhs; member
218 expr->ops.single.rhs = gimple_assign_rhs1 (stmt); in initialize_hash_element()
278 expr->ops.single.rhs = gimple_switch_index (stmt); in initialize_hash_element()
284 expr->ops.single.rhs = gimple_goto_dest (stmt); in initialize_hash_element()
382 return operand_equal_p (expr0->ops.single.rhs, in hashable_expr_equal_p()
383 expr1->ops.single.rhs, 0); in hashable_expr_equal_p()
489 val = iterative_hash_expr (expr->ops.single.rhs, val); in iterative_hash_hashable_expr()
584 print_generic_expr (stream, element->expr.ops.single.rhs, 0); in print_expr_hash_elt()
1035 tree rhs = NULL; in record_equivalences_from_phis() local
[all …]
HDinternal-fn.c70 tree type, lhs, rhs; in expand_LOAD_LANES() local
74 rhs = gimple_call_arg (stmt, 0); in expand_LOAD_LANES()
78 mem = expand_normal (rhs); in expand_LOAD_LANES()
94 tree type, lhs, rhs; in expand_STORE_LANES() local
98 rhs = gimple_call_arg (stmt, 0); in expand_STORE_LANES()
99 type = TREE_TYPE (rhs); in expand_STORE_LANES()
102 reg = expand_normal (rhs); in expand_STORE_LANES()
HDtree-ssa-structalias.c492 struct constraint_expr rhs; member
618 const struct constraint_expr rhs) in new_constraint() argument
622 ret->rhs = rhs; in new_constraint()
641 if (c->rhs.type == ADDRESSOF) in dump_constraint()
643 else if (c->rhs.type == DEREF) in dump_constraint()
645 fprintf (file, "%s", get_varinfo (c->rhs.var)->name); in dump_constraint()
646 if (c->rhs.offset == UNKNOWN_OFFSET) in dump_constraint()
648 else if (c->rhs.offset != 0) in dump_constraint()
649 fprintf (file, " + " HOST_WIDE_INT_PRINT_DEC, c->rhs.offset); in dump_constraint()
838 return constraint_expr_less (a->rhs, b->rhs); in constraint_less()
[all …]
HDtree-ssa-forwprop.c164 static bool forward_propagate_addr_expr (tree name, tree rhs);
233 tree rhs; in get_prop_source_stmt() local
240 rhs = gimple_assign_rhs1 (def_stmt); in get_prop_source_stmt()
242 && TREE_CODE (rhs) == SSA_NAME in get_prop_source_stmt()
244 && POINTER_TYPE_P (TREE_TYPE (rhs))) in get_prop_source_stmt()
245 name = rhs; in get_prop_source_stmt()
289 tree rhs = gimple_assign_rhs1 (def_stmt); in can_propagate_from() local
290 if (POINTER_TYPE_P (TREE_TYPE (rhs)) in can_propagate_from()
291 && TREE_CODE (TREE_TYPE (TREE_TYPE (rhs))) == FUNCTION_TYPE) in can_propagate_from()
787 tree lhs, rhs, rhs2, array_ref; in forward_propagate_addr_expr_1() local
[all …]
HDgimple-fold.c304 tree rhs = gimple_assign_rhs1 (stmt); in fold_gimple_assign() local
306 if (REFERENCE_CLASS_P (rhs)) in fold_gimple_assign()
307 return maybe_fold_reference (rhs, false); in fold_gimple_assign()
309 else if (TREE_CODE (rhs) == ADDR_EXPR) in fold_gimple_assign()
311 tree ref = TREE_OPERAND (rhs, 0); in fold_gimple_assign()
316 result = fold_convert (TREE_TYPE (rhs), TREE_OPERAND (tem, 0)); in fold_gimple_assign()
318 result = fold_convert (TREE_TYPE (rhs), in fold_gimple_assign()
322 result = fold_convert (TREE_TYPE (rhs), TREE_OPERAND (ref, 0)); in fold_gimple_assign()
325 else if (TREE_CODE (rhs) == CONSTRUCTOR in fold_gimple_assign()
326 && TREE_CODE (TREE_TYPE (rhs)) == VECTOR_TYPE in fold_gimple_assign()
[all …]
HDtree-ssa-uncprop.c44 tree rhs; member
106 equivalency->rhs = (integer_zerop (op1) in associate_equivalences_with_edges()
113 equivalency->rhs = (integer_zerop (op1) in associate_equivalences_with_edges()
122 equivalency->rhs = (integer_zerop (op1) in associate_equivalences_with_edges()
129 equivalency->rhs = (integer_zerop (op1) in associate_equivalences_with_edges()
153 equivalency->rhs = op1; in associate_equivalences_with_edges()
209 equivalency->rhs = x; in associate_equivalences_with_edges()
462 record_equiv (equiv->rhs, equiv->lhs); in uncprop_into_successor_phis()
512 remove_equivalence (equiv->rhs); in uncprop_into_successor_phis()
566 record_equiv (equiv->rhs, equiv->lhs); in uncprop_enter_block()
[all …]
HDloop-iv.c626 rtx set, rhs, op0 = NULL_RTX, op1 = NULL_RTX; in get_biv_step_1() local
637 rhs = find_reg_equal_equiv_note (insn); in get_biv_step_1()
638 if (rhs) in get_biv_step_1()
639 rhs = XEXP (rhs, 0); in get_biv_step_1()
641 rhs = SET_SRC (set); in get_biv_step_1()
643 code = GET_CODE (rhs); in get_biv_step_1()
648 next = rhs; in get_biv_step_1()
653 op0 = XEXP (rhs, 0); in get_biv_step_1()
654 op1 = XEXP (rhs, 1); in get_biv_step_1()
665 if (GET_MODE (rhs) != outer_mode) in get_biv_step_1()
[all …]
/dragonfly/contrib/gcc-8.0/gcc/
HDtree-ssa-dom.c226 tree rhs = gimple_assign_rhs1 (def_stmt); in derive_equivalences() local
227 tree rhs_type = TREE_TYPE (rhs); in derive_equivalences()
232 derive_equivalences (rhs, in derive_equivalences()
335 tree rhs = gimple_assign_rhs1 (def_stmt); in derive_equivalences() local
348 && TREE_CODE (rhs) == SSA_NAME in derive_equivalences()
349 && ssa_name_has_boolean_range (rhs)) in derive_equivalences()
352 res = build_one_cst (TREE_TYPE (rhs)); in derive_equivalences()
354 res = build_zero_cst (TREE_TYPE (rhs)); in derive_equivalences()
357 res = fold_build1 (code, TREE_TYPE (rhs), value); in derive_equivalences()
358 derive_equivalences (rhs, res, recursion_limit - 1); in derive_equivalences()
[all …]
HDtree-stdarg.c116 va_list_counter_bump (struct stdarg_info *si, tree counter, tree rhs, in va_list_counter_bump() argument
135 orig_lhs = lhs = rhs; in va_list_counter_bump()
191 rhs = gimple_assign_rhs1 (stmt); in va_list_counter_bump()
192 if (TREE_CODE (counter) != TREE_CODE (rhs)) in va_list_counter_bump()
197 if (get_base_address (counter) != get_base_address (rhs) in va_list_counter_bump()
198 || TREE_CODE (TREE_OPERAND (rhs, 1)) != FIELD_DECL in va_list_counter_bump()
199 || TREE_OPERAND (counter, 1) != TREE_OPERAND (rhs, 1)) in va_list_counter_bump()
202 else if (counter != rhs) in va_list_counter_bump()
460 check_va_list_escapes (struct stdarg_info *si, tree lhs, tree rhs) in check_va_list_escapes() argument
462 if (! POINTER_TYPE_P (TREE_TYPE (rhs))) in check_va_list_escapes()
[all …]
HDgimple-ssa-backprop.c343 backprop::process_builtin_call_use (gcall *call, tree rhs, usage_info *info) in process_builtin_call_use() argument
364 if (rhs != gimple_call_arg (call, 1)) in process_builtin_call_use()
385 if (gimple_call_arg (call, 0) == rhs in process_builtin_call_use()
386 && gimple_call_arg (call, 1) == rhs in process_builtin_call_use()
387 && gimple_call_arg (call, 2) != rhs) in process_builtin_call_use()
407 backprop::process_assign_use (gassign *assign, tree rhs, usage_info *info) in process_assign_use() argument
420 if (rhs != gimple_assign_rhs1 (assign)) in process_assign_use()
431 if (gimple_assign_rhs1 (assign) == rhs in process_assign_use()
432 && gimple_assign_rhs2 (assign) == rhs in process_assign_use()
433 && gimple_assign_rhs3 (assign) != rhs) in process_assign_use()
[all …]
HDvtable-verify.c484 tree rhs = gimple_assign_rhs1 (stmt); in is_vtable_assignment_stmt() local
489 if (TREE_CODE (rhs) != COMPONENT_REF) in is_vtable_assignment_stmt()
492 if (! (TREE_OPERAND (rhs, 1)) in is_vtable_assignment_stmt()
493 || (TREE_CODE (TREE_OPERAND (rhs, 1)) != FIELD_DECL)) in is_vtable_assignment_stmt()
496 if (! DECL_VIRTUAL_P (TREE_OPERAND (rhs, 1))) in is_vtable_assignment_stmt()
512 extract_object_class_type (tree rhs) in extract_object_class_type() argument
517 if (TREE_CODE (rhs) == COMPONENT_REF) in extract_object_class_type()
519 tree op0 = TREE_OPERAND (rhs, 0); in extract_object_class_type()
520 tree op1 = TREE_OPERAND (rhs, 1); in extract_object_class_type()
598 tree rhs = gimple_assign_rhs1 (stmt2); in var_is_used_for_virtual_call_p() local
[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()
123 (TREE_CODE (rhs) != SSA_NAME ? "constant" : "variable")); in propagate_rhs_into_lhs()
124 print_generic_expr (dump_file, rhs, dump_flags); in propagate_rhs_into_lhs()
154 if (TREE_CODE (rhs) == SSA_NAME in propagate_rhs_into_lhs()
155 && SSA_NAME_DEF_STMT (rhs) == use_stmt) in propagate_rhs_into_lhs()
170 propagate_value (use_p, rhs); in propagate_rhs_into_lhs()
349 tree rhs; in eliminate_const_or_copy() local
367 rhs = get_rhs_or_phi_arg (stmt); in eliminate_const_or_copy()
368 if (!rhs) in eliminate_const_or_copy()
[all …]
HDtree-ssa-structalias.c527 struct constraint_expr rhs; member
653 const struct constraint_expr rhs) in new_constraint() argument
657 ret->rhs = rhs; in new_constraint()
676 if (c->rhs.type == ADDRESSOF) in dump_constraint()
678 else if (c->rhs.type == DEREF) in dump_constraint()
680 fprintf (file, "%s", get_varinfo (c->rhs.var)->name); in dump_constraint()
681 if (c->rhs.offset == UNKNOWN_OFFSET) in dump_constraint()
683 else if (c->rhs.offset != 0) in dump_constraint()
684 fprintf (file, " + " HOST_WIDE_INT_PRINT_DEC, c->rhs.offset); in dump_constraint()
877 return constraint_expr_less (a->rhs, b->rhs); in constraint_less()
[all …]
HDtree-ssa-uncprop.c42 tree rhs; member
108 equivalency->rhs = (integer_zerop (op1) in associate_equivalences_with_edges()
115 equivalency->rhs = (integer_zerop (op1) in associate_equivalences_with_edges()
124 equivalency->rhs = (integer_zerop (op1) in associate_equivalences_with_edges()
131 equivalency->rhs = (integer_zerop (op1) in associate_equivalences_with_edges()
155 equivalency->rhs = op1; in associate_equivalences_with_edges()
212 equivalency->rhs = x; in associate_equivalences_with_edges()
366 record_equiv (equiv->rhs, equiv->lhs); in uncprop_into_successor_phis()
409 remove_equivalence (equiv->rhs); in uncprop_into_successor_phis()
432 record_equiv (equiv->rhs, equiv->lhs); in before_dom_children()
[all …]
HDgimple-walk.c725 tree lhs, rhs, arg; in walk_stmt_load_store_addr_ops() local
734 rhs = arg; in walk_stmt_load_store_addr_ops()
735 while (handled_component_p (rhs)) in walk_stmt_load_store_addr_ops()
736 rhs = TREE_OPERAND (rhs, 0); in walk_stmt_load_store_addr_ops()
739 if (TREE_CODE (rhs) == ADDR_EXPR) in walk_stmt_load_store_addr_ops()
740 ret |= visit_addr (stmt, TREE_OPERAND (rhs, 0), arg, data); in walk_stmt_load_store_addr_ops()
741 else if (TREE_CODE (rhs) == TARGET_MEM_REF in walk_stmt_load_store_addr_ops()
742 && TREE_CODE (TMR_BASE (rhs)) == ADDR_EXPR) in walk_stmt_load_store_addr_ops()
743 ret |= visit_addr (stmt, TREE_OPERAND (TMR_BASE (rhs), 0), arg, in walk_stmt_load_store_addr_ops()
745 else if (TREE_CODE (rhs) == OBJ_TYPE_REF in walk_stmt_load_store_addr_ops()
[all …]
HDsancov.c55 instrument_comparison (gimple_stmt_iterator *gsi, tree lhs, tree rhs) in instrument_comparison() argument
65 ^ is_gimple_min_invariant (rhs)); in instrument_comparison()
118 if (TREE_CODE (rhs) == INTEGER_CST) in instrument_comparison()
119 rhs = fold_convert (to_type, rhs); in instrument_comparison()
122 gimple_seq_add_stmt (&seq, build_type_cast (to_type, rhs)); in instrument_comparison()
123 rhs = gimple_assign_lhs (gimple_seq_last_stmt (seq)); in instrument_comparison()
128 std::swap (lhs, rhs); in instrument_comparison()
131 gimple *gcall = gimple_build_call (fndecl, 2, lhs, rhs); in instrument_comparison()
/dragonfly/contrib/bmake/
HDcond.c556 EvalCompareNum(double lhs, ComparisonOp op, double rhs) in EvalCompareNum() argument
558 DEBUG3(COND, "Comparing %f %s %f\n", lhs, opname[op], rhs); in EvalCompareNum()
562 return lhs < rhs; in EvalCompareNum()
564 return lhs <= rhs; in EvalCompareNum()
566 return lhs > rhs; in EvalCompareNum()
568 return lhs >= rhs; in EvalCompareNum()
570 return lhs == rhs; in EvalCompareNum()
572 return lhs != rhs; in EvalCompareNum()
578 ComparisonOp op, const char *rhs) in EvalCompareStr() argument
584 opname[op], lhs, rhs); in EvalCompareStr()
[all …]
/dragonfly/contrib/gcc-4.7/libcpp/
HDexpr.c1529 cpp_num lhs, cpp_num rhs, enum cpp_ttype op) in num_bitwise_op() argument
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()
1557 num_inequality_op (cpp_reader *pfile, cpp_num lhs, cpp_num rhs, in num_inequality_op() argument
1560 bool gte = num_greater_eq (lhs, rhs, CPP_OPTION (pfile, precision)); in num_inequality_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
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()
1786 num_inequality_op (cpp_reader *pfile, cpp_num lhs, cpp_num rhs, in num_inequality_op() argument
1789 bool gte = num_greater_eq (lhs, rhs, CPP_OPTION (pfile, precision)); in num_inequality_op()
[all …]

12345678910