Home
last modified time | relevance | path

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

1234567891011

/external/mesa3d/src/compiler/glsl/
Dir_rvalue_visitor.cpp38 ir_rvalue_base_visitor::rvalue_visit(ir_expression *ir) in rvalue_visit()
50 ir_rvalue_base_visitor::rvalue_visit(ir_texture *ir) in rvalue_visit()
88 ir_rvalue_base_visitor::rvalue_visit(ir_swizzle *ir) in rvalue_visit()
95 ir_rvalue_base_visitor::rvalue_visit(ir_dereference_array *ir) in rvalue_visit()
110 ir_rvalue_base_visitor::rvalue_visit(ir_dereference_record *ir) in rvalue_visit()
117 ir_rvalue_base_visitor::rvalue_visit(ir_assignment *ir) in rvalue_visit()
126 ir_rvalue_base_visitor::rvalue_visit(ir_call *ir) in rvalue_visit()
140 ir_rvalue_base_visitor::rvalue_visit(ir_discard *ir) in rvalue_visit()
147 ir_rvalue_base_visitor::rvalue_visit(ir_return *ir) in rvalue_visit()
154 ir_rvalue_base_visitor::rvalue_visit(ir_if *ir) in rvalue_visit()
[all …]
Dir_hierarchical_visitor.cpp38 ir_hierarchical_visitor::visit(ir_rvalue *ir) in visit()
47 ir_hierarchical_visitor::visit(ir_variable *ir) in visit()
56 ir_hierarchical_visitor::visit(ir_constant *ir) in visit()
65 ir_hierarchical_visitor::visit(ir_loop_jump *ir) in visit()
74 ir_hierarchical_visitor::visit(ir_dereference_variable *ir) in visit()
83 ir_hierarchical_visitor::visit(ir_barrier *ir) in visit()
92 ir_hierarchical_visitor::visit_enter(ir_loop *ir) in visit_enter()
101 ir_hierarchical_visitor::visit_leave(ir_loop *ir) in visit_leave()
110 ir_hierarchical_visitor::visit_enter(ir_function_signature *ir) in visit_enter()
119 ir_hierarchical_visitor::visit_leave(ir_function_signature *ir) in visit_leave()
[all …]
Dir_validate.cpp91 ir_validate::visit(ir_dereference_variable *ir) in visit()
112 ir_validate::visit_enter(class ir_dereference_array *ir) in visit_enter()
140 ir_validate::visit_enter(ir_discard *ir) in visit_enter()
154 ir_validate::visit_enter(ir_if *ir) in visit_enter()
169 ir_validate::visit_enter(ir_function *ir) in visit_enter()
205 ir_validate::visit_leave(ir_function *ir) in visit_leave()
214 ir_validate::visit_enter(ir_function_signature *ir) in visit_enter()
238 ir_validate::visit_leave(ir_expression *ir) in visit_leave()
852 ir_validate::visit_leave(ir_swizzle *ir) in visit_leave()
869 ir_validate::visit(ir_variable *ir) in visit()
[all …]
Dir_builder_print_visitor.cpp88 is_simple_operand(const ir_rvalue *ir, unsigned depth = 1) in is_simple_operand()
181 ir_builder_print_visitor::print_without_declaration(const ir_rvalue *ir) in print_without_declaration()
202 ir_builder_print_visitor::visit(ir_variable *ir) in visit()
255 ir_builder_print_visitor::print_without_declaration(const ir_dereference_variable *ir) in print_without_declaration()
264 ir_builder_print_visitor::visit(ir_dereference_variable *ir) in visit()
276 ir_builder_print_visitor::visit_enter(ir_function_signature *ir) in visit_enter()
300 ir_builder_print_visitor::visit_leave(ir_function_signature *ir) in visit_leave()
312 ir_builder_print_visitor::print_without_declaration(const ir_constant *ir) in print_without_declaration()
344 ir_builder_print_visitor::visit(ir_constant *ir) in visit()
435 ir_builder_print_visitor::print_without_declaration(const ir_swizzle *ir) in print_without_declaration()
[all …]
Dir_print_visitor.cpp82 const ir_instruction *ir = (const ir_instruction *)instruction; in fprint_ir() local
164 void ir_print_visitor::visit(ir_variable *ir) in visit()
230 void ir_print_visitor::visit(ir_function_signature *ir) in visit()
271 void ir_print_visitor::visit(ir_function *ir) in visit()
286 void ir_print_visitor::visit(ir_expression *ir) in visit()
302 void ir_print_visitor::visit(ir_texture *ir) in visit()
387 void ir_print_visitor::visit(ir_swizzle *ir) in visit()
406 void ir_print_visitor::visit(ir_dereference_variable *ir) in visit()
413 void ir_print_visitor::visit(ir_dereference_array *ir) in visit()
422 void ir_print_visitor::visit(ir_dereference_record *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()
210 ir_rvalue *ir = (ir_rvalue *) actual_node; in visit_enter() local
233 ir_tree_grafting_visitor::visit_enter(ir_expression *ir) in visit_enter()
[all …]
Dopt_copy_propagation.cpp95 ir_copy_propagation_visitor::visit_enter(ir_function_signature *ir) in visit_enter()
124 ir_copy_propagation_visitor::visit_leave(ir_assignment *ir) in visit_leave()
134 ir_copy_propagation_visitor::visit_enter(ir_function *ir) in visit_enter()
148 ir_copy_propagation_visitor::visit(ir_dereference_variable *ir) in visit()
164 ir_copy_propagation_visitor::visit_enter(ir_call *ir) in visit_enter()
170 ir_rvalue *ir = (ir_rvalue *) actual_node; in visit_enter() local
199 ir_rvalue *ir = (ir_rvalue *) actual_node; in visit_enter() local
249 ir_copy_propagation_visitor::visit_enter(ir_if *ir) in visit_enter()
261 ir_copy_propagation_visitor::handle_loop(ir_loop *ir, bool keep_acp) in handle_loop()
301 ir_copy_propagation_visitor::visit_enter(ir_loop *ir) in visit_enter()
[all …]
Dlower_vec_index_to_cond_assign.cpp127 ir_vec_index_to_cond_assign_visitor::convert_vector_extract_to_cond_assign(ir_rvalue *ir) in convert_vector_extract_to_cond_assign()
170 ir_vec_index_to_cond_assign_visitor::visit_enter(ir_expression *ir) in visit_enter()
179 ir_vec_index_to_cond_assign_visitor::visit_enter(ir_swizzle *ir) in visit_enter()
191 ir_vec_index_to_cond_assign_visitor::visit_leave(ir_assignment *ir) in visit_leave()
202 ir_vec_index_to_cond_assign_visitor::visit_enter(ir_call *ir) in visit_enter()
216 ir_vec_index_to_cond_assign_visitor::visit_enter(ir_return *ir) in visit_enter()
225 ir_vec_index_to_cond_assign_visitor::visit_enter(ir_if *ir) in visit_enter()
Dlower_instructions.cpp193 lower_instructions_visitor::sub_to_add_neg(ir_expression *ir) in sub_to_add_neg()
203 lower_instructions_visitor::div_to_mul_rcp(ir_expression *ir) in div_to_mul_rcp()
222 lower_instructions_visitor::int_div_to_mul_rcp(ir_expression *ir) in int_div_to_mul_rcp()
273 lower_instructions_visitor::exp_to_exp2(ir_expression *ir) in exp_to_exp2()
285 lower_instructions_visitor::pow_to_exp2(ir_expression *ir) in pow_to_exp2()
300 lower_instructions_visitor::log_to_log2(ir_expression *ir) in log_to_log2()
311 lower_instructions_visitor::mod_to_floor(ir_expression *ir) in mod_to_floor()
361 lower_instructions_visitor::ldexp_to_arith(ir_expression *ir) in ldexp_to_arith()
535 lower_instructions_visitor::dldexp_to_arith(ir_expression *ir) in dldexp_to_arith()
665 lower_instructions_visitor::dfrexp_sig_to_arith(ir_expression *ir) in dfrexp_sig_to_arith()
[all …]
Dir_equals.cpp51 ir_constant::equals(const ir_instruction *ir, enum ir_node_type) const in equals() argument
74 ir_dereference_variable::equals(const ir_instruction *ir, in equals()
85 ir_dereference_array::equals(const ir_instruction *ir, in equals()
105 ir_swizzle::equals(const ir_instruction *ir, in equals()
128 ir_texture::equals(const ir_instruction *ir, enum ir_node_type ignore) const in equals() argument
193 ir_expression::equals(const ir_instruction *ir, enum ir_node_type ignore) const in equals() argument
Dloop_analysis.cpp54 ir_instruction *ir = (ir_instruction *) node; in find_initial_value() local
185 ir_instruction *ir = (ir_instruction *) node; in incremented_before_terminator() local
270 loop_state::insert(ir_loop *ir) in insert()
282 loop_state::get(const ir_loop *ir) in get()
290 loop_variable_state::get(const ir_variable *ir) in get()
390 loop_analysis::visit(ir_loop_jump *ir) in visit()
420 loop_analysis::visit(ir_dereference_variable *ir) in visit()
443 loop_analysis::visit_enter(ir_loop *ir) in visit_enter()
452 loop_analysis::visit_leave(ir_loop *ir) in visit_leave()
638 loop_analysis::visit_enter(ir_if *ir) in visit_enter()
[all …]
Dopt_function_inlining.cpp83 replace_return_with_assignment(ir_instruction *ir, void *data) in replace_return_with_assignment()
285 ir_function_inlining_visitor::visit_enter(ir_expression *ir) in visit_enter()
293 ir_function_inlining_visitor::visit_enter(ir_return *ir) in visit_enter()
301 ir_function_inlining_visitor::visit_enter(ir_texture *ir) in visit_enter()
309 ir_function_inlining_visitor::visit_enter(ir_swizzle *ir) in visit_enter()
317 ir_function_inlining_visitor::visit_enter(ir_call *ir) in visit_enter()
387 ir_variable_replacement_visitor::visit_leave(ir_texture *ir) in visit_leave()
395 ir_variable_replacement_visitor::visit_leave(ir_dereference_array *ir) in visit_leave()
402 ir_variable_replacement_visitor::visit_leave(ir_dereference_record *ir) in visit_leave()
409 ir_variable_replacement_visitor::visit_leave(ir_call *ir) in visit_leave()
Dglsl_to_nir.cpp209 nir_visitor::evaluate_deref(nir_instr *mem_ctx, ir_instruction *ir) in evaluate_deref()
217 constant_copy(ir_constant *ir, void *mem_ctx) in constant_copy()
305 nir_visitor::visit(ir_variable *ir) in visit()
465 nir_function_visitor::visit_enter(ir_function *ir) in visit_enter()
474 nir_visitor::create_function(ir_function_signature *ir) in create_function()
488 nir_visitor::visit(ir_function *ir) in visit()
495 nir_visitor::visit(ir_function_signature *ir) in visit()
527 nir_visitor::visit(ir_loop *ir) in visit()
535 nir_visitor::visit(ir_if *ir) in visit()
545 nir_visitor::visit(ir_discard *ir) in visit()
[all …]
Dopt_vectorize.cpp133 rewrite_swizzle(ir_instruction *ir, void *data) in rewrite_swizzle()
253 ir_vectorize_visitor::visit_enter(ir_assignment *ir) in visit_enter()
283 ir_vectorize_visitor::visit_enter(ir_swizzle *ir) in visit_enter()
313 ir_vectorize_visitor::visit_enter(ir_expression *ir) in visit_enter()
327 ir_vectorize_visitor::visit_enter(ir_if *ir) in visit_enter()
345 ir_vectorize_visitor::visit_enter(ir_loop *ir) in visit_enter()
375 ir_vectorize_visitor::visit_leave(ir_assignment *ir) in visit_leave()
Dlower_discard_flow.cpp78 lower_discard_flow_visitor::visit(ir_loop_jump *ir) in visit()
89 lower_discard_flow_visitor::visit_enter(ir_discard *ir) in visit_enter()
107 lower_discard_flow_visitor::visit_enter(ir_loop *ir) in visit_enter()
115 lower_discard_flow_visitor::visit_enter(ir_function_signature *ir) in visit_enter()
141 lower_discard_flow(exec_list *ir) in lower_discard_flow()
Dlower_tess_level.cpp102 lower_tess_level_visitor::visit(ir_variable *ir) in visit()
164 lower_tess_level_visitor::is_tess_level_array(ir_rvalue *ir) in is_tess_level_array()
193 lower_tess_level_visitor::lower_tess_level_array(ir_rvalue *ir) in lower_tess_level_array()
249 lower_tess_level_visitor::fix_lhs(ir_assignment *ir) in fix_lhs()
295 lower_tess_level_visitor::visit_leave(ir_assignment *ir) in visit_leave()
365 lower_tess_level_visitor::visit_new_assignment(ir_assignment *ir) in visit_new_assignment()
382 lower_tess_level_visitor::visit_leave(ir_call *ir) in visit_leave()
Dopt_dead_code_local.cpp51 assignment_entry(ir_variable *lhs, ir_assignment *ir) in assignment_entry()
61 ir_assignment *ir; member in __anona84bf73d0111::assignment_entry
94 virtual ir_visitor_status visit(ir_dereference_variable *ir) in visit()
101 virtual ir_visitor_status visit(ir_swizzle *ir) in visit()
148 virtual ir_visitor_status visit_enter(class ir_dereference_array *ir) in visit_enter()
154 static void run(ir_instruction *ir, ir_hierarchical_visitor *v) in run()
170 process_assignment(void *lin_ctx, ir_assignment *ir, exec_list *assignments) in process_assignment()
311 ir_instruction *ir, *ir_next; in dead_code_local_basic_block() local
Dir_variable_refcount.cpp95 ir_variable_refcount_visitor::visit(ir_variable *ir) in visit()
106 ir_variable_refcount_visitor::visit(ir_dereference_variable *ir) in visit()
119 ir_variable_refcount_visitor::visit_enter(ir_function_signature *ir) in visit_enter()
130 ir_variable_refcount_visitor::visit_leave(ir_assignment *ir) in visit_leave()
Dir_expression_flattening.cpp40 ir_expression_flattening_visitor(bool (*predicate)(ir_instruction *ir)) in ir_expression_flattening_visitor()
56 bool (*predicate)(ir_instruction *ir)) in do_expression_flattening()
70 ir_rvalue *ir = *rvalue; in handle_rvalue() local
Dopt_algebraic.cpp86 ir_algebraic_visitor::visit_enter(ir_assignment *ir) in visit_enter()
103 is_vec_zero(ir_constant *ir) in is_vec_zero()
109 is_vec_one(ir_constant *ir) in is_vec_one()
115 is_vec_two(ir_constant *ir) in is_vec_two()
121 is_vec_four(ir_constant *ir) in is_vec_four()
127 is_vec_negative_one(ir_constant *ir) in is_vec_negative_one()
133 is_valid_vec_const(ir_constant *ir) in is_valid_vec_const()
145 is_less_than_one(ir_constant *ir) in is_less_than_one()
162 is_greater_than_zero(ir_constant *ir) in is_greater_than_zero()
179 update_type(ir_expression *ir) in update_type()
[all …]
Dlower_distance.cpp137 lower_distance_visitor::visit(ir_variable *ir) in visit()
290 lower_distance_visitor::is_distance_vec8(ir_rvalue *ir) in is_distance_vec8()
330 lower_distance_visitor::lower_distance_vec8(ir_rvalue *ir) in lower_distance_vec8()
398 lower_distance_visitor::fix_lhs(ir_assignment *ir) in fix_lhs()
436 lower_distance_visitor::visit_leave(ir_assignment *ir) in visit_leave()
506 lower_distance_visitor::visit_new_assignment(ir_assignment *ir) in visit_new_assignment()
529 lower_distance_visitor::visit_leave(ir_call *ir) in visit_leave()
612 lower_distance_visitor_counter::visit(ir_variable *ir) in visit()
Dopt_copy_propagation_elements.cpp192 ir_copy_propagation_elements_visitor::visit_enter(ir_function_signature *ir) in visit_enter()
225 ir_copy_propagation_elements_visitor::visit_leave(ir_assignment *ir) in visit_leave()
263 ir_copy_propagation_elements_visitor::handle_rvalue(ir_rvalue **ir) in handle_rvalue()
362 ir_copy_propagation_elements_visitor::visit_enter(ir_call *ir) in visit_enter()
368 ir_rvalue *ir = (ir_rvalue *) actual_node; in visit_enter() local
430 ir_copy_propagation_elements_visitor::visit_enter(ir_if *ir) in visit_enter()
442 ir_copy_propagation_elements_visitor::handle_loop(ir_loop *ir, bool keep_acp) in handle_loop()
488 ir_copy_propagation_elements_visitor::visit_enter(ir_loop *ir) in visit_enter()
543 ir_copy_propagation_elements_visitor::add_copy(ir_assignment *ir) in add_copy()
/external/mesa3d/src/mesa/program/
Dir_to_mesa.cpp157 ir_instruction *ir; member in __anon8fb3a92c0211::ir_to_mesa_instruction
311 inline void emit_sne(ir_expression *ir, dst_reg dst, in emit_sne()
317 inline void emit_seq(ir_expression *ir, dst_reg dst, in emit_seq()
353 ir_to_mesa_visitor::emit(ir_instruction *ir, enum prog_opcode op, in emit()
393 ir_to_mesa_visitor::emit(ir_instruction *ir, enum prog_opcode op, in emit()
400 ir_to_mesa_visitor::emit(ir_instruction *ir, enum prog_opcode op, in emit()
408 ir_to_mesa_visitor::emit(ir_instruction *ir, enum prog_opcode op) in emit()
414 ir_to_mesa_visitor::emit_dp(ir_instruction *ir, in emit_dp()
434 ir_to_mesa_visitor::emit_scalar(ir_instruction *ir, enum prog_opcode op, in emit_scalar()
479 ir_to_mesa_visitor::emit_scalar(ir_instruction *ir, enum prog_opcode op, in emit_scalar()
[all …]
/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

1234567891011