Home | History | Annotate | Download | only in compiler

Lines Matching refs:nr

226          unsigned nr:16;
332 * \param nr register number/index
345 unsigned nr,
358 assert(nr < BRW_MAX_GRF);
360 assert(nr <= BRW_ARF_TIMESTAMP);
373 reg.nr = nr;
393 brw_vec16_reg(enum brw_reg_file file, unsigned nr, unsigned subnr)
396 nr,
410 brw_vec8_reg(enum brw_reg_file file, unsigned nr, unsigned subnr)
413 nr,
427 brw_vec4_reg(enum brw_reg_file file, unsigned nr, unsigned subnr)
430 nr,
444 brw_vec2_reg(enum brw_reg_file file, unsigned nr, unsigned subnr)
447 nr,
461 brw_vec1_reg(enum brw_reg_file file, unsigned nr, unsigned subnr)
464 nr,
478 unsigned nr, unsigned subnr)
482 return brw_vec1_reg(file, nr, subnr);
484 return brw_vec2_reg(file, nr, subnr);
486 return brw_vec4_reg(file, nr, subnr);
488 return brw_vec8_reg(file, nr, subnr);
490 return brw_vec16_reg(file, nr, subnr);
513 reg.nr++;
520 reg.nr += delta;
528 unsigned newoffset = reg.nr * REG_SIZE + reg.subnr + bytes;
529 reg.nr = newoffset / REG_SIZE;
542 brw_uw16_reg(enum brw_reg_file file, unsigned nr, unsigned subnr)
544 return suboffset(retype(brw_vec16_reg(file, nr, 0), BRW_REGISTER_TYPE_UW), subnr);
549 brw_uw8_reg(enum brw_reg_file file, unsigned nr, unsigned subnr)
551 return suboffset(retype(brw_vec8_reg(file, nr, 0), BRW_REGISTER_TYPE_UW), subnr);
556 brw_uw1_reg(enum brw_reg_file file, unsigned nr, unsigned subnr)
558 return suboffset(retype(brw_vec1_reg(file, nr, 0), BRW_REGISTER_TYPE_UW), subnr);
562 brw_ud1_reg(enum brw_reg_file file, unsigned nr, unsigned subnr)
564 nr, subnr), BRW_REGISTER_TYPE_UD);
700 return brw_imm_uw(reg.nr * REG_SIZE + reg.subnr);
705 brw_vec1_grf(unsigned nr, unsigned subnr)
707 return brw_vec1_reg(BRW_GENERAL_REGISTER_FILE, nr, subnr);
712 brw_vec2_grf(unsigned nr, unsigned subnr)
714 return brw_vec2_reg(BRW_GENERAL_REGISTER_FILE, nr, subnr);
719 brw_vec4_grf(unsigned nr, unsigned subnr)
721 return brw_vec4_reg(BRW_GENERAL_REGISTER_FILE, nr, subnr);
726 brw_vec8_grf(unsigned nr, unsigned subnr)
728 return brw_vec8_reg(BRW_GENERAL_REGISTER_FILE, nr, subnr);
733 brw_vec16_grf(unsigned nr, unsigned subnr)
735 return brw_vec16_reg(BRW_GENERAL_REGISTER_FILE, nr, subnr);
739 brw_vecn_grf(unsigned width, unsigned nr, unsigned subnr)
741 return brw_vecn_reg(width, BRW_GENERAL_REGISTER_FILE, nr, subnr);
746 brw_uw8_grf(unsigned nr, unsigned subnr)
748 return brw_uw8_reg(BRW_GENERAL_REGISTER_FILE, nr, subnr);
752 brw_uw16_grf(unsigned nr, unsigned subnr)
754 return brw_uw16_reg(BRW_GENERAL_REGISTER_FILE, nr, subnr);
869 brw_message_reg(unsigned nr)
871 return brw_vec8_reg(BRW_MESSAGE_REGISTER_FILE, nr, 0);
875 brw_uvec_mrf(unsigned width, unsigned nr, unsigned subnr)
877 return retype(brw_vecn_reg(width, BRW_MESSAGE_REGISTER_FILE, nr, subnr),