Home
last modified time | relevance | path

Searched refs:ControlFlowInstr (Results 1 – 13 of 13) sorted by relevance

/third_party/mesa3d/src/gallium/drivers/r600/sfn/
Dsfn_instr_controlflow.cpp33 ControlFlowInstr::ControlFlowInstr(CFType type): in ControlFlowInstr() function in r600::ControlFlowInstr
38 bool ControlFlowInstr::do_ready() const in do_ready()
45 bool ControlFlowInstr::is_equal_to(const ControlFlowInstr& rhs) const in is_equal_to()
50 void ControlFlowInstr::accept(ConstInstrVisitor& visitor) const in accept()
55 void ControlFlowInstr::accept(InstrVisitor& visitor) in accept()
60 void ControlFlowInstr::do_print(std::ostream& os) const in do_print()
75 Instr::Pointer ControlFlowInstr::from_string(std::string type_str) in from_string()
78 return new ControlFlowInstr(cf_else); in from_string()
80 return new ControlFlowInstr(cf_endif); in from_string()
82 return new ControlFlowInstr(cf_loop_begin); in from_string()
[all …]
Dsfn_instr_controlflow.h34 class ControlFlowInstr : public Instr
48 ControlFlowInstr(CFType type);
50 ControlFlowInstr(const ControlFlowInstr& orig) = default;
52 bool is_equal_to(const ControlFlowInstr& lhs) const;
Dsfn_liverangeevaluator.cpp54 void visit(ControlFlowInstr *instr) override;
325 void LiveRangeInstrVisitor::visit(ControlFlowInstr *instr) in visit()
328 case ControlFlowInstr::cf_else: scope_else(); break; in visit()
329 case ControlFlowInstr::cf_endif: scope_endif(); break; in visit()
330 case ControlFlowInstr::cf_loop_begin: scope_loop_begin(); break; in visit()
331 case ControlFlowInstr::cf_loop_end: scope_loop_end(); break; in visit()
332 case ControlFlowInstr::cf_loop_break: scope_loop_break(); break; in visit()
333 case ControlFlowInstr::cf_loop_continue: break; in visit()
334 case ControlFlowInstr::cf_wait_ack: break; in visit()
Dsfn_instrfactory.cpp109 result = ControlFlowInstr::from_string(type); in from_string()
180 ControlFlowInstr::CFType type; in process_jump()
183 type = ControlFlowInstr::cf_loop_break; in process_jump()
187 type = ControlFlowInstr::cf_loop_continue; in process_jump()
196 shader.emit_instruction(new ControlFlowInstr(type)); in process_jump()
Dsfn_optimizer.cpp78 void visit(ControlFlowInstr *instr) override {(void)instr;}; in visit()
230 void visit(ControlFlowInstr *instr) in visit()
250 void visit(ControlFlowInstr *instr) override {(void)instr;} in visit()
278 void visit(ControlFlowInstr *instr) override {(void)instr;} in visit()
494 void visit(ControlFlowInstr *instr) override;
642 void SimplifySourceVecVisitor::visit(ControlFlowInstr *instr) in visit()
Dsfn_shader.cpp673 if (!emit_control_flow(ControlFlowInstr::cf_else)) in process_if()
679 if (!emit_control_flow(ControlFlowInstr::cf_endif)) in process_if()
700 bool Shader::emit_control_flow(ControlFlowInstr::CFType type) in emit_control_flow()
702 auto ir = new ControlFlowInstr(type); in emit_control_flow()
706 case ControlFlowInstr::cf_loop_begin: in emit_control_flow()
711 case ControlFlowInstr::cf_loop_end: in emit_control_flow()
714 case ControlFlowInstr::cf_endif: in emit_control_flow()
728 if (!emit_control_flow(ControlFlowInstr::cf_loop_begin)) in process_loop()
734 if (!emit_control_flow(ControlFlowInstr::cf_loop_end)) in process_loop()
1061 emit_instruction(new ControlFlowInstr(ControlFlowInstr::cf_wait_ack)); in emit_wait_ack()
Dsfn_instr.h46 class ControlFlowInstr; variable
290 virtual void visit(const ControlFlowInstr& instr) = 0;
311 virtual void visit(ControlFlowInstr *instr) = 0;
Dsfn_assembler.cpp60 void visit(const ControlFlowInstr& instr) override;
880 void AssamblerVisitor::visit(const ControlFlowInstr& instr) in visit()
884 case ControlFlowInstr::cf_else: in visit()
887 case ControlFlowInstr::cf_endif: in visit()
890 case ControlFlowInstr::cf_loop_begin: in visit()
893 case ControlFlowInstr::cf_loop_end: in visit()
896 case ControlFlowInstr::cf_loop_break: in visit()
899 case ControlFlowInstr::cf_loop_continue: in visit()
902 case ControlFlowInstr::cf_wait_ack: in visit()
Dsfn_shader.h306 bool emit_control_flow(ControlFlowInstr::CFType type);
362 void visit(ControlFlowInstr *instr) override {(void) instr;} in visit()
Dsfn_instr.cpp459 DECLARE_MEMBER(ControlFlowInstr);
499 void visit(const ControlFlowInstr& instr) override { in visit()
Dsfn_peephole.cpp40 void visit(ControlFlowInstr *instr) override {(void)instr;} in visit()
Dsfn_instr_alu.h206 void visit(ControlFlowInstr *instr) override {(void)instr;} in visit()
Dsfn_scheduler.cpp75 void visit(ControlFlowInstr *instr) override { in visit()