| /arkcompiler/ets_frontend/ets2panda/test/test-lists/parser/ |
| D | parser-ets-WIN-ignored.txt | 1 compiler\ets\116100.sts 2 compiler\ets\ConditionalExpressionCallVoidNeg.sts 3 compiler\ets\FunctionType2.sts 4 compiler\ets\FunctionType4.sts 5 compiler\ets\abstractMethodDeclaredInParentClass.sts 6 compiler\ets\abstractNewClassInstanceExpression.sts 7 compiler\ets\ambient_declaration.sts 8 compiler\ets\array_indexing_with_chaining_non_nullish.sts 9 compiler\ets\array_indexing_with_chaining_nullish.sts 10 compiler\ets\array_indexing_without_chaining_non_nullish.sts [all …]
|
| D | parser-js-allowed.txt | 1 compiler/ets/forUpdate.sts 2 compiler/ets/generics_instantiation_1.sts 3 compiler/ets/generics_primitive_type_param_1.sts 4 compiler/ets/generic_override_3.sts 5 compiler/ets/override16.sts 6 compiler/ets/from-soft-keyword-0.sts 7 compiler/ets/manyLocalsParamRegUsage.sts 8 compiler/ets/method-resolution-class-and-interface-in-signatures_5.sts 9 compiler/ets/n_nullableTypeInReturnNotRef.sts 10 compiler/ets/generic_variance_1.sts [all …]
|
| /arkcompiler/ets_runtime/compiler_service/include/ |
| D | aot_compiler_constants.h | 36 const std::string TARGET_COMPILER_MODE = "target-compiler-mode"; 37 const std::string COMPILER_PKG_INFO = "compiler-pkg-info"; 38 const std::string COMPILER_ENABLE_AOT_CODE_COMMENT = "compiler-enable-aot-code-comment"; 39 const std::string COMPILER_LOG_OPT = "compiler-log"; 40 const std::string COMPILER_AN_FILE_MAX_SIZE = "compiler-an-file-max-size"; 56 "compiler-log", 57 "compiler-log-methods", 58 "compiler-log-snapshot", 59 "compiler-log-time", 60 "compiler-type-threshold", [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/toolchain/build/third_party_gn/protobuf/ |
| D | BUILD.gn | 152 "$protobuf_src_root/google/protobuf/compiler/importer.cc", 153 "$protobuf_src_root/google/protobuf/compiler/parser.cc", 233 "$protobuf_src_root/google/protobuf/compiler/importer.cc", 234 "$protobuf_src_root/google/protobuf/compiler/parser.cc", 308 "$protobuf_src_root/google/protobuf/compiler/code_generator.cc", 309 "$protobuf_src_root/google/protobuf/compiler/command_line_interface.cc", 310 "$protobuf_src_root/google/protobuf/compiler/cpp/cpp_enum.cc", 311 "$protobuf_src_root/google/protobuf/compiler/cpp/cpp_enum_field.cc", 312 "$protobuf_src_root/google/protobuf/compiler/cpp/cpp_extension.cc", 313 "$protobuf_src_root/google/protobuf/compiler/cpp/cpp_field.cc", [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 …]
|
| D | codegen.h | 23 #include "compiler/optimizer/pass.h" 24 #include "compiler/optimizer/ir/basicblock.h" 25 #include "compiler/optimizer/ir/graph.h" 26 #include "compiler/optimizer/ir/graph_visitor.h" 32 using compiler::BasicBlock; 33 using compiler::Inst; 34 using compiler::Opcode; 36 void DoLdaObj(compiler::Register reg, std::vector<pandasm::Ins> &result); 37 void DoLda(compiler::Register reg, std::vector<pandasm::Ins> &result); 38 void DoLda64(compiler::Register reg, std::vector<pandasm::Ins> &result); [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 80 - name: compiler-disasm-dump 105 - name: compiler-emit-asm 111 - 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/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/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/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/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/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/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/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/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/ets_runtime/ecmascript/ |
| D | js_runtime_options.cpp | 20 #include "ecmascript/compiler/aot_file/an_file_data_manager.h" 21 #include "ecmascript/compiler/ecma_opcode_des.h" 47 "--compiler-log: Log Option For aot compiler and stub compiler,\n" 59 …"--compiler-log-methods: Specific method list for compiler log, only used when compi… 61 …"--compiler-type-threshold: enable to skip methods whose type is no more than threshold… 62 "--compiler-log-snapshot: Enable to print snapshot information. Default: 'false'\n" 63 "--compiler-log-time: Enable to print pass compiler time. Default: 'false'\n" 67 …"--compiler-trace-bc: Enable tracing bytecode for aot runtime. Default: 'false'\n" 68 "--compiler-trace-deopt: Enable tracing deopt for aot runtime. Default: 'false'\n" 69 …"--compiler-trace-inline: Enable tracing inline function for aot runtime. Default: 'f… [all …]
|