/arkcompiler/runtime_core/compiler/tests/ |
D | unit_test.h | 106 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 …]
|
D | compiler_basicblock_test.cpp | 53 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 …]
|
D | compiler_graph_test.cpp | 68 …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 …]
|
D | inst_generator.h | 30 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/ |
D | unit_test.h | 155 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 …]
|
D | inst_generator.h | 31 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/ |
D | graph.cpp | 45 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 …]
|
D | graph.h | 36 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() 140 …Graph(ArenaAllocator *allocator, ArenaAllocator *localAllocator, Arch arch, bool dynamicMethod, bo… in Graph() function 141 …: Graph(allocator, localAllocator, arch, nullptr, GetDefaultRuntime(), false, nullptr, dynamicMeth… in Graph() 146 …Graph(ArenaAllocator *allocator, ArenaAllocator *localAllocator, Arch arch, RuntimeInterface::Meth… in Graph() function 148 : Graph(allocator, localAllocator, arch, method, runtime, osrMode, nullptr) in Graph() [all …]
|
D | analysis.h | 35 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/ |
D | graph.cpp | 35 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 …]
|
D | graph.h | 34 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() 124 …Graph(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() 130 …Graph(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 …]
|
D | graph_checker.h | 41 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/ |
D | graph.h | 27 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/ |
D | pipeline.h | 25 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};
|
D | pass.h | 23 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/ |
D | inlining.h | 38 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/ |
D | pass.h | 23 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/ |
D | graph.cpp | 89 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/ |
D | reg_alloc_resolver.h | 27 …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_;
|
D | split_resolver.h | 25 …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/ |
D | reg_alloc_resolver.h | 27 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_;
|
D | reg_alloc.cpp | 27 bool IsGraphColoringEnable(const Graph *graph) in IsGraphColoringEnable() 40 bool ShouldSkipAllocation(Graph *graph) in ShouldSkipAllocation() 50 bool RegAlloc(Graph *graph) in RegAlloc()
|
D | split_resolver.h | 25 …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/ |
D | spill_fill_encoder.h | 24 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/ |
D | inplace_task_runner.h | 33 class Graph; variable 67 void SetGraph(Graph *graph) in SetGraph() 112 Graph *GetGraph() const in GetGraph() 134 Graph *graph_ {nullptr};
|