/arkcompiler/runtime_core/static_core/plugins/ets/runtime/types/ |
H A D | ets_typeapi_create.cpp | 41 pandasm::Field fld {SourceLanguage::ETS}; in AddInitField() 120 ctxDataRecordCctor_.name += panda_file::GetCctorName(SourceLanguage::ETS); in GetTypeAPICtxDataRecord() 131 SourceLanguage::ETS}; in GetTypeAPICtxDataRecord() 135 pandasm::Type::FromPrimitiveId(ConvertEtsTypeToPandaType(EtsType::LONG).GetId()), SourceLanguage::ETS); in GetTypeAPICtxDataRecord() 144 pandasm::Record objectRec {name, SourceLanguage::ETS}; in AddRefTypeAsExternal() 176 PandasmMethodCreator ctor {objectTypeName + "." + panda_file::GetCtorName(SourceLanguage::ETS), this}; in DeclarePrimitive() 197 fn_.params.emplace_back(std::move(param), SourceLanguage::ETS); in AddParameter() 223 fn_.params.insert(fn_.params.begin(), pandasm::Function::Parameter(pandasm::Type(name_, 0), SourceLanguage::ETS)); in Create() 236 fn_.params.emplace_back(std::move(param), SourceLanguage::ETS); in AddParameter()
|
H A D | ets_typeapi_create.h | 225 pandasm::Record rec_ {name_, SourceLanguage::ETS}; 226 pandasm::Function fn_ {fnName_, SourceLanguage::ETS}; 233 : ctx_(ctx), name_(name), fn_(std::move(name), SourceLanguage::ETS) in PandasmMethodCreator()
|
/arkcompiler/runtime_core/compiler/optimizer/ir/ |
H A D | ir-dyn-base-types.h | 26 [[maybe_unused]] panda::compiler::SourceLanguage language) in NumericDataTypeToAnyType() 42 inline AnyBaseType GetAnyStringType([[maybe_unused]] panda::compiler::SourceLanguage language) in GetAnyStringType() 57 [[maybe_unused]] panda::compiler::SourceLanguage language) in IsAnyTypeCanBeSubtypeOf()
|
H A D | source_languages.h | 23 enum class SourceLanguage : uint8_t { class
|
H A D | runtime_interface.h | 110 virtual SourceLanguage GetMethodSourceLanguage([[maybe_unused]] MethodPtr method) const in GetMethodSourceLanguage() 112 return SourceLanguage::PANDA_ASSEMBLY; in GetMethodSourceLanguage()
|
/arkcompiler/runtime_core/static_core/irtoc/backend/ |
H A D | function.h | 121 SourceLanguage GetLanguage() const in GetLanguage() 223 void SetLanguage(SourceLanguage lang) in SetLanguage() 257 SourceLanguage lang_ {SourceLanguage::PANDA_ASSEMBLY};
|
H A D | irtoc_runtime.h | 122 SourceLanguage GetMethodSourceLanguage(MethodPtr method) const override
|
/arkcompiler/ets_runtime/ecmascript/compiler/codegen/maple/maple_ir/include/ |
H A D | dwarf.h | 59 enum SourceLanguage { enum
|
/arkcompiler/runtime_core/bytecode_optimizer/ |
H A D | runtime_adapter.h | 106 compiler::SourceLanguage GetMethodSourceLanguage(MethodPtr method) const override 115 return static_cast<compiler::SourceLanguage>(source_lang.value());
|
/arkcompiler/runtime_core/static_core/disassembler/tests/ |
H A D | functions_test.cpp | 138 ark::pandasm::Function method("", ark::SourceLanguage::PANDA_ASSEMBLY); in TEST() 168 ark::pandasm::Function method("", ark::SourceLanguage::PANDA_ASSEMBLY); in TEST()
|
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/intrinsics/ |
H A D | std_core_TypeCreator.cpp | 201 pandasm::Record rec {std::string {name->GetMutf8()}, SourceLanguage::ETS}; in TypeAPITypeCreatorCtxClassCreate() 220 pandasm::Record rec {std::string {name->GetMutf8()}, SourceLanguage::ETS}; in TypeAPITypeCreatorCtxInterfaceCreate() 292 nameStr += panda_file::GetCtorName(SourceLanguage::ETS); in TypeAPITypeCreatorCtxMethodCreate() 305 ret->GetFn().params.emplace_back(pandasm::Type {klass->GetRec()->name, 0}, SourceLanguage::ETS); in TypeAPITypeCreatorCtxMethodCreate() 573 pandasm::Field fld {SourceLanguage::ETS}; in TypeAPITypeCreatorCtxClassAddField()
|
/arkcompiler/runtime_core/static_core/disassembler/ |
H A D | disasm_backed_debug_info_extractor.cpp | 122 pandasm::Function method("", SourceLanguage::PANDA_ASSEMBLY); in GetDisassemblySourceName()
|
/arkcompiler/runtime_core/static_core/plugins/ets/arkts_header/ |
H A D | header_writer.cpp | 56 if (cda.GetSourceLang() != SourceLanguage::ETS) { in PrintFunction()
|
/arkcompiler/runtime_core/static_core/runtime/ |
H A D | compiler.h | 191 SourceLanguage GetMethodSourceLanguage(MethodPtr method) const override 193 return static_cast<SourceLanguage>(MethodCast(method)->GetClass()->GetSourceLang()); 562 uintptr_t GetIntrinsicAddress(bool runtimeCall, SourceLanguage lang, IntrinsicId id) const override; 588 bool IsGcValidForFastPath(SourceLanguage lang) const;
|
H A D | compiler.cpp | 54 bool PandaRuntimeInterface::IsGcValidForFastPath(SourceLanguage lang) const in IsGcValidForFastPath() 57 if (lang == SourceLanguage::INVALID) { in IsGcValidForFastPath()
|
/arkcompiler/runtime_core/static_core/bytecode_optimizer/ |
H A D | runtime_adapter.h | 164 SourceLanguage GetMethodSourceLanguage(MethodPtr method) const override 173 return static_cast<SourceLanguage>(sourceLang.value()); 272 bool IsConstructor(MethodPtr method, SourceLanguage lang) override
|
H A D | optimize_bytecode.cpp | 254 const panda_file::MethodDataAccessor &mda, bool isDynamic, SourceLanguage lang) in OptimizeFunction() 342 auto lang = cda.GetSourceLang().value_or(SourceLanguage::PANDA_ASSEMBLY); in OptimizePandaFile()
|
/arkcompiler/runtime_core/static_core/compiler/aot/ |
H A D | aot_file.cpp | 142 table[i] = runtime->GetIntrinsicAddress(inst.IsRuntimeCall(), SourceLanguage::INVALID, in PatchTable()
|
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/ |
H A D | ets_vm_api.cpp | 146 auto *ext = classLinker->GetExtension(ark::SourceLanguage::ETS); in BindNative()
|
/arkcompiler/runtime_core/static_core/compiler/optimizer/ir/ |
H A D | graph.h | 225 SourceLanguage GetLanguage() const in GetLanguage() 230 void SetLanguage(SourceLanguage lang) in SetLanguage() 1431 SourceLanguage lang_ {SourceLanguage::PANDA_ASSEMBLY};
|
H A D | runtime_interface.h | 265 virtual SourceLanguage GetMethodSourceLanguage([[maybe_unused]] MethodPtr method) const in GetMethodSourceLanguage() 267 return SourceLanguage::PANDA_ASSEMBLY; in GetMethodSourceLanguage() 508 virtual bool IsConstructor([[maybe_unused]] MethodPtr method, [[maybe_unused]] SourceLanguage lang) in IsConstructor() 1249 virtual uintptr_t GetIntrinsicAddress([[maybe_unused]] bool runtimeCall, [[maybe_unused]] SourceLanguage lang, in GetIntrinsicAddress()
|
/arkcompiler/runtime_core/static_core/bytecode_optimizer/tests/ |
H A D | runtime_adapter_test.cpp | 146 EXPECT_FALSE(adapter.IsConstructor(main, SourceLanguage::PANDA_ASSEMBLY)); in TEST()
|
H A D | common.h | 73 bool IsConstructor([[maybe_unused]] MethodPtr method, [[maybe_unused]] SourceLanguage lang) override
|
/arkcompiler/runtime_core/compiler/tests/ |
H A D | compiler_inst_test.cpp | 1010 EXPECT_EQ(interface.GetMethodSourceLanguage(method), SourceLanguage::PANDA_ASSEMBLY); in HWTEST_F()
|