Home
last modified time | relevance | path

Searched full:ark (Results 1 – 25 of 3767) sorted by relevance

12345678910>>...151

/arkcompiler/runtime_core/static_core/runtime/entrypoints/
Dentrypoints.yaml39 - ark::Method*
65 - const ark::ObjectHeader*
66 - ark::Class*
74 - const ark::ObjectHeader*
75 - ark::Class*
83 - const ark::ObjectHeader*
84 - ark::Class*
92 - const ark::ObjectHeader*
93 - ark::Class*
101 - ark::coretypes::Array*
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/
Dets_entrypoints.yaml30 - ark::Method*
31 - ark::ObjectHeader*
40 - ark::Method*
41 - ark::ObjectHeader*
43 - ark::ObjectHeader*
146 - ark::ObjectHeader* # string builder (result)
147 - ark::ObjectHeader* # string builder
149 - ark::Class* # array class pointer
156 - ark::ObjectHeader* # string builder (result)
157 - ark::ObjectHeader* # string builder
[all …]
Dets_libbase_runtime.yaml16 mirror_class: ark::ets::EtsObject
19 mirror_class: ark::ets::EtsClass
22 mirror_class: ark::ets::EtsRuntimeLinker
25 mirror_class: ark::ets::EtsAbcFile
28 mirror_class: ark::ets::EtsAbcRuntimeLinker
31 mirror_class: ark::ets::EtsString
34 mirror_class: ark::ets::EtsPromise
37 mirror_class: ark::ets::EtsJob
40 mirror_class: ark::ets::EtsJob
43 mirror_class: ark::ets::EtsCharArray
[all …]
/arkcompiler/runtime_core/gn/ark-third-party/icu/
DBUILD.gn20 "$ark_root/ark-third-party/icu/icu4c/source/common",
21 "$ark_root/ark-third-party/icu/icu4c/source/i18n",
22 "$ark_root/ark-third-party/icu/icu4c/source",
33 [ "$ark_root/ark-third-party/icu/icu4c/source/stubdata/stubdata.cpp" ]
50 source = "$ark_root/ark-third-party/icu/ohos_icu4j/data/icudt67l.dat"
57 "$ark_root/ark-third-party/icu/icu4c/source/common/ubiditransform.cpp",
58 "$ark_root/ark-third-party/icu/icu4c/source/common/locutil.cpp",
59 "$ark_root/ark-third-party/icu/icu4c/source/common/cstring.cpp",
60 "$ark_root/ark-third-party/icu/icu4c/source/common/rbbiscan.cpp",
61 "$ark_root/ark-third-party/icu/icu4c/source/common/utrie.cpp",
[all …]
/arkcompiler/runtime_core/static_core/assembler/
Dpandasm.h21 namespace ark::pandasm {
23 void PrintError(const ark::pandasm::Error &e, const std::string &msg);
25 void PrintErrors(const ark::pandasm::ErrorList &warnings, const std::string &msg);
28 bool PrepareArgs(ark::PandArgParser &paParser, const ark::PandArg<std::string> &inputFile,
29 … const ark::PandArg<std::string> &outputFile, const ark::PandArg<std::string> &logFile,
30 …const ark::PandArg<bool> &help, const ark::PandArg<bool> &verbose, std::ifstream &inputfile, int a…
33 bool Tokenize(ark::pandasm::Lexer &lexer, std::vector<std::vector<ark::pandasm::Token>> &tokens,
36 bool ParseProgram(ark::pandasm::Parser &parser, std::vector<std::vector<ark::pandasm::Token>> &toke…
37 const ark::PandArg<std::string> &inputFile,
38 ark::Expected<ark::pandasm::Program, ark::pandasm::Error> &res);
[all …]
Dpandasm.cpp39 namespace ark::pandasm { namespace
41 void PrintError(const ark::pandasm::Error &e, const std::string &msg) in PrintError()
50 void PrintErrors(const ark::pandasm::ErrorList &warnings, const std::string &msg) in PrintErrors()
57 void PrintHelp(const ark::PandArgParser &paParser) in PrintHelp()
66 bool PrepareArgs(ark::PandArgParser &paParser, const ark::PandArg<std::string> &inputFile, in PrepareArgs()
67 … const ark::PandArg<std::string> &outputFile, const ark::PandArg<std::string> &logFile, in PrepareArgs()
68 …const ark::PandArg<bool> &help, const ark::PandArg<bool> &verbose, const ark::PandArg<bool> &versi… in PrepareArgs()
77 ark::PrintPandaVersion(); in PrepareArgs()
88 ark::Logger::ComponentMask componentMask; in PrepareArgs()
89 componentMask.set(ark::Logger::Component::ASSEMBLER); in PrepareArgs()
[all …]
/arkcompiler/runtime_core/libabckit/src/adapter_static/
Druntime_adapter_static.h32 using ark::compiler::RuntimeInterface;
36 explicit AbckitRuntimeAdapterStatic(const ark::panda_file::File &abcFile) : abcFile_(abcFile) {} in AbckitRuntimeAdapterStatic()
43 return const_cast<ark::panda_file::File *>(&abcFile_); in GetBinaryFileForMethod()
71 ark::compiler::DataType::Type GetMethodReturnType(MethodPtr method) const override in GetMethodReturnType()
73 ark::panda_file::MethodDataAccessor mda(abcFile_, MethodCast(method)); in GetMethodReturnType()
74 ark::panda_file::ProtoDataAccessor pda(abcFile_, mda.GetProtoId()); in GetMethodReturnType()
76 return ToCompilerType(ark::panda_file::GetEffectiveType(pda.GetReturnType())); in GetMethodReturnType()
81 ark::panda_file::MethodDataAccessor mda(abcFile_, MethodCast(method)); in GetMethodReturnTypeId()
82 ark::panda_file::ProtoDataAccessor pda(abcFile_, mda.GetProtoId()); in GetMethodReturnTypeId()
87ark::compiler::DataType::Type GetMethodTotalArgumentType(MethodPtr method, size_t index) const ove… in GetMethodTotalArgumentType()
[all …]
Dhelpers_static.cpp81 void CheckInvalidOpcodes([[maybe_unused]] ark::compiler::Graph *graph, [[maybe_unused]] bool isDyna… in CheckInvalidOpcodes()
101 AbckitIsaApiStaticOpcode GetStaticOpcode(ark::compiler::Inst *inst) in GetStaticOpcode()
105 case ark::compiler::Opcode::CallStatic: in GetStaticOpcode()
107 case ark::compiler::Opcode::CallVirtual: in GetStaticOpcode()
109 case ark::compiler::Opcode::LoadStatic: in GetStaticOpcode()
111 case ark::compiler::Opcode::LoadString: in GetStaticOpcode()
113 case ark::compiler::Opcode::LoadObject: in GetStaticOpcode()
115 case ark::compiler::Opcode::Sub: in GetStaticOpcode()
117 case ark::compiler::Opcode::ReturnVoid: in GetStaticOpcode()
119 case ark::compiler::Opcode::Parameter: in GetStaticOpcode()
[all …]
Dhelpers_static.h36 ark::ArenaAllocator *allocator;
37 ark::ArenaAllocator *localAllocator;
46 void CheckInvalidOpcodes(ark::compiler::Graph *graph, bool isDynamic);
50 AbckitIsaApiStaticOpcode GetStaticOpcode(ark::compiler::Inst *inst);
51 AbckitIsaApiDynamicOpcode GetDynamicOpcode(ark::compiler::Inst *inst);
52 AbckitTypeId TypeToTypeId(ark::compiler::DataType::Type type);
53 ark::compiler::DataType::Type TypeIdToType(AbckitTypeId typeId);
54 ark::compiler::ConditionCode CcToCc(AbckitIsaApiDynamicConditionCode cc);
55 ark::compiler::ConditionCode CcToCc(AbckitIsaApiStaticConditionCode cc);
56 AbckitIsaApiDynamicConditionCode CcToDynamicCc(ark::compiler::ConditionCode cc);
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/asm_defines/
Dasm_defines.def16 DEFINE_VALUE(ETS_COROUTINE_PROMISE_CLASS_OFFSET, ark::ets::EtsCoroutine::GetTlsPromiseClassPointerO…
17 DEFINE_VALUE(ETS_COROUTINE_NULL_VALUE_OFFSET, ark::ets::EtsCoroutine::GetTlsNullValueOffset())
18 DEFINE_VALUE(ETS_COROUTINE_ANI_ENV_OFFSET, ark::ets::EtsCoroutine::GetTlsNapiEnvOffset())
20 DEFINE_VALUE(ETS_VM_DOUBLE_TO_STRING_CACHE_OFFSET, ark::ets::PandaEtsVM::GetDoubleToStringCacheOffs…
22 DEFINE_VALUE(ETS_CLASS_RUNTIME_CLASS_OFFSET, ark::ets::EtsClass::GetRuntimeClassOffset())
24 DEFINE_VALUE(ESCOMPAT_ARRAY_BUFFER_OFFSET, ark::ets::EtsArrayObject<ark::ets::EtsObject>::GetBuffer…
26 ark::ets::EtsArrayObject<ark::ets::EtsObject>::GetActualLengthOffset())
28 DEFINE_VALUE(TYPED_ARRAY_CLASS_SIZE, ark::ets::EtsEscompatTypedArrayBase::GetClassSize())
29 DEFINE_VALUE(TYPED_ARRAY_BUFFER_OFFSET, ark::ets::EtsEscompatTypedArrayBase::GetBufferOffset())
30 DEFINE_VALUE(TYPED_ARRAY_LENGTH_OFFSET, ark::ets::EtsEscompatTypedArrayBase::GetLengthIntOffset()) …
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/compiler/
Dintrinsics_ir_build_ets.inl.h21 void BuildTypedArraySetIntrinsic(const BytecodeInstruction *bcInst, ark::compiler::DataType::Type t…
22 void BuildTypedUnsignedArraySetIntrinsic(const BytecodeInstruction *bcInst, ark::compiler::Inst *va…
23 ark::compiler::DataType::Type type, bool accRead);
24 void BuildTypedUnsignedArraySetIntrinsic(const BytecodeInstruction *bcInst, ark::compiler::DataType…
26 void BuildUint8ClampedArraySetIntrinsic(const BytecodeInstruction *bcInst, ark::compiler::DataType:…
28 void BuildTypedArraySet(const BytecodeInstruction *bcInst, ark::compiler::Inst *value,
29 ark::compiler::DataType::Type type, ark::compiler::Inst *loadDataInst,
30 ark::compiler::Inst *dataOffsetInst);
33 void BuildTypedArrayGetIntrinsic(const BytecodeInstruction *bcInst, ark::compiler::DataType::Type t…
34 void BuildTypedArrayGetUnsafeIntrinsic(const BytecodeInstruction *bcInst, ark::compiler::DataType::…
[all …]
/arkcompiler/runtime_core/static_core/libllvmbackend/templates/
Dintrinsic_names_gen.inl.erb17 const char *GetIntrinsicInternalName(ark::compiler::RuntimeInterface::IntrinsicId id)
21 case ark::compiler::RuntimeInterface::IntrinsicId::LIB_CALL_FMOD:
23 case ark::compiler::RuntimeInterface::IntrinsicId::LIB_CALL_FMODF:
25 case ark::compiler::RuntimeInterface::IntrinsicId::LIB_CALL_LDEXP:
27 case ark::compiler::RuntimeInterface::IntrinsicId::LIB_CALL_LDEXPF:
29 case ark::compiler::RuntimeInterface::IntrinsicId::LIB_CALL_EXP2:
31 case ark::compiler::RuntimeInterface::IntrinsicId::LIB_CALL_EXP2F:
33 case ark::compiler::RuntimeInterface::IntrinsicId::LIB_CALL_MEM_COPY:
35 case ark::compiler::RuntimeInterface::IntrinsicId::LIB_CALL_MEM_MOVE:
37 case ark::compiler::RuntimeInterface::IntrinsicId::LIB_CALL_MEM_SET:
[all …]
/arkcompiler/ets_frontend/ets2panda/test/unit/lsp/
Dget_adjusted_location_test.cpp23 using ark::es2panda::ir::AstNode;
24 using ark::es2panda::ir::AstNodeType;
57 ark::es2panda::lsp::Initializer initializer = ark::es2panda::lsp::Initializer(); in TEST_F()
60 auto *context = reinterpret_cast<ark::es2panda::public_lib::Context *>(ctx); in TEST_F()
61 auto *varNode = ark::es2panda::lsp::GetTouchingPropertyName(ctx, VARIABLE_POS); in TEST_F()
63 auto adjustedVar = ark::es2panda::lsp::GetAdjustedLocation(varNode, true, context->allocator); in TEST_F()
78 ark::es2panda::lsp::Initializer initializer = ark::es2panda::lsp::Initializer(); in TEST_F()
81 auto *node = ark::es2panda::lsp::GetTouchingPropertyName(ctx, PROPERTY_POS); in TEST_F()
99 ark::es2panda::lsp::Initializer initializer = ark::es2panda::lsp::Initializer(); in TEST_F()
102 auto *context = reinterpret_cast<ark::es2panda::public_lib::Context *>(ctx); in TEST_F()
[all …]
Dlsp_rename_test.cpp26 using ark::es2panda::lsp::Initializer;
38 auto ast = GetAstFromContext<ark::es2panda::ir::AstNode>(ctx); in TEST_F()
39 auto targetNode = ast->FindChild([](ark::es2panda::ir::AstNode *node) { in TEST_F()
44 auto result = ark::es2panda::lsp::CreateTriggerSpanForNode(targetNode); in TEST_F()
60 auto ast = GetAstFromContext<ark::es2panda::ir::AstNode>(ctx); in TEST_F()
61 auto targetNode = ast->FindChild([](ark::es2panda::ir::AstNode *node) { in TEST_F()
66 auto result = ark::es2panda::lsp::CreateTriggerSpanForNode(targetNode); in TEST_F()
82 auto ast = GetAstFromContext<ark::es2panda::ir::AstNode>(ctx); in TEST_F()
83 auto targetNode = ast->FindChild([](ark::es2panda::ir::AstNode *node) { in TEST_F()
88 auto result = ark::es2panda::lsp::CreateTriggerSpanForNode(targetNode); in TEST_F()
[all …]
Dformatting_context_test.cpp30 ark::es2panda::lsp::FormatCodeSettings settings; in TEST_F()
35ark::es2panda::lsp::FormattingContext context(ark::es2panda::lsp::FormattingRequestKind::FORMAT_DO… in TEST_F()
37 …EXPECT_EQ(context.GetformattingRequestKind(), ark::es2panda::lsp::FormattingRequestKind::FORMAT_DO… in TEST_F()
48 ark::es2panda::lsp::Initializer initializer; in TEST_F()
50 auto contextPtr = reinterpret_cast<ark::es2panda::public_lib::Context *>(ctx); in TEST_F()
53 ark::es2panda::lsp::FormatCodeSettings settings; in TEST_F()
54ark::es2panda::lsp::FormattingContext context(ark::es2panda::lsp::FormattingRequestKind::FORMAT_ON… in TEST_F()
56 ark::es2panda::lexer::SourcePosition pos1(idStart, firstLine, program); in TEST_F()
57 ark::es2panda::lexer::SourcePosition pos2(numStart, firstLine, program); in TEST_F()
58 ark::es2panda::lexer::SourcePosition pos3(semiStart, firstLine, program); in TEST_F()
[all …]
Dtodo_comments_test.cpp24 using ark::es2panda::lsp::Initializer;
38 using ark::es2panda::ir::AstNode; in TEST_F()
39 using ark::es2panda::public_lib::Context; in TEST_F()
40 … auto cancellationToken = ark::es2panda::lsp::CancellationToken(kDesignatedThrottleTime, nullptr); in TEST_F()
45 std::vector<ark::es2panda::lsp::TodoCommentDescriptor> descriptors = { in TEST_F()
46 ark::es2panda::lsp::TodoCommentDescriptor(kTodoTag, kDescriptorPriority)}; in TEST_F()
48 auto comments = ark::es2panda::lsp::GetTodoCommentsImpl(ctx, descriptors, &cancellationToken); in TEST_F()
67 using ark::es2panda::ir::AstNode; in TEST_F()
68 using ark::es2panda::public_lib::Context; in TEST_F()
69 … auto cancellationToken = ark::es2panda::lsp::CancellationToken(kDesignatedThrottleTime, nullptr); in TEST_F()
[all …]
Dchange_tracker_test.cpp42 ark::es2panda::lsp::ChangeTracker GetTracker() in GetTracker()
45 ark::es2panda::lsp::FormatCodeSettings settings; in GetTracker()
46 auto formatContext = ark::es2panda::lsp::GetFormatContext(settings); in GetTracker()
48 auto tracker = ark::es2panda::lsp::ChangeTracker::FromContext(changeText); in GetTracker()
59 ark::es2panda::lsp::Initializer initializer; in TEST_F()
62 auto *context = reinterpret_cast<ark::es2panda::public_lib::Context *>(ctx); in TEST_F()
100 ark::es2panda::lsp::Initializer initializer; in TEST_F()
102 auto *context = reinterpret_cast<ark::es2panda::public_lib::Context *>(ctx); in TEST_F()
104 ark::es2panda::ir::AstNode *ast = context->parserProgram->Ast(); in TEST_F()
110 ark::es2panda::ir::AstNode *aDecl; in TEST_F()
[all …]
/arkcompiler/ets_runtime/test/regresstest/
Dignored-regresstest-fastverify-x64-aot-pgo-litecg.txt4 regresstest/ark-regress/mjsunit/regress/regress-95113.js
7 regresstest/ark-regress/mjsunit/compiler/regress-crbug-1226264.js
8 regresstest/ark-regress/mjsunit/regress/regress-reflect-construct.js
12 regresstest/ark-regress/mjsunit/es8/async-arrow-default-function-await.js
16 regresstest/ark-regress/mjsunit/es6/array-concat-spreadable-function.js
19 regresstest/ark-regress/mjsunit/regress/regress-crbug-1263994.js
22 regresstest/ark-regress/mjsunit/regress/regress-458987.js
23 regresstest/ark-regress/mjsunit/compiler/osr-top2.js
24 regresstest/ark-regress/mjsunit/compiler/multiply-sub.js
25 regresstest/ark-regress/mjsunit/compiler/lazy-deopt-async-function-resolve.js
[all …]
/arkcompiler/ets_runtime/etc/
Darkcompiler.para.dac14 ark.profile. = shell:shell:0775
15 ark.jit.escape.disable = shell:shell:0775
16 persist.ark.properties = shell:shell:0775
17 persist.ark.longpausetime = shell:shell:0775
18 persist.ark.asminterpreter = shell:shell:0775
19 persist.ark.importDuration = shell:shell:0775
20 ark.jit.enable.litecg = shell:shell:0775
21 ark.jit.hotness.threshold = shell:shell:0775
22 ark.jit.enable.jitframe = shell:shell:0775
23 persist.ark.jit.codesign.disable = shell:shell:0775
[all …]
/arkcompiler/runtime_core/libabckit/src/templates/abckit_intrinsics/
Dabckit_intrinsics.inl.erb18 bool IsETSIntrinsic(ark::compiler::RuntimeInterface::IntrinsicId intrinsicId)
22 … case ark::compiler::RuntimeInterface::IntrinsicId::INTRINSIC_COMPILER_ETS_<%= name %>_BY_NAME_OBJ:
23 … case ark::compiler::RuntimeInterface::IntrinsicId::INTRINSIC_COMPILER_ETS_<%= name %>_BY_NAME_F64:
24 … case ark::compiler::RuntimeInterface::IntrinsicId::INTRINSIC_COMPILER_ETS_<%= name %>_BY_NAME_F32:
25 … case ark::compiler::RuntimeInterface::IntrinsicId::INTRINSIC_COMPILER_ETS_<%= name %>_BY_NAME_I64:
26 … case ark::compiler::RuntimeInterface::IntrinsicId::INTRINSIC_COMPILER_ETS_<%= name %>_BY_NAME_I32:
34 bool IsAbcKitIntrinsic(ark::compiler::RuntimeInterface::IntrinsicId intrinsicId)
39 case ark::compiler::RuntimeInterface::IntrinsicId::<%= intrinsic.entrypoint_name %>:
48 bool IsAbcKit<%= name %>(ark::compiler::RuntimeInterface::IntrinsicId intrinsicId)
52 case ark::compiler::RuntimeInterface::IntrinsicId::<%= intrinsic.entrypoint_name %>:
[all …]
Dinst_builder_abckit_intrinsics.inc.erb70 void ark::compiler::AbcKitInstBuilder::BuildDefaultAbcKitIntrinsic(const BytecodeInstruction *bcIns…
78 case ark::compiler::RuntimeInterface::IntrinsicId::<%= intrinsic.entrypoint_name %>: {
94 auto retType = ark::compiler::<%= get_type(intrinsic.signature.ret) %>;
95ark::compiler::IntrinsicInst *inst = GetGraph()->CreateInstIntrinsic(retType, pc, intrinsicId);
106 inst->AddInputType(ark::compiler::<%= get_type(op.type) %>);
123 inst->AddInputType(ark::compiler::<%= get_type(param.type) %>);
166 constexpr ark::compiler::Register MAX_NUM_SHORT_CALL_ARGS = 2;
167 constexpr ark::compiler::Register MAX_NUM_NON_RANGE_ARGS = 4;
169 void ark::compiler::AbcKitInstBuilder::BuildAbcKitInitObjectIntrinsic(const BytecodeInstruction *bc…
173 ark::compiler::IntrinsicInst *inst {nullptr};
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/intrinsics/
Descompat_TypedArrays.cpp27 namespace ark::ets::intrinsics { namespace
90 extern "C" void EtsEscompatInt8ArraySetInt(ark::ets::EtsEscompatInt8Array *thisArray, EtsInt pos, E… in EtsEscompatInt8ArraySetInt()
95 extern "C" void EtsEscompatInt8ArraySetByte(ark::ets::EtsEscompatInt8Array *thisArray, EtsInt pos, … in EtsEscompatInt8ArraySetByte()
100 extern "C" EtsDouble EtsEscompatInt8ArrayGet(ark::ets::EtsEscompatInt8Array *thisArray, EtsInt pos) in EtsEscompatInt8ArrayGet()
105 extern "C" EtsByte EtsEscompatInt8ArrayGetUnsafe(ark::ets::EtsEscompatInt8Array *thisArray, EtsInt … in EtsEscompatInt8ArrayGetUnsafe()
135 extern "C" void EtsEscompatInt8ArraySetValues(ark::ets::EtsEscompatInt8Array *thisArray, in EtsEscompatInt8ArraySetValues()
136 ark::ets::EtsEscompatInt8Array *srcArray) in EtsEscompatInt8ArraySetValues()
141 extern "C" void EtsEscompatInt8ArraySetValuesWithOffset(ark::ets::EtsEscompatInt8Array *thisArray, in EtsEscompatInt8ArraySetValuesWithOffset()
142ark::ets::EtsEscompatInt8Array *srcArray, EtsDouble pos) in EtsEscompatInt8ArraySetValuesWithOffset()
162 extern "C" void EtsEscompatInt8ArrayFillInternal(ark::ets::EtsEscompatInt8Array *thisArray, EtsByte… in EtsEscompatInt8ArrayFillInternal()
[all …]
/arkcompiler/runtime_core/static_core/disassembler/
Ddisasm.cpp25 ark::PandArg<bool> help {"help", false, "Print this message and exit"};
26 ark::PandArg<bool> verbose {"verbose", false, "enable informative code output"};
27 ark::PandArg<bool> quiet {"quiet", false, "enables all of the --skip-* flags"};
28 ark::PandArg<bool> skipStrings {
31 ark::PandArg<bool> withSeparators {"with_separators", false,
33 ark::PandArg<bool> debug {
35 ark::PandArg<std::string> debugFile {"debug-file", "",
37 ark::PandArg<std::string> inputFile {"input_file", "", "Path to the source binary code"};
38 ark::PandArg<std::string> outputFile {"output_file", "", "Path to the generated assembly code"};
39 ark::PandArg<std::string> profile {"profile", "", "Path to the profile"};
[all …]
/arkcompiler/ets_frontend/ets2panda/test/utils/
Dasm_test.h23 namespace util_alias = ark::es2panda::util;
35 static std::unique_ptr<ark::pandasm::Program> GetProgram(int argc, char const *const *argv, in GetProgram()
41 if (!options->Parse(ark::Span(argv, argc))) { in GetProgram()
45 ark::Logger::ComponentMask mask {}; in GetProgram()
46 mask.set(ark::Logger::Component::ES2PANDA); in GetProgram()
47 ark::Logger::InitializeStdLogging(options->LogLevel(), mask); in GetProgram()
49 ark::es2panda::Compiler compiler(options->GetExtension(), options->GetThread()); in GetProgram()
50 ark::es2panda::SourceFile input(fileName, src, options->IsModule()); in GetProgram()
52 return std::unique_ptr<ark::pandasm::Program>(compiler.Compile(input, *options, de)); in GetProgram()
55 ark::pandasm::Function *GetFunction(std::string_view functionName,
[all …]
/arkcompiler/runtime_core/libabckit/src/irbuilder_dynamic/
Dinst_builder_dyn.h29 using ark::BytecodeInstruction;
33 InstBuilder(ark::compiler::Graph *graph, AbckitRuntimeAdapterDynamic::MethodPtr method) in InstBuilder()
47 ark::compiler::InstVector(graph->GetLocalAllocator()->Adapter()));
91 void SetCurrentBlock(ark::compiler::BasicBlock *bb) in SetCurrentBlock()
99 void UpdatePreds(ark::compiler::BasicBlock *bb, ark::compiler::Inst *inst);
100 void SetType(ark::compiler::Inst *inst);
102 void CheckInstructions(ark::compiler::Inst *inst);
104 void SplitConstant(ark::compiler::ConstantInst *constInst);
105 void CleanupInst(ark::compiler::BasicBlock *block, ark::compiler::Inst *inst);
109 static void RemoveNotDominateInputs(ark::compiler::SaveStateInst *saveState);
[all …]

12345678910>>...151