| /arkcompiler/runtime_core/static_core/runtime/entrypoints/ |
| D | entrypoints.yaml | 39 - 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/ |
| D | ets_entrypoints.yaml | 30 - 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 …]
|
| D | ets_libbase_runtime.yaml | 16 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/ |
| D | BUILD.gn | 20 "$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/ |
| D | pandasm.h | 21 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 …]
|
| D | pandasm.cpp | 39 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/ |
| D | runtime_adapter_static.h | 32 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() 87 …ark::compiler::DataType::Type GetMethodTotalArgumentType(MethodPtr method, size_t index) const ove… in GetMethodTotalArgumentType() [all …]
|
| D | helpers_static.cpp | 81 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 …]
|
| D | helpers_static.h | 36 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/ |
| D | asm_defines.def | 16 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/ |
| D | intrinsics_ir_build_ets.inl.h | 21 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/ |
| D | intrinsic_names_gen.inl.erb | 17 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/ |
| D | get_adjusted_location_test.cpp | 23 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 …]
|
| D | lsp_rename_test.cpp | 26 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 …]
|
| D | formatting_context_test.cpp | 30 ark::es2panda::lsp::FormatCodeSettings settings; in TEST_F() 35 …ark::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() 54 …ark::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 …]
|
| D | todo_comments_test.cpp | 24 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 …]
|
| D | change_tracker_test.cpp | 42 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/ |
| D | ignored-regresstest-fastverify-x64-aot-pgo-litecg.txt | 4 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/ |
| D | arkcompiler.para.dac | 14 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/ |
| D | abckit_intrinsics.inl.erb | 18 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 …]
|
| D | inst_builder_abckit_intrinsics.inc.erb | 70 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) %>; 95 … ark::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/ |
| D | escompat_TypedArrays.cpp | 27 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() 142 … ark::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/ |
| D | disasm.cpp | 25 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/ |
| D | asm_test.h | 23 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/ |
| D | inst_builder_dyn.h | 29 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 …]
|