Home
last modified time | relevance | path

Searched full:compiler (Results 1 – 25 of 2403) sorted by relevance

12345678910>>...97

/arkcompiler/ets_runtime/compiler_service/include/
Daot_compiler_constants.h36 const std::string TARGET_COMPILER_MODE = "target-compiler-mode";
37 const std::string COMPILER_PKG_INFO = "compiler-pkg-info";
53 "compiler-log",
54 "compiler-log-methods",
55 "compiler-log-snapshot",
56 "compiler-log-time",
57 "compiler-type-threshold",
59 "compiler-trace-bc",
60 "compiler-trace-deopt",
61 "compiler-trace-inline",
[all …]
/arkcompiler/runtime_core/static_core/irtoc/backend/
Dfunction.cpp17 #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/toolchain/build/third_party_gn/protobuf/
DBUILD.gn152 "$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/ets_frontend/ets2panda/test/test-lists/parser/
Dparser-js-allowed.txt1 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 …]
Dparser-ets-ignored.txt4 compiler/ets/rethrowingCheck5.sts
5 compiler/ets/rethrowingConstructorCheck1.sts
6 compiler/ets/rethrowingConstructorCheck2.sts
7 compiler/ets/rethrowingConstructorCheck3.sts
8 compiler/ets/rethrowingFunctionCheck1.sts
9 compiler/ets/rethrowingFunctionCheck2.sts
10 compiler/ets/rethrowingFunctionCheck3.sts
11 compiler/ets/rethrowingMethodCheck1.sts
12 compiler/ets/rethrowingMethodCheck2.sts
13 compiler/ets/rethrowingMethodCheck3.sts
[all …]
/arkcompiler/runtime_core/static_core/bytecode_optimizer/
Dcodegen.cpp20 void DoLdaObj(compiler::Register reg, std::vector<pandasm::Ins> &result) in DoLdaObj()
22 if (reg != compiler::ACC_REG_ID) { in DoLdaObj()
27 void DoLda(compiler::Register reg, std::vector<pandasm::Ins> &result) in DoLda()
29 if (reg != compiler::ACC_REG_ID) { in DoLda()
34 void DoLda64(compiler::Register reg, std::vector<pandasm::Ins> &result) in DoLda64()
36 if (reg != compiler::ACC_REG_ID) { in DoLda64()
41 void DoStaObj(compiler::Register reg, std::vector<pandasm::Ins> &result) in DoStaObj()
43 if (reg != compiler::ACC_REG_ID) { in DoStaObj()
48 void DoSta(compiler::Register reg, std::vector<pandasm::Ins> &result) in DoSta()
50 if (reg != compiler::ACC_REG_ID) { in DoSta()
[all …]
Dreg_encoder.cpp18 #include "compiler/optimizer/ir/basicblock.h"
24 if (inst->GetOpcode() != compiler::Opcode::Intrinsic) { in IsIntrinsicRange()
30 case compiler::RuntimeInterface::IntrinsicId::INTRINSIC_CALLI_RANGE_DYN: in IsIntrinsicRange()
31 case compiler::RuntimeInterface::IntrinsicId::INTRINSIC_CALLI_THIS_RANGE_DYN: in IsIntrinsicRange()
32 case compiler::RuntimeInterface::IntrinsicId::INTRINSIC_NEWOBJ_DYNRANGE: in IsIntrinsicRange()
33 case compiler::RuntimeInterface::IntrinsicId::INTRINSIC_SUPER_CALL: in IsIntrinsicRange()
35 case compiler::RuntimeInterface::IntrinsicId::ECMA_CALLIRANGEDYN_PREF_IMM16_V8: in IsIntrinsicRange()
36 case compiler::RuntimeInterface::IntrinsicId::ECMA_CALLITHISRANGEDYN_PREF_IMM16_V8: in IsIntrinsicRange()
37 case compiler::RuntimeInterface::IntrinsicId::ECMA_NEWOBJDYNRANGE_PREF_IMM16_V8: in IsIntrinsicRange()
38 case compiler::RuntimeInterface::IntrinsicId::ECMA_SUPERCALL_PREF_IMM16_V8: in IsIntrinsicRange()
[all …]
Dcheck_resolver.cpp17 #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 …]
Dreg_encoder.h19 #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::INVALID_REG), 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 …]
Dreg_acc_alloc.cpp18 #include "compiler/optimizer/ir/basicblock.h"
19 #include "compiler/optimizer/ir/inst.h"
24 static std::pair<bool, compiler::BasicBlock *> IsAccWriteBetweenBlocks(compiler::BasicBlock *block, in IsAccWriteBetweenBlocks()
25 compiler::Inst *dstInst) in IsAccWriteBetweenBlocks()
44 static bool IsAccWriteInInst(compiler::Inst *inst) in IsAccWriteInInst()
52 if (inst->GetDstReg() == compiler::ACC_REG_ID) { in IsAccWriteInInst()
59 static bool IsAccReadFromReg(compiler::Inst *srcInst, compiler::Inst *inst) in IsAccReadFromReg()
64 compiler::Inst *input = inst->GetInput(AccReadIndex(inst)).GetInst(); in IsAccReadFromReg()
65 return (input != srcInst && input->GetDstReg() != compiler::ACC_REG_ID); in IsAccReadFromReg()
69 bool IsAccWriteBetween(compiler::Inst *srcInst, compiler::Inst *dstInst) in IsAccWriteBetween()
[all …]
Dcodegen.h23 #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/
Dcompiler.yaml15 name: compiler
16 namespace: ark::compiler
19 - name: compiler-non-optimizing
25 - name: compiler-regex
31 - name: compiler-visualizer-dump
37 - name: compiler-dump
70 - name: compiler-disasm-dump
95 - name: compiler-emit-asm
101 - name: compiler-enable-tracing
107 - name: compiler-enable-tlab-events
[all …]
DCompilerIntrinsicsPostPlugins.cmake14 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/ets_runtime/tools/circuit_viewer/examples/
Dlog_loop.txt2 [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/compiler/optimizer/templates/
Dir-dyn-base-types.h.erb19 #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/compiler/
Dcompiler.yaml15 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/bytecode_optimizer/
Dreg_encoder.h19 #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 …]
Dreg_encoder.cpp18 #include "compiler/optimizer/ir/basicblock.h"
24 if (inst->GetOpcode() != compiler::Opcode::Intrinsic) { in IsIntrinsicRange()
29 case compiler::RuntimeInterface::IntrinsicId::CALLRANGE_IMM8_IMM8_V8: in IsIntrinsicRange()
30 case compiler::RuntimeInterface::IntrinsicId::WIDE_CALLRANGE_PREF_IMM16_V8: in IsIntrinsicRange()
31 case compiler::RuntimeInterface::IntrinsicId::CALLTHISRANGE_IMM8_IMM8_V8: in IsIntrinsicRange()
32 case compiler::RuntimeInterface::IntrinsicId::WIDE_CALLTHISRANGE_PREF_IMM16_V8: in IsIntrinsicRange()
33 case compiler::RuntimeInterface::IntrinsicId::NEWOBJRANGE_IMM8_IMM8_V8: in IsIntrinsicRange()
34 case compiler::RuntimeInterface::IntrinsicId::NEWOBJRANGE_IMM16_IMM8_V8: in IsIntrinsicRange()
35 case compiler::RuntimeInterface::IntrinsicId::WIDE_NEWOBJRANGE_PREF_IMM16_V8: in IsIntrinsicRange()
36 case compiler::RuntimeInterface::IntrinsicId::SUPERCALLTHISRANGE_IMM8_IMM8_V8: in IsIntrinsicRange()
[all …]
Dreg_acc_alloc.h25 class RegAccAlloc : public compiler::Optimization {
29 …explicit RegAccAlloc(compiler::Graph *graph) : compiler::Optimization(graph), acc_marker_(graph->N… in RegAccAlloc()
35 return compiler::options.IsCompilerRegAccAlloc(); in IsEnable()
46 bool IsPhiOptimizable(compiler::Inst *phi) const;
47 bool IsAccRead(compiler::Inst *inst) const;
48 bool IsAccWrite(compiler::Inst *inst) const;
50 bool CanUserReadAcc(compiler::Inst *inst, compiler::Inst *user) const;
51 bool IsPhiAccReady(compiler::Inst *phi) const;
52 void SetNeedLda(compiler::Inst *inst, bool need);
56 void MarkAccForInstructions(compiler::BasicBlock *block);
[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_runtime/ecmascript/
Djs_runtime_options.cpp23 #include "ecmascript/compiler/aot_file/an_file_data_manager.h"
24 #include "ecmascript/compiler/ecma_opcode_des.h"
49 "--compiler-log: Log Option For aot compiler and stub compiler,\n"
61 …"--compiler-log-methods: Specific method list for compiler log, only used when compi…
63 …"--compiler-type-threshold: enable to skip methods whose type is no more than threshold…
64 "--compiler-log-snapshot: Enable to print snapshot information. Default: 'false'\n"
65 "--compiler-log-time: Enable to print pass compiler time. Default: 'false'\n"
69 …"--compiler-trace-bc: Enable tracing bytecode for aot runtime. Default: 'false'\n"
70 "--compiler-trace-deopt: Enable tracing deopt for aot runtime. Default: 'false'\n"
71 …"--compiler-trace-inline: Enable tracing inline function for aot runtime. Default: 'f…
[all …]
/arkcompiler/runtime_core/compiler/optimizer/ir/
Dir-dyn-base-types.h19 #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_frontend/ets2panda/
DBUILD.gn151 "compiler/base/catchTable.cpp",
152 "compiler/base/condition.cpp",
153 "compiler/base/destructuring.cpp",
154 "compiler/base/hoisting.cpp",
155 "compiler/base/iterators.cpp",
156 "compiler/base/lexenv.cpp",
157 "compiler/base/literals.cpp",
158 "compiler/base/lreference.cpp",
159 "compiler/base/optionalChain.cpp",
160 "compiler/core/ETSCompiler.cpp",
[all …]
DCMakeLists.txt89 SOURCE ${CMAKE_CURRENT_LIST_DIR}/compiler/templates
105 DATA ${CMAKE_CURRENT_SOURCE_DIR}/compiler/scripts/signatures.yaml
109 ${CMAKE_CURRENT_SOURCE_DIR}/compiler/scripts/signatures.rb
110 SOURCE ${CMAKE_CURRENT_SOURCE_DIR}/compiler/templates
145 compiler/base/catchTable.cpp
146 compiler/base/condition.cpp
147 compiler/base/destructuring.cpp
148 compiler/base/hoisting.cpp
149 compiler/base/iterators.cpp
150 compiler/base/lexenv.cpp
[all …]
/arkcompiler/runtime_core/static_core/plugins/ets/bytecode_optimizer/visitors/
Dcodegen_visitors.inc16 static ark::compiler::CallInst *CastToCallLaunch(ark::compiler::Inst *inst)
19 case compiler::Opcode::CallLaunchStatic:
21 case compiler::Opcode::CallLaunchVirtual:
28 static ark::pandasm::Opcode ChooseCallLaunchOpcode(ark::compiler::Opcode op, size_t nargs)
30 ASSERT(op == compiler::Opcode::CallLaunchStatic || op == compiler::Opcode::CallLaunchVirtual);
33 case compiler::Opcode::CallLaunchStatic:
35 case compiler::Opcode::CallLaunchVirtual:
42 case compiler::Opcode::CallLaunchStatic:
44 case compiler::Opcode::CallLaunchVirtual:
51 case compiler::Opcode::CallLaunchStatic:
[all …]

12345678910>>...97