Lines Matching refs:mode

106   machine_mode mode;  member
219 expmed_mode_index (machine_mode mode) in expmed_mode_index() argument
221 switch (GET_MODE_CLASS (mode)) in expmed_mode_index()
224 return mode - MIN_MODE_INT; in expmed_mode_index()
229 return mode - MIN_MODE_PARTIAL_INT + NUM_MODE_INT; in expmed_mode_index()
235 return mode - MIN_MODE_VECTOR_INT + NUM_MODE_IP_INT; in expmed_mode_index()
249 machine_mode mode) in expmed_op_cheap_ptr() argument
251 int idx = expmed_mode_index (mode); in expmed_op_cheap_ptr()
260 machine_mode mode) in expmed_op_cost_ptr() argument
262 int idx = expmed_mode_index (mode); in expmed_op_cost_ptr()
269 sdiv_pow2_cheap_ptr (bool speed, machine_mode mode) in sdiv_pow2_cheap_ptr() argument
272 speed, mode); in sdiv_pow2_cheap_ptr()
279 set_sdiv_pow2_cheap (bool speed, machine_mode mode, bool cheap_p) in set_sdiv_pow2_cheap() argument
281 *sdiv_pow2_cheap_ptr (speed, mode) = cheap_p; in set_sdiv_pow2_cheap()
288 sdiv_pow2_cheap (bool speed, machine_mode mode) in sdiv_pow2_cheap() argument
290 return *sdiv_pow2_cheap_ptr (speed, mode); in sdiv_pow2_cheap()
296 smod_pow2_cheap_ptr (bool speed, machine_mode mode) in smod_pow2_cheap_ptr() argument
299 speed, mode); in smod_pow2_cheap_ptr()
306 set_smod_pow2_cheap (bool speed, machine_mode mode, bool cheap) in set_smod_pow2_cheap() argument
308 *smod_pow2_cheap_ptr (speed, mode) = cheap; in set_smod_pow2_cheap()
315 smod_pow2_cheap (bool speed, machine_mode mode) in smod_pow2_cheap() argument
317 return *smod_pow2_cheap_ptr (speed, mode); in smod_pow2_cheap()
347 add_cost_ptr (bool speed, machine_mode mode) in add_cost_ptr() argument
349 return expmed_op_cost_ptr (&this_target_expmed->x_add_cost, speed, mode); in add_cost_ptr()
355 set_add_cost (bool speed, machine_mode mode, int cost) in set_add_cost() argument
357 *add_cost_ptr (speed, mode) = cost; in set_add_cost()
363 add_cost (bool speed, machine_mode mode) in add_cost() argument
365 return *add_cost_ptr (speed, mode); in add_cost()
371 neg_cost_ptr (bool speed, machine_mode mode) in neg_cost_ptr() argument
373 return expmed_op_cost_ptr (&this_target_expmed->x_neg_cost, speed, mode); in neg_cost_ptr()
379 set_neg_cost (bool speed, machine_mode mode, int cost) in set_neg_cost() argument
381 *neg_cost_ptr (speed, mode) = cost; in set_neg_cost()
388 neg_cost (bool speed, machine_mode mode) in neg_cost() argument
390 return *neg_cost_ptr (speed, mode); in neg_cost()
396 shift_cost_ptr (bool speed, machine_mode mode, int bits) in shift_cost_ptr() argument
399 speed, mode); in shift_cost_ptr()
405 set_shift_cost (bool speed, machine_mode mode, int bits, int cost) in set_shift_cost() argument
407 *shift_cost_ptr (speed, mode, bits) = cost; in set_shift_cost()
414 shift_cost (bool speed, machine_mode mode, int bits) in shift_cost() argument
416 return *shift_cost_ptr (speed, mode, bits); in shift_cost()
422 shiftadd_cost_ptr (bool speed, machine_mode mode, int bits) in shiftadd_cost_ptr() argument
425 speed, mode); in shiftadd_cost_ptr()
432 set_shiftadd_cost (bool speed, machine_mode mode, int bits, int cost) in set_shiftadd_cost() argument
434 *shiftadd_cost_ptr (speed, mode, bits) = cost; in set_shiftadd_cost()
441 shiftadd_cost (bool speed, machine_mode mode, int bits) in shiftadd_cost() argument
443 return *shiftadd_cost_ptr (speed, mode, bits); in shiftadd_cost()
449 shiftsub0_cost_ptr (bool speed, machine_mode mode, int bits) in shiftsub0_cost_ptr() argument
452 speed, mode); in shiftsub0_cost_ptr()
459 set_shiftsub0_cost (bool speed, machine_mode mode, int bits, int cost) in set_shiftsub0_cost() argument
461 *shiftsub0_cost_ptr (speed, mode, bits) = cost; in set_shiftsub0_cost()
468 shiftsub0_cost (bool speed, machine_mode mode, int bits) in shiftsub0_cost() argument
470 return *shiftsub0_cost_ptr (speed, mode, bits); in shiftsub0_cost()
476 shiftsub1_cost_ptr (bool speed, machine_mode mode, int bits) in shiftsub1_cost_ptr() argument
479 speed, mode); in shiftsub1_cost_ptr()
486 set_shiftsub1_cost (bool speed, machine_mode mode, int bits, int cost) in set_shiftsub1_cost() argument
488 *shiftsub1_cost_ptr (speed, mode, bits) = cost; in set_shiftsub1_cost()
495 shiftsub1_cost (bool speed, machine_mode mode, int bits) in shiftsub1_cost() argument
497 return *shiftsub1_cost_ptr (speed, mode, bits); in shiftsub1_cost()
503 mul_cost_ptr (bool speed, machine_mode mode) in mul_cost_ptr() argument
505 return expmed_op_cost_ptr (&this_target_expmed->x_mul_cost, speed, mode); in mul_cost_ptr()
512 set_mul_cost (bool speed, machine_mode mode, int cost) in set_mul_cost() argument
514 *mul_cost_ptr (speed, mode) = cost; in set_mul_cost()
521 mul_cost (bool speed, machine_mode mode) in mul_cost() argument
523 return *mul_cost_ptr (speed, mode); in mul_cost()
529 sdiv_cost_ptr (bool speed, machine_mode mode) in sdiv_cost_ptr() argument
531 return expmed_op_cost_ptr (&this_target_expmed->x_sdiv_cost, speed, mode); in sdiv_cost_ptr()
538 set_sdiv_cost (bool speed, machine_mode mode, int cost) in set_sdiv_cost() argument
540 *sdiv_cost_ptr (speed, mode) = cost; in set_sdiv_cost()
547 sdiv_cost (bool speed, machine_mode mode) in sdiv_cost() argument
549 return *sdiv_cost_ptr (speed, mode); in sdiv_cost()
555 udiv_cost_ptr (bool speed, machine_mode mode) in udiv_cost_ptr() argument
557 return expmed_op_cost_ptr (&this_target_expmed->x_udiv_cost, speed, mode); in udiv_cost_ptr()
564 set_udiv_cost (bool speed, machine_mode mode, int cost) in set_udiv_cost() argument
566 *udiv_cost_ptr (speed, mode) = cost; in set_udiv_cost()
573 udiv_cost (bool speed, machine_mode mode) in udiv_cost() argument
575 return *udiv_cost_ptr (speed, mode); in udiv_cost()
581 mul_widen_cost_ptr (bool speed, machine_mode mode) in mul_widen_cost_ptr() argument
583 gcc_assert (GET_MODE_CLASS (mode) == MODE_INT); in mul_widen_cost_ptr()
585 return &this_target_expmed->x_mul_widen_cost[speed][mode - MIN_MODE_INT]; in mul_widen_cost_ptr()
592 set_mul_widen_cost (bool speed, machine_mode mode, int cost) in set_mul_widen_cost() argument
594 *mul_widen_cost_ptr (speed, mode) = cost; in set_mul_widen_cost()
601 mul_widen_cost (bool speed, machine_mode mode) in mul_widen_cost() argument
603 return *mul_widen_cost_ptr (speed, mode); in mul_widen_cost()
609 mul_highpart_cost_ptr (bool speed, machine_mode mode) in mul_highpart_cost_ptr() argument
611 gcc_assert (GET_MODE_CLASS (mode) == MODE_INT); in mul_highpart_cost_ptr()
613 return &this_target_expmed->x_mul_highpart_cost[speed][mode - MIN_MODE_INT]; in mul_highpart_cost_ptr()
620 set_mul_highpart_cost (bool speed, machine_mode mode, int cost) in set_mul_highpart_cost() argument
622 *mul_highpart_cost_ptr (speed, mode) = cost; in set_mul_highpart_cost()
629 mul_highpart_cost (bool speed, machine_mode mode) in mul_highpart_cost() argument
631 return *mul_highpart_cost_ptr (speed, mode); in mul_highpart_cost()
671 enum machine_mode mode, enum machine_mode compare_mode,