Home
last modified time | relevance | path

Searched full:intrinsics (Results 1 – 25 of 72) sorted by relevance

123

/arkcompiler/runtime_core/runtime/
Druntime.yaml25 # Namespace that contains intrinsics implementation. For functions from
26 # this namespace declaration in intrinsics.h will be generated
27 intrinsics_namespace: panda::intrinsics
29 # NB! The `space` property allows to group intrinsics and control
30 # which intrinsics are loaded during startup. By default only "core"
33 # The `signature` for instance intrinsics (`static` is false) doesn't include
35 intrinsics:
45 impl: panda::intrinsics::AbsI32
57 impl: panda::intrinsics::AbsI64
69 impl: panda::intrinsics::AbsF32
[all …]
Dintrinsics.cmake25 set(TEMPLATE ${CMAKE_CURRENT_SOURCE_DIR}/templates/intrinsics.yaml.erb)
32 COMMENT "Generate intrinsics.yaml"
56 set(INTRINSICS_YAML ${CMAKE_CURRENT_BINARY_DIR}/intrinsics.yaml)
68 intrinsics.h.erb
77 REQUIRES ${CMAKE_CURRENT_SOURCE_DIR}/templates/intrinsics.rb
DRuntimeIntrinsicsPostPlugins.cmake14 set(INTRINSICS_INL_H ${PANDA_BINARY_ROOT}/runtime/include/intrinsics.inl.h)
17 TEMPLATE ${PANDA_ROOT}/runtime/templates/intrinsics.inl.h.erb
/arkcompiler/runtime_core/runtime/templates/
Dintrinsics_enum.h.erb24 namespace panda::intrinsics {
27 % Runtime::intrinsics.each do |intrinsic|
32 …c_cast<size_t>(Intrinsic::<%= Runtime::intrinsics.last.enum_name %>) <= MAX_INTRINSIC_NUMBER, "Too…
37 } // namespace panda::intrinsics
Dintrinsics.inl.h.erb19 % next unless plugin_opts["Intrinsics"]
20 % if plugin_opts["Intrinsics"]["header"]
21 #include "<%= plugin_opts["Intrinsics"]["header"] %>"
Dintrinsics_gen.h.erb16 namespace panda::intrinsics {
19 % Runtime::intrinsics.select(&:has_impl?).uniq { |intrn| intrn.impl + ", " + intrn.impl_signature.a…
80 % Runtime::intrinsics.select(&:has_impl?).each do |intrinsic|
84 // Init intrinsics only for current vm.
134 } // namespace panda::intrinsics
136 % Runtime::intrinsics.select(&:has_impl?).uniq { |i| i.impl }.each do |intrinsic|
/arkcompiler/runtime_core/compiler/
DCompilerIntrinsicsPostPlugins.cmake17 TEMPLATE ${PANDA_ROOT}/compiler/optimizer/templates/intrinsics/intrinsics_stub.inl.erb
26 TEMPLATE ${PANDA_ROOT}/compiler/optimizer/templates/intrinsics/intrinsics_stub.inl.h.erb
35 TEMPLATE ${PANDA_ROOT}/compiler/optimizer/templates/intrinsics/intrinsics_codegen_ext.inl.h.erb
44 …TEMPLATE ${PANDA_ROOT}/compiler/optimizer/templates/intrinsics/intrinsics_ir_build_static_call.inl…
53 …TEMPLATE ${PANDA_ROOT}/compiler/optimizer/templates/intrinsics/intrinsics_ir_build_virtual_call.in…
62 TEMPLATE ${PANDA_ROOT}/compiler/optimizer/templates/intrinsics/intrinsics_ir_build.inl.h.erb
71 TEMPLATE ${PANDA_ROOT}/compiler/optimizer/templates/intrinsics/intrinsics_can_encode.inl.erb
138 TEMPLATE ${PANDA_ROOT}/compiler/optimizer/templates/intrinsics/intrinsics_inline.inl.erb
147 …TEMPLATE ${PANDA_ROOT}/compiler/optimizer/templates/intrinsics/intrinsics_types_resolving.inl.h.erb
DBUILD.gn296 data = "$target_gen_dir/../runtime/intrinsics.yaml"
312 sources = "optimizer/templates/intrinsics"
315 "$ark_root/compiler/optimizer/templates/intrinsics/compiler_intrinsics.rb",
375 template_file = "optimizer/templates/intrinsics/intrinsics_stub.inl.erb"
382 template_file = "optimizer/templates/intrinsics/intrinsics_stub.inl.h.erb"
390 "optimizer/templates/intrinsics/intrinsics_codegen_ext.inl.h.erb"
397 template_file = "optimizer/templates/intrinsics/intrinsics_inline.inl.erb"
405 "optimizer/templates/intrinsics/intrinsics_types_resolving.inl.h.erb"
412 template_file = "optimizer/templates/intrinsics/intrinsics_ir_build.inl.h.erb"
420 "optimizer/templates/intrinsics/intrinsics_ir_build_static_call.inl.erb"
[all …]
/arkcompiler/runtime_core/compiler/optimizer/templates/intrinsics/
Dintrinsics_enum.inl.erb18 % Compiler::intrinsics.each do |intrinsic|
25 % Compiler::intrinsics.select{ |x| !x.is_irtoc? }.each do |intrinsic|
34 // Irtoc intrinsics
35 % Compiler::intrinsics.select(&:is_irtoc?).each do |intrinsic|
Dintrinsics_stub.inl.erb19 % next unless plugin_opts["Intrinsics"]
20 % if plugin_opts["Intrinsics"]["stub_inl"]
21 #include "<%= plugin_opts["Intrinsics"]["stub_inl"] %>"
Dintrinsics_ir_build_virtual_call.inl.erb19 % next unless plugin_opts["Intrinsics"]
20 % if plugin_opts["Intrinsics"]["ir_build_virtual_call_inl"]
21 #include "<%= plugin_opts["Intrinsics"]["ir_build_virtual_call_inl"] %>"
Dintrinsics_stub.inl.h.erb19 % next unless plugin_opts["Intrinsics"]
20 % if plugin_opts["Intrinsics"]["stub_inl_h"]
21 #include "<%= plugin_opts["Intrinsics"]["stub_inl_h"] %>"
Dintrinsics_ir_build.inl.h.erb19 % next unless plugin_opts["Intrinsics"]
20 % if plugin_opts["Intrinsics"]["ir_build_inl_h"]
21 #include "<%= plugin_opts["Intrinsics"]["ir_build_inl_h"] %>"
Dintrinsics_inline.inl.erb19 % next unless plugin_opts["Intrinsics"]
20 % if plugin_opts["Intrinsics"]["intrinsic_inline_inl"]
21 #include "<%= plugin_opts["Intrinsics"]["intrinsic_inline_inl"] %>"
Dintrinsics_ir_build_static_call.inl.erb19 % next unless plugin_opts["Intrinsics"]
20 % if plugin_opts["Intrinsics"]["ir_build_static_call_inl"]
21 #include "<%= plugin_opts["Intrinsics"]["ir_build_static_call_inl"] %>"
Dintrinsics_types_resolving.inl.h.erb19 % next unless plugin_opts["Intrinsics"]
20 % if plugin_opts["Intrinsics"]["intrinsic_type_resolving_inl_h"]
21 #include "<%= plugin_opts["Intrinsics"]["intrinsic_type_resolving_inl_h"] %>"
Dintrinsics_can_encode.inl.erb19 % next unless plugin_opts["Intrinsics"]
20 % if plugin_opts["Intrinsics"]["can_encode_inl"]
21 #include "<%= plugin_opts["Intrinsics"]["can_encode_inl"] %>"
Dintrinsics_codegen_ext.inl.h.erb19 % next unless plugin_opts["Intrinsics"]
20 % if plugin_opts["Intrinsics"]["codegen"]
21 #include "<%= plugin_opts["Intrinsics"]["codegen"] %>"
Dget_intrinsics.inl.erb18 % Compiler::intrinsics.select(&:has_impl?).uniq{ |i| i.impl }.each do |intrinsic|
46 inline RuntimeInterface::IntrinsicId GetIntrinsicEntryPointId(intrinsics::Intrinsic intrinsic) {
49 % Compiler::intrinsics.each do |intrinsic|
50 case intrinsics::Intrinsic::<%= intrinsic.enum_name %>:
75 % Compiler::intrinsics.each do |intrinsic|
107 return reinterpret_cast<uintptr_t>(intrinsics::UnknownIntrinsic);
Dcan_encode_builtin.inl.erb25 % Compiler::intrinsics.select {|intrinsic| intrinsic.codegen_arch.include? 'amd64'}.each do |intrin…
38 % Compiler::intrinsics.select {|intrinsic| intrinsic.codegen_arch.include? 'arm64'}.each do |intrin…
51 % Compiler::intrinsics.select {|intrinsic| intrinsic.codegen_arch.include? 'arm32'}.each do |intrin…
63 % Compiler::intrinsics.select {|intrinsic| intrinsic.respond_to? 'can_encode_func'}.each do |intrin…
Dcompiler_intrinsics.rb67 def intrinsics method
71 @data.intrinsics.select { |i| !@exclude_list.include?(i.name) }.map do |intrinsic|
78 …@ext_intrinsic_spaces = Compiler::intrinsics.collect {|intrinsic| intrinsic.space}.select {|space|…
/arkcompiler/runtime_core/tests/checked/
Ddisable_intrinsics.pa14 #! CHECKER Intrinsics is enabled
15 #! RUN force_jit: true, options: "--compiler-encode-intrinsics=true", entry: "_GLOBAL::mai…
24 #! CHECKER Intrinsics is disable
25 #! RUN force_jit: true, options: "--compiler-encode-intrinsics=false", entry: "_GLOBAL::ma…
/arkcompiler/ets_runtime/ecmascript/interpreter/
Dinterpreter_assembly.cpp534 LOG_INST() << "intrinsics::ldnan"; in HandleLdnan()
543 LOG_INST() << "intrinsics::ldinfinity"; in HandleLdinfinity()
552 LOG_INST() << "intrinsics::ldundefined"; in HandleLdundefined()
561 LOG_INST() << "intrinsics::ldnull"; in HandleLdnull()
570 LOG_INST() << "intrinsics::ldsymbol"; in HandleLdsymbol()
581 LOG_INST() << "intrinsics::ldglobal"; in HandleLdglobal()
593 LOG_INST() << "intrinsics::ldtrue"; in HandleLdtrue()
602 LOG_INST() << "intrinsics::ldfalse"; in HandleLdfalse()
611 LOG_INST() << "intrinsics::getunmappedargs"; in HandleGetunmappedargs()
626 LOG_INST() << "intrinsics::asyncfunctionenter"; in HandleAsyncfunctionenter()
[all …]
Dinterpreter-inl.h1332 LOG_INST() << "intrinsics::callspread" in RunInternal()
1349 LOG_INST() << "intrinsics::callspread" in RunInternal()
1457 LOG_INST() << "intrinsics::ldnan"; in RunInternal()
1462 LOG_INST() << "intrinsics::ldinfinity"; in RunInternal()
1467 LOG_INST() << "intrinsics::ldundefined"; in RunInternal()
1472 LOG_INST() << "intrinsics::ldnull"; in RunInternal()
1477 LOG_INST() << "intrinsics::ldsymbol"; in RunInternal()
1482 LOG_INST() << "intrinsics::ldglobal"; in RunInternal()
1487 LOG_INST() << "intrinsics::ldtrue"; in RunInternal()
1492 LOG_INST() << "intrinsics::ldfalse"; in RunInternal()
[all …]
/arkcompiler/runtime_core/disassembler/templates/
Dintrinsics_gen.h.erb16 namespace panda::intrinsics {
19 % Runtime::intrinsics.each do |intrinsic|
46 % Runtime::intrinsics.each do |intrinsic|
81 } // namespace panda::intrinsics
83 % Runtime::intrinsics.uniq { |i| i.impl }.each do |intrinsic|

123