Home
last modified time | relevance | path

Searched refs:Graph (Results 1 – 25 of 101) sorted by relevance

12345

/arkcompiler/runtime_core/compiler/tests/
Dunit_test.h106 Graph *CreateEmptyGraph(bool is_osr = false) const
108 return GetAllocator()->New<Graph>(GetAllocator(), GetLocalAllocator(), arch_, is_osr);
111 Graph *CreateEmptyGraph(Arch arch) const in CreateEmptyGraph()
113 return GetAllocator()->New<Graph>(GetAllocator(), GetLocalAllocator(), arch, false); in CreateEmptyGraph()
116 Graph *CreateGraphStartEndBlocks(bool is_dynamic = false) const
118 …auto graph = GetAllocator()->New<Graph>(GetAllocator(), GetLocalAllocator(), arch_, is_dynamic, fa…
123 Graph *CreateDynEmptyGraph() const in CreateDynEmptyGraph()
125 return GetAllocator()->New<Graph>(GetAllocator(), GetLocalAllocator(), arch_, true, false); in CreateDynEmptyGraph()
127 Graph *CreateEmptyBytecodeGraph() const in CreateEmptyBytecodeGraph()
129 … return GetAllocator()->New<Graph>(GetAllocator(), GetLocalAllocator(), Arch::NONE, false, true); in CreateEmptyBytecodeGraph()
[all …]
Dcompiler_basicblock_test.cpp53 graph_test_.TestBuildGraphFromFile(pfile, [&](Graph* graph, std::string &method_name) { in __anond946d00f0102()
82 …graph_test_.TestBuildGraphFromFile(pfile, [&test_method_name, &status](Graph* graph, std::string &… in __anond946d00f0202()
111 …graph_test_.TestBuildGraphFromFile(pfile, [&test_method_name, &status](Graph* graph, std::string &… in __anond946d00f0302()
137 …graph_test_.TestBuildGraphFromFile(pfile, [&test_method_name, &status](Graph* graph, std::string &… in __anond946d00f0402()
159 …graph_test_.TestBuildGraphFromFile(pfile, [&test_method_name, &status](Graph* graph, std::string &… in __anond946d00f0502()
185 …graph_test_.TestBuildGraphFromFile(pfile, [&test_method_name, &status](Graph* graph, std::string &… in __anond946d00f0602()
214 graph_test_.TestBuildGraphFromFile(pfile, [&test_method_name, &status](Graph* graph,
245 …graph_test_.TestBuildGraphFromFile(pfile, [&test_method_name, &status](Graph* graph, std::string &… in __anond946d00f0802()
270 graph_test_.TestBuildGraphFromFile(pfile, [&test_method_name, &status](Graph* graph,
299 …graph_test_.TestBuildGraphFromFile(pfile, [&test_method_name, &status](Graph* graph, std::string &… in __anond946d00f0a02()
[all …]
Dcompiler_graph_test.cpp68 …graph_test_.TestBuildGraphFromFile(pfile, [&test_method_name, &status](Graph* graph, std::string &… in __anon1425b6d40102()
93 …graph_test_.TestBuildGraphFromFile(pfile, [&test_method_name, &status](Graph* graph, std::string &… in __anon1425b6d40202()
124 …graph_test_.TestBuildGraphFromFile(pfile, [&test_method_name, &status](Graph* graph, std::string &… in __anon1425b6d40302()
146 …graph_test_.TestBuildGraphFromFile(pfile, [&test_method_name, &status](Graph* graph, std::string &… in __anon1425b6d40402()
181 …graph_test_.TestBuildGraphFromFile(pfile, [&test_method_name, &status](Graph* graph, std::string &… in __anon1425b6d40502()
206 …graph_test_.TestBuildGraphFromFile(pfile, [&test_method_name, &status](Graph* graph, std::string &… in __anon1425b6d40602()
243 [&test_method_name, &out, &status](Graph* graph, std::string &method_name) { in __anon1425b6d40702()
270 …graph_test_.TestBuildGraphFromFile(pfile, [&test_method_name, &status](Graph* graph, std::string &… in __anon1425b6d40802()
293 …graph_test_.TestBuildGraphFromFile(pfile, [&test_method_name, &status](Graph* graph, std::string &… in __anon1425b6d40902()
332 …graph_test_.TestBuildGraphFromFile(pfile, [&test_method_name, &status](Graph* graph, std::string &… in __anon1425b6d40a02()
[all …]
Dinst_generator.h30 Graph *GenerateGraph(Inst *inst);
59 Graph *CreateGraph();
60 Graph *GenerateOperation(Inst *inst, int32_t n);
61 Graph *GenerateCheckOperation(Inst *inst);
62 Graph *GenerateSSOperation(Inst *inst);
63 Graph *GenerateBoundaryCheckOperation(Inst *inst);
64 Graph *GenerateThrowOperation(Inst *inst);
65 Graph *GenerateMultiArrayOperation(Inst *inst);
66 Graph *GeneratePhiOperation(Inst *inst);
68 Graph *CreateGraphWithOneBasicBlock();
[all …]
Dloop_analyzer_new_test.cpp50 …graph_test_.TestBuildGraphFromFile(pfile, [test_method_name, &status](Graph* graph, std::string &m… in __anonf25df3b00102()
73 …graph_test_.TestBuildGraphFromFile(pfile, [test_method_name, &status](Graph* graph, std::string &m… in __anonf25df3b00202()
107 …graph_test_.TestBuildGraphFromFile(pfile, [test_method_name, &status](Graph* graph, std::string &m… in __anonf25df3b00302()
141 …graph_test_.TestBuildGraphFromFile(pfile, [test_method_name, &status](Graph* graph, std::string &m… in __anonf25df3b00402()
175 …graph_test_.TestBuildGraphFromFile(pfile, [test_method_name, &status](Graph* graph, std::string &m… in __anonf25df3b00502()
211 …graph_test_.TestBuildGraphFromFile(pfile, [test_method_name, &status](Graph* graph, std::string &m… in __anonf25df3b00602()
Dliveness_analyzer_new_test.cpp50 …graph_test_.TestBuildGraphFromFile(pfile, [test_method_name, &status](Graph* graph, std::string &m… in __anonf1f112df0102()
80 …graph_test_.TestBuildGraphFromFile(pfile, [test_method_name, &status](Graph* graph, std::string &m… in __anonf1f112df0202()
222 …graph_test_.TestBuildGraphFromFile(pfile, [test_method_name, &status](Graph* graph, std::string &m… in __anonf1f112df0302()
255 …graph_test_.TestBuildGraphFromFile(pfile, [test_method_name, &status](Graph* graph, std::string &m… in __anonf1f112df0402()
292 …graph_test_.TestBuildGraphFromFile(pfile, [test_method_name, &status](Graph* graph, std::string &m… in __anonf1f112df0502()
324 …graph_test_.TestBuildGraphFromFile(pfile, [test_method_name, &status](Graph* graph, std::string &m… in __anonf1f112df0602()
356 …graph_test_.TestBuildGraphFromFile(pfile, [test_method_name, &status](Graph* graph, std::string &m… in __anonf1f112df0702()
384 …graph_test_.TestBuildGraphFromFile(pfile, [test_method_name, &status](Graph* graph, std::string &m… in __anonf1f112df0802()
414 …graph_test_.TestBuildGraphFromFile(pfile, [test_method_name, &status](Graph* graph, std::string &m… in __anonf1f112df0902()
443 …graph_test_.TestBuildGraphFromFile(pfile, [test_method_name, &status](Graph* graph, std::string &m… in __anonf1f112df0a02()
[all …]
Dcompiler_inst_test.cpp78 …graph_test_.TestBuildGraphFromFile(pfile, [&test_method_name, &status](Graph* graph, std::string &… in __anon1be7da800102()
130 …graph_test_.TestBuildGraphFromFile(pfile, [&test_method_name, &status](Graph* graph, std::string &… in __anon1be7da800202()
169 graph_test_.TestBuildGraphFromFile(pfile, [&](Graph* graph, std::string &method_name) { in __anon1be7da800302()
197 graph_test_.TestBuildGraphFromFile(pfile, [&](Graph* graph, std::string &method_name) { in __anon1be7da800402()
228 …graph_test_.TestBuildGraphFromFile(pfile, [&test_method_name, &status](Graph* graph, std::string &… in __anon1be7da800502()
306 …graph_test_.TestBuildGraphFromFile(pfile, [&test_method_name, &status](Graph* graph, std::string &… in __anon1be7da800602()
337 …graph_test_.TestBuildGraphFromFile(pfile, [&test_method_name, &status](Graph* graph, std::string &… in __anon1be7da800702()
368 …graph_test_.TestBuildGraphFromFile(pfile, [&test_method_name, &status](Graph* graph, std::string &… in __anon1be7da800802()
405 …graph_test_.TestBuildGraphFromFile(pfile, [&test_method_name, &status](Graph* graph, std::string &… in __anon1be7da800902()
437 …graph_test_.TestBuildGraphFromFile(pfile, [&test_method_name, &status](Graph* graph, std::string &… in __anon1be7da800a02()
[all …]
Dlinear_order_new_test.cpp50 …graph_test_.TestBuildGraphFromFile(pfile, [test_method_name, &status](Graph* graph, std::string &m… in __anond752aec70102()
73 …graph_test_.TestBuildGraphFromFile(pfile, [test_method_name, &status](Graph* graph, std::string &m… in __anond752aec70202()
102 …graph_test_.TestBuildGraphFromFile(pfile, [test_method_name, &status](Graph* graph, std::string &m… in __anond752aec70302()
Ddump_test.cpp62 …graph_test_.TestBuildGraphFromFile(pfile, [&test_method_name, &status](Graph* graph, std::string &… in __anon51f1233e0102()
95 …graph_test_.TestBuildGraphFromFile(pfile, [&test_method_name, &status](Graph* graph, std::string &… in __anon51f1233e0202()
171 …graph_test_.TestBuildGraphFromFile(pfile, [&test_method_name, &status](Graph* graph, std::string &… in __anon51f1233e0302()
290 …graph_test_.TestBuildGraphFromFile(pfile, [&test_method_name, &status](Graph* graph, std::string &… in __anon51f1233e0402()
370 …graph_test_.TestBuildGraphFromFile(pfile, [&test_method_name, &status](Graph* graph, std::string &… in __anon51f1233e0502()
397 …graph_test_.TestBuildGraphFromFile(pfile, [&test_method_name, &status](Graph* graph, std::string &… in __anon51f1233e0602()
431 …graph_test_.TestBuildGraphFromFile(pfile, [&test_method_name, &status](Graph* graph, std::string &… in __anon51f1233e0702()
474 …graph_test_.TestBuildGraphFromFile(pfile, [&test_method_name, &status](Graph* graph, std::string &… in __anon51f1233e0802()
502 …graph_test_.TestBuildGraphFromFile(pfile, [&test_method_name, &status](Graph* graph, std::string &… in __anon51f1233e0902()
539 …graph_test_.TestBuildGraphFromFile(pfile, [&test_method_name, &status](Graph* graph, std::string &… in __anon51f1233e0a02()
[all …]
Dunit_test.cpp83 return Graph::GetDefaultRuntime(); in GetDefaultRuntime()
110 Graph *AsmTest::BuildGraph(const char *method_name, Graph *graph) in BuildGraph()
136 void AsmTest::CleanUp(Graph *graph) in CleanUp()
Ddominators_tree_new_test.cpp49 …graph_test_.TestBuildGraphFromFile(pfile, [test_method_name, &status](Graph* graph, std::string &m… in __anone12190200102()
84 …graph_test_.TestBuildGraphFromFile(pfile, [test_method_name, &status](Graph* graph, std::string &m… in __anone12190200202()
118 …graph_test_.TestBuildGraphFromFile(pfile, [test_method_name, &status](Graph* graph, std::string &m… in __anone12190200302()
/arkcompiler/runtime_core/compiler/optimizer/ir/
Dgraph.cpp35 Graph::~Graph() in ~Graph()
39 void Graph::RemoveUnreachableBlocks() in RemoveUnreachableBlocks()
71 void Graph::AddConstInStartBlock(ConstantInst *const_inst) in AddConstInStartBlock()
76 ParameterInst *Graph::AddNewParameter(uint16_t arg_number) in AddNewParameter()
83 void Graph::RemoveConstFromList(ConstantInst *const_inst) in RemoveConstFromList()
102 void InvalidateBlocksOrderAnalyzes(Graph *graph) in InvalidateBlocksOrderAnalyzes()
109 void Graph::AddBlock(BasicBlock *block) in AddBlock()
118 void Graph::AddBlock(BasicBlock *block, uint32_t id) in AddBlock()
131 const ArenaVector<BasicBlock *> &Graph::GetBlocksRPO() const in GetBlocksRPO()
136 const ArenaVector<BasicBlock *> &Graph::GetBlocksLinearOrder() const in GetBlocksLinearOrder()
[all …]
Dgraph.h34 class Graph; variable
112 class Graph final : public MarkerMgr {
114 explicit Graph(ArenaAllocator *allocator, ArenaAllocator *local_allocator, Arch arch) in Graph() function
115 : Graph(allocator, local_allocator, arch, false) in Graph()
119 Graph(ArenaAllocator *allocator, ArenaAllocator *local_allocator, Arch arch, bool osr_mode) in Graph() function
120 : Graph(allocator, local_allocator, arch, nullptr, GetDefaultRuntime(), osr_mode) in Graph()
124Graph(ArenaAllocator *allocator, ArenaAllocator *local_allocator, Arch arch, bool dynamic_method, … in Graph() function
125 …: Graph(allocator, local_allocator, arch, nullptr, GetDefaultRuntime(), false, nullptr, dynamic_me… in Graph()
130Graph(ArenaAllocator *allocator, ArenaAllocator *local_allocator, Arch arch, RuntimeInterface::Met… in Graph() function
132 : Graph(allocator, local_allocator, arch, method, runtime, osr_mode, nullptr) in Graph()
[all …]
Dgraph_checker.h41 explicit GraphChecker(Graph *graph);
53 void PreCloneChecks(Graph *graph);
54 void UserInputCheck(Graph *graph);
92 Graph *GetGraph() const in GetGraph()
131 Graph *graph_;
Dgraph_cloner.h26 class Graph; variable
66 explicit GraphCloner(Graph *graph, ArenaAllocator *allocator, ArenaAllocator *local_allocator);
68 Graph *CloneGraph();
157 void CloneLinearOrder(Graph *new_graph);
160 void CloneAnalyses(Graph *new_graph);
217 void CloneBlocksAndInstructions(const ArenaVector<BasicBlock *> &blocks, Graph *target_graph) in CloneBlocksAndInstructions()
256 Inst *CloneInstruction(Inst *inst, size_t *inst_count, Graph *target_graph) in CloneInstruction()
321 Graph *GetGraph() in GetGraph()
329 Graph *graph_;
/arkcompiler/runtime_core/libark_defect_scan_aux/include/
Dgraph.h27 class Graph; variable
48 Graph GetGraph() const;
68 Graph GetGraph() const;
78 class Graph {
81 explicit Graph(const compiler::Graph *graph) : graph_(graph) {} in Graph() function
82 ~Graph() = default;
90 const compiler::Graph *graph_ {nullptr};
Dfunction.h33 …td::string_view func_name, panda_file::File::EntityId m_id, uint32_t arg_count, const Graph &graph, in Function()
44 const Graph &GetGraph() const;
68 const Graph graph_;
/arkcompiler/runtime_core/compiler/optimizer/
Dpass.h23 class Graph; variable
27 explicit Pass(Graph *graph) : graph_(graph) {} in Pass()
47 Graph *GetGraph() const in GetGraph()
88 Graph *graph_ {nullptr};
109 explicit Analysis(Graph *graph) : Pass(graph) in Analysis()
Dpass_manager_statistics.h23 class Graph; variable
28 explicit PassManagerStatistics(Graph *graph);
85 Graph *graph_;
Dpass_manager.h27 class Graph; variable
78 PassManager(Graph *graph, PassManager *parent_pm);
118 Graph *GetGraph() in GetGraph()
153 Graph *graph_ {nullptr};
/arkcompiler/runtime_core/libark_defect_scan_aux/
Dgraph.cpp84 Graph Inst::GetGraph() const in GetGraph()
86 return Graph(GetBasicBlock().GetGraph()); in GetGraph()
141 Graph BasicBlock::GetGraph() const in GetGraph()
143 return Graph(bb_->GetGraph()); in GetGraph()
175 BasicBlock Graph::GetStartBasicBlock() const in GetStartBasicBlock()
180 BasicBlock Graph::GetEndBasicBlock() const in GetEndBasicBlock()
185 std::vector<BasicBlock> Graph::GetBasicBlockList() const in GetBasicBlockList()
195 void Graph::VisitAllInstructions(const InstVisitor visitor) const in VisitAllInstructions()
/arkcompiler/runtime_core/compiler/optimizer/optimizations/regalloc/
Dreg_alloc_resolver.h27 …explicit RegAllocResolver(Graph *graph) : graph_(graph), liveness_(&graph->GetAnalysis<LivenessAna… in RegAllocResolver()
66 …static inline void AddLocationToRoots(Location location, SaveStateInst *save_state, const Graph *g… in AddLocationToRoots()
79 Graph *GetGraph() const in GetGraph()
85 Graph *graph_;
Dsplit_resolver.h25 …explicit SplitResolver(Graph *graph) : SplitResolver(graph, &graph->GetAnalysis<LivenessAnalyzer>(… in SplitResolver()
26 …explicit SplitResolver(Graph *graph, LivenessAnalyzer *liveness) : graph_(graph), liveness_(livene… in SplitResolver()
56 Graph *graph_;
Dspill_fills_resolver.h60 explicit SpillFillsResolver(Graph *graph);
61 SpillFillsResolver(Graph *graph, Register resolver, size_t regs_count, size_t vregs_count = 0);
74 Graph *GetGraph() const;
126 Graph *graph_ {nullptr};
Dreg_alloc_base.h30 explicit RegAllocBase(Graph *graph);
31 RegAllocBase(Graph *graph, size_t regs_count);
32 …RegAllocBase(Graph *graph, const RegMask &reg_mask, const VRegMask &vreg_mask, size_t slots_count);

12345