Home
last modified time | relevance | path

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

12345678910>>...18

/external/mesa3d/src/compiler/glsl/
Dir_hierarchical_visitor.cpp38 ir_hierarchical_visitor::visit(ir_rvalue *ir) in visit()
46 ir_hierarchical_visitor::visit(ir_variable *ir) in visit()
54 ir_hierarchical_visitor::visit(ir_constant *ir) in visit()
62 ir_hierarchical_visitor::visit(ir_loop_jump *ir) in visit()
70 ir_hierarchical_visitor::visit(ir_dereference_variable *ir) in visit()
78 ir_hierarchical_visitor::visit(ir_barrier *ir) in visit()
86 ir_hierarchical_visitor::visit_enter(ir_loop *ir) in visit_enter()
95 ir_hierarchical_visitor::visit_leave(ir_loop *ir) in visit_leave()
104 ir_hierarchical_visitor::visit_enter(ir_function_signature *ir) in visit_enter()
113 ir_hierarchical_visitor::visit_leave(ir_function_signature *ir) in visit_leave()
[all …]
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_validate.cpp93 ir_validate::visit(ir_dereference_variable *ir) in visit()
124 ir_validate::visit_enter(class ir_dereference_array *ir) in visit_enter()
167 ir_validate::visit_enter(class ir_dereference_record *ir) in visit_enter()
189 ir_validate::visit_enter(ir_discard *ir) in visit_enter()
203 ir_validate::visit_enter(ir_if *ir) in visit_enter()
218 ir_validate::visit_enter(ir_function *ir) in visit_enter()
254 ir_validate::visit_leave(ir_function *ir) in visit_leave()
263 ir_validate::visit_enter(ir_function_signature *ir) in visit_enter()
287 ir_validate::visit_enter(ir_return *ir) in visit_enter()
298 ir_validate::visit_leave(ir_expression *ir) in visit_leave()
[all …]
Dir_builder_print_visitor.cpp91 is_simple_operand(const ir_rvalue *ir, unsigned depth = 1) in is_simple_operand()
183 ir_builder_print_visitor::print_without_declaration(const ir_rvalue *ir) in print_without_declaration()
204 ir_builder_print_visitor::visit(ir_variable *ir) in visit()
257 ir_builder_print_visitor::print_without_declaration(const ir_dereference_variable *ir) in print_without_declaration()
266 ir_builder_print_visitor::visit(ir_dereference_variable *ir) in visit()
278 ir_builder_print_visitor::visit_enter(ir_function_signature *ir) in visit_enter()
302 ir_builder_print_visitor::visit_leave(ir_function_signature *ir) in visit_leave()
314 ir_builder_print_visitor::print_without_declaration(const ir_constant *ir) in print_without_declaration()
346 ir_builder_print_visitor::visit(ir_constant *ir) in visit()
437 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
149 void ir_print_visitor::visit(ir_variable *ir) in visit()
228 void ir_print_visitor::visit(ir_function_signature *ir) in visit()
269 void ir_print_visitor::visit(ir_function *ir) in visit()
284 void ir_print_visitor::visit(ir_expression *ir) in visit()
300 void ir_print_visitor::visit(ir_texture *ir) in visit()
385 void ir_print_visitor::visit(ir_swizzle *ir) in visit()
404 void ir_print_visitor::visit(ir_dereference_variable *ir) in visit()
411 void ir_print_visitor::visit(ir_dereference_array *ir) in visit()
420 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_function_inlining.cpp83 replace_return_with_assignment(ir_instruction *ir, void *data) in replace_return_with_assignment()
292 ir_function_inlining_visitor::visit_enter(ir_expression *ir) in visit_enter()
300 ir_function_inlining_visitor::visit_enter(ir_return *ir) in visit_enter()
308 ir_function_inlining_visitor::visit_enter(ir_texture *ir) in visit_enter()
316 ir_function_inlining_visitor::visit_enter(ir_swizzle *ir) in visit_enter()
324 ir_function_inlining_visitor::visit_enter(ir_call *ir) in visit_enter()
397 ir_variable_replacement_visitor::visit_leave(ir_texture *ir) in visit_leave()
405 ir_variable_replacement_visitor::visit_leave(ir_assignment *ir) in visit_leave()
414 ir_variable_replacement_visitor::visit_leave(ir_expression *ir) in visit_leave()
423 ir_variable_replacement_visitor::visit_leave(ir_return *ir) in visit_leave()
[all …]
Dlower_precision.cpp191 find_lowerable_rvalues_visitor::stack_enter(class ir_instruction *ir, in stack_enter()
278 find_lowerable_rvalues_visitor::stack_leave(class ir_instruction *ir, in stack_leave()
329 find_lowerable_rvalues_visitor::visit(ir_constant *ir) in visit()
342 find_lowerable_rvalues_visitor::visit(ir_dereference_variable *ir) in visit()
355 find_lowerable_rvalues_visitor::visit_enter(ir_dereference_record *ir) in visit_enter()
366 find_lowerable_rvalues_visitor::visit_enter(ir_dereference_array *ir) in visit_enter()
377 find_lowerable_rvalues_visitor::visit_enter(ir_texture *ir) in visit_enter()
390 find_lowerable_rvalues_visitor::visit_enter(ir_expression *ir) in visit_enter()
423 handle_call(ir_call *ir, const struct set *lowerable_rvalues) in handle_call()
557 find_lowerable_rvalues_visitor::visit_leave(ir_call *ir) in visit_leave()
[all …]
Dlower_instructions.cpp201 lower_instructions_visitor::sub_to_add_neg(ir_expression *ir) in sub_to_add_neg()
211 lower_instructions_visitor::div_to_mul_rcp(ir_expression *ir) in div_to_mul_rcp()
230 lower_instructions_visitor::int_div_to_mul_rcp(ir_expression *ir) in int_div_to_mul_rcp()
281 lower_instructions_visitor::exp_to_exp2(ir_expression *ir) in exp_to_exp2()
293 lower_instructions_visitor::pow_to_exp2(ir_expression *ir) in pow_to_exp2()
308 lower_instructions_visitor::log_to_log2(ir_expression *ir) in log_to_log2()
319 lower_instructions_visitor::mod_to_floor(ir_expression *ir) in mod_to_floor()
369 lower_instructions_visitor::ldexp_to_arith(ir_expression *ir) in ldexp_to_arith()
543 lower_instructions_visitor::dldexp_to_arith(ir_expression *ir) in dldexp_to_arith()
673 lower_instructions_visitor::dfrexp_sig_to_arith(ir_expression *ir) in dfrexp_sig_to_arith()
[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()
Dloop_analysis.cpp54 ir_instruction *ir = (ir_instruction *) node; in find_initial_value() local
225 ir_instruction *ir = (ir_instruction *) node; in incremented_before_terminator() local
309 loop_state::insert(ir_loop *ir) in insert()
321 loop_state::get(const ir_loop *ir) in get()
329 loop_variable_state::get(const ir_variable *ir) in get()
430 loop_analysis::visit(ir_loop_jump *ir) in visit()
460 loop_analysis::visit(ir_dereference_variable *ir) in visit()
483 loop_analysis::visit_enter(ir_loop *ir) in visit_enter()
492 loop_analysis::visit_leave(ir_loop *ir) in visit_leave()
678 loop_analysis::visit_enter(ir_if *ir) in visit_enter()
[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
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()
Dglsl_to_nir.cpp150 virtual ir_visitor_status visit_enter(ir_function_signature *ir) in visit_enter()
184 has_unsupported_function_param(exec_list *ir) in has_unsupported_function_param()
285 nir_visitor::evaluate_deref(ir_instruction *ir) in evaluate_deref()
292 nir_visitor::constant_copy(ir_constant *ir, void *mem_ctx) in constant_copy()
455 nir_visitor::visit(ir_variable *ir) in visit()
685 nir_function_visitor::visit_enter(ir_function *ir) in visit_enter()
694 nir_visitor::create_function(ir_function_signature *ir) in create_function()
735 nir_visitor::visit(ir_function *ir) in visit()
742 nir_visitor::visit(ir_function_signature *ir) in visit()
787 nir_visitor::visit(ir_loop *ir) in visit()
[all …]
Dlower_tess_level.cpp103 lower_tess_level_visitor::visit(ir_variable *ir) in visit()
165 lower_tess_level_visitor::is_tess_level_array(ir_rvalue *ir) in is_tess_level_array()
194 lower_tess_level_visitor::lower_tess_level_array(ir_rvalue *ir) in lower_tess_level_array()
250 lower_tess_level_visitor::fix_lhs(ir_assignment *ir) in fix_lhs()
296 lower_tess_level_visitor::visit_leave(ir_assignment *ir) in visit_leave()
366 lower_tess_level_visitor::visit_new_assignment(ir_assignment *ir) in visit_new_assignment()
383 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 __anon389c3a9b0111::assignment_entry
96 virtual ir_visitor_status visit(ir_dereference_variable *ir) in visit()
103 virtual ir_visitor_status visit(ir_swizzle *ir) in visit()
150 virtual ir_visitor_status visit_enter(class ir_dereference_array *ir) in visit_enter()
156 static void run(ir_instruction *ir, ir_hierarchical_visitor *v) in run()
172 process_assignment(void *lin_ctx, ir_assignment *ir, exec_list *assignments) in process_assignment()
313 ir_instruction *ir, *ir_next; in dead_code_local_basic_block() local
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()
Dopt_algebraic.cpp87 ir_algebraic_visitor::visit_enter(ir_assignment *ir) in visit_enter()
104 is_vec_zero(ir_constant *ir) in is_vec_zero()
110 is_vec_one(ir_constant *ir) in is_vec_one()
116 is_vec_two(ir_constant *ir) in is_vec_two()
122 is_vec_four(ir_constant *ir) in is_vec_four()
128 is_vec_negative_one(ir_constant *ir) in is_vec_negative_one()
134 is_valid_vec_const(ir_constant *ir) in is_valid_vec_const()
146 is_less_than_one(ir_constant *ir) in is_less_than_one()
163 is_greater_than_zero(ir_constant *ir) in is_greater_than_zero()
180 update_type(ir_expression *ir) in update_type()
[all …]
Dir_variable_refcount.cpp94 ir_variable_refcount_visitor::visit(ir_variable *ir) in visit()
105 ir_variable_refcount_visitor::visit(ir_dereference_variable *ir) in visit()
118 ir_variable_refcount_visitor::visit_enter(ir_function_signature *ir) in visit_enter()
129 ir_variable_refcount_visitor::visit_leave(ir_assignment *ir) in visit_leave()
Dopt_constant_propagation.cpp256 ir_constant_propagation_visitor::visit_enter(ir_function_signature *ir) in visit_enter()
280 ir_constant_propagation_visitor::visit_leave(ir_assignment *ir) in visit_leave()
314 ir_constant_propagation_visitor::visit_enter(ir_function *ir) in visit_enter()
321 ir_constant_propagation_visitor::visit_enter(ir_call *ir) in visit_enter()
373 ir_constant_propagation_visitor::visit_enter(ir_if *ir) in visit_enter()
400 ir_constant_propagation_visitor::handle_loop(ir_loop *ir, bool keep_acp) in handle_loop()
433 ir_constant_propagation_visitor::visit_enter(ir_loop *ir) in visit_enter()
485 ir_constant_propagation_visitor::add_constant(ir_assignment *ir) in add_constant()
/external/mesa3d/src/gallium/drivers/r600/sfn/
Dsfn_emitaluinstruction.cpp43 bool EmitAluInstruction::do_emit(nir_instr* ir) in do_emit()
297 AluInstruction *ir = nullptr; in split_constants() local
316 AluInstruction *ir = nullptr; in emit_alu_inot() local
331 AluInstruction *ir = nullptr; in emit_alu_op1() local
385 AluInstruction *ir = nullptr; in emit_alu_trig_op1() local
427 AluInstruction *ir = nullptr; in emit_alu_trans_op1() local
460 AluInstruction *ir = nullptr; in emit_alu_f2i32_or_u32() local
489 AluInstruction *ir = nullptr; in emit_alu_f2b32() local
507 AluInstruction *ir = nullptr; in emit_find_msb() local
543 AluInstruction *ir = nullptr; in emit_b2i32() local
[all …]
Dsfn_shader_base.cpp234 for (auto& ir: m_output) in remap_registers() local
367 void ShaderFromNirProcessor::emit_instruction(AluInstruction *ir) in emit_instruction()
386 void ShaderFromNirProcessor::emit_instruction(Instruction *ir) in emit_instruction()
393 void ShaderFromNirProcessor::emit_instruction_internal(Instruction *ir) in emit_instruction_internal()
485 IfInstruction *ir = new IfInstruction(pred); in emit_if_start() local
505 ElseInstruction *ir = new ElseInstruction(if_instr); in emit_else_start() local
530 IfElseEndInstruction *ir = new IfElseEndInstruction(); in emit_ifelse_end() local
723 AluInstruction *ir = new AluInstruction(op0_group_barrier); in emit_barrier() local
733 auto ir = new AluInstruction(op1_mov, from_nir(dest, 0), value, {alu_write}); in load_preloaded_value() local
754 WriteScratchInstruction *ir = nullptr; in emit_store_scratch() local
[all …]
/external/libtextclassifier/native/utils/grammar/utils/
Drules_test.cc41 const Ir ir = rules.Finalize(); in TEST() local
65 const Ir ir = rules.Finalize(); in TEST() local
88 const Ir ir = rules.Finalize(); in TEST() local
110 const Ir ir = rules.Finalize(); in TEST() local
128 const Ir ir = rules.Finalize(); in TEST() local
158 const Ir ir = rules.Finalize(); in TEST() local
178 const Ir ir = rules.Finalize(); in TEST() local
201 const Ir ir = rules.Finalize(); in TEST() local
226 const Ir ir = rules.Finalize(); in TEST() local
/external/mesa3d/src/mesa/program/
Dir_to_mesa.cpp158 ir_instruction *ir; member in __anon83d07f0a0211::ir_to_mesa_instruction
313 inline void emit_sne(ir_expression *ir, dst_reg dst, in emit_sne()
319 inline void emit_seq(ir_expression *ir, dst_reg dst, in emit_seq()
355 ir_to_mesa_visitor::emit(ir_instruction *ir, enum prog_opcode op, in emit()
395 ir_to_mesa_visitor::emit(ir_instruction *ir, enum prog_opcode op, in emit()
402 ir_to_mesa_visitor::emit(ir_instruction *ir, enum prog_opcode op, in emit()
410 ir_to_mesa_visitor::emit(ir_instruction *ir, enum prog_opcode op) in emit()
416 ir_to_mesa_visitor::emit_dp(ir_instruction *ir, in emit_dp()
436 ir_to_mesa_visitor::emit_scalar(ir_instruction *ir, enum prog_opcode op, in emit_scalar()
481 ir_to_mesa_visitor::emit_scalar(ir_instruction *ir, enum prog_opcode op, in emit_scalar()
[all …]
/external/llvm-project/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

12345678910>>...18