Home
last modified time | relevance | path

Searched refs:GraphVisitor (Results 1 – 25 of 27) sorted by relevance

12

/arkcompiler/runtime_core/compiler/optimizer/ir/
Dgraph_visitor.h53 class GraphVisitor {
55 explicit GraphVisitor() = default;
56 virtual ~GraphVisitor() = default;
76 NO_COPY_SEMANTIC(GraphVisitor);
77 NO_MOVE_SEMANTIC(GraphVisitor);
80 using VisitFunc = void (*)(GraphVisitor *, Inst *);
89 static void Visit##OPCODE(GraphVisitor *v, Inst *i) \
Dgraph_checker.h39 class GraphChecker : public GraphVisitor {
115 static void VisitReturn([[maybe_unused]] GraphVisitor *v, Inst *inst);
116 static void VisitIf([[maybe_unused]] GraphVisitor *v, Inst *inst);
117 static void VisitIfImm([[maybe_unused]] GraphVisitor *v, Inst *inst);
Dgraph_checker.cpp750 void GraphChecker::VisitReturn([[maybe_unused]] GraphVisitor *v, Inst *inst) in VisitReturn()
763 void GraphChecker::VisitIf([[maybe_unused]] GraphVisitor *v, Inst *inst) in VisitIf()
797 void GraphChecker::VisitIfImm([[maybe_unused]] GraphVisitor *v, Inst *inst) in VisitIfImm()
/arkcompiler/runtime_core/bytecode_optimizer/
Dcodegen.h39 class BytecodeGen : public compiler::Optimization, public compiler::GraphVisitor {
103 static void VisitSpillFill(GraphVisitor *visitor, Inst *inst);
104 static void VisitConstant(GraphVisitor *visitor, Inst *inst);
105 static void VisitCatchPhi(GraphVisitor *visitor, Inst *inst);
107 static void VisitIf(GraphVisitor *v, Inst *inst_base);
108 static void VisitIfImm(GraphVisitor *v, Inst *inst_base);
109 static void IfImmZero(GraphVisitor *v, Inst *inst_base);
110 static void VisitIntrinsic(GraphVisitor *visitor, Inst *inst_base);
111 static void VisitLoadString(GraphVisitor *v, Inst *inst_base);
112 static void VisitReturn(GraphVisitor *v, Inst *inst_base);
[all …]
Dreg_encoder.h98 class RegEncoder : public compiler::Optimization, public compiler::GraphVisitor {
124 static void VisitIntrinsic(GraphVisitor *visitor, Inst *inst);
177 static void CallHelper(compiler::GraphVisitor *visitor, Inst *inst) in CallHelper()
Dcodegen.cpp258 void BytecodeGen::VisitSpillFill(GraphVisitor *visitor, Inst *inst) in VisitSpillFill()
279 void BytecodeGen::VisitConstant(GraphVisitor *visitor, Inst *inst) in VisitConstant()
334 void BytecodeGen::VisitIf(GraphVisitor *v, Inst *inst_base) in VisitIf()
384 void BytecodeGen::IfEcma(GraphVisitor *v, compiler::IfInst *inst) in IfEcma()
438 void BytecodeGen::VisitIfImm(GraphVisitor *v, Inst *inst_base) in VisitIfImm()
448 void BytecodeGen::IfImmZero(GraphVisitor *v, Inst *inst_base) in IfImmZero()
466 void BytecodeGen::VisitLoadString(GraphVisitor *v, Inst *inst_base) in VisitLoadString()
483 void BytecodeGen::VisitReturn(GraphVisitor *v, Inst *inst_base) in VisitReturn()
508 void BytecodeGen::VisitCastValueToAnyType([[maybe_unused]] GraphVisitor *v, [[maybe_unused]] Inst *… in VisitCastValueToAnyType()
568 void BytecodeGen::VisitIntrinsic(GraphVisitor *visitor, Inst *inst_base) in VisitIntrinsic()
[all …]
/arkcompiler/ets_runtime/ecmascript/compiler/
Dgraph_visitor.cpp22 void GraphVisitor::ReplaceGate(GateRef gate, GateRef replacement) in ReplaceGate()
37 void GraphVisitor::ReplaceGate(GateRef gate, StateDepend stateDepend, GateRef replacement) in ReplaceGate()
60 void GraphVisitor::VisitGraph() in VisitGraph()
87 void GraphVisitor::ReVisitGate(GateRef gate) in ReVisitGate()
94 int32_t GraphVisitor::GetGateOrder(GateRef gate) const in GetGateOrder()
99 void GraphVisitor::SetGateOrder(GateRef gate, int32_t orderId) in SetGateOrder()
105 void GraphVisitor::VisitTopGate(Edge& current) in VisitTopGate()
149 void GraphVisitor::PrintStack() in PrintStack()
Dgraph_visitor.h25 class GraphVisitor {
27 GraphVisitor(Circuit *circuit, Chunk* chunk) in GraphVisitor() function
31 virtual ~GraphVisitor() = default;
Dvalue_numbering.h25 class ValueNumbering : public GraphVisitor {
28 : GraphVisitor(circuit, chunk), enableLog_(enableLog), in ValueNumbering()
Dlater_elimination.h27 class LaterElimination : public GraphVisitor {
30 : GraphVisitor(circuit, chunk), enableLog_(enableLog), in LaterElimination()
Drange_guard.h29 class RangeGuard : public GraphVisitor {
32 : GraphVisitor(circuit, chunk), circuit_(circuit), in RangeGuard()
Drange_analysis.h27 class RangeAnalysis : public GraphVisitor {
31 : GraphVisitor(circuit, chunk), acc_(circuit), builder_(circuit), in RangeAnalysis()
Dearly_elimination.h60 class EarlyElimination : public GraphVisitor {
63 : GraphVisitor(circuit, chunk), enableLog_(enableLog), in EarlyElimination()
Dnumber_speculative_retype.h29 class NumberSpeculativeRetype : public GraphVisitor {
32 : GraphVisitor(circuit, chunk), acc_(circuit), builder_(circuit), in NumberSpeculativeRetype()
/arkcompiler/runtime_core/bytecode_optimizer/templates/
Dcheck_width.h.erb18 static void VisitIf([[maybe_unused]] GraphVisitor* v, Inst* inst_base);
19 static void VisitIfImm([[maybe_unused]] GraphVisitor* v, Inst* inst_base);
20 static void VisitCast([[maybe_unused]] GraphVisitor* v, Inst* inst_base);
24 static void Visit<%= visitor.ir_op %>([[maybe_unused]] GraphVisitor* v, Inst* inst_base);
Dcheck_width.cpp.erb18 void RegEncoder::VisitIf([[maybe_unused]] GraphVisitor* v, Inst* inst_base) {
36 void RegEncoder::VisitIfImm([[maybe_unused]] GraphVisitor* v, Inst* inst_base) {
56 void RegEncoder::Visit<%= visitor.ir_op %>([[maybe_unused]] GraphVisitor* v, Inst* inst_base) {
Dcodegen_intrinsics.cpp.erb20 void BytecodeGen::VisitIntrinsic(GraphVisitor *visitor, Inst *inst_base)
/arkcompiler/runtime_core/compiler/optimizer/optimizations/
Dlowering.h26 class Lowering : public Optimization, public GraphVisitor {
53 static void VisitIfImm([[maybe_unused]] GraphVisitor *v, Inst *inst);
Dlowering.cpp21 void Lowering::VisitIfImm([[maybe_unused]] GraphVisitor *v, Inst *inst) in VisitIfImm()
/arkcompiler/runtime_core/compiler/optimizer/optimizations/regalloc/
Dspill_fills_resolver.h43 class SpillFillsResolver : public GraphVisitor {
77 static void VisitSpillFill(GraphVisitor *visitor, Inst *inst);
Dspill_fills_resolver.cpp77 void SpillFillsResolver::VisitSpillFill(GraphVisitor *visitor, Inst *inst) in VisitSpillFill()
/arkcompiler/runtime_core/compiler/optimizer/templates/
Dinst_checker_gen.h.erb21 class InstChecker : public GraphVisitor {
46 … static void Visit<%= inst.opcode %>([[maybe_unused]] GraphVisitor *v, [[maybe_unused]] Inst *inst)
Dcodegen_arm64_gen.inc.erb20 static void Visit<%= inst.opcode %>([[maybe_unused]] GraphVisitor* visitor, Inst* inst) {
Dgenerate_ecma.inl.erb19 void panda::bytecodeopt::BytecodeGen::VisitEcma(panda::compiler::GraphVisitor *visitor, Inst *inst_…
/arkcompiler/runtime_core/docs/
Dir_format.md286 Class **GraphVisitor** allows to go through the blocks of the graph in RPO order and then all the i…
372 struct ExampleVisitor: public GraphVisitor {
373 using GraphVisitor::GraphVisitor;
381 static void VisitMul(GraphVisitor* v, Inst* inst) {

12