Home
last modified time | relevance | path

Searched refs:SfnLog (Results 1 - 19 of 19) sorted by relevance

/third_party/mesa3d/src/gallium/drivers/r600/sfn/
H A Dsfn_debug.cpp50 {"instr", SfnLog::instr, "Log all consumed nir instructions"},
51 {"ir", SfnLog::r600ir, "Log created R600 IR"},
52 {"cc", SfnLog::cc, "Log R600 IR to assembly code creation"},
53 {"noerr", SfnLog::err, "Don't log shader conversion errors"},
54 {"si", SfnLog::shader_info, "Log shader info (non-zero values)"},
55 {"ts", SfnLog::test_shader, "Log shaders in tests"},
56 {"reg", SfnLog::reg, "Log register allocation and lookup"},
57 {"io", SfnLog::io, "Log shader in and output"},
58 {"ass", SfnLog::assembly, "Log IR to assembly conversion"},
59 {"flow", SfnLog
81 SfnLog::SfnLog(): SfnLog() function in r600::SfnLog
[all...]
H A Dsfn_debug.h51 class SfnLog { class
75 SfnLog();
80 SfnLog& operator << (LogFlag const l);
87 SfnLog& operator << (const T& text) in operator <<()
99 SfnLog& operator << (std::ostream & (*f)(std::ostream&));
101 SfnLog& operator << (nir_shader &sh);
103 SfnLog& operator << (nir_instr& instr);
118 SfnTrace(SfnLog::LogFlag flag, const char *msg);
121 SfnLog::LogFlag m_flag;
133 extern SfnLog sfn_lo
[all...]
H A Dsfn_scheduler.cpp230 sfn_log << SfnLog::schedule << "Original shader\n"; in schedule()
231 if (sfn_log.has_debug_flag(SfnLog::schedule)) { in schedule()
245 sfn_log << SfnLog::schedule << "Scheduled shader\n"; in schedule()
246 if (sfn_log.has_debug_flag(SfnLog::schedule)) { in schedule()
270 sfn_log << SfnLog::schedule << "Process block " << block->id() <<"\n"; in run()
271 if (sfn_log.has_debug_flag(SfnLog::schedule)) { in run()
301 sfn_log << SfnLog::schedule << "Have ready instructions\n"; in schedule_block()
304 sfn_log << SfnLog::schedule << " ALU V:" << alu_vec_ready.size() << "\n"; in schedule_block()
307 sfn_log << SfnLog::schedule << " ALU T:" << alu_trans_ready.size() << "\n"; in schedule_block()
310 sfn_log << SfnLog in schedule_block()
[all...]
H A Dsfn_ra.cpp103 sfn_log << SfnLog::merge << "Color group with " << *group.channels[start_comp] << "\n"; in group_allocation()
118 sfn_log << SfnLog::merge << "Try color "<< color; in group_allocation()
123 sfn_log << SfnLog::merge << " in use\n"; in group_allocation()
135 sfn_log << SfnLog::merge << " interference: "; in group_allocation()
141 sfn_log << SfnLog::merge << *component_life_ranges[adj_index].m_register << " "; in group_allocation()
144 sfn_log << SfnLog::merge << "used"; in group_allocation()
158 sfn_log << SfnLog::merge << "\n"; in group_allocation()
161 sfn_log << SfnLog::merge << " success\n"; in group_allocation()
195 sfn_log << SfnLog::merge << "Color " << *r.m_register << "\n"; in scalar_allocation()
235 sfn_log << SfnLog in register_allocation()
[all...]
H A Dsfn_optimizer.cpp46 sfn_log << SfnLog::opt << "Shader before optimization\n"; in optimize()
47 if (sfn_log.has_debug_flag(SfnLog::opt)) { in optimize()
100 sfn_log << SfnLog::opt << "start dce run\n"; in dead_code_elimination()
106 sfn_log << SfnLog::opt << "finished dce run\n\n"; in dead_code_elimination()
110 sfn_log << SfnLog::opt << "Shader after DCE\n"; in dead_code_elimination()
111 if (sfn_log.has_debug_flag(SfnLog::opt)) { in dead_code_elimination()
126 sfn_log << SfnLog::opt << "DCE: visit '" << *instr; in visit()
133 sfn_log << SfnLog::opt << " dest used\n"; in visit()
149 sfn_log << SfnLog::opt << " never kill\n"; in visit()
156 sfn_log << SfnLog in visit()
[all...]
H A Dsfn_liverangeevaluator.cpp131 sfn_log << SfnLog::merge << "Evaluae access for " << *live_ranges[i].m_register << "\n"; in finalize()
146 if (sfn_log.has_debug_flag(SfnLog::merge)) { in LiveRangeInstrVisitor()
147 sfn_log << SfnLog::merge << "Have component register numbers: "; in LiveRangeInstrVisitor()
231 sfn_log << SfnLog::merge << "Visit " << *instr << "\n"; in visit()
252 sfn_log << SfnLog::merge << "Visit " << *instr << "\n"; in visit()
265 sfn_log << SfnLog::merge << "Visit " << *instr << "\n"; in visit()
272 sfn_log << SfnLog::merge << "Visit " << *instr << "\n"; in visit()
281 sfn_log << SfnLog::merge << "Visit block\n"; in visit()
287 sfn_log << SfnLog::merge << "End block\n"; in visit()
309 sfn_log << SfnLog in visit()
[all...]
H A Dsfn_nir.cpp833 if (r600::sfn_log.has_debug_flag(r600::SfnLog::steps)) { in r600_shader_from_nir()
838 if (!r600::sfn_log.has_debug_flag(r600::SfnLog::noopt)) { in r600_shader_from_nir()
841 if (r600::sfn_log.has_debug_flag(r600::SfnLog::steps)) { in r600_shader_from_nir()
848 if (r600::sfn_log.has_debug_flag(r600::SfnLog::steps)) { in r600_shader_from_nir()
853 if (!r600::sfn_log.has_debug_flag(r600::SfnLog::nomerge)) { in r600_shader_from_nir()
855 if (r600::sfn_log.has_debug_flag(r600::SfnLog::merge)) { in r600_shader_from_nir()
856 r600::sfn_log << r600::SfnLog::merge << "Shader before RA\n"; in r600_shader_from_nir()
860 r600::sfn_log << r600::SfnLog::trans << "Merge registers\n"; in r600_shader_from_nir()
868 } else if (r600::sfn_log.has_debug_flag(r600::SfnLog::merge) || in r600_shader_from_nir()
869 r600::sfn_log.has_debug_flag(r600::SfnLog in r600_shader_from_nir()
[all...]
H A Dsfn_shader.cpp215 sfn_log << SfnLog::instr << "Create Instr from '" << s << "'\n"; in emit_instruction_from_string()
219 sfn_log << SfnLog::instr << " Emit start block\n"; in emit_instruction_from_string()
233 sfn_log << SfnLog::instr << " " << *ir << "\n"; in emit_instruction_from_string()
478 sfn_log << SfnLog::trans << "Process shader \n"; in process()
554 sfn_log << SfnLog::io << "HW_ATOMIC file count: " in scan_uniforms()
624 SFN_TRACE_FUNC(SfnLog::flow, "CF"); in process_cf_node()
661 SFN_TRACE_FUNC(SfnLog::flow, "IF"); in process_if()
667 SFN_TRACE_FUNC(SfnLog::flow, "IF-then"); in process_if()
727 SFN_TRACE_FUNC(SfnLog::flow, "LOOP"); in process_loop()
742 SFN_TRACE_FUNC(SfnLog in process_block()
[all...]
H A Dsfn_shader_vs.cpp247 sfn_log << SfnLog::err << __func__ << "Unsupported location " in emit_varying_pos()
265 sfn_log << SfnLog::io << __func__ << ": emit DDL: " << store_info.driver_location << "\n"; in emit_varying_param()
319 sfn_log << SfnLog::instr << "Emit stream " << i in emit_stream()
326 sfn_log << SfnLog::err << "\nERR: register index " in emit_stream()
365 sfn_log << SfnLog::instr << *so_gpr[i] << "\n"; in emit_stream()
371 sfn_log << SfnLog::instr << "Write output buffer " << i in emit_stream()
584 sfn_log << SfnLog::io << "check output " << store_info.driver_location in do_store_output()
589 sfn_log << SfnLog::io << " against " << k << " name=" << in_io.name<< " sid=" << in_io.sid << "\n"; in do_store_output()
605 sfn_log << SfnLog::err << "VS defines output at " in do_store_output()
H A Dsfn_valuefactory.cpp111 sfn_log << SfnLog::reg << __func__ << ": Allocate array " << key << ":" << *array << "\n"; in allocate_registers()
126 sfn_log << SfnLog::reg << "allocate register " << key << ":" << *m_registers[key] << "\n"; in allocate_registers()
159 sfn_log << SfnLog::reg << "Inject value with key " << key << "\n"; in inject_value()
167 sfn_log << SfnLog::reg << "Search (ref) " << &dst << "\n"; in dest()
233 sfn_log << SfnLog::reg << "Add const with key " << key << " as " << m_values[key] << "\n"; in allocate_const()
326 sfn_log << SfnLog::reg << "search (ref) " << (void *)&src << "\n"; in src()
329 sfn_log << SfnLog::reg << "search ssa " << src.ssa->index << " c:" << chan << " got "; in src()
334 sfn_log << SfnLog::reg << "search reg " << src.reg.reg->index << "\n"; in src()
377 sfn_log << SfnLog::reg << "allocate Ssa " << key << ":" << *vreg << "\n";
409 sfn_log << SfnLog
[all...]
H A Dsfn_shader_fs.cpp243 sfn_log << SfnLog::io << "Set sample mask in register to " << *m_sample_mask_reg << "\n"; in do_allocate_reserved_registers()
255 sfn_log << SfnLog::io << "Set sample id register to " << *m_sample_id_reg << "\n"; in do_allocate_reserved_registers()
441 sfn_log << SfnLog::io << " have IO at " << driver_location << "\n"; in scan_input()
448 sfn_log << SfnLog::io << "add IO with LDS ID at " << input.location() << "\n"; in scan_input()
503 sfn_log << SfnLog::io << "Pixel output at loc:" << location << "\n"; in emit_export_pixel()
506 sfn_log << SfnLog::io << "Pixel output loc:" << location in emit_export_pixel()
628 sfn_log << SfnLog::io << "Reseve input register at pos " << in allocate_interpolators_or_inputs()
642 sfn_log << SfnLog::io << "Inject register " << *m_interpolated_inputs[nir_intrinsic_base(intr)][i] << "\n"; in load_input_hw()
711 sfn_log << SfnLog::io << "Interpolator " << i << " test enabled\n"; in allocate_interpolators_or_inputs()
719 sfn_log << SfnLog in allocate_interpolators_or_inputs()
[all...]
H A Dsfn_instr_alugroup.cpp138 sfn_log << SfnLog::schedule << "T: " << *instr << "\n"; in add_trans_instructions()
223 sfn_log << SfnLog::schedule << "V: Try force channel " << free_chan << "\n"; in add_vec_instructions()
248 sfn_log << SfnLog::schedule << "V: " << *instr << "\n"; in try_readport()
H A Dsfn_instr_tex.cpp389 sfn_log << SfnLog::instr << "emit '" in emit_tex_tex()
538 r600::sfn_log << SfnLog::instr << "emit '" in emit_tex_tex_ms_direct()
576 r600::sfn_log << SfnLog::instr << "emit '" in emit_tex_tex_ms()
680 r600::sfn_log << SfnLog::instr << "emit '" in emit_tex_txd()
818 r600::sfn_log << SfnLog::instr << "emit '" in emit_tex_tg4()
826 r600::sfn_log << SfnLog::instr << "emit '" in emit_tex_tg4()
845 r600::sfn_log << SfnLog::tex << " really have offsets and they are " << in emit_tex_tg4()
882 r600::sfn_log << SfnLog::tex << "emit literal offsets\n"; in emit_tex_tg4()
961 //sfn_log << SfnLog::tex << "Get Inputs with " << instr.coord_components << " components\n"; in Inputs()
H A Dsfn_virtualvalues.cpp215 sfn_log << SfnLog::opt << "Del use of " << *this << " in " << *instr << "\n";
740 sfn_log << SfnLog::reg << "Allocate array A" << base_sel << "("
791 sfn_log << SfnLog::reg << "Request element A" << m_base_sel << "[" << offset;
794 sfn_log << SfnLog::reg << "]\n";
828 sfn_log << SfnLog::reg << " got " << *reg << "\n";
H A Dsfn_assembler.cpp327 sfn_log << SfnLog::assembly << " Current address register is " << *m_last_addr << "\n"; in emit_alu_op()
330 sfn_log << SfnLog::assembly << " Current dst register is " << *dst << "\n"; in emit_alu_op()
333 sfn_log << SfnLog::assembly << " Clear address register (was " << *m_last_addr << "\n"; in emit_alu_op()
820 sfn_log << SfnLog::assembly << "Translate block size: " << block.size() << " new_cf:" << m_bc->force_add_cf << "\n"; in visit()
823 sfn_log << SfnLog::assembly << "Translate " << *i << " "; in visit()
825 sfn_log << SfnLog::assembly << (m_result ? "good" : "fail") << "\n"; in visit()
1004 sfn_log << SfnLog::assembly << " mova_int, "; in emit_index_reg()
1014 sfn_log << SfnLog::assembly << "op1_set_cf_idx" << idx; in emit_index_reg()
1026 sfn_log << SfnLog::assembly << " mova_int, "; in emit_index_reg()
1037 sfn_log << SfnLog in emit_index_reg()
[all...]
H A Dsfn_shader_gs.cpp287 sfn_log << SfnLog::io << "None-streamout ";
332 sfn_log << SfnLog::err << "GS: Indirect input addressing not (yet) supported\n";
H A Dsfn_instrfactory.cpp192 sfn_log << SfnLog::err << "Jump instrunction " << *i << " not supported\n"; in process_jump()
H A Dsfn_instr_alu.cpp649 sfn_log << SfnLog::instr << "Split " << *this << "\n"; in split()
703 sfn_log << SfnLog::instr << " " << *instr << "\n"; in split()
/third_party/mesa3d/src/gallium/drivers/r600/sfn/tests/
H A Dsfn_valuefactory_test.cpp60 sfn_log << SfnLog::reg << "Search (test) " << &alu->dest << "\n"; in TEST_F()
67 sfn_log << SfnLog::reg << "Search (test) " << &src << "\n"; in TEST_F()

Completed in 19 milliseconds