Home
last modified time | relevance | path

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

12345678910

/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.cpp90 ir_validate::visit(ir_dereference_variable *ir) in visit()
111 ir_validate::visit_enter(class ir_dereference_array *ir) in visit_enter()
139 ir_validate::visit_enter(ir_discard *ir) in visit_enter()
153 ir_validate::visit_enter(ir_if *ir) in visit_enter()
168 ir_validate::visit_enter(ir_function *ir) in visit_enter()
204 ir_validate::visit_leave(ir_function *ir) in visit_leave()
213 ir_validate::visit_enter(ir_function_signature *ir) in visit_enter()
237 ir_validate::visit_leave(ir_expression *ir) in visit_leave()
715 ir_validate::visit_leave(ir_swizzle *ir) in visit_leave()
732 ir_validate::visit(ir_variable *ir) in visit()
[all …]
Dir_print_visitor.cpp81 const ir_instruction *ir = (const ir_instruction *)instruction; in fprint_ir() local
164 void ir_print_visitor::visit(ir_variable *ir) in visit()
214 void ir_print_visitor::visit(ir_function_signature *ir) in visit()
255 void ir_print_visitor::visit(ir_function *ir) in visit()
270 void ir_print_visitor::visit(ir_expression *ir) in visit()
286 void ir_print_visitor::visit(ir_texture *ir) in visit()
371 void ir_print_visitor::visit(ir_swizzle *ir) in visit()
390 void ir_print_visitor::visit(ir_dereference_variable *ir) in visit()
397 void ir_print_visitor::visit(ir_dereference_array *ir) in visit()
406 void ir_print_visitor::visit(ir_dereference_record *ir) in visit()
[all …]
Dir_builder_print_visitor.cpp89 is_simple_operand(const ir_rvalue *ir, unsigned depth = 1) in is_simple_operand()
182 ir_builder_print_visitor::print_without_declaration(const ir_rvalue *ir) in print_without_declaration()
203 ir_builder_print_visitor::visit(ir_variable *ir) in visit()
256 ir_builder_print_visitor::print_without_declaration(const ir_dereference_variable *ir) in print_without_declaration()
265 ir_builder_print_visitor::visit(ir_dereference_variable *ir) in visit()
277 ir_builder_print_visitor::visit_enter(ir_function_signature *ir) in visit_enter()
301 ir_builder_print_visitor::visit_leave(ir_function_signature *ir) in visit_leave()
313 ir_builder_print_visitor::print_without_declaration(const ir_constant *ir) in print_without_declaration()
345 ir_builder_print_visitor::visit(ir_constant *ir) in visit()
425 ir_builder_print_visitor::print_without_declaration(const ir_swizzle *ir) in print_without_declaration()
[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.cpp108 ir_copy_propagation_visitor::visit_enter(ir_function_signature *ir) in visit_enter()
136 ir_copy_propagation_visitor::visit_leave(ir_assignment *ir) in visit_leave()
146 ir_copy_propagation_visitor::visit_enter(ir_function *ir) in visit_enter()
160 ir_copy_propagation_visitor::visit(ir_dereference_variable *ir) in visit()
176 ir_copy_propagation_visitor::visit_enter(ir_call *ir) in visit_enter()
182 ir_rvalue *ir = (ir_rvalue *) actual_node; in visit_enter() local
211 ir_rvalue *ir = (ir_rvalue *) actual_node; in visit_enter() local
259 ir_copy_propagation_visitor::visit_enter(ir_if *ir) in visit_enter()
271 ir_copy_propagation_visitor::handle_loop(ir_loop *ir, bool keep_acp) in handle_loop()
309 ir_copy_propagation_visitor::visit_enter(ir_loop *ir) in visit_enter()
[all …]
Dloop_analysis.cpp93 loop_state::insert(ir_loop *ir) in insert()
105 loop_state::get(const ir_loop *ir) in get()
113 loop_variable_state::get(const ir_variable *ir) in get()
211 loop_analysis::visit(ir_loop_jump *ir) in visit()
241 loop_analysis::visit(ir_dereference_variable *ir) in visit()
264 loop_analysis::visit_enter(ir_loop *ir) in visit_enter()
273 loop_analysis::visit_leave(ir_loop *ir) in visit_leave()
464 loop_analysis::visit_enter(ir_if *ir) in visit_enter()
475 loop_analysis::visit_leave(ir_if *ir) in visit_leave()
486 loop_analysis::visit_enter(ir_assignment *ir) in visit_enter()
[all …]
Dlower_vec_index_to_cond_assign.cpp150 ir_vec_index_to_cond_assign_visitor::convert_vector_extract_to_cond_assign(ir_rvalue *ir) in convert_vector_extract_to_cond_assign()
164 ir_vec_index_to_cond_assign_visitor::visit_enter(ir_expression *ir) in visit_enter()
176 ir_vec_index_to_cond_assign_visitor::visit_enter(ir_swizzle *ir) in visit_enter()
188 ir_vec_index_to_cond_assign_visitor::visit_leave(ir_assignment *ir) in visit_leave()
200 ir_vec_index_to_cond_assign_visitor::visit_enter(ir_call *ir) in visit_enter()
214 ir_vec_index_to_cond_assign_visitor::visit_enter(ir_return *ir) in visit_enter()
224 ir_vec_index_to_cond_assign_visitor::visit_enter(ir_if *ir) in visit_enter()
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
Dglsl_to_nir.cpp204 nir_visitor::evaluate_deref(nir_instr *mem_ctx, ir_instruction *ir) in evaluate_deref()
212 constant_copy(ir_constant *ir, void *mem_ctx) in constant_copy()
295 nir_visitor::visit(ir_variable *ir) in visit()
445 nir_function_visitor::visit_enter(ir_function *ir) in visit_enter()
454 nir_visitor::create_function(ir_function_signature *ir) in create_function()
468 nir_visitor::visit(ir_function *ir) in visit()
475 nir_visitor::visit(ir_function_signature *ir) in visit()
507 nir_visitor::visit(ir_loop *ir) in visit()
518 nir_visitor::visit(ir_if *ir) in visit()
537 nir_visitor::visit(ir_discard *ir) in visit()
[all …]
Dlower_instructions.cpp192 lower_instructions_visitor::sub_to_add_neg(ir_expression *ir) in sub_to_add_neg()
201 lower_instructions_visitor::div_to_mul_rcp(ir_expression *ir) in div_to_mul_rcp()
219 lower_instructions_visitor::int_div_to_mul_rcp(ir_expression *ir) in int_div_to_mul_rcp()
269 lower_instructions_visitor::exp_to_exp2(ir_expression *ir) in exp_to_exp2()
280 lower_instructions_visitor::pow_to_exp2(ir_expression *ir) in pow_to_exp2()
294 lower_instructions_visitor::log_to_log2(ir_expression *ir) in log_to_log2()
304 lower_instructions_visitor::mod_to_floor(ir_expression *ir) in mod_to_floor()
353 lower_instructions_visitor::ldexp_to_arith(ir_expression *ir) in ldexp_to_arith()
481 lower_instructions_visitor::dldexp_to_arith(ir_expression *ir) in dldexp_to_arith()
610 lower_instructions_visitor::dfrexp_sig_to_arith(ir_expression *ir) in dfrexp_sig_to_arith()
[all …]
Dopt_function_inlining.cpp83 replace_return_with_assignment(ir_instruction *ir, void *data) in replace_return_with_assignment()
286 ir_function_inlining_visitor::visit_enter(ir_expression *ir) in visit_enter()
294 ir_function_inlining_visitor::visit_enter(ir_return *ir) in visit_enter()
302 ir_function_inlining_visitor::visit_enter(ir_texture *ir) in visit_enter()
310 ir_function_inlining_visitor::visit_enter(ir_swizzle *ir) in visit_enter()
318 ir_function_inlining_visitor::visit_enter(ir_call *ir) in visit_enter()
388 ir_variable_replacement_visitor::visit_leave(ir_texture *ir) in visit_leave()
396 ir_variable_replacement_visitor::visit_leave(ir_dereference_array *ir) in visit_leave()
403 ir_variable_replacement_visitor::visit_leave(ir_dereference_record *ir) in visit_leave()
410 ir_variable_replacement_visitor::visit_leave(ir_call *ir) in visit_leave()
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()
294 lower_tess_level_visitor::visit_leave(ir_assignment *ir) in visit_leave()
364 lower_tess_level_visitor::visit_new_assignment(ir_assignment *ir) in visit_new_assignment()
381 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 __anon3e88be310111::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()
300 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 …]
Dopt_array_splitting.cpp155 ir_array_reference_visitor::visit(ir_variable *ir) in visit()
166 ir_array_reference_visitor::visit_enter(ir_assignment *ir) in visit_enter()
175 ir_array_reference_visitor::visit_leave(ir_assignment *ir) in visit_leave()
183 ir_array_reference_visitor::visit(ir_dereference_variable *ir) in visit()
205 ir_array_reference_visitor::visit_enter(ir_dereference_array *ir) in visit_enter()
237 ir_array_reference_visitor::visit_enter(ir_function_signature *ir) in visit_enter()
374 ir_array_splitting_visitor::visit_leave(ir_assignment *ir) in visit_leave()
Dlower_distance.cpp137 lower_distance_visitor::visit(ir_variable *ir) in visit()
289 lower_distance_visitor::is_distance_vec8(ir_rvalue *ir) in is_distance_vec8()
329 lower_distance_visitor::lower_distance_vec8(ir_rvalue *ir) in lower_distance_vec8()
397 lower_distance_visitor::fix_lhs(ir_assignment *ir) in fix_lhs()
435 lower_distance_visitor::visit_leave(ir_assignment *ir) in visit_leave()
505 lower_distance_visitor::visit_new_assignment(ir_assignment *ir) in visit_new_assignment()
528 lower_distance_visitor::visit_leave(ir_call *ir) in visit_leave()
611 lower_distance_visitor_counter::visit(ir_variable *ir) in visit()
/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
/external/mesa3d/src/mesa/program/
Dir_to_mesa.cpp157 ir_instruction *ir; member in __anon7fd96f200211::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 …]

12345678910