| /arkcompiler/ets_runtime/compiler_service/include/ |
| D | aot_args_list.h | 34 "compiler-log", 35 "compiler-log-methods", 36 "compiler-log-snapshot", 37 "compiler-log-time", 38 "compiler-type-threshold", 40 "compiler-trace-bc", 41 "compiler-trace-deopt", 42 "compiler-trace-inline", 43 "compiler-trace-value-numbering", 44 "compiler-trace-instruction-combine", [all …]
|
| /arkcompiler/ets_frontend/ets2panda/test/test-lists/parser/ |
| D | parser-ets-WIN-ignored.txt | 1 compiler\ets\116100.ets 2 compiler\ets\ConditionalExpressionCallVoidNeg.ets 3 compiler\ets\FunctionType2.ets 4 compiler\ets\FunctionType4.ets 5 compiler\ets\abstractMethodDeclaredInParentClass.ets 6 compiler\ets\abstractNewClassInstanceExpression.ets 7 compiler\ets\ambient_declaration.ets 8 compiler\ets\array_indexing_with_chaining_non_nullish.ets 9 compiler\ets\array_indexing_with_chaining_nullish.ets 10 compiler\ets\array_indexing_without_chaining_non_nullish.ets [all …]
|
| D | parser-js-allowed.txt | 1 compiler/ets/forUpdate.ets 2 compiler/ets/generics_instantiation_1.ets 3 compiler/ets/generics_primitive_type_param_1.ets 4 compiler/ets/generic_override_3.ets 5 compiler/ets/override16.ets 6 compiler/ets/from-soft-keyword-0.ets 7 compiler/ets/manyLocalsParamRegUsage.ets 8 compiler/ets/method-resolution-class-and-interface-in-signatures_5.ets 9 compiler/ets/n_nullableTypeInReturnNotRef.ets 10 compiler/ets/generic_variance_1.ets [all …]
|
| /arkcompiler/runtime_core/static_core/irtoc/backend/ |
| D | function.cpp | 17 #include "compiler/codegen_boundary.h" 18 #include "compiler/codegen_fastpath.h" 19 #include "compiler/codegen_interpreter.h" 20 #include "compiler/optimizer_run.h" 21 #include "compiler/dangling_pointers_checker.h" 22 #include "compiler/optimizer/code_generator/target_info.h" 23 #include "compiler/optimizer/optimizations/balance_expressions.h" 24 #include "compiler/optimizer/optimizations/branch_elimination.h" 25 #include "compiler/optimizer/optimizations/checks_elimination.h" 26 #include "compiler/optimizer/optimizations/code_sink.h" [all …]
|
| /arkcompiler/runtime_core/libabckit/src/codegen/ |
| D | codegen_static.cpp | 23 uint8_t AccReadIndex(const compiler::Inst *inst) in AccReadIndex() 37 bool CanConvertToIncI(const compiler::BinaryImmOperation *binop) in CanConvertToIncI() 40 …ASSERT(binop->GetOpcode() == compiler::Opcode::AddI || binop->GetOpcode() == compiler::Opcode::Sub… in CanConvertToIncI() 48 if (binop->GetSrcReg(0U) == compiler::GetAccReg()) { in CanConvertToIncI() 62 …if (uinst->GetInput(index).GetInst() == binop && uinst->GetSrcReg(index) == compiler::GetAccReg())… in CanConvertToIncI() 76 if (binop->GetOpcode() == compiler::Opcode::SubI) { in CanConvertToIncI() 84 void DoLdaObj(compiler::Register reg, std::vector<pandasm::Ins> &result) in DoLdaObj() 86 if (reg != compiler::GetAccReg()) { in DoLdaObj() 87 if (reg > compiler::INVALID_REG) { in DoLdaObj() 88 ASSERT(compiler::IsFrameSizeLarge()); in DoLdaObj() [all …]
|
| D | codegen_static.h | 21 #include "static_core/compiler/optimizer/pass.h" 22 #include "static_core/compiler/optimizer/ir/basicblock.h" 23 #include "static_core/compiler/optimizer/ir/graph.h" 24 #include "static_core/compiler/optimizer/ir/graph_visitor.h" 36 using compiler::BasicBlock; 37 using compiler::Inst; 38 using compiler::Opcode; 40 constexpr compiler::Register MIN_REGISTER_NUMBER = 0; 41 constexpr compiler::Register MAX_NUM_SHORT_CALL_ARGS = 2; 42 constexpr compiler::Register MAX_NUM_NON_RANGE_ARGS = 4; [all …]
|
| /arkcompiler/ets_frontend/ets2panda/test/test-lists/srcdumper/ |
| D | srcdumper-ets-ignored.txt | 12 ast/compiler/ets/async_import_1.ets 13 ast/compiler/ets/optionalClassProperty1.ets 14 ast/compiler/ets/ambient_interface/use_interface.ets 29 compiler/ets/abstractNewClassInstanceExpression.ets 32 compiler/ets/implicit_package_import/package_test_1/package_module_1.ets 33 compiler/ets/implicit_package_import/package_test_1/package_module_2.ets 34 compiler/ets/implicit_package_import/package_test_2/subpackage_1/package_module_1.ets 35 compiler/ets/implicit_package_import/package_test_2/subpackage_1/package_module_2.ets 36 compiler/ets/import_tests/asyncfunc_lambda_main.ets 37 compiler/ets/import_tests/enum_import.ets [all …]
|
| /arkcompiler/runtime_core/static_core/bytecode_optimizer/ |
| D | codegen.cpp | 20 void DoLdaObj(compiler::Register reg, std::vector<pandasm::Ins> &result) in DoLdaObj() 22 if (reg != compiler::GetAccReg()) { in DoLdaObj() 27 void DoLda(compiler::Register reg, std::vector<pandasm::Ins> &result) in DoLda() 29 if (reg != compiler::GetAccReg()) { in DoLda() 34 void DoLda64(compiler::Register reg, std::vector<pandasm::Ins> &result) in DoLda64() 36 if (reg != compiler::GetAccReg()) { in DoLda64() 41 void DoStaObj(compiler::Register reg, std::vector<pandasm::Ins> &result) in DoStaObj() 43 if (reg != compiler::GetAccReg()) { in DoStaObj() 48 void DoSta(compiler::Register reg, std::vector<pandasm::Ins> &result) in DoSta() 50 if (reg != compiler::GetAccReg()) { in DoSta() [all …]
|
| D | reg_encoder.cpp | 18 #include "compiler/optimizer/ir/basicblock.h" 22 static bool IsDstRegNeedRenumbering([[maybe_unused]] ark::compiler::Inst *inst) in IsDstRegNeedRenumbering() 27 [[maybe_unused]] ark::compiler::Inst *inst) in CheckWidthAbcKitIntrinsic() 37 if (inst->GetOpcode() != compiler::Opcode::Intrinsic) { in IsIntrinsicRange() 46 case compiler::RuntimeInterface::IntrinsicId::INTRINSIC_CALLI_RANGE_DYN: in IsIntrinsicRange() 47 case compiler::RuntimeInterface::IntrinsicId::INTRINSIC_CALLI_THIS_RANGE_DYN: in IsIntrinsicRange() 48 case compiler::RuntimeInterface::IntrinsicId::INTRINSIC_NEWOBJ_DYNRANGE: in IsIntrinsicRange() 49 case compiler::RuntimeInterface::IntrinsicId::INTRINSIC_SUPER_CALL: in IsIntrinsicRange() 51 case compiler::RuntimeInterface::IntrinsicId::ECMA_CALLIRANGEDYN_PREF_IMM16_V8: in IsIntrinsicRange() 52 case compiler::RuntimeInterface::IntrinsicId::ECMA_CALLITHISRANGEDYN_PREF_IMM16_V8: in IsIntrinsicRange() [all …]
|
| D | check_resolver.cpp | 17 #include "compiler/optimizer/ir/basicblock.h" 18 #include "compiler/optimizer/ir/inst.h" 22 static void ReplaceCheck(compiler::Inst *inst) in ReplaceCheck() 25 …size_t i = (op == compiler::Opcode::BoundsCheck || op == compiler::Opcode::RefTypeCheck) ? 1U : 0U; in ReplaceCheck() 28 user.GetInst()->SetFlag(compiler::inst_flags::CAN_THROW); in ReplaceCheck() 31 inst->ClearFlag(compiler::inst_flags::NO_DCE); // DCE will remove the check inst in ReplaceCheck() 34 static void MarkLenArray(compiler::Inst *inst) in MarkLenArray() 44 inst->SetFlag(compiler::inst_flags::NO_DCE); in MarkLenArray() 46 inst->SetFlag(compiler::inst_flags::NO_HOIST); in MarkLenArray() 62 inst->SetFlag(compiler::inst_flags::NO_DCE); in RunImpl() [all …]
|
| D | common.h | 19 #include "compiler/optimizer/ir/constants.h" 20 #include "compiler/optimizer/ir/inst.h" 22 namespace ark::compiler { 24 } // namespace ark::compiler 27 constexpr compiler::Register MIN_REGISTER_NUMBER = 0; 28 constexpr compiler::Register MAX_NUM_SHORT_CALL_ARGS = 2; 29 constexpr compiler::Register MAX_NUM_NON_RANGE_ARGS = 4; 30 constexpr compiler::Register MAX_NUM_INPUTS = MAX_NUM_NON_RANGE_ARGS; 31 constexpr ark::compiler::Register NUM_COMPACTLY_ENCODED_REGS = 16; 32 [[maybe_unused]] constexpr compiler::Register MAX_8_BIT_REG = 255 - 1U; // exclude INVALID_REG [all …]
|
| D | reg_encoder.h | 19 #include "compiler/optimizer/ir/graph.h" 20 #include "compiler/optimizer/pass.h" 21 #include "compiler/optimizer/ir/inst.h" 22 #include "compiler/optimizer/ir/graph_visitor.h" 27 * After compiler's register allocation layout of the virtual frame looks like: 74 compiler::Register reg; 76 compiler::DataType::Type type; 78 RegContent() : reg(compiler::GetInvalidReg()), type(compiler::DataType::NO_TYPE) {} in RegContent() 79 RegContent(compiler::Register r, compiler::DataType::Type t) : reg(r), type(t) {} in RegContent() 91 using RegContentMap = ArenaUnorderedMap<compiler::Register, RegContent>; [all …]
|
| /arkcompiler/runtime_core/compiler/optimizer/templates/ |
| D | ir-dyn-base-types.h.erb | 19 #include "compiler/optimizer/ir/datatype.h" 36 namespace panda::compiler { 37 inline AnyBaseType NumericDataTypeToAnyType([[maybe_unused]] panda::compiler::DataType::Type type, 38 panda::compiler::SourceLanguage language) { 39 …ASSERT(type == panda::compiler::DataType::Type::UINT8 || type == panda::compiler::DataType::Type::… 40 …type == panda::compiler::DataType::Type::UINT16 || type == panda::compiler::DataType::Type::INT16 … 41 …type == panda::compiler::DataType::Type::UINT32 || type == panda::compiler::DataType::Type::INT32 … 42 …type == panda::compiler::DataType::Type::UINT64 || type == panda::compiler::DataType::Type::INT64 … 43 …type == panda::compiler::DataType::Type::FLOAT32 || type == panda::compiler::DataType::Type::FLOAT… 45 case panda::compiler::DataType::Type::INT8: [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/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) 38 % Compiler::intrinsics.select {|intrinsic| intrinsic.space == "abckit" }.each do |intrinsic| 39 case ark::compiler::RuntimeInterface::IntrinsicId::<%= intrinsic.entrypoint_name %>: 48 bool IsAbcKit<%= name %>(ark::compiler::RuntimeInterface::IntrinsicId intrinsicId) [all …]
|
| D | inst_builder_abckit_intrinsics.inc.erb | 70 void ark::compiler::AbcKitInstBuilder::BuildDefaultAbcKitIntrinsic(const BytecodeInstruction *bcIns… 77 % Compiler::intrinsics.select {|intrinsic| intrinsic.space == "abckit" }.each do |intrinsic| 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… [all …]
|
| /arkcompiler/ets_runtime/tools/circuit_viewer/examples/ |
| D | log_loop.txt | 2 [compiler] AOT compile: a.abc 3 [ecmascript] When the file is empty. Enter full compiler mode. 4 [compiler] Total number of methods in file: a.abc is: 1 5 [compiler] aot method [func_main_0@a.abc] log: 6 [compiler] record: _GLOBAL has no types 7 [compiler] ======================== Build Basic Block ======================== 8 [compiler] B0: ;preds= 9 [compiler] BytecodePC: [0, 3) 10 [compiler] Succes: 1, 11 [compiler] Trys: [all …]
|
| /arkcompiler/runtime_core/libabckit/src/adapter_static/ |
| D | helpers_static.cpp | 27 #include "static_core/compiler/optimizer/ir/graph.h" 28 #include "static_core/compiler/optimizer/ir/basicblock.h" 29 #include "static_core/compiler/optimizer/ir/marker.h" 30 #include "static_core/compiler/optimizer/optimizations/regalloc/reg_alloc_graph_coloring.h" 31 #include "static_core/compiler/optimizer/optimizations/regalloc/reg_alloc_resolver.h" 32 #include "static_core/compiler/optimizer/analysis/loop_analyzer.h" 33 #include "static_core/compiler/optimizer/analysis/dominators_tree.h" 34 #include "static_core/compiler/optimizer/analysis/linear_order.h" 35 #include "static_core/compiler/optimizer/analysis/rpo.h" 81 void CheckInvalidOpcodes([[maybe_unused]] ark::compiler::Graph *graph, [[maybe_unused]] bool isDyna… in CheckInvalidOpcodes() [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/runtime_core/bytecode_optimizer/ |
| D | reg_encoder.h | 19 #include "compiler/optimizer/ir/graph.h" 20 #include "compiler/optimizer/pass.h" 21 #include "compiler/optimizer/ir/inst.h" 22 #include "compiler/optimizer/ir/graph_visitor.h" 27 * After compiler's register allocation layout of the virtual frame looks like: 73 compiler::Register reg; 74 compiler::DataType::Type type; 76 RegContent() : reg(compiler::INVALID_REG), type(compiler::DataType::NO_TYPE) {} in RegContent() 77 RegContent(compiler::Register r, compiler::DataType::Type t) : reg(r), type(t) {} in RegContent() 89 using RegContentMap = ArenaUnorderedMap<compiler::Register, RegContent>; [all …]
|
| /arkcompiler/runtime_core/static_core/compiler/ |
| D | compiler.yaml | 15 name: compiler 16 namespace: ark::compiler 19 - name: compiler-non-optimizing 25 - name: compiler-regex 33 - name: compiler-regex-with-signature 41 - name: compiler-visualizer-dump 47 - name: compiler-dump 84 - name: compiler-disasm-dump 109 - name: compiler-emit-asm 115 - name: compiler-enable-tracing [all …]
|
| D | CompilerIntrinsicsPostPlugins.cmake | 14 set(INTRINSICS_CODEGEN_EXT_INL_H ${PANDA_BINARY_ROOT}/compiler/generated/intrinsics_codegen_ext.inl… 17 TEMPLATE ${PANDA_ROOT}/compiler/optimizer/templates/intrinsics/intrinsics_codegen_ext.inl.h.erb 23 set(INTRINSICS_IR_BUILD_STATIC_CALL_INL ${PANDA_BINARY_ROOT}/compiler/generated/intrinsics_ir_build… 26 …TEMPLATE ${PANDA_ROOT}/compiler/optimizer/templates/intrinsics/intrinsics_ir_build_static_call.inl… 32 set(INTRINSICS_IR_BUILD_VIRTUAL_CALL_INL ${PANDA_BINARY_ROOT}/compiler/generated/intrinsics_ir_buil… 35 …TEMPLATE ${PANDA_ROOT}/compiler/optimizer/templates/intrinsics/intrinsics_ir_build_virtual_call.in… 41 set(INTRINSICS_GRAPH_CHECKER_INL ${PANDA_BINARY_ROOT}/compiler/generated/intrinsics_graph_checker.i… 44 TEMPLATE ${PANDA_ROOT}/compiler/optimizer/templates/intrinsics/intrinsics_graph_checker.inl.erb 50 set(INTRINSICS_IR_BUILD_INL_H ${PANDA_BINARY_ROOT}/compiler/generated/intrinsics_ir_build.inl.h) 53 TEMPLATE ${PANDA_ROOT}/compiler/optimizer/templates/intrinsics/intrinsics_ir_build.inl.h.erb [all …]
|
| /arkcompiler/runtime_core/compiler/optimizer/ir/ |
| D | ir-dyn-base-types.h | 19 #include "compiler/optimizer/ir/datatype.h" 24 namespace panda::compiler { 25 inline AnyBaseType NumericDataTypeToAnyType(panda::compiler::DataType::Type type, in NumericDataTypeToAnyType() 26 … [[maybe_unused]] panda::compiler::SourceLanguage language) in NumericDataTypeToAnyType() 29 case panda::compiler::DataType::Type::INT32: in NumericDataTypeToAnyType() 30 return panda::compiler::AnyBaseType::ECMASCRIPT_INT_TYPE; in NumericDataTypeToAnyType() 31 case panda::compiler::DataType::Type::UINT32: in NumericDataTypeToAnyType() 32 case panda::compiler::DataType::Type::INT64: in NumericDataTypeToAnyType() 33 case panda::compiler::DataType::Type::UINT64: in NumericDataTypeToAnyType() 34 return panda::compiler::AnyBaseType::UNDEFINED_TYPE; in NumericDataTypeToAnyType() [all …]
|
| /arkcompiler/runtime_core/compiler/ |
| D | compiler.yaml | 15 name: compiler 16 namespace: panda::compiler 19 - name: compiler-non-optimizing 25 - name: compiler-regex 31 - name: compiler-visualizer-dump 37 - name: compiler-dump 66 - name: compiler-disasm-dump 91 - name: compiler-emit-asm 97 - name: compiler-enable-tracing 103 - name: compiler-enable-tlab-events [all …]
|
| /arkcompiler/ets_frontend/es2panda/test/compiler/crashStack/offColumn/js/ |
| D | off-column-callthis-expected.txt | 2 at func_main_0 (test/compiler/crashStack/offColumn/js/off-column-callthis.js:32:1) 5 at func_main_0 (test/compiler/crashStack/offColumn/js/off-column-callthis.js:39:1) 8 at func_main_0 (test/compiler/crashStack/offColumn/js/off-column-callthis.js:45:1) 11 at func_main_0 (test/compiler/crashStack/offColumn/js/off-column-callthis.js:54:1) 14 at func_main_0 (test/compiler/crashStack/offColumn/js/off-column-callthis.js:61:1) 17 at func_main_0 (test/compiler/crashStack/offColumn/js/off-column-callthis.js:67:1) 20 at func_main_0 (test/compiler/crashStack/offColumn/js/off-column-callthis.js:76:1) 23 at func_main_0 (test/compiler/crashStack/offColumn/js/off-column-callthis.js:83:1) 26 at func_main_0 (test/compiler/crashStack/offColumn/js/off-column-callthis.js:89:1) 29 at func_main_0 (test/compiler/crashStack/offColumn/js/off-column-callthis.js:97:1) [all …]
|