Lines Matching refs:brw_codegen
89 struct brw_codegen { struct
151 void brw_pop_insn_state( struct brw_codegen *p ); argument
152 void brw_push_insn_state( struct brw_codegen *p );
153 unsigned brw_get_default_exec_size(struct brw_codegen *p);
154 unsigned brw_get_default_group(struct brw_codegen *p);
155 unsigned brw_get_default_access_mode(struct brw_codegen *p);
156 struct tgl_swsb brw_get_default_swsb(struct brw_codegen *p);
157 void brw_set_default_exec_size(struct brw_codegen *p, unsigned value);
158 void brw_set_default_mask_control( struct brw_codegen *p, unsigned value );
159 void brw_set_default_saturate( struct brw_codegen *p, bool enable );
160 void brw_set_default_access_mode( struct brw_codegen *p, unsigned access_mode );
163 void brw_set_default_compression(struct brw_codegen *p, bool on);
166 void brw_set_default_group(struct brw_codegen *p, unsigned group);
167 void brw_set_default_compression_control(struct brw_codegen *p, enum brw_compression c);
168 void brw_set_default_predicate_control(struct brw_codegen *p, enum brw_predicate pc);
169 void brw_set_default_predicate_inverse(struct brw_codegen *p, bool predicate_inverse);
170 void brw_set_default_flag_reg(struct brw_codegen *p, int reg, int subreg);
171 void brw_set_default_acc_write_control(struct brw_codegen *p, unsigned value);
172 void brw_set_default_swsb(struct brw_codegen *p, struct tgl_swsb value);
174 void brw_init_codegen(const struct gen_device_info *, struct brw_codegen *p,
191 const struct brw_shader_reloc *brw_get_shader_relocs(struct brw_codegen *p,
193 const unsigned *brw_get_program( struct brw_codegen *p, unsigned *sz );
195 bool brw_try_override_assembly(struct brw_codegen *p, int start_offset,
198 void brw_realign(struct brw_codegen *p, unsigned align);
199 int brw_append_data(struct brw_codegen *p, void *data,
201 brw_inst *brw_next_insn(struct brw_codegen *p, unsigned opcode);
202 void brw_set_dest(struct brw_codegen *p, brw_inst *insn, struct brw_reg dest);
203 void brw_set_src0(struct brw_codegen *p, brw_inst *insn, struct brw_reg reg);
205 void gen6_resolve_implied_move(struct brw_codegen *p,
212 brw_inst *brw_##OP(struct brw_codegen *p, \
217 brw_inst *brw_##OP(struct brw_codegen *p, \
223 brw_inst *brw_##OP(struct brw_codegen *p, \
1032 void brw_urb_WRITE(struct brw_codegen *p,
1048 brw_send_indirect_message(struct brw_codegen *p,
1057 brw_send_indirect_split_message(struct brw_codegen *p,
1068 void brw_ff_sync(struct brw_codegen *p,
1076 void brw_svb_write(struct brw_codegen *p,
1083 brw_inst *brw_fb_WRITE(struct brw_codegen *p,
1094 brw_inst *gen9_fb_READ(struct brw_codegen *p,
1102 void brw_SAMPLE(struct brw_codegen *p,
1115 void brw_adjust_sampler_state_pointer(struct brw_codegen *p,
1119 void gen4_math(struct brw_codegen *p,
1126 void gen6_math(struct brw_codegen *p,
1132 void brw_oword_block_read(struct brw_codegen *p,
1138 unsigned brw_scratch_surface_idx(const struct brw_codegen *p);
1140 void brw_oword_block_read_scratch(struct brw_codegen *p,
1146 void brw_oword_block_write_scratch(struct brw_codegen *p,
1151 void gen7_block_read_scratch(struct brw_codegen *p,
1156 void brw_shader_time_add(struct brw_codegen *p,
1184 void brw_barrier(struct brw_codegen *p, struct brw_reg src);
1189 brw_inst *brw_IF(struct brw_codegen *p, unsigned execute_size);
1190 brw_inst *gen6_IF(struct brw_codegen *p, enum brw_conditional_mod conditional,
1193 void brw_ELSE(struct brw_codegen *p);
1194 void brw_ENDIF(struct brw_codegen *p);
1198 brw_inst *brw_DO(struct brw_codegen *p, unsigned execute_size);
1200 brw_inst *brw_WHILE(struct brw_codegen *p);
1202 brw_inst *brw_BREAK(struct brw_codegen *p);
1203 brw_inst *brw_CONT(struct brw_codegen *p);
1204 brw_inst *brw_HALT(struct brw_codegen *p);
1208 void brw_land_fwd_jump(struct brw_codegen *p, int jmp_insn_idx);
1210 brw_inst *brw_JMPI(struct brw_codegen *p, struct brw_reg index,
1213 void brw_NOP(struct brw_codegen *p);
1215 void brw_WAIT(struct brw_codegen *p);
1217 void brw_SYNC(struct brw_codegen *p, enum tgl_sync_function func);
1222 void brw_CMP(struct brw_codegen *p,
1229 brw_untyped_atomic(struct brw_codegen *p,
1239 brw_untyped_surface_read(struct brw_codegen *p,
1247 brw_untyped_surface_write(struct brw_codegen *p,
1255 brw_memory_fence(struct brw_codegen *p,
1264 brw_pixel_interpolator_query(struct brw_codegen *p,
1274 brw_find_live_channel(struct brw_codegen *p,
1279 brw_broadcast(struct brw_codegen *p,
1285 brw_float_controls_mode(struct brw_codegen *p,
1294 brw_MOV_reloc_imm(struct brw_codegen *p,
1303 void brw_copy_indirect_to_indirect(struct brw_codegen *p,
1308 void brw_copy_from_indirect(struct brw_codegen *p,
1313 void brw_copy4(struct brw_codegen *p,
1318 void brw_copy8(struct brw_codegen *p,
1323 void brw_math_invert( struct brw_codegen *p,
1327 void brw_set_src1(struct brw_codegen *p, brw_inst *insn, struct brw_reg reg);
1329 void brw_set_desc_ex(struct brw_codegen *p, brw_inst *insn,
1333 brw_set_desc(struct brw_codegen *p, brw_inst *insn, unsigned desc) in brw_set_desc()
1338 void brw_set_uip_jip(struct brw_codegen *p, int start_offset);
1344 void brw_compact_instructions(struct brw_codegen *p, int start_offset,