Home
last modified time | relevance | path

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

12345678910>>...13

/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 __anonba0391b00102()
82 …graph_test_.TestBuildGraphFromFile(pfile, [&test_method_name, &status](Graph* graph, std::string &… in __anonba0391b00202()
111 …graph_test_.TestBuildGraphFromFile(pfile, [&test_method_name, &status](Graph* graph, std::string &… in __anonba0391b00302()
137 …graph_test_.TestBuildGraphFromFile(pfile, [&test_method_name, &status](Graph* graph, std::string &… in __anonba0391b00402()
159 …graph_test_.TestBuildGraphFromFile(pfile, [&test_method_name, &status](Graph* graph, std::string &… in __anonba0391b00502()
185 …graph_test_.TestBuildGraphFromFile(pfile, [&test_method_name, &status](Graph* graph, std::string &… in __anonba0391b00602()
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 __anonba0391b00802()
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 __anonba0391b00a02()
[all …]
Dcompiler_graph_test.cpp68 …graph_test_.TestBuildGraphFromFile(pfile, [&test_method_name, &status](Graph* graph, std::string &… in __anona429afd50102()
93 …graph_test_.TestBuildGraphFromFile(pfile, [&test_method_name, &status](Graph* graph, std::string &… in __anona429afd50202()
124 …graph_test_.TestBuildGraphFromFile(pfile, [&test_method_name, &status](Graph* graph, std::string &… in __anona429afd50302()
146 …graph_test_.TestBuildGraphFromFile(pfile, [&test_method_name, &status](Graph* graph, std::string &… in __anona429afd50402()
181 …graph_test_.TestBuildGraphFromFile(pfile, [&test_method_name, &status](Graph* graph, std::string &… in __anona429afd50502()
206 …graph_test_.TestBuildGraphFromFile(pfile, [&test_method_name, &status](Graph* graph, std::string &… in __anona429afd50602()
243 [&test_method_name, &out, &status](Graph* graph, std::string &method_name) { in __anona429afd50702()
270 …graph_test_.TestBuildGraphFromFile(pfile, [&test_method_name, &status](Graph* graph, std::string &… in __anona429afd50802()
293 …graph_test_.TestBuildGraphFromFile(pfile, [&test_method_name, &status](Graph* graph, std::string &… in __anona429afd50902()
332 …graph_test_.TestBuildGraphFromFile(pfile, [&test_method_name, &status](Graph* graph, std::string &… in __anona429afd50a02()
[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 …]
/arkcompiler/runtime_core/static_core/compiler/tests/
Dunit_test.h155 Graph *CreateEmptyGraph(bool isOsr = false) const
157 return GetAllocator()->New<Graph>(GetAllocator(), GetLocalAllocator(), arch_, isOsr);
160 Graph *CreateEmptyGraph(Arch arch) const in CreateEmptyGraph()
162 return GetAllocator()->New<Graph>(GetAllocator(), GetLocalAllocator(), arch, false); in CreateEmptyGraph()
165 Graph *CreateGraphStartEndBlocks(bool isDynamic = false) const
167 …auto graph = GetAllocator()->New<Graph>(GetAllocator(), GetLocalAllocator(), arch_, isDynamic, fal…
172 Graph *CreateDynEmptyGraph() const in CreateDynEmptyGraph()
174 return GetAllocator()->New<Graph>(GetAllocator(), GetLocalAllocator(), arch_, true, false); in CreateDynEmptyGraph()
176 Graph *CreateEmptyBytecodeGraph() const in CreateEmptyBytecodeGraph()
178 … return GetAllocator()->New<Graph>(GetAllocator(), GetLocalAllocator(), Arch::NONE, false, true); in CreateEmptyBytecodeGraph()
[all …]
Dinst_generator.h31 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);
70 Graph *CreateGraphWithOneBasicBlock();
[all …]
/arkcompiler/runtime_core/static_core/compiler/optimizer/ir/
Dgraph.cpp45 Graph::~Graph() in ~Graph()
52 void Graph::RemoveUnreachableBlocks() in RemoveUnreachableBlocks()
86 void Graph::AddConstInStartBlock(ConstantInst *constInst) in AddConstInStartBlock()
91 ParameterInst *Graph::AddNewParameter(uint16_t argNumber) in AddNewParameter()
98 ParameterInst *Graph::FindParameter(uint16_t argNumber) in FindParameter()
112 Inst *Graph::GetOrCreateNullPtr() in GetOrCreateNullPtr()
121 Inst *Graph::GetOrCreateUndefinedInst() in GetOrCreateUndefinedInst()
130 void Graph::RemoveConstFromList(ConstantInst *constInst) in RemoveConstFromList()
149 void InvalidateBlocksOrderAnalyzes(Graph *graph) in InvalidateBlocksOrderAnalyzes()
156 void Graph::AddBlock(BasicBlock *block) in AddBlock()
[all …]
Dgraph.h36 class Graph; variable
128 class Graph final : public MarkerMgr {
130 explicit Graph(ArenaAllocator *allocator, ArenaAllocator *localAllocator, Arch arch) in Graph() function
131 : Graph(allocator, localAllocator, arch, false) in Graph()
135 Graph(ArenaAllocator *allocator, ArenaAllocator *localAllocator, Arch arch, bool osrMode) in Graph() function
136 : Graph(allocator, localAllocator, arch, nullptr, GetDefaultRuntime(), osrMode) in Graph()
140Graph(ArenaAllocator *allocator, ArenaAllocator *localAllocator, Arch arch, bool dynamicMethod, bo… in Graph() function
141 …: Graph(allocator, localAllocator, arch, nullptr, GetDefaultRuntime(), false, nullptr, dynamicMeth… in Graph()
146Graph(ArenaAllocator *allocator, ArenaAllocator *localAllocator, Arch arch, RuntimeInterface::Meth… in Graph() function
148 : Graph(allocator, localAllocator, arch, method, runtime, osrMode, nullptr) in Graph()
[all …]
Danalysis.h35 SaveStateInst *CopySaveState(Graph *graph, SaveStateInst *inst);
49 void CleanupGraphSaveStateOSR(Graph *graph);
65 ArenaVector<Inst *> *SearchMissingObjInSaveStates(Graph *graph, Inst *source, Inst *target,
68 …void SearchAndCreateMissingObjInSaveState(Graph *graph, Inst *source, Inst *target, Inst *stopSear…
70 void FixInstUsageInSS(Graph *graph, Inst *inst);
79 void ProcessSSUserPreds(Graph *graph, Inst *inst, Inst *targetInst);
/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_;
/arkcompiler/runtime_core/libark_defect_scan_aux/include/
Dgraph.h27 class Graph; variable
49 Graph GetGraph() const;
69 Graph GetGraph() const;
79 class Graph {
82 explicit Graph(const compiler::Graph *graph) : graph_(graph) {} in Graph() function
83 ~Graph() = default;
91 const compiler::Graph *graph_ {nullptr};
/arkcompiler/runtime_core/static_core/compiler/optimizer/
Dpipeline.h25 class Graph; variable
33 explicit Pipeline(Graph *graph) : graph_(graph) {} in Pipeline()
41 Graph *GetGraph() in GetGraph()
49 static std::unique_ptr<Pipeline> Create(Graph *graph);
55 Graph *graph_ {nullptr};
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()
/arkcompiler/runtime_core/static_core/compiler/optimizer/optimizations/
Dinlining.h38 Graph *graph {nullptr};
46 explicit Inlining(Graph *graph) : Inlining(graph, 0, 0, 0) {} in Inlining()
47 Inlining(Graph *graph, bool resolveWoInline) : Inlining(graph) in Inlining()
52 … Inlining(Graph *graph, uint32_t instructionsCount, uint32_t inlineDepth, uint32_t methodsInlined);
94 void UpdateDataflow(Graph *graphInl, Inst *callInst, std::variant<BasicBlock *, PhiInst *> use,
97 void UpdateParameterDataflow(Graph *graphInl, Inst *callInst);
98 void UpdateControlflow(Graph *graphInl, BasicBlock *callBb, BasicBlock *callContBb);
99 void MoveConstants(Graph *graphInl);
112 …bool TryBuildGraph(const InlineContext &ctx, Graph *graphInl, CallInst *callInst, CallInst *polyCa…
113 bool CheckLoops(bool *calleeCallRuntime, Graph *graphInl);
[all …]
/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()
/arkcompiler/runtime_core/libark_defect_scan_aux/
Dgraph.cpp89 Graph Inst::GetGraph() const in GetGraph()
91 return Graph(GetBasicBlock().GetGraph()); in GetGraph()
146 Graph BasicBlock::GetGraph() const in GetGraph()
148 return Graph(bb_->GetGraph()); in GetGraph()
180 BasicBlock Graph::GetStartBasicBlock() const in GetStartBasicBlock()
185 BasicBlock Graph::GetEndBasicBlock() const in GetEndBasicBlock()
190 std::vector<BasicBlock> Graph::GetBasicBlockList() const in GetBasicBlockList()
200 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_;
/arkcompiler/runtime_core/static_core/compiler/optimizer/optimizations/regalloc/
Dreg_alloc_resolver.h27 explicit RegAllocResolver(Graph *graph) in RegAllocResolver()
73 …static inline void AddLocationToRoots(Location location, SaveStateInst *saveState, const Graph *gr… in AddLocationToRoots()
86 Graph *GetGraph() const in GetGraph()
92 Graph *graph_;
Dreg_alloc.cpp27 bool IsGraphColoringEnable(const Graph *graph) in IsGraphColoringEnable()
40 bool ShouldSkipAllocation(Graph *graph) in ShouldSkipAllocation()
50 bool RegAlloc(Graph *graph) in RegAlloc()
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_;
/arkcompiler/runtime_core/static_core/compiler/optimizer/code_generator/
Dspill_fill_encoder.h24 class Graph; variable
37 static bool CanCombineSpillFills(SpillFillData pred, SpillFillData succ, const Graph *graph);
40 static bool IsCombiningEnabled(const Graph *graph) in IsCombiningEnabled()
66 Graph *graph_;
/arkcompiler/runtime_core/static_core/compiler/
Dinplace_task_runner.h33 class Graph; variable
67 void SetGraph(Graph *graph) in SetGraph()
112 Graph *GetGraph() const in GetGraph()
134 Graph *graph_ {nullptr};

12345678910>>...13