Home
last modified time | relevance | path

Searched full:bridge (Results 1 – 25 of 132) sorted by relevance

123456

/arkcompiler/runtime_core/static_core/runtime/entrypoints/
Dentrypoints.yaml18 # - external: don't generate entrypoint and bridge declarations, initialize table's element by n…
20 # - intrinsic: this is call of intrinsic wrapped in entrypoint bridge
27 bridge: entrypoint
35 bridge: entrypoint
43 bridge: entrypoint
52 bridge: none
61 bridge: entrypoint
70 bridge: slow_path
79 bridge: entrypoint
88 bridge: none
[all …]
Dentrypoints_gen.S.erb20 % if entrypoint.bridge == 'slow_path'
22 % elsif entrypoint.bridge == 'odd_saved'
24 % elsif entrypoint.bridge == 'odd_saved1'
26 % elsif entrypoint.bridge == 'odd_saved2'
28 % elsif entrypoint.bridge == 'odd_saved3'
30 % elsif entrypoint.bridge == 'odd_saved4'
32 % elsif entrypoint.bridge == 'entrypoint'
35 % raise "Unsupported bridge: #{entrypoint.bridge}"
Dentrypoints.rb24 …abort "ERROR: 'bridge' field must be specified for #{self.entrypoint}" unless dscr['bridge'] # !se…
33 "#{self.name}Bridge"
37 return !self.bridge.nil? && self.bridge != 'none'
/arkcompiler/runtime_core/static_core/plugins/ets/runtime/
Dets_entrypoints.yaml18 # - external: don't generate entrypoint and bridge declarations, initialize table's element by n…
20 # - intrinsic: this is call of intrinsic wrapped in entrypoint bridge
26 bridge: entrypoint
36 bridge: entrypoint
47 bridge: slow_path
59 bridge: slow_path
71 bridge: slow_path
83 bridge: slow_path
95 bridge: odd_saved
107 bridge: odd_saved
[all …]
/arkcompiler/runtime_core/static_core/docs/
Ddeoptimization.md65 If the deoptimized method was called from interpreter, `Deoptimize` calls the bridge `DeoptimizeAft…
80bridge/arch/aarch64/deoptimization_aarch64.S), [deoptimization_arm.S](../runtime/bridge/arch/arm/d…
84 … current CFrame to I2C(Interpreter To Compile) bridge, set last IFrame's previous frame to this C2…
86bridge/arch/aarch64/deoptimization_aarch64.S), [deoptimization_arm.S](../runtime/bridge/arch/arm/d…
131 Details in [bridge.cpp](runtime/bridge/bridge.cpp)
Druntime-compiled_code-interaction.md94 …ield `ark::Frame::prev_` contains a pointer to the previous interpreter (or compiled bridge) frame.
177 ## Calling a function from compiled code: Bridge function
178 The Compiler have an entrypoints table. Each entrypoint contains a link to the Bridge Function.
179 The Bridge Functions are auto-generated for each runtime function to be called using the macro asse…
180 The Bridge Function sets up the Boundary Frame and performs the call to the actual runtime function.
184 * (callee saved regisers goes to Bridge Function stack frame, caller saved registers goes to the cu…
186 * Bridge Function address load and branch intruction
189 The bridge function does:
190 * setup the Bridge Function stack frame
195 Bridge Function stack frame:
[all …]
/arkcompiler/runtime_core/static_core/runtime/
DCMakeLists.txt25 bridge/bridge.cpp
180 bridge/arch/arm/interpreter_to_compiled_code_bridge_arm.S
181 bridge/arch/arm/compiled_code_to_interpreter_bridge_arm.S
182 bridge/arch/arm/compiled_code_to_interpreter_bridge_dyn_arm.S
183 bridge/arch/arm/interpreter_to_compiled_code_bridge_dyn_arm.S
184 bridge/arch/arm/compiled_code_to_runtime_bridge_arm.S
185 bridge/arch/arm/expand_compiled_code_args_dyn_arm.S
186 bridge/arch/arm/deoptimization_arm.S
194 bridge/arch/arm/interpreter_to_compiled_code_bridge_armhf.S
195 bridge/arch/arm/compiled_code_to_interpreter_bridge_armhf.S
[all …]
DBUILD.gn157 "bridge/bridge.cpp",
322 "bridge/arch/arm/compiled_code_to_interpreter_bridge_arm.S",
323 "bridge/arch/arm/compiled_code_to_interpreter_bridge_dyn_arm.S",
324 "bridge/arch/arm/compiled_code_to_runtime_bridge_arm.S",
325 "bridge/arch/arm/deoptimization_arm.S",
326 "bridge/arch/arm/expand_compiled_code_args_dyn_arm.S",
327 "bridge/arch/arm/interpreter_to_compiled_code_bridge_arm.S",
328 "bridge/arch/arm/interpreter_to_compiled_code_bridge_dyn_arm.S",
338 "bridge/arch/aarch64/compiled_code_to_interpreter_bridge_aarch64.S",
339 "bridge/arch/aarch64/compiled_code_to_interpreter_bridge_dyn_aarch64.S",
[all …]
/arkcompiler/runtime_core/static_core/runtime/bridge/
Dbridge.cpp16 #include "runtime/bridge/bridge.h"
31 const void *bridge = nullptr; in GetCompiledCodeToInterpreterBridge() local
34 bridge = reinterpret_cast<const void *>(CompiledCodeToInterpreterBridgeDyn); in GetCompiledCodeToInterpreterBridge()
37 bridge = reinterpret_cast<const void *>(CompiledCodeToInterpreterBridgeDyn); in GetCompiledCodeToInterpreterBridge()
39 bridge = reinterpret_cast<const void *>(CompiledCodeToInterpreterBridge); in GetCompiledCodeToInterpreterBridge()
42 return bridge; in GetCompiledCodeToInterpreterBridge()
/arkcompiler/runtime_core/compiler/optimizer/templates/intrinsics/
Dget_intrinsics.inl.erb25 extern "C" void <%= intrinsic.impl.rpartition('::').last %>Bridge();
32 extern "C" void <%= impl.rpartition('::').last %>Bridge();
82 % bridge = intrinsic.respond_to?(:fast_path) ? intrinsic.fast_path : "#{intrinsic.impl.rpartition…
88 …untime_call ? reinterpret_cast<uintptr_t>(<%= "#{intrinsic.impl.rpartition('::').last}Bridge" %>) :
96 return runtime_call ? reinterpret_cast<uintptr_t>(<%= bridge %>) :
Dentrypoints_bridge_asm_macro.inl.erb16 // Generate macro for each intrinsic - bridge name, function name, parameters count:
26 ENTRYPOINT <%= implementation %>Bridge, <%= implementation %>, <%= intrn.impl_signature.args.count.…
/arkcompiler/runtime_core/static_core/compiler/docs/
Dbridges.md28 **`CreateBridgeInSS`** is using for append `source` as a bridge in all SaveStates from `ArenaVector…
53 4. SaveState v1(bridge), ...
55 7. SaveState v1(bridge), ...
78 2. SaveState v0(bridge) -> ... <==| Added bridge on way
/arkcompiler/runtime_core/static_core/compiler/optimizer/templates/intrinsics/
Dget_intrinsics.inl.erb32 extern "C" void <%= intrinsic.impl.rpartition('::').last %>Bridge();
39 extern "C" void <%= impl.rpartition('::').last %>Bridge();
137 % bridge = intrinsic.respond_to?(:fast_path) ? intrinsic.fast_path : "#{intrinsic.impl.rpartition…
156 …runtimeCall ? reinterpret_cast<uintptr_t>(<%= "#{intrinsic.impl.rpartition('::').last}Bridge" %>) :
165 return runtimeCall ? reinterpret_cast<uintptr_t>(<%= bridge %>) :
Dentrypoints_bridge_asm_macro.inl.erb16 // Generate macro for each intrinsic - bridge name, function name, parameters count:
27 ENTRYPOINT <%= implementation %>Bridge, <%= implementation %>, <%= intrn.impl_signature.args.count.…
/arkcompiler/runtime_core/docs/
Druntime-compiled_code-interaction.md88 …ld `panda::Frame::prev_` contains a pointer to the previous interpreter (or compiled bridge) frame.
171 ## Calling a function from compiled code: Bridge function
172 The Compiler have an entrypoints table. Each entrypoint contains a link to the Bridge Function.
173 The Bridge Functions are auto-generated for each runtime function to be called using the macro asse…
174 The Bridge Function sets up the Boundary Frame and performs the call to the actual runtime function.
178 * (callee saved regisers goes to Bridge Function stack frame, caller saved registers goes to the cu…
180 * Bridge Function address load and branch intruction
183 The bridge function does:
184 * setup the Bridge Function stack frame
189 Bridge Function stack frame:
[all …]
/arkcompiler/runtime_core/static_core/libllvmbackend/templates/
Dentrypoints_gen.inl.erb22 return ark::llvmbackend::BridgeType::<%= entrypoint.bridge %>;
25 … ASSERT_DO(false, (std::cerr << "Cannot get bridge for EntrypointId = " << static_cast<int>(id)
Dentrypoints.rb95 def bridge method in Entrypoint
96 @dscr['bridge'].upcase
/arkcompiler/runtime_core/static_core/runtime/bridge/arch/amd64/
Dcompiled_code_to_runtime_bridge_amd64.S186 // Bridge frame:
191 // Bridge frame, slot 1 = npc = retaddr (StackMap stays just after the bridge call)
196 // Bridge frame, slot 2 = COMPILED_CODE_TO_INTERPRETER_BRIDGE flag
198 // Bridge frame, slot 3 = parent frame pointer
217 // call to BoundaryFrame bridge
/arkcompiler/runtime_core/static_core/runtime/bridge/arch/arm/
Dcompiled_code_to_runtime_bridge_arm.S230 …p, #(BRIDGE_FRAME_SIZE - 1 * 4)] // Bridge frame, slot 1 = npc = LR (the StackMap stays just a…
234 …str lr, [sp, #(BRIDGE_FRAME_SIZE - 2 * 4)] // Bridge frame, slot 2 = COMPILED_CODE_TO_INTERPRE…
235 str fp, [sp, #(BRIDGE_FRAME_SIZE - 3 * 4)] // Bridge frame, slot 3 = parent frame pointer
242 …// StackWalker requires callee-saved FP registers to be saved unconditionally in the runtime bridge
/arkcompiler/runtime_core/static_core/tests/checked/
Dfloat_intrinsic.pa14 #! CHECKER Check call intrinsic which returns float value, through runtime bridge (JIT)
23 #! CHECKER Check call intrinsic which returns float value, through runtime bridge (AOT)
/arkcompiler/runtime_core/static_core/runtime/templates/
Dintrinsics.h.erb21 #include "bridge/bridge.h"
/arkcompiler/runtime_core/static_core/irtoc/backend/compiler/
Dcodegen_fastpath.h32 …* Slow path is invoked via code-to-runtime bridge, which forms boundary frame and saves callee reg…
35 …* To call C-implemented entrypoint (slow path) we need a separate bridge, because it shouldn't sav…
/arkcompiler/runtime_core/static_core/runtime/include/
Dvalue.h24 #include "runtime/bridge/bridge.h"
/arkcompiler/runtime_core/static_core/runtime/arch/aarch64/
Dcall_runtime.S231 …lr, [sp, #(BRIDGE_FRAME_SIZE - 8)] // Bridge frame, slot 1 = npc = LR (the StackMap is just aft…
235 str lr, [sp, #(BRIDGE_FRAME_SIZE - 16)] // Bridge frame, slot 2 = COMPILED_CODE_TO_INTERPRETER
236 str fp, [sp, #(BRIDGE_FRAME_SIZE - 24)] // Bridge frame, slot 3 = parent frame pointer
242 …// StackWalker requires callee-saved FP registers to be saved unconditionally in the runtime bridge
/arkcompiler/runtime_core/static_core/runtime/tooling/sampler/
Dsampling_profiler.cpp343 …ample.stackInfo.managedStack[stackCounter].pandaFilePtr = helpers::ToUnderlying(FrameKind::BRIDGE); in CollectBoundaryFrames()
344 … sample.stackInfo.managedStack[stackCounter].fileId = helpers::ToUnderlying(FrameKind::BRIDGE); in CollectBoundaryFrames()
350 …ample.stackInfo.managedStack[stackCounter].pandaFilePtr = helpers::ToUnderlying(FrameKind::BRIDGE); in CollectBoundaryFrames()
351 … sample.stackInfo.managedStack[stackCounter].fileId = helpers::ToUnderlying(FrameKind::BRIDGE); in CollectBoundaryFrames()
377 …ample.stackInfo.managedStack[stackCounter].pandaFilePtr = helpers::ToUnderlying(FrameKind::BRIDGE); in ProcessCompiledTopFrame()
378 … sample.stackInfo.managedStack[stackCounter].fileId = helpers::ToUnderlying(FrameKind::BRIDGE); in ProcessCompiledTopFrame()
381 // fp is not set yet, so cframe not finished, currently in bridge, previous frame iframe in ProcessCompiledTopFrame()
395 …ample.stackInfo.managedStack[stackCounter].pandaFilePtr = helpers::ToUnderlying(FrameKind::BRIDGE); in ProcessCompiledTopFrame()
396 … sample.stackInfo.managedStack[stackCounter].fileId = helpers::ToUnderlying(FrameKind::BRIDGE); in ProcessCompiledTopFrame()

123456