Home
last modified time | relevance | path

Searched defs:ir (Results 1 – 25 of 183) sorted by relevance

12345678

/external/mesa3d/src/glsl/
Dir_hierarchical_visitor.cpp36 ir_hierarchical_visitor::visit(ir_rvalue *ir) in visit()
45 ir_hierarchical_visitor::visit(ir_variable *ir) in visit()
54 ir_hierarchical_visitor::visit(ir_constant *ir) in visit()
63 ir_hierarchical_visitor::visit(ir_loop_jump *ir) in visit()
72 ir_hierarchical_visitor::visit(ir_dereference_variable *ir) in visit()
81 ir_hierarchical_visitor::visit_enter(ir_loop *ir) in visit_enter()
90 ir_hierarchical_visitor::visit_leave(ir_loop *ir) in visit_leave()
97 ir_hierarchical_visitor::visit_enter(ir_function_signature *ir) in visit_enter()
106 ir_hierarchical_visitor::visit_leave(ir_function_signature *ir) in visit_leave()
113 ir_hierarchical_visitor::visit_enter(ir_function *ir) in visit_enter()
[all …]
Dir_rvalue_visitor.cpp39 ir_rvalue_base_visitor::rvalue_visit(ir_expression *ir) in rvalue_visit()
51 ir_rvalue_base_visitor::rvalue_visit(ir_texture *ir) in rvalue_visit()
79 ir_rvalue_base_visitor::rvalue_visit(ir_swizzle *ir) in rvalue_visit()
86 ir_rvalue_base_visitor::rvalue_visit(ir_dereference_array *ir) in rvalue_visit()
101 ir_rvalue_base_visitor::rvalue_visit(ir_dereference_record *ir) in rvalue_visit()
108 ir_rvalue_base_visitor::rvalue_visit(ir_assignment *ir) in rvalue_visit()
117 ir_rvalue_base_visitor::rvalue_visit(ir_call *ir) in rvalue_visit()
132 ir_rvalue_base_visitor::rvalue_visit(ir_return *ir) in rvalue_visit()
139 ir_rvalue_base_visitor::rvalue_visit(ir_if *ir) in rvalue_visit()
147 ir_rvalue_visitor::visit_leave(ir_expression *ir) in visit_leave()
[all …]
Dir_validate.cpp84 ir_validate::visit(ir_dereference_variable *ir) in visit()
105 ir_validate::visit_enter(ir_if *ir) in visit_enter()
120 ir_validate::visit_leave(ir_loop *ir) in visit_leave()
156 ir_validate::visit_enter(ir_function *ir) in visit_enter()
194 ir_validate::visit_leave(ir_function *ir) in visit_leave()
203 ir_validate::visit_enter(ir_function_signature *ir) in visit_enter()
227 ir_validate::visit_leave(ir_expression *ir) in visit_leave()
483 ir_validate::visit_leave(ir_swizzle *ir) in visit_leave()
500 ir_validate::visit(ir_variable *ir) in visit()
537 ir_validate::visit_enter(ir_assignment *ir) in visit_enter()
[all …]
Dir_print_visitor.cpp63 ir_instruction *ir = (ir_instruction *)iter.get(); in _mesa_print_ir() local
138 void ir_print_visitor::visit(ir_rvalue *ir) in visit()
143 void ir_print_visitor::visit(ir_variable *ir) in visit()
161 void ir_print_visitor::visit(ir_function_signature *ir) in visit()
206 void ir_print_visitor::visit(ir_function *ir) in visit()
222 void ir_print_visitor::visit(ir_expression *ir) in visit()
238 void ir_print_visitor::visit(ir_texture *ir) in visit()
301 void ir_print_visitor::visit(ir_swizzle *ir) in visit()
320 void ir_print_visitor::visit(ir_dereference_variable *ir) in visit()
327 void ir_print_visitor::visit(ir_dereference_array *ir) in visit()
[all …]
Dopt_tree_grafting.cpp96 dereferences_variable_callback(ir_instruction *ir, void *data) in dereferences_variable_callback()
106 dereferences_variable(ir_instruction *ir, ir_variable *var) in dereferences_variable()
146 ir_tree_grafting_visitor::visit_enter(ir_loop *ir) in visit_enter()
163 ir_tree_grafting_visitor::check_graft(ir_instruction *ir, ir_variable *var) in check_graft()
178 ir_tree_grafting_visitor::visit_leave(ir_assignment *ir) in visit_leave()
191 ir_tree_grafting_visitor::visit_enter(ir_function *ir) in visit_enter()
198 ir_tree_grafting_visitor::visit_enter(ir_function_signature *ir) in visit_enter()
205 ir_tree_grafting_visitor::visit_enter(ir_call *ir) in visit_enter()
211 ir_rvalue *ir = (ir_rvalue *)iter.get(); in visit_enter() local
234 ir_tree_grafting_visitor::visit_enter(ir_expression *ir) in visit_enter()
[all …]
Dloop_analysis.cpp53 loop_state::insert(ir_loop *ir) in insert()
65 loop_state::get(const ir_loop *ir) in get()
72 loop_variable_state::get(const ir_variable *ir) in get()
142 loop_analysis::visit(ir_loop_jump *ir) in visit()
158 loop_analysis::visit_enter(ir_call *ir) in visit_enter()
173 loop_analysis::visit(ir_dereference_variable *ir) in visit()
215 loop_analysis::visit_enter(ir_loop *ir) in visit_enter()
224 loop_analysis::visit_leave(ir_loop *ir) in visit_leave()
354 loop_analysis::visit_enter(ir_if *ir) in visit_enter()
365 loop_analysis::visit_leave(ir_if *ir) in visit_leave()
[all …]
Dlower_vec_index_to_swizzle.cpp62 ir_vec_index_to_swizzle_visitor::convert_vec_index_to_swizzle(ir_rvalue *ir) in convert_vec_index_to_swizzle()
102 ir_vec_index_to_swizzle_visitor::visit_enter(ir_expression *ir) in visit_enter()
114 ir_vec_index_to_swizzle_visitor::visit_enter(ir_swizzle *ir) in visit_enter()
126 ir_vec_index_to_swizzle_visitor::visit_enter(ir_assignment *ir) in visit_enter()
135 ir_vec_index_to_swizzle_visitor::visit_enter(ir_call *ir) in visit_enter()
150 ir_vec_index_to_swizzle_visitor::visit_enter(ir_return *ir) in visit_enter()
160 ir_vec_index_to_swizzle_visitor::visit_enter(ir_if *ir) in visit_enter()
Dlower_instructions.cpp125 lower_instructions_visitor::sub_to_add_neg(ir_expression *ir) in sub_to_add_neg()
134 lower_instructions_visitor::div_to_mul_rcp(ir_expression *ir) in div_to_mul_rcp()
152 lower_instructions_visitor::int_div_to_mul_rcp(ir_expression *ir) in int_div_to_mul_rcp()
202 lower_instructions_visitor::exp_to_exp2(ir_expression *ir) in exp_to_exp2()
213 lower_instructions_visitor::pow_to_exp2(ir_expression *ir) in pow_to_exp2()
227 lower_instructions_visitor::log_to_log2(ir_expression *ir) in log_to_log2()
237 lower_instructions_visitor::mod_to_fract(ir_expression *ir) in mod_to_fract()
272 lower_instructions_visitor::visit_leave(ir_expression *ir) in visit_leave()
Dopt_function_inlining.cpp78 replace_return_with_assignment(ir_instruction *ir, void *data) in replace_return_with_assignment()
165 ir_instruction *ir = (ir_instruction *)iter.get(); in generate_inline() local
226 ir_function_inlining_visitor::visit_enter(ir_expression *ir) in visit_enter()
234 ir_function_inlining_visitor::visit_enter(ir_return *ir) in visit_enter()
242 ir_function_inlining_visitor::visit_enter(ir_texture *ir) in visit_enter()
250 ir_function_inlining_visitor::visit_enter(ir_swizzle *ir) in visit_enter()
258 ir_function_inlining_visitor::visit_enter(ir_call *ir) in visit_enter()
328 ir_sampler_replacement_visitor::visit_leave(ir_texture *ir) in visit_leave()
336 ir_sampler_replacement_visitor::visit_leave(ir_dereference_array *ir) in visit_leave()
343 ir_sampler_replacement_visitor::visit_leave(ir_dereference_record *ir) in visit_leave()
[all …]
Dopt_copy_propagation.cpp115 ir_copy_propagation_visitor::visit_enter(ir_function_signature *ir) in visit_enter()
139 ir_copy_propagation_visitor::visit_leave(ir_assignment *ir) in visit_leave()
149 ir_copy_propagation_visitor::visit_enter(ir_function *ir) in visit_enter()
163 ir_copy_propagation_visitor::visit(ir_dereference_variable *ir) in visit()
185 ir_copy_propagation_visitor::visit_enter(ir_call *ir) in visit_enter()
191 ir_instruction *ir = (ir_instruction *)iter.get(); in visit_enter() local
242 ir_copy_propagation_visitor::visit_enter(ir_if *ir) in visit_enter()
254 ir_copy_propagation_visitor::visit_enter(ir_loop *ir) in visit_enter()
312 ir_copy_propagation_visitor::add_copy(ir_assignment *ir) in add_copy()
Dlower_vec_index_to_cond_assign.cpp68 ir_vec_index_to_cond_assign_visitor::convert_vec_index_to_cond_assign(ir_rvalue *ir) in convert_vec_index_to_cond_assign()
138 ir_vec_index_to_cond_assign_visitor::visit_enter(ir_expression *ir) in visit_enter()
150 ir_vec_index_to_cond_assign_visitor::visit_enter(ir_swizzle *ir) in visit_enter()
162 ir_vec_index_to_cond_assign_visitor::visit_leave(ir_assignment *ir) in visit_leave()
253 ir_vec_index_to_cond_assign_visitor::visit_enter(ir_call *ir) in visit_enter()
268 ir_vec_index_to_cond_assign_visitor::visit_enter(ir_return *ir) in visit_enter()
278 ir_vec_index_to_cond_assign_visitor::visit_enter(ir_if *ir) in visit_enter()
Dir_expression_flattening.cpp42 ir_expression_flattening_visitor(bool (*predicate)(ir_instruction *ir)) in ir_expression_flattening_visitor()
58 bool (*predicate)(ir_instruction *ir)) in do_expression_flattening()
63 ir_instruction *ir = (ir_instruction *)iter.get(); in do_expression_flattening() local
74 ir_rvalue *ir = *rvalue; in handle_rvalue() local
Dlower_discard_flow.cpp75 lower_discard_flow_visitor::visit_enter(ir_loop_jump *ir) in visit_enter()
86 lower_discard_flow_visitor::visit_enter(ir_discard *ir) in visit_enter()
97 lower_discard_flow_visitor::visit_enter(ir_loop *ir) in visit_enter()
105 lower_discard_flow_visitor::visit_enter(ir_function_signature *ir) in visit_enter()
131 lower_discard_flow(exec_list *ir) in lower_discard_flow()
Dir_variable_refcount.cpp67 ir_variable_refcount_visitor::visit(ir_variable *ir) in visit()
78 ir_variable_refcount_visitor::visit(ir_dereference_variable *ir) in visit()
91 ir_variable_refcount_visitor::visit_enter(ir_function_signature *ir) in visit_enter()
102 ir_variable_refcount_visitor::visit_leave(ir_assignment *ir) in visit_leave()
Dopt_dead_code_local.cpp48 assignment_entry(ir_variable *lhs, ir_assignment *ir) in assignment_entry()
58 ir_assignment *ir; member in __anon099e47360111::assignment_entry
93 virtual ir_visitor_status visit(ir_dereference_variable *ir) in visit()
100 virtual ir_visitor_status visit(ir_swizzle *ir) in visit()
128 virtual ir_visitor_status visit_enter(class ir_dereference_array *ir) in visit_enter()
134 static void run(ir_instruction *ir, ir_hierarchical_visitor *v) in run()
150 process_assignment(void *ctx, ir_assignment *ir, exec_list *assignments) in process_assignment()
281 ir_instruction *ir, *ir_next; in dead_code_local_basic_block() local
Dopt_copy_propagation_elements.cpp143 ir_copy_propagation_elements_visitor::visit_enter(ir_function_signature *ir) in visit_enter()
167 ir_copy_propagation_elements_visitor::visit_leave(ir_assignment *ir) in visit_leave()
189 ir_copy_propagation_elements_visitor::visit_leave(ir_swizzle *ir) in visit_leave()
205 ir_copy_propagation_elements_visitor::handle_rvalue(ir_rvalue **ir) in handle_rvalue()
293 ir_copy_propagation_elements_visitor::visit_enter(ir_call *ir) in visit_enter()
299 ir_instruction *ir = (ir_instruction *)iter.get(); in visit_enter() local
353 ir_copy_propagation_elements_visitor::visit_enter(ir_if *ir) in visit_enter()
365 ir_copy_propagation_elements_visitor::visit_enter(ir_loop *ir) in visit_enter()
430 ir_copy_propagation_elements_visitor::add_copy(ir_assignment *ir) in add_copy()
Dir_set_program_inouts.cpp107 ir_set_program_inouts_visitor::visit(ir_dereference_variable *ir) in visit()
125 ir_set_program_inouts_visitor::visit_enter(ir_dereference_array *ir) in visit_enter()
153 ir_set_program_inouts_visitor::visit(ir_variable *ir) in visit()
165 ir_set_program_inouts_visitor::visit_enter(ir_function_signature *ir) in visit_enter()
175 ir_set_program_inouts_visitor::visit_enter(ir_expression *ir) in visit_enter()
Dloop_unroll.cpp47 is_break(ir_instruction *ir) in is_break()
66 virtual ir_visitor_status visit_enter(ir_assignment *ir) in visit_enter()
72 virtual ir_visitor_status visit_enter(ir_expression *ir) in visit_enter()
78 virtual ir_visitor_status visit_enter(ir_loop *ir) in visit_enter()
87 loop_unroll_visitor::visit_leave(ir_loop *ir) in visit_leave()
Dopt_algebraic.cpp76 is_vec_zero(ir_constant *ir) in is_vec_zero()
82 is_vec_one(ir_constant *ir) in is_vec_one()
88 is_vec_basis(ir_constant *ir) in is_vec_basis()
94 update_type(ir_expression *ir) in update_type()
187 ir_algebraic_visitor::handle_expression(ir_expression *ir) in handle_expression()
Dlower_clip_distance.cpp85 lower_clip_distance_visitor::visit(ir_variable *ir) in visit()
181 lower_clip_distance_visitor::visit_leave(ir_dereference_array *ir) in visit_leave()
212 lower_clip_distance_visitor::visit_leave(ir_assignment *ir) in visit_leave()
258 lower_clip_distance_visitor::visit_new_assignment(ir_assignment *ir) in visit_new_assignment()
275 lower_clip_distance_visitor::visit_leave(ir_call *ir) in visit_leave()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dbrw_fs_visitor.cpp54 fs_visitor::visit(ir_variable *ir) in visit()
138 fs_visitor::visit(ir_dereference_variable *ir) in visit()
145 fs_visitor::visit(ir_dereference_record *ir) in visit()
162 fs_visitor::visit(ir_dereference_array *ir) in visit()
185 fs_visitor::try_emit_saturate(ir_expression *ir) in try_emit_saturate()
217 fs_visitor::try_emit_mad(ir_expression *ir, int mul_arg) in try_emit_mad()
254 fs_visitor::visit(ir_expression *ir) in visit()
674 fs_visitor::try_rewrite_rhs_to_dst(ir_assignment *ir, in try_rewrite_rhs_to_dst()
707 fs_visitor::visit(ir_assignment *ir) in visit()
750 fs_visitor::emit_texture_gen4(ir_texture *ir, fs_reg dst, fs_reg coordinate, in emit_texture_gen4()
[all …]
/external/mesa3d/src/mesa/program/
Dir_to_mesa.cpp169 ir_instruction *ir; member in ir_to_mesa_instruction
349 ir_to_mesa_visitor::emit(ir_instruction *ir, enum prog_opcode op, in emit()
389 ir_to_mesa_visitor::emit(ir_instruction *ir, enum prog_opcode op, in emit()
396 ir_to_mesa_visitor::emit(ir_instruction *ir, enum prog_opcode op, in emit()
404 ir_to_mesa_visitor::emit(ir_instruction *ir, enum prog_opcode op) in emit()
410 ir_to_mesa_visitor::emit_dp(ir_instruction *ir, in emit_dp()
430 ir_to_mesa_visitor::emit_scalar(ir_instruction *ir, enum prog_opcode op, in emit_scalar()
475 ir_to_mesa_visitor::emit_scalar(ir_instruction *ir, enum prog_opcode op, in emit_scalar()
500 ir_to_mesa_visitor::emit_scs(ir_instruction *ir, enum prog_opcode op, in emit_scs()
675 ir_to_mesa_visitor::visit(ir_variable *ir) in visit()
[all …]
/external/mesa3d/src/mesa/main/
Dshader_query.cpp102 exec_list *const ir = shProg->_LinkedShaders[MESA_SHADER_VERTEX]->ir; in _mesa_GetActiveAttribARB() local
159 exec_list *ir = shProg->_LinkedShaders[MESA_SHADER_VERTEX]->ir; in _mesa_GetAttribLocationARB() local
193 exec_list *const ir = shProg->_LinkedShaders[MESA_SHADER_VERTEX]->ir; in _mesa_count_active_attribs() local
219 exec_list *const ir = shProg->_LinkedShaders[MESA_SHADER_VERTEX]->ir; in _mesa_longest_attribute_name_length() local
323 exec_list *ir = shProg->_LinkedShaders[MESA_SHADER_FRAGMENT]->ir; in _mesa_GetFragDataIndex() local
379 exec_list *ir = shProg->_LinkedShaders[MESA_SHADER_FRAGMENT]->ir; in _mesa_GetFragDataLocation() local
/external/clang/test/SemaTemplate/
Dtemp_func_order.cpp9 int &ir = f0(i); in test_f0() local
20 int &ir = f1(i, f); in test_f1() local
38 int &ir = f2(i); in test_f2() local
50 int &ir = f3(ip, i); in test_f3() local
83 int &ir = f6(i, i); in test_f6() local
/external/clang/test/CXX/expr/expr.prim/expr.prim.lambda/
Dp7.cpp25 int &ir = check_const_int(i); in test_capture_constness() local
30 int &ir = check_const_int(i); in test_capture_constness() local
35 int &ir = check_const_int(i); in test_capture_constness() local
40 int &ir = check_const_int(i); in test_capture_constness() local

12345678