Lines Matching refs:brw_reg
216 struct brw_reg { struct
252 brw_regs_equal(const struct brw_reg *a, const struct brw_reg *b) in brw_regs_equal() argument
258 brw_regs_negative_equal(const struct brw_reg *a, const struct brw_reg *b) in brw_regs_negative_equal()
299 struct brw_reg tmp = *a; in brw_regs_negative_equal()
402 static inline struct brw_reg
403 brw_reg(enum brw_reg_file file, in brw_reg() function
415 struct brw_reg reg; in brw_reg()
451 static inline struct brw_reg
454 return brw_reg(file, in brw_vec16_reg()
468 static inline struct brw_reg
471 return brw_reg(file, in brw_vec8_reg()
485 static inline struct brw_reg
488 return brw_reg(file, in brw_vec4_reg()
502 static inline struct brw_reg
505 return brw_reg(file, in brw_vec2_reg()
519 static inline struct brw_reg
522 return brw_reg(file, in brw_vec1_reg()
535 static inline struct brw_reg
555 static inline struct brw_reg
556 retype(struct brw_reg reg, enum brw_reg_type type) in retype()
562 static inline struct brw_reg
563 firsthalf(struct brw_reg reg) in firsthalf()
568 static inline struct brw_reg
569 sechalf(struct brw_reg reg) in sechalf()
576 static inline struct brw_reg
577 offset(struct brw_reg reg, unsigned delta) in offset()
584 static inline struct brw_reg
585 byte_offset(struct brw_reg reg, unsigned bytes) in byte_offset()
593 static inline struct brw_reg
594 suboffset(struct brw_reg reg, unsigned delta) in suboffset()
600 static inline struct brw_reg
607 static inline struct brw_reg
614 static inline struct brw_reg
620 static inline struct brw_reg
626 static inline struct brw_reg
629 return brw_reg(BRW_IMMEDIATE_VALUE, in brw_imm_reg()
643 static inline struct brw_reg
646 struct brw_reg imm = brw_imm_reg(BRW_REGISTER_TYPE_DF); in brw_imm_df()
651 static inline struct brw_reg
654 struct brw_reg imm = brw_imm_reg(BRW_REGISTER_TYPE_UQ); in brw_imm_u64()
659 static inline struct brw_reg
662 struct brw_reg imm = brw_imm_reg(BRW_REGISTER_TYPE_F); in brw_imm_f()
668 static inline struct brw_reg
671 struct brw_reg imm = brw_imm_reg(BRW_REGISTER_TYPE_Q); in brw_imm_q()
677 static inline struct brw_reg
680 struct brw_reg imm = brw_imm_reg(BRW_REGISTER_TYPE_UQ); in brw_imm_uq()
686 static inline struct brw_reg
689 struct brw_reg imm = brw_imm_reg(BRW_REGISTER_TYPE_D); in brw_imm_d()
695 static inline struct brw_reg
698 struct brw_reg imm = brw_imm_reg(BRW_REGISTER_TYPE_UD); in brw_imm_ud()
704 static inline struct brw_reg
707 struct brw_reg imm = brw_imm_reg(BRW_REGISTER_TYPE_UW); in brw_imm_uw()
713 static inline struct brw_reg
716 struct brw_reg imm = brw_imm_reg(BRW_REGISTER_TYPE_W); in brw_imm_w()
726 static inline struct brw_reg
729 struct brw_reg imm = brw_imm_reg(BRW_REGISTER_TYPE_V); in brw_imm_v()
735 static inline struct brw_reg
738 struct brw_reg imm = brw_imm_reg(BRW_REGISTER_TYPE_UV); in brw_imm_uv()
744 static inline struct brw_reg
747 struct brw_reg imm = brw_imm_reg(BRW_REGISTER_TYPE_VF); in brw_imm_vf()
752 static inline struct brw_reg
755 struct brw_reg imm = brw_imm_reg(BRW_REGISTER_TYPE_VF); in brw_imm_vf4()
764 static inline struct brw_reg
765 brw_address(struct brw_reg reg) in brw_address()
771 static inline struct brw_reg
778 static inline struct brw_reg
785 static inline struct brw_reg
792 static inline struct brw_reg
799 static inline struct brw_reg
805 static inline struct brw_reg
812 static inline struct brw_reg
818 static inline struct brw_reg
826 static inline struct brw_reg
832 static inline struct brw_reg
838 static inline struct brw_reg
844 static inline struct brw_reg
854 static inline struct brw_reg
857 return brw_reg(BRW_ARCHITECTURE_REGISTER_FILE, in brw_ip_reg()
870 static inline struct brw_reg
873 return brw_reg(BRW_ARCHITECTURE_REGISTER_FILE, in brw_notification_reg()
886 static inline struct brw_reg
892 static inline struct brw_reg
898 static inline struct brw_reg
905 static inline struct brw_reg
912 static inline struct brw_reg
924 static inline struct brw_reg
930 static inline struct brw_reg
936 static inline struct brw_reg
942 static inline struct brw_reg
950 static inline struct brw_reg
957 static inline struct brw_reg
963 static inline struct brw_reg
987 static inline struct brw_reg
988 stride(struct brw_reg reg, unsigned vstride, unsigned width, unsigned hstride) in stride()
1000 static inline struct brw_reg
1001 spread(struct brw_reg reg, unsigned s) in spread()
1022 static inline struct brw_reg
1023 subscript(struct brw_reg reg, enum brw_reg_type type, unsigned i) in subscript()
1034 static inline struct brw_reg
1035 vec16(struct brw_reg reg) in vec16()
1040 static inline struct brw_reg
1041 vec8(struct brw_reg reg) in vec8()
1046 static inline struct brw_reg
1047 vec4(struct brw_reg reg) in vec4()
1052 static inline struct brw_reg
1053 vec2(struct brw_reg reg) in vec2()
1058 static inline struct brw_reg
1059 vec1(struct brw_reg reg) in vec1()
1065 static inline struct brw_reg
1066 get_element(struct brw_reg reg, unsigned elt) in get_element()
1071 static inline struct brw_reg
1072 get_element_ud(struct brw_reg reg, unsigned elt) in get_element_ud()
1077 static inline struct brw_reg
1078 get_element_d(struct brw_reg reg, unsigned elt) in get_element_d()
1083 static inline struct brw_reg
1084 brw_swizzle(struct brw_reg reg, unsigned swz) in brw_swizzle()
1094 static inline struct brw_reg
1095 brw_writemask(struct brw_reg reg, unsigned mask) in brw_writemask()
1102 static inline struct brw_reg
1103 brw_set_writemask(struct brw_reg reg, unsigned mask) in brw_set_writemask()
1123 static inline struct brw_reg
1124 negate(struct brw_reg reg) in negate()
1130 static inline struct brw_reg
1131 brw_abs(struct brw_reg reg) in brw_abs()
1140 static inline struct brw_reg
1143 struct brw_reg reg = brw_vec4_grf(0, 0); in brw_vec4_indirect()
1150 static inline struct brw_reg
1153 struct brw_reg reg = brw_vec1_grf(0, 0); in brw_vec1_indirect()
1160 static inline struct brw_reg
1163 struct brw_reg reg = brw_vec1_grf(0, 0); in brw_VxH_indirect()
1171 static inline struct brw_reg
1177 static inline struct brw_reg
1183 static inline struct brw_reg
1189 static inline struct brw_reg
1195 static inline struct brw_reg
1201 static inline struct brw_reg
1207 static inline struct brw_reg
1231 region_matches(struct brw_reg reg, enum brw_vertical_stride v, in region_matches()