Home
last modified time | relevance | path

Searched refs:MethodPtr (Results 1 – 18 of 18) sorted by relevance

/arkcompiler/runtime_core/compiler/optimizer/ir/
Druntime_interface.h48 using MethodPtr = void *; variable
68 virtual uint32_t ResolveOffsetByIndex([[maybe_unused]] MethodPtr parent_method, in ResolveOffsetByIndex()
74 virtual BinaryFilePtr GetBinaryFileForMethod([[maybe_unused]] MethodPtr method) const in GetBinaryFileForMethod()
79 virtual MethodId GetMethodId([[maybe_unused]] MethodPtr method) const in GetMethodId()
85 virtual size_t GetMethodTotalArgumentsCount([[maybe_unused]] MethodPtr method) const in GetMethodTotalArgumentsCount()
89 …virtual size_t GetMethodArgumentsCount([[maybe_unused]] MethodPtr parent_method, [[maybe_unused]] … in GetMethodArgumentsCount()
93 virtual size_t GetMethodArgumentsCount([[maybe_unused]] MethodPtr method) const in GetMethodArgumentsCount()
97 virtual size_t GetMethodRegistersCount([[maybe_unused]] MethodPtr method) const in GetMethodRegistersCount()
101 virtual const uint8_t *GetMethodCode([[maybe_unused]] MethodPtr method) const in GetMethodCode()
105 virtual size_t GetMethodCodeSize([[maybe_unused]] MethodPtr method) const in GetMethodCodeSize()
[all …]
Dgraph.h130 …locator *allocator, ArenaAllocator *local_allocator, Arch arch, RuntimeInterface::MethodPtr method, in Graph()
136 …locator *allocator, ArenaAllocator *local_allocator, Arch arch, RuntimeInterface::MethodPtr method,
145 …locator *allocator, ArenaAllocator *local_allocator, Arch arch, RuntimeInterface::MethodPtr method, in Graph()
167 Graph *CreateChildGraph(RuntimeInterface::MethodPtr method) in CreateChildGraph()
813 auto SetMethod(RuntimeInterface::MethodPtr method) in SetMethod()
926 void AddSingleImplementationMethod(RuntimeInterface::MethodPtr method) in AddSingleImplementationMethod()
1074 RuntimeInterface::MethodPtr method_ {nullptr};
1083 ArenaVector<RuntimeInterface::MethodPtr> single_implementation_list_;
1152 std::string GetMethodFullName(const Graph *graph, RuntimeInterface::MethodPtr method);
Dinst.h1502 void SetMethod(RuntimeInterface::MethodPtr method) in SetMethod()
1514 RuntimeInterface::MethodPtr method_ {nullptr};
2709 void SetMethod(RuntimeInterface::MethodPtr method) in SetMethod()
2714 RuntimeInterface::MethodPtr GetMethod() const in GetMethod()
2720 RuntimeInterface::MethodPtr method_ {nullptr};
2761 void SetMethod(RuntimeInterface::MethodPtr method) in SetMethod()
2766 RuntimeInterface::MethodPtr GetMethod() const in GetMethod()
2773 RuntimeInterface::MethodPtr method_ {nullptr};
Dgraph.cpp452 std::string GetMethodFullName(const Graph *graph, RuntimeInterface::MethodPtr method) in GetMethodFullName()
550 RuntimeInterface::MethodPtr method; in GetBranchCounter()
/arkcompiler/runtime_core/bytecode_optimizer/
Druntime_adapter.h40 BinaryFilePtr GetBinaryFileForMethod([[maybe_unused]] MethodPtr method) const override in GetBinaryFileForMethod()
45 uint32_t ResolveOffsetByIndex(MethodPtr parent_method, uint16_t index) const override in ResolveOffsetByIndex()
50 MethodId GetMethodId(MethodPtr method) const override in GetMethodId()
55 size_t GetMethodTotalArgumentsCount(MethodPtr method) const override in GetMethodTotalArgumentsCount()
65 size_t GetMethodArgumentsCount([[maybe_unused]] MethodPtr caller, MethodId id) const override in GetMethodArgumentsCount()
73 size_t GetMethodRegistersCount(MethodPtr method) const override in GetMethodRegistersCount()
83 const uint8_t *GetMethodCode(MethodPtr method) const override in GetMethodCode()
93 size_t GetMethodCodeSize(MethodPtr method) const override in GetMethodCodeSize()
103 compiler::SourceLanguage GetMethodSourceLanguage(MethodPtr method) const override in GetMethodSourceLanguage()
115 size_t GetClassIdForMethod(MethodPtr method) const override in GetClassIdForMethod()
[all …]
Doptimize_bytecode.cpp93 … const compiler::Graph *graph, compiler::RuntimeInterface::MethodPtr method_ptr) in BuildMapFromPcToIns()
157 … compiler::RuntimeInterface::MethodPtr method_ptr, const pandasm::Program *prog) in BuildMapFromPcToType()
305 …auto method_ptr = reinterpret_cast<compiler::RuntimeInterface::MethodPtr>(mda.GetMethodId().GetOff… in OptimizeFunction()
/arkcompiler/runtime_core/compiler/tests/
Dunit_test.h32 DataType::Type GetMethodReturnType(MethodPtr /* unsuded */) const override in GetMethodReturnType()
37 DataType::Type GetMethodTotalArgumentType(MethodPtr /* unused */, size_t index) const override in GetMethodTotalArgumentType()
45 size_t GetMethodTotalArgumentsCount(MethodPtr /* unused */) const override in GetMethodTotalArgumentsCount()
52 size_t GetMethodArgumentsCount(MethodPtr /* unused */) const override in GetMethodArgumentsCount()
57 size_t GetMethodRegistersCount(MethodPtr /* unused */) const override in GetMethodRegistersCount()
Dgraph_test.h61 auto method_ptr = reinterpret_cast<compiler::RuntimeInterface::MethodPtr>( in TestBuildGraphFromFile()
DirBuilder_tests.cpp70 auto method_ptr = reinterpret_cast<compiler::RuntimeInterface::MethodPtr>( in TestBuildGraphFromFunc()
98 auto method_ptr = reinterpret_cast<compiler::RuntimeInterface::MethodPtr>( in TestBuildGraphFromFile()
Dcompiler_regalloc_test.cpp1073 auto method_ptr = reinterpret_cast<compiler::RuntimeInterface::MethodPtr>( in __anon5d7559aa1702()
/arkcompiler/runtime_core/bytecode_optimizer/tests/
Dgraph_test.h61 auto method_ptr = reinterpret_cast<compiler::RuntimeInterface::MethodPtr>( in TestBuildGraphFromFile()
94 auto method_ptr = reinterpret_cast<compiler::RuntimeInterface::MethodPtr>( in TestBuildGraphFromFunc()
Druntime_adapter_test.cpp42 std::vector<RuntimeInterface::MethodPtr> method;
69 …auto method_ptr = reinterpret_cast<compiler::RuntimeInterface::MethodPtr>(mda.GetMethodId().GetOff… in GetPointers()
Dcodegen_test.cpp426 RuntimeInterface::MethodPtr caller = nullptr;
450 RuntimeInterface::MethodPtr method;
Dcommon.h65 size_t GetMethodTotalArgumentsCount([[maybe_unused]] MethodPtr method) const override in GetMethodTotalArgumentsCount()
70 … bool IsConstructor([[maybe_unused]] MethodPtr method, [[maybe_unused]] uint32_t class_id) override in IsConstructor()
229 … reinterpret_cast<compiler::RuntimeInterface::MethodPtr>(mda.GetMethodId().GetOffset()); in ParseToGraph()
/arkcompiler/runtime_core/compiler/optimizer/ir_builder/
Dir_builder.h71 IrBuilder(Graph *graph, RuntimeInterface::MethodPtr method) in IrBuilder()
149 RuntimeInterface::MethodPtr method_ = nullptr;
Dinst_builder.h34 InstBuilder(Graph *graph, RuntimeInterface::MethodPtr method) in InstBuilder()
292 RuntimeInterface::MethodPtr method_ {nullptr};
/arkcompiler/runtime_core/compiler/docs/
Daot_cha.md77 2) Obtain MethodPtr of the callee virtual method
79 4) Load the real MethodPtr from class (obtained in step 1) using index from previous step
91 because the MethodPtr is needed only to obtain the virtual table index. The indices inside virtual …
/arkcompiler/runtime_core/libark_defect_scan_aux/
Dabc_file.cpp756 …auto method_ptr = reinterpret_cast<compiler::RuntimeInterface::MethodPtr>(mda.GetMethodId().GetOff… in GenerateFunctionGraph()