Lines Matching refs:brw_compile
49 struct brw_compile { struct
94 static inline struct brw_instruction *current_insn( struct brw_compile *p) in current_insn() argument
99 void brw_pop_insn_state( struct brw_compile *p );
100 void brw_push_insn_state( struct brw_compile *p );
101 void brw_set_mask_control( struct brw_compile *p, unsigned value );
102 void brw_set_saturate( struct brw_compile *p, bool enable );
103 void brw_set_access_mode( struct brw_compile *p, unsigned access_mode );
104 void brw_set_compression_control(struct brw_compile *p, enum brw_compression c);
105 void brw_set_predicate_control_flag_value( struct brw_compile *p, unsigned value );
106 void brw_set_predicate_control( struct brw_compile *p, unsigned pc );
107 void brw_set_predicate_inverse(struct brw_compile *p, bool predicate_inverse);
108 void brw_set_conditionalmod( struct brw_compile *p, unsigned conditional );
109 void brw_set_flag_reg(struct brw_compile *p, int reg, int subreg);
110 void brw_set_acc_write_control(struct brw_compile *p, unsigned value);
112 void brw_init_compile(struct brw_context *, struct brw_compile *p,
114 void brw_dump_compile(struct brw_compile *p, FILE *out, int start, int end);
115 const unsigned *brw_get_program( struct brw_compile *p, unsigned *sz );
117 struct brw_instruction *brw_next_insn(struct brw_compile *p, unsigned opcode);
118 void brw_set_dest(struct brw_compile *p, struct brw_instruction *insn,
120 void brw_set_src0(struct brw_compile *p, struct brw_instruction *insn,
123 void gen6_resolve_implied_move(struct brw_compile *p,
130 struct brw_instruction *brw_##OP(struct brw_compile *p, \
135 struct brw_instruction *brw_##OP(struct brw_compile *p, \
141 struct brw_instruction *brw_##OP(struct brw_compile *p, \
148 void brw_##OP(struct brw_compile *p, struct brw_reg dest, struct brw_reg src0);
189 void brw_set_sampler_message(struct brw_compile *p,
200 void brw_set_dp_read_message(struct brw_compile *p,
210 void brw_set_dp_write_message(struct brw_compile *p,
222 void brw_urb_WRITE(struct brw_compile *p,
235 void brw_ff_sync(struct brw_compile *p,
243 void brw_svb_write(struct brw_compile *p,
250 void brw_fb_WRITE(struct brw_compile *p,
261 void brw_SAMPLE(struct brw_compile *p,
275 void brw_math( struct brw_compile *p,
283 void brw_math2(struct brw_compile *p,
289 void brw_oword_block_read(struct brw_compile *p,
295 void brw_oword_block_read_scratch(struct brw_compile *p,
301 void brw_oword_block_write_scratch(struct brw_compile *p,
306 void brw_shader_time_add(struct brw_compile *p,
313 struct brw_instruction *brw_IF(struct brw_compile *p,
315 struct brw_instruction *gen6_IF(struct brw_compile *p, uint32_t conditional,
318 void brw_ELSE(struct brw_compile *p);
319 void brw_ENDIF(struct brw_compile *p);
323 struct brw_instruction *brw_DO(struct brw_compile *p,
326 struct brw_instruction *brw_WHILE(struct brw_compile *p);
328 struct brw_instruction *brw_BREAK(struct brw_compile *p);
329 struct brw_instruction *brw_CONT(struct brw_compile *p);
330 struct brw_instruction *gen6_CONT(struct brw_compile *p);
331 struct brw_instruction *gen6_HALT(struct brw_compile *p);
334 void brw_land_fwd_jump(struct brw_compile *p, int jmp_insn_idx);
338 void brw_NOP(struct brw_compile *p);
340 void brw_WAIT(struct brw_compile *p);
345 void brw_CMP(struct brw_compile *p,
355 void brw_copy_indirect_to_indirect(struct brw_compile *p,
360 void brw_copy_from_indirect(struct brw_compile *p,
365 void brw_copy4(struct brw_compile *p,
370 void brw_copy8(struct brw_compile *p,
375 void brw_math_invert( struct brw_compile *p,
379 void brw_set_src1(struct brw_compile *p,
383 void brw_set_uip_jip(struct brw_compile *p);
388 brw_set_3src_dest(struct brw_compile *p,
392 brw_set_3src_src0(struct brw_compile *p,
396 brw_set_3src_src1(struct brw_compile *p,
400 brw_set_3src_src2(struct brw_compile *p,
406 void brw_compact_instructions(struct brw_compile *p);
410 bool brw_try_compact_instruction(struct brw_compile *p,
419 void brw_optimize(struct brw_compile *p);
420 void brw_remove_duplicate_mrf_moves(struct brw_compile *p);
421 void brw_remove_grf_to_mrf_moves(struct brw_compile *p);