Lines Matching refs:mode

115   machine_mode mode;  member
228 expmed_mode_index (machine_mode mode) in expmed_mode_index() argument
230 switch (GET_MODE_CLASS (mode)) in expmed_mode_index()
233 return mode - MIN_MODE_INT; in expmed_mode_index()
238 return mode - MIN_MODE_PARTIAL_INT + NUM_MODE_INT; in expmed_mode_index()
244 return mode - MIN_MODE_VECTOR_INT + NUM_MODE_IP_INT; in expmed_mode_index()
258 machine_mode mode) in expmed_op_cheap_ptr() argument
260 int idx = expmed_mode_index (mode); in expmed_op_cheap_ptr()
269 machine_mode mode) in expmed_op_cost_ptr() argument
271 int idx = expmed_mode_index (mode); in expmed_op_cost_ptr()
278 sdiv_pow2_cheap_ptr (bool speed, machine_mode mode) in sdiv_pow2_cheap_ptr() argument
281 speed, mode); in sdiv_pow2_cheap_ptr()
288 set_sdiv_pow2_cheap (bool speed, machine_mode mode, bool cheap_p) in set_sdiv_pow2_cheap() argument
290 *sdiv_pow2_cheap_ptr (speed, mode) = cheap_p; in set_sdiv_pow2_cheap()
297 sdiv_pow2_cheap (bool speed, machine_mode mode) in sdiv_pow2_cheap() argument
299 return *sdiv_pow2_cheap_ptr (speed, mode); in sdiv_pow2_cheap()
305 smod_pow2_cheap_ptr (bool speed, machine_mode mode) in smod_pow2_cheap_ptr() argument
308 speed, mode); in smod_pow2_cheap_ptr()
315 set_smod_pow2_cheap (bool speed, machine_mode mode, bool cheap) in set_smod_pow2_cheap() argument
317 *smod_pow2_cheap_ptr (speed, mode) = cheap; in set_smod_pow2_cheap()
324 smod_pow2_cheap (bool speed, machine_mode mode) in smod_pow2_cheap() argument
326 return *smod_pow2_cheap_ptr (speed, mode); in smod_pow2_cheap()
356 add_cost_ptr (bool speed, machine_mode mode) in add_cost_ptr() argument
358 return expmed_op_cost_ptr (&this_target_expmed->x_add_cost, speed, mode); in add_cost_ptr()
364 set_add_cost (bool speed, machine_mode mode, int cost) in set_add_cost() argument
366 *add_cost_ptr (speed, mode) = cost; in set_add_cost()
372 add_cost (bool speed, machine_mode mode) in add_cost() argument
374 return *add_cost_ptr (speed, mode); in add_cost()
380 neg_cost_ptr (bool speed, machine_mode mode) in neg_cost_ptr() argument
382 return expmed_op_cost_ptr (&this_target_expmed->x_neg_cost, speed, mode); in neg_cost_ptr()
388 set_neg_cost (bool speed, machine_mode mode, int cost) in set_neg_cost() argument
390 *neg_cost_ptr (speed, mode) = cost; in set_neg_cost()
397 neg_cost (bool speed, machine_mode mode) in neg_cost() argument
399 return *neg_cost_ptr (speed, mode); in neg_cost()
405 shift_cost_ptr (bool speed, machine_mode mode, int bits) in shift_cost_ptr() argument
408 speed, mode); in shift_cost_ptr()
414 set_shift_cost (bool speed, machine_mode mode, int bits, int cost) in set_shift_cost() argument
416 *shift_cost_ptr (speed, mode, bits) = cost; in set_shift_cost()
423 shift_cost (bool speed, machine_mode mode, int bits) in shift_cost() argument
425 return *shift_cost_ptr (speed, mode, bits); in shift_cost()
431 shiftadd_cost_ptr (bool speed, machine_mode mode, int bits) in shiftadd_cost_ptr() argument
434 speed, mode); in shiftadd_cost_ptr()
441 set_shiftadd_cost (bool speed, machine_mode mode, int bits, int cost) in set_shiftadd_cost() argument
443 *shiftadd_cost_ptr (speed, mode, bits) = cost; in set_shiftadd_cost()
450 shiftadd_cost (bool speed, machine_mode mode, int bits) in shiftadd_cost() argument
452 return *shiftadd_cost_ptr (speed, mode, bits); in shiftadd_cost()
458 shiftsub0_cost_ptr (bool speed, machine_mode mode, int bits) in shiftsub0_cost_ptr() argument
461 speed, mode); in shiftsub0_cost_ptr()
468 set_shiftsub0_cost (bool speed, machine_mode mode, int bits, int cost) in set_shiftsub0_cost() argument
470 *shiftsub0_cost_ptr (speed, mode, bits) = cost; in set_shiftsub0_cost()
477 shiftsub0_cost (bool speed, machine_mode mode, int bits) in shiftsub0_cost() argument
479 return *shiftsub0_cost_ptr (speed, mode, bits); in shiftsub0_cost()
485 shiftsub1_cost_ptr (bool speed, machine_mode mode, int bits) in shiftsub1_cost_ptr() argument
488 speed, mode); in shiftsub1_cost_ptr()
495 set_shiftsub1_cost (bool speed, machine_mode mode, int bits, int cost) in set_shiftsub1_cost() argument
497 *shiftsub1_cost_ptr (speed, mode, bits) = cost; in set_shiftsub1_cost()
504 shiftsub1_cost (bool speed, machine_mode mode, int bits) in shiftsub1_cost() argument
506 return *shiftsub1_cost_ptr (speed, mode, bits); in shiftsub1_cost()
512 mul_cost_ptr (bool speed, machine_mode mode) in mul_cost_ptr() argument
514 return expmed_op_cost_ptr (&this_target_expmed->x_mul_cost, speed, mode); in mul_cost_ptr()
521 set_mul_cost (bool speed, machine_mode mode, int cost) in set_mul_cost() argument
523 *mul_cost_ptr (speed, mode) = cost; in set_mul_cost()
530 mul_cost (bool speed, machine_mode mode) in mul_cost() argument
532 return *mul_cost_ptr (speed, mode); in mul_cost()
538 sdiv_cost_ptr (bool speed, machine_mode mode) in sdiv_cost_ptr() argument
540 return expmed_op_cost_ptr (&this_target_expmed->x_sdiv_cost, speed, mode); in sdiv_cost_ptr()
547 set_sdiv_cost (bool speed, machine_mode mode, int cost) in set_sdiv_cost() argument
549 *sdiv_cost_ptr (speed, mode) = cost; in set_sdiv_cost()
556 sdiv_cost (bool speed, machine_mode mode) in sdiv_cost() argument
558 return *sdiv_cost_ptr (speed, mode); in sdiv_cost()
564 udiv_cost_ptr (bool speed, machine_mode mode) in udiv_cost_ptr() argument
566 return expmed_op_cost_ptr (&this_target_expmed->x_udiv_cost, speed, mode); in udiv_cost_ptr()
573 set_udiv_cost (bool speed, machine_mode mode, int cost) in set_udiv_cost() argument
575 *udiv_cost_ptr (speed, mode) = cost; in set_udiv_cost()
582 udiv_cost (bool speed, machine_mode mode) in udiv_cost() argument
584 return *udiv_cost_ptr (speed, mode); in udiv_cost()
590 mul_widen_cost_ptr (bool speed, machine_mode mode) in mul_widen_cost_ptr() argument
592 gcc_assert (GET_MODE_CLASS (mode) == MODE_INT); in mul_widen_cost_ptr()
594 return &this_target_expmed->x_mul_widen_cost[speed][mode - MIN_MODE_INT]; in mul_widen_cost_ptr()
601 set_mul_widen_cost (bool speed, machine_mode mode, int cost) in set_mul_widen_cost() argument
603 *mul_widen_cost_ptr (speed, mode) = cost; in set_mul_widen_cost()
610 mul_widen_cost (bool speed, machine_mode mode) in mul_widen_cost() argument
612 return *mul_widen_cost_ptr (speed, mode); in mul_widen_cost()
618 mul_highpart_cost_ptr (bool speed, machine_mode mode) in mul_highpart_cost_ptr() argument
620 gcc_assert (GET_MODE_CLASS (mode) == MODE_INT); in mul_highpart_cost_ptr()
621 int m = mode - MIN_MODE_INT; in mul_highpart_cost_ptr()
631 set_mul_highpart_cost (bool speed, machine_mode mode, int cost) in set_mul_highpart_cost() argument
633 *mul_highpart_cost_ptr (speed, mode) = cost; in set_mul_highpart_cost()
640 mul_highpart_cost (bool speed, machine_mode mode) in mul_highpart_cost() argument
642 return *mul_highpart_cost_ptr (speed, mode); in mul_highpart_cost()
682 machine_mode mode, machine_mode compare_mode,