Home
last modified time | relevance | path

Searched refs:ops (Results 1 – 25 of 1581) sorted by relevance

12345678910>>...64

/netbsd-src/external/gpl3/gcc/dist/gcc/
H A Dtree-ssa-scopedtables.cc126 enum tree_code code = expr->ops.binary.op; in simplify_binary_operation()
153 expr.ops.binary.op = EQ_EXPR; in simplify_binary_operation()
154 expr.ops.binary.opnd0 = gimple_assign_rhs1 (stmt); in simplify_binary_operation()
155 expr.ops.binary.opnd1 = gimple_assign_rhs2 (stmt); in simplify_binary_operation()
250 && (TREE_CODE (element.expr()->ops.single.rhs) == SSA_NAME in lookup_avail_expr()
251 || is_gimple_min_invariant (element.expr()->ops.single.rhs))) in lookup_avail_expr()
395 inchash::add_expr (expr->ops.single.rhs, hstate); in add_hashable_expr()
399 hstate.add_object (expr->ops.unary.op); in add_hashable_expr()
405 if (CONVERT_EXPR_CODE_P (expr->ops.unary.op) in add_hashable_expr()
406 || expr->ops.unary.op == NON_LVALUE_EXPR) in add_hashable_expr()
[all …]
H A Dgimple-match.h165 tree ops[MAX_NUM_OPS]; variable
196 ops[0] = op0; in gimple_match_op()
206 ops[0] = op0; in gimple_match_op()
207 ops[1] = op1; in gimple_match_op()
217 ops[0] = op0; in gimple_match_op()
218 ops[1] = op1; in gimple_match_op()
219 ops[2] = op2; in gimple_match_op()
229 ops[0] = op0; in gimple_match_op()
230 ops[1] = op1; in gimple_match_op()
231 ops[2] = op2; in gimple_match_op()
[all …]
H A Dinternal-fn.cc166 class expand_operand ops[2]; in expand_load_lanes_optab_fn() local
180 create_output_operand (&ops[0], target, TYPE_MODE (type)); in expand_load_lanes_optab_fn()
181 create_fixed_operand (&ops[1], mem); in expand_load_lanes_optab_fn()
182 expand_insn (get_multi_vector_move (type, optab), 2, ops); in expand_load_lanes_optab_fn()
183 if (!rtx_equal_p (target, ops[0].value)) in expand_load_lanes_optab_fn()
184 emit_move_insn (target, ops[0].value); in expand_load_lanes_optab_fn()
192 class expand_operand ops[2]; in expand_store_lanes_optab_fn() local
206 create_fixed_operand (&ops[0], target); in expand_store_lanes_optab_fn()
207 create_input_operand (&ops[1], reg, TYPE_MODE (type)); in expand_store_lanes_optab_fn()
208 expand_insn (get_multi_vector_move (type, optab), 2, ops); in expand_store_lanes_optab_fn()
[all …]
H A Dgimple-match-head.cc110 new_op->ops[0] = orig_op->cond.cond; in convert_conditional_op()
112 new_op->ops[i + 1] = orig_op->ops[i]; in convert_conditional_op()
116 num_ops, orig_op->ops); in convert_conditional_op()
117 new_op->ops[num_ops + 1] = else_value; in convert_conditional_op()
158 op_could_trap = generic_expr_could_trap_p (res_op->ops[0]); in maybe_resimplify_conditional_op()
181 res_op->cond.cond, res_op->ops[0], in maybe_resimplify_conditional_op()
206 if (constant_for_folding (res_op->ops[0])) in gimple_resimplify1()
214 tem = const_unop (code, res_op->type, res_op->ops[0]); in gimple_resimplify1()
218 res_op->ops[0]); in gimple_resimplify1()
247 res_op->code, res_op->type, res_op->ops[0])) in gimple_resimplify1()
[all …]
/netbsd-src/external/gpl3/gcc.old/dist/gcc/
H A Dtree-ssa-scopedtables.c126 enum tree_code code = expr->ops.binary.op; in simplify_binary_operation()
153 expr.ops.binary.op = EQ_EXPR; in simplify_binary_operation()
154 expr.ops.binary.opnd0 = gimple_assign_rhs1 (stmt); in simplify_binary_operation()
155 expr.ops.binary.opnd1 = gimple_assign_rhs2 (stmt); in simplify_binary_operation()
250 && (TREE_CODE (element.expr()->ops.single.rhs) == SSA_NAME in lookup_avail_expr()
251 || is_gimple_min_invariant (element.expr()->ops.single.rhs))) in lookup_avail_expr()
395 inchash::add_expr (expr->ops.single.rhs, hstate); in add_hashable_expr()
399 hstate.add_object (expr->ops.unary.op); in add_hashable_expr()
405 if (CONVERT_EXPR_CODE_P (expr->ops.unary.op) in add_hashable_expr()
406 || expr->ops.unary.op == NON_LVALUE_EXPR) in add_hashable_expr()
[all …]
H A Dgimple-match.h133 tree ops[MAX_NUM_OPS]; variable
164 ops[0] = op0; in gimple_match_op()
174 ops[0] = op0; in gimple_match_op()
175 ops[1] = op1; in gimple_match_op()
185 ops[0] = op0; in gimple_match_op()
186 ops[1] = op1; in gimple_match_op()
187 ops[2] = op2; in gimple_match_op()
197 ops[0] = op0; in gimple_match_op()
198 ops[1] = op1; in gimple_match_op()
199 ops[2] = op2; in gimple_match_op()
[all …]
H A Dinternal-fn.c153 class expand_operand ops[2]; in expand_load_lanes_optab_fn() local
167 create_output_operand (&ops[0], target, TYPE_MODE (type)); in expand_load_lanes_optab_fn()
168 create_fixed_operand (&ops[1], mem); in expand_load_lanes_optab_fn()
169 expand_insn (get_multi_vector_move (type, optab), 2, ops); in expand_load_lanes_optab_fn()
170 if (!rtx_equal_p (target, ops[0].value)) in expand_load_lanes_optab_fn()
171 emit_move_insn (target, ops[0].value); in expand_load_lanes_optab_fn()
179 class expand_operand ops[2]; in expand_store_lanes_optab_fn() local
193 create_fixed_operand (&ops[0], target); in expand_store_lanes_optab_fn()
194 create_input_operand (&ops[1], reg, TYPE_MODE (type)); in expand_store_lanes_optab_fn()
195 expand_insn (get_multi_vector_move (type, optab), 2, ops); in expand_store_lanes_optab_fn()
[all …]
H A Dgimple-match-head.c106 new_op->ops[0] = orig_op->cond.cond; in convert_conditional_op()
108 new_op->ops[i + 1] = orig_op->ops[i]; in convert_conditional_op()
112 num_ops, orig_op->ops); in convert_conditional_op()
113 new_op->ops[num_ops + 1] = else_value; in convert_conditional_op()
154 op_could_trap = generic_expr_could_trap_p (res_op->ops[0]); in maybe_resimplify_conditional_op()
177 res_op->cond.cond, res_op->ops[0], in maybe_resimplify_conditional_op()
202 if (constant_for_folding (res_op->ops[0])) in gimple_resimplify1()
210 tem = const_unop (res_op->code, res_op->type, res_op->ops[0]); in gimple_resimplify1()
214 res_op->ops[0]); in gimple_resimplify1()
243 res_op->code, res_op->type, res_op->ops[0])) in gimple_resimplify1()
[all …]
/netbsd-src/sys/dev/pci/ixgbe/
H A Dixgbe_api.c75 if (hw->mac.ops.get_rtrup2tc) in ixgbe_dcb_get_rtrup2tc()
76 hw->mac.ops.get_rtrup2tc(hw, map); in ixgbe_dcb_get_rtrup2tc()
239 return ixgbe_call_func(hw, hw->mac.ops.init_hw, (hw), in ixgbe_init_hw()
252 return ixgbe_call_func(hw, hw->mac.ops.reset_hw, (hw), in ixgbe_reset_hw()
268 return ixgbe_call_func(hw, hw->mac.ops.start_hw, (hw), in ixgbe_start_hw()
282 if (hw->mac.ops.enable_relaxed_ordering) in ixgbe_enable_relaxed_ordering()
283 hw->mac.ops.enable_relaxed_ordering(hw); in ixgbe_enable_relaxed_ordering()
295 return ixgbe_call_func(hw, hw->mac.ops.clear_hw_cntrs, (hw), in ixgbe_clear_hw_cntrs()
307 return ixgbe_call_func(hw, hw->mac.ops.get_media_type, (hw), in ixgbe_get_media_type()
323 return ixgbe_call_func(hw, hw->mac.ops.get_mac_addr, in ixgbe_get_mac_addr()
[all …]
H A Dixgbe_x540.c79 eeprom->ops.init_params = ixgbe_init_eeprom_params_X540; in ixgbe_init_ops_X540()
80 eeprom->ops.read = ixgbe_read_eerd_X540; in ixgbe_init_ops_X540()
81 eeprom->ops.read_buffer = ixgbe_read_eerd_buffer_X540; in ixgbe_init_ops_X540()
82 eeprom->ops.write = ixgbe_write_eewr_X540; in ixgbe_init_ops_X540()
83 eeprom->ops.write_buffer = ixgbe_write_eewr_buffer_X540; in ixgbe_init_ops_X540()
84 eeprom->ops.update_checksum = ixgbe_update_eeprom_checksum_X540; in ixgbe_init_ops_X540()
85 eeprom->ops.validate_checksum = ixgbe_validate_eeprom_checksum_X540; in ixgbe_init_ops_X540()
86 eeprom->ops.calc_checksum = ixgbe_calc_eeprom_checksum_X540; in ixgbe_init_ops_X540()
89 phy->ops.init = ixgbe_init_phy_ops_generic; in ixgbe_init_ops_X540()
90 phy->ops.reset = NULL; in ixgbe_init_ops_X540()
[all …]
H A Dixgbe_x550.c72 mac->ops.dmac_config = ixgbe_dmac_config_X550; in ixgbe_init_ops_X550()
73 mac->ops.dmac_config_tcs = ixgbe_dmac_config_tcs_X550; in ixgbe_init_ops_X550()
74 mac->ops.dmac_update_tcs = ixgbe_dmac_update_tcs_X550; in ixgbe_init_ops_X550()
75 mac->ops.setup_eee = NULL; in ixgbe_init_ops_X550()
76 mac->ops.set_source_address_pruning = in ixgbe_init_ops_X550()
78 mac->ops.set_ethertype_anti_spoofing = in ixgbe_init_ops_X550()
81 mac->ops.get_rtrup2tc = ixgbe_dcb_get_rtrup2tc_generic; in ixgbe_init_ops_X550()
82 eeprom->ops.init_params = ixgbe_init_eeprom_params_X550; in ixgbe_init_ops_X550()
83 eeprom->ops.calc_checksum = ixgbe_calc_eeprom_checksum_X550; in ixgbe_init_ops_X550()
84 eeprom->ops.read = ixgbe_read_ee_hostif_X550; in ixgbe_init_ops_X550()
[all …]
H A Dixgbe_82598.c137 phy->ops.init = ixgbe_init_phy_ops_82598; in ixgbe_init_ops_82598()
140 mac->ops.start_hw = ixgbe_start_hw_82598; in ixgbe_init_ops_82598()
141 mac->ops.enable_relaxed_ordering = ixgbe_enable_relaxed_ordering_82598; in ixgbe_init_ops_82598()
142 mac->ops.reset_hw = ixgbe_reset_hw_82598; in ixgbe_init_ops_82598()
143 mac->ops.get_media_type = ixgbe_get_media_type_82598; in ixgbe_init_ops_82598()
144 mac->ops.get_supported_physical_layer = in ixgbe_init_ops_82598()
146 mac->ops.read_analog_reg8 = ixgbe_read_analog_reg8_82598; in ixgbe_init_ops_82598()
147 mac->ops.write_analog_reg8 = ixgbe_write_analog_reg8_82598; in ixgbe_init_ops_82598()
148 mac->ops.set_lan_id = ixgbe_set_lan_id_multi_port_pcie_82598; in ixgbe_init_ops_82598()
149 mac->ops.enable_rx_dma = ixgbe_enable_rx_dma_82598; in ixgbe_init_ops_82598()
[all …]
/netbsd-src/sys/dev/mii/
H A Dmii_bitbang.c48 ops->mbo_write(sc, (x)); \
52 #define READ ops->mbo_read(sc)
54 #define MDO ops->mbo_bits[MII_BIT_MDO]
55 #define MDI ops->mbo_bits[MII_BIT_MDI]
56 #define MDC ops->mbo_bits[MII_BIT_MDC]
57 #define MDIRPHY ops->mbo_bits[MII_BIT_DIR_HOST_PHY]
58 #define MDIRHOST ops->mbo_bits[MII_BIT_DIR_PHY_HOST]
66 mii_bitbang_sync(device_t sc, mii_bitbang_ops_t ops) in mii_bitbang_sync() argument
86 mii_bitbang_sendbits(device_t sc, mii_bitbang_ops_t ops, uint32_t data, in mii_bitbang_sendbits() argument
112 mii_bitbang_readreg(device_t sc, mii_bitbang_ops_t ops, int phy, int reg, in mii_bitbang_readreg() argument
[all …]
/netbsd-src/sys/dev/i2c/
H A Di2c_bitbang.c51 #define SETBITS(x) ops->ibo_set_bits(v, (x))
52 #define DIR(x) ops->ibo_set_dir(v, (x))
53 #define READ ops->ibo_read_bits(v)
55 #define SDA ops->ibo_bits[I2C_BIT_SDA] /* i2c signal */
56 #define SCL ops->ibo_bits[I2C_BIT_SCL] /* i2c signal */
57 #define OUTPUT ops->ibo_bits[I2C_BIT_OUTPUT] /* SDA is output */
58 #define INPUT ops->ibo_bits[I2C_BIT_INPUT] /* SDA is input */
67 i2c_wait_for_scl(void *v, i2c_bitbang_ops_t ops) in i2c_wait_for_scl() argument
76 i2c_bitbang_send_stop(v, 0, ops); in i2c_wait_for_scl()
84 i2c_bitbang_send_start(void *v, int flags, i2c_bitbang_ops_t ops) in i2c_bitbang_send_start() argument
[all …]
/netbsd-src/sys/dev/pci/igc/
H A Digc_api.c27 if (hw->mac.ops.init_params) { in igc_init_mac_params()
28 ret_val = hw->mac.ops.init_params(hw); in igc_init_mac_params()
53 if (hw->nvm.ops.init_params) { in igc_init_nvm_params()
54 ret_val = hw->nvm.ops.init_params(hw); in igc_init_nvm_params()
79 if (hw->phy.ops.init_params) { in igc_init_phy_params()
80 ret_val = hw->phy.ops.init_params(hw); in igc_init_phy_params()
225 if (hw->mac.ops.update_mc_addr_list) in igc_update_mc_addr_list()
226 hw->mac.ops.update_mc_addr_list(hw, mc_addr_list, in igc_update_mc_addr_list()
241 if (hw->mac.ops.check_for_link) in igc_check_for_link()
242 return hw->mac.ops.check_for_link(hw); in igc_check_for_link()
[all …]
H A Digc_phy.c28 phy->ops.init_params = igc_null_ops_generic; in igc_init_phy_ops_generic()
29 phy->ops.acquire = igc_null_ops_generic; in igc_init_phy_ops_generic()
30 phy->ops.check_reset_block = igc_null_ops_generic; in igc_init_phy_ops_generic()
31 phy->ops.force_speed_duplex = igc_null_ops_generic; in igc_init_phy_ops_generic()
32 phy->ops.get_info = igc_null_ops_generic; in igc_init_phy_ops_generic()
33 phy->ops.set_page = igc_null_set_page; in igc_init_phy_ops_generic()
34 phy->ops.read_reg = igc_null_read_reg; in igc_init_phy_ops_generic()
35 phy->ops.read_reg_locked = igc_null_read_reg; in igc_init_phy_ops_generic()
36 phy->ops.read_reg_page = igc_null_read_reg; in igc_init_phy_ops_generic()
37 phy->ops.release = igc_null_phy_generic; in igc_init_phy_ops_generic()
[all …]
H A Digc_i225.c62 nvm->ops.acquire = igc_acquire_nvm_i225; in igc_init_nvm_params_i225()
63 nvm->ops.release = igc_release_nvm_i225; in igc_init_nvm_params_i225()
66 nvm->ops.read = igc_read_nvm_srrd_i225; in igc_init_nvm_params_i225()
67 nvm->ops.write = igc_write_nvm_srwr_i225; in igc_init_nvm_params_i225()
68 nvm->ops.validate = igc_validate_nvm_checksum_i225; in igc_init_nvm_params_i225()
69 nvm->ops.update = igc_update_nvm_checksum_i225; in igc_init_nvm_params_i225()
72 nvm->ops.write = igc_null_write_nvm; in igc_init_nvm_params_i225()
73 nvm->ops.validate = igc_null_ops_generic; in igc_init_nvm_params_i225()
74 nvm->ops.update = igc_null_ops_generic; in igc_init_nvm_params_i225()
103 mac->ops.reset_hw = igc_reset_hw_i225; in igc_init_mac_params_i225()
[all …]
/netbsd-src/sys/fs/v7fs/
H A Dv7fs_endian.c160 struct endian_conversion_ops *ops = &fs->val; in v7fs_endian_init() local
166 ops->conv32 = val32_normal_order; in v7fs_endian_init()
167 ops->conv16 = val16_normal_order; in v7fs_endian_init()
168 ops->conv24read = val24_normal_order_read; in v7fs_endian_init()
169 ops->conv24write = val24_normal_order_write; in v7fs_endian_init()
172 ops->conv32 = val32_reverse_order; in v7fs_endian_init()
173 ops->conv16 = val16_reverse_order; in v7fs_endian_init()
174 ops->conv24read = val24_reverse_order_read; in v7fs_endian_init()
175 ops->conv24write = val24_reverse_order_write; in v7fs_endian_init()
178 ops->conv32 = val32_pdp_to_little; in v7fs_endian_init()
[all …]
/netbsd-src/sys/dev/wscons/
H A Dwsemulconf.c47 const struct wsemul_ops *ops; member
69 const struct wsemul_ops **ops; in wsemul_pick() local
82 if (!strcmp(name, wep->ops->name)) { in wsemul_pick()
84 return wep->ops; in wsemul_pick()
87 for (ops = &wsemul_conf[0]; *ops != NULL; ops++) in wsemul_pick()
88 if (strcmp(name, (*ops)->name) == 0) in wsemul_pick()
91 return (*ops); in wsemul_pick()
95 wsemul_drop(const struct wsemul_ops *ops) in wsemul_drop() argument
100 if (ops == wep->ops) { in wsemul_drop()
107 wsemul_add(const struct wsemul_ops *ops) in wsemul_add() argument
[all …]
/netbsd-src/usr.sbin/gspa/gspa/
H A Dgsp_pseu.c45 pseudo(int code, operand ops) in pseudo() argument
54 if( ops == NULL ) in pseudo()
56 if( ops->type != EXPR ){ in pseudo()
60 if( !eval_expr(ops->op_u.value, &val, &ln) ){ in pseudo()
75 if( ops == NULL ) in pseudo()
77 if( ops->type != EXPR ){ in pseudo()
81 do_asg(label, ops->op_u.value, 0); in pseudo()
86 if( ops == NULL ) in pseudo()
88 for( o = ops; o != NULL; o = o->next ){ in pseudo()
109 if( ops == NULL ) in pseudo()
[all …]
/netbsd-src/sys/dev/onewire/
H A Donewire_bitbang.c78 onewire_bb_reset(const struct onewire_bbops *ops, void *arg) in onewire_bb_reset() argument
84 ops->bb_tx(arg); in onewire_bb_reset()
85 ops->bb_set(arg, 0); in onewire_bb_reset()
87 ops->bb_set(arg, 1); in onewire_bb_reset()
88 ops->bb_rx(arg); in onewire_bb_reset()
91 if ((rv = ops->bb_get(arg)) == 0) in onewire_bb_reset()
112 ops->bb_tx(arg); in onewire_bb_reset()
113 ops->bb_set(arg, 1); in onewire_bb_reset()
130 onewire_bb_write_bit(const struct onewire_bbops *ops, void *arg, int value) in onewire_bb_write_bit() argument
143 ops->bb_set(arg, 0); in onewire_bb_write_bit()
[all …]
/netbsd-src/external/lgpl3/gmp/dist/tests/devel/
H A Dgen-test-longlong_h.c35 mp_limb_t ops[1000]; variable
65 ops[n_operands++] = 1 << i; in main()
66 ops[n_operands++] = -(1 << i); in main()
67 ops[n_operands++] = (1 << i) - 1; in main()
68 ops[n_operands++] = -(1 << i) - 1; in main()
80 printf ("%ld,", (long) ops[i]); in main()
91 one (op, n_functions++, ops[i], ops[j]); in main()
113 …printf ("{%6ld,%2ld},", (long) ( ops[i] + ops[j]), (long) ((mp_limb_t) ((ops[i] + ops[j]) < ops[i]… in main()
115 printf ("{%6ld,%2ld},", (long) ( ops[i] - ops[j]), (long) (-(mp_limb_t) (ops[i] < ops[j]))); in main()
/netbsd-src/sys/arch/hpcmips/dev/
H A Dmq200machdep.c63 static void mq200_setupregs(struct mq200_softc *sc, u_int32_t *ops);
211 mq200_setupregs(struct mq200_softc *sc, u_int32_t *ops) in mq200_setupregs() argument
216 switch (ops[0] & 0x3) { in mq200_setupregs()
219 mq200_write(sc, ops[0], ops[1]); in mq200_setupregs()
221 reg = mq200_read(sc, ops[0]); in mq200_setupregs()
222 reg = (reg & ~mask) | (ops[1] & mask); in mq200_setupregs()
223 mq200_write(sc, ops[0], reg); in mq200_setupregs()
227 switch (ops[0]) { in mq200_setupregs()
231 mask = ops[1]; in mq200_setupregs()
234 mq200_pllparam(ops[1], &accum); in mq200_setupregs()
[all …]
/netbsd-src/external/bsd/ipf/dist/lib/
H A Dparseipfexpr.c42 char *temp, *arg, *s, *t, *ops, *error; local
79 for (ops = strtok(temp, ";"); ops != NULL; ops = strtok(NULL, ";")) {
80 arg = strchr(ops, '=');
81 if ((arg < ops + 2) || (arg == NULL)) {
96 if (strcmp(ops, e->ipoe_word) == 0)
103 ops);
153 if (!strcasecmp(ops, "ip.addr") ||
154 !strcasecmp(ops, "ip.src") ||
155 !strcasecmp(ops, "ip.dst")) {
179 } else if (!strcasecmp(ops, "ip6.addr") ||
[all …]
/netbsd-src/sys/dev/acpi/
H A Dacpi_resource.c85 const struct acpi_resource_parse_ops *ops; member
95 const struct acpi_resource_parse_ops *ops; in acpi_resource_parse_callback() local
100 ops = arg->ops; in acpi_resource_parse_callback()
111 if (ops->ioport) in acpi_resource_parse_callback()
112 (*ops->ioport)(arg->dev, arg->context, in acpi_resource_parse_callback()
124 if (ops->ioport) in acpi_resource_parse_callback()
125 (*ops->ioport)(arg->dev, arg->context, in acpi_resource_parse_callback()
134 if (ops->iorange) in acpi_resource_parse_callback()
135 (*ops in acpi_resource_parse_callback()
410 acpi_resource_parse(device_t dev,ACPI_HANDLE handle,const char * path,void * arg,const struct acpi_resource_parse_ops * ops) acpi_resource_parse() argument
448 acpi_resource_parse_any(device_t dev,ACPI_HANDLE handle,const char * path,void * arg,const struct acpi_resource_parse_ops * ops) acpi_resource_parse_any() argument
[all...]

12345678910>>...64