| /arkcompiler/runtime_core/runtime/ |
| D | runtime.yaml | 25 # 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 …]
|
| D | intrinsics.cmake | 25 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
|
| D | RuntimeIntrinsicsPostPlugins.cmake | 14 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/ |
| D | intrinsics_enum.h.erb | 24 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
|
| D | intrinsics.inl.h.erb | 19 % next unless plugin_opts["Intrinsics"] 20 % if plugin_opts["Intrinsics"]["header"] 21 #include "<%= plugin_opts["Intrinsics"]["header"] %>"
|
| D | intrinsics_gen.h.erb | 16 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/ |
| D | CompilerIntrinsicsPostPlugins.cmake | 17 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
|
| D | BUILD.gn | 296 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/ |
| D | intrinsics_enum.inl.erb | 18 % 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|
|
| D | intrinsics_stub.inl.erb | 19 % next unless plugin_opts["Intrinsics"] 20 % if plugin_opts["Intrinsics"]["stub_inl"] 21 #include "<%= plugin_opts["Intrinsics"]["stub_inl"] %>"
|
| D | intrinsics_ir_build_virtual_call.inl.erb | 19 % 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"] %>"
|
| D | intrinsics_stub.inl.h.erb | 19 % next unless plugin_opts["Intrinsics"] 20 % if plugin_opts["Intrinsics"]["stub_inl_h"] 21 #include "<%= plugin_opts["Intrinsics"]["stub_inl_h"] %>"
|
| D | intrinsics_ir_build.inl.h.erb | 19 % next unless plugin_opts["Intrinsics"] 20 % if plugin_opts["Intrinsics"]["ir_build_inl_h"] 21 #include "<%= plugin_opts["Intrinsics"]["ir_build_inl_h"] %>"
|
| D | intrinsics_inline.inl.erb | 19 % next unless plugin_opts["Intrinsics"] 20 % if plugin_opts["Intrinsics"]["intrinsic_inline_inl"] 21 #include "<%= plugin_opts["Intrinsics"]["intrinsic_inline_inl"] %>"
|
| D | intrinsics_ir_build_static_call.inl.erb | 19 % 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"] %>"
|
| D | intrinsics_types_resolving.inl.h.erb | 19 % 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"] %>"
|
| D | intrinsics_can_encode.inl.erb | 19 % next unless plugin_opts["Intrinsics"] 20 % if plugin_opts["Intrinsics"]["can_encode_inl"] 21 #include "<%= plugin_opts["Intrinsics"]["can_encode_inl"] %>"
|
| D | intrinsics_codegen_ext.inl.h.erb | 19 % next unless plugin_opts["Intrinsics"] 20 % if plugin_opts["Intrinsics"]["codegen"] 21 #include "<%= plugin_opts["Intrinsics"]["codegen"] %>"
|
| D | get_intrinsics.inl.erb | 18 % 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);
|
| D | can_encode_builtin.inl.erb | 25 % 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…
|
| D | compiler_intrinsics.rb | 67 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/ |
| D | disable_intrinsics.pa | 14 #! 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/ |
| D | interpreter_assembly.cpp | 534 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 …]
|
| D | interpreter-inl.h | 1332 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/ |
| D | intrinsics_gen.h.erb | 16 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|
|