Lines Matching refs:brw_program_instruction
87 static void set_instruction_opcode(struct brw_program_instruction *instr,
89 static int set_instruction_dest(struct brw_program_instruction *instr,
91 static int set_instruction_src0(struct brw_program_instruction *instr,
94 static int set_instruction_src1(struct brw_program_instruction *instr,
97 static int set_instruction_dest_three_src(struct brw_program_instruction *instr,
99 static int set_instruction_src0_three_src(struct brw_program_instruction *instr,
101 static int set_instruction_src1_three_src(struct brw_program_instruction *instr,
103 static int set_instruction_src2_three_src(struct brw_program_instruction *instr,
105 static void set_instruction_saturate(struct brw_program_instruction *instr,
107 static void set_instruction_options(struct brw_program_instruction *instr,
109 static void set_instruction_predicate(struct brw_program_instruction *instr,
111 static void set_instruction_pred_cond(struct brw_program_instruction *instr,
120 void set_branch_two_offsets(struct brw_program_instruction *insn, int jip_offset, int uip_offset);
121 void set_branch_one_offset(struct brw_program_instruction *insn, int jip_offset);
201 struct brw_program_instruction *entry) in brw_program_append_entry()
213 struct brw_program_instruction *instruction) in brw_program_add_instruction()
215 struct brw_program_instruction *list_entry; in brw_program_add_instruction()
217 list_entry = calloc(sizeof(struct brw_program_instruction), 1); in brw_program_add_instruction()
225 struct brw_program_instruction *instruction) in brw_program_add_relocatable()
227 struct brw_program_instruction *list_entry; in brw_program_add_relocatable()
229 list_entry = calloc(sizeof(struct brw_program_instruction), 1); in brw_program_add_relocatable()
238 struct brw_program_instruction *list_entry; in brw_program_add_label()
240 list_entry = calloc(sizeof(struct brw_program_instruction), 1); in brw_program_add_label()
261 static inline int access_mode(struct brw_program_instruction *insn) in access_mode()
269 static inline int exec_size(struct brw_program_instruction *insn) in exec_size()
277 static void set_execsize(struct brw_program_instruction *insn, int execsize) in set_execsize()
285 static bool validate_dst_reg(struct brw_program_instruction *insn, struct brw_reg *reg) in validate_dst_reg()
306 static bool validate_src_reg(struct brw_program_instruction *insn, in validate_src_reg()
441 struct brw_program_instruction instruction;
3084 static void set_instruction_opcode(struct brw_program_instruction *instr, in set_instruction_opcode()
3096 static int set_instruction_dest(struct brw_program_instruction *instr, in set_instruction_dest()
3117 static int set_instruction_src0(struct brw_program_instruction *instr, in set_instruction_src0()
3142 static int set_instruction_src1(struct brw_program_instruction *instr, in set_instruction_src1()
3164 static int set_instruction_dest_three_src(struct brw_program_instruction *instr, in set_instruction_dest_three_src()
3172 static int set_instruction_src0_three_src(struct brw_program_instruction *instr, in set_instruction_src0_three_src()
3185 static int set_instruction_src1_three_src(struct brw_program_instruction *instr, in set_instruction_src1_three_src()
3198 static int set_instruction_src2_three_src(struct brw_program_instruction *instr, in set_instruction_src2_three_src()
3211 static void set_instruction_saturate(struct brw_program_instruction *instr, in set_instruction_saturate()
3220 static void set_instruction_options(struct brw_program_instruction *instr, in set_instruction_options()
3243 static void set_instruction_predicate(struct brw_program_instruction *instr, in set_instruction_predicate()
3259 static void set_instruction_pred_cond(struct brw_program_instruction *instr, in set_instruction_pred_cond()
3318 static inline int instruction_opcode(struct brw_program_instruction *insn) in instruction_opcode()
3329 static inline int branch_offset(struct brw_program_instruction *insn, int offset) in branch_offset()
3354 void set_branch_two_offsets(struct brw_program_instruction *insn, int jip_offset, int uip_offset) in set_branch_two_offsets()
3370 void set_branch_one_offset(struct brw_program_instruction *insn, int jip_offset) in set_branch_one_offset()