/arkcompiler/runtime_core/libpandafile/ |
D | file_items.h | 854 class MethodItem : public BaseMethodItem { 856 MethodItem(ClassItem *cls, StringItem *name, ProtoItem *proto, uint32_t access_flags, 859 ~MethodItem() override = default; 861 DEFAULT_MOVE_SEMANTIC(MethodItem); 862 DEFAULT_COPY_SEMANTIC(MethodItem); 1074 MethodItem *AddMethod(Args... args) in AddMethod() 1077 …return methods_.insert(std::make_unique<MethodItem>(this, std::forward<Args>(args)..., container_)… in AddMethod() 1147 …bool operator()(const std::unique_ptr<MethodItem> &m1, const std::unique_ptr<MethodItem> &m2) const in operator() 1174 std::multiset<std::unique_ptr<MethodItem>, MethodCompByName> methods_; 1246 ParamAnnotationsItem(MethodItem *method, bool is_runtime_annotations); [all …]
|
D | file_items.cpp | 441 ParamAnnotationsItem::ParamAnnotationsItem(MethodItem *method, bool is_runtime_annotations) in ParamAnnotationsItem() 587 MethodItem::MethodItem(ClassItem *cls, StringItem *name, ProtoItem *proto, uint32_t access_flags, in MethodItem() function in panda::panda_file::MethodItem 597 size_t MethodItem::CalculateSize() const in CalculateSize() 633 bool MethodItem::WriteRuntimeAnnotations(Writer *writer) in WriteRuntimeAnnotations() 650 bool MethodItem::WriteTypeAnnotations(Writer *writer) in WriteTypeAnnotations() 667 bool MethodItem::WriteTaggedData(Writer *writer) in WriteTaggedData() 710 bool MethodItem::Write(Writer *writer) in Write()
|
D | file_reader.h | 76 MethodItem *CreateMethodItem(ClassItem *cls, File::EntityId method_id);
|
D | file_item_container.cpp | 261 void ItemContainer::DeduplicateDebugInfo(MethodItem *method, ItemDeduper *debug_info_deduper, in DeduplicateDebugInfo() 278 static void DeduplicateCode(MethodItem *method, ItemDeduper *code_deduper) in DeduplicateCode() 308 auto *method_item = static_cast<MethodItem *>(param_item); in DeduplicateCodeAndDebugInfo() 389 auto *method_item = static_cast<MethodItem *>(param_item); in DeduplicateAnnotations()
|
D | file_item_container.h | 86 … static_assert(!std::is_same_v<T, MethodItem>, "Use ClassItem instance to create MethodItem"); in CreateItem() 194 void DeduplicateDebugInfo(MethodItem *method, ItemDeduper *debug_info_deduper,
|
D | file_reader.cpp | 601 MethodItem *FileReader::CreateMethodItem(ClassItem *cls, File::EntityId method_id) in CreateMethodItem() 605 return static_cast<MethodItem *>(it->second); in CreateMethodItem() 633 return static_cast<MethodItem *>(it_check->second); in CreateMethodItem() 1274 auto *method_item = static_cast<MethodItem *>(param_item); in UpdateCodeAndDebugInfoDependencies() 1351 auto *method_item = static_cast<MethodItem *>(param_item); in ComputeLayoutAndUpdateIndices() 1377 auto *method_item = static_cast<MethodItem *>(param_item); in ComputeLayoutAndUpdateIndices()
|
/arkcompiler/runtime_core/assembler/ |
D | assembly-function.h | 154 bool Emit(BytecodeEmitter &emitter, panda_file::MethodItem *method, 190 …panda_file::MethodItem *method, const std::unordered_map<std::string, panda_file::BaseClassItem *>…
|
D | assembly-emitter.h | 125 … static void SetCodeAndDebugInfo(panda_file::ItemContainer *items, panda_file::MethodItem *method, 129 panda_file::MethodItem *method, const Function &func); 134 … const std::vector<uint8_t> *bytes, const panda_file::MethodItem *method,
|
D | assembly-emitter.cpp | 50 using panda::panda_file::MethodItem; 200 …auto method_item = static_cast<panda::panda_file::MethodItem *>(Find(entities.method_items, name)); in CreateLiteralItem() 518 static void AddDependencyByIndex(MethodItem *method, const Ins &insn, in AddDependencyByIndex() 530 static void AddBytecodeIndexDependencies(MethodItem *method, const Function &func, in AddBytecodeIndexDependencies() 1090 void AsmEmitter::SetCodeAndDebugInfo(ItemContainer *items, MethodItem *method, const Function &func, in SetCodeAndDebugInfo() 1121 … const AsmEmitter::AsmEntityCollections &entities, MethodItem *method, in AddMethodAndParamsAnnotations() 1162 auto *method = static_cast<MethodItem *>(Find(entities.method_items, name)); in MakeFunctionDebugInfoAndAnnotations() 1202 … const MethodItem *method, const Function &func, const std::string &name, in EmitDebugInfo() 1245 auto *method = static_cast<MethodItem *>(Find(entities.method_items, name)); in EmitFunctions() 1483 bool Function::Emit(BytecodeEmitter &emitter, panda_file::MethodItem *method, in Emit() [all …]
|
D | assembly-ins.h | 110 bool Emit(BytecodeEmitter &emitter, panda_file::MethodItem *method,
|
/arkcompiler/runtime_core/libpandafile/tests/ |
D | debug_info_extractor_test.cpp | 52 …MethodItem *method_item = class_item->AddMethod(method_name, proto_item, ACC_PUBLIC | ACC_STATIC, … in PreparePandaFile() 80 MethodItem *method_item_bar = in PreparePandaFile() 103 …MethodItem *method_item_baz = class_item->AddMethod(method_name_baz, proto_item_baz, ACC_PUBLIC, p… in PreparePandaFile()
|
D | pgo_test.cpp | 35 …MethodItem *method_item_1 = class_item_a->AddMethod(method_name_1, proto_item_1, ACC_PUBLIC | ACC_… in CreateItems()
|
D | file_item_container_test.cpp | 256 …MethodItem *method_item = class_item->AddMethod(method_name, proto_item, ACC_PUBLIC | ACC_STATIC, … 416 …MethodItem *method_item = class_item->AddMethod(method_name, proto_item, ACC_PUBLIC | ACC_STATIC, … 513 …MethodItem *method_item = class_item->AddMethod(method_name, proto_item, ACC_PUBLIC | ACC_STATIC, … in TestProtos() 590 …MethodItem *method_item = class_item->AddMethod(method_name, proto_item, ACC_PUBLIC | ACC_STATIC, … 833 …MethodItem *method_item_1 = class_item_a->AddMethod(method_name_1, proto_item_1, ACC_PUBLIC | ACC_… 845 …MethodItem *method_item_2 = class_item_b->AddMethod(method_name_2, proto_item_2, ACC_PUBLIC | ACC_… 1080 auto *method_item = static_cast<panda_file::MethodItem *>(method); in __anon1a961e181302() 1147 …MethodItem *method_item = class_item->AddMethod(method_name, proto_item, ACC_PUBLIC | ACC_STATIC, …
|
/arkcompiler/runtime_core/assembler/templates/ |
D | ins_emit.h.erb | 20 bool Ins::Emit(BytecodeEmitter& emitter, panda_file::MethodItem *method,
|