Home
last modified time | relevance | path

Searched refs:assembler (Results 1 – 25 of 60) sorted by relevance

123

/arkcompiler/ets_runtime/ecmascript/compiler/trampoline/aarch64/
Dcommon_call.h55 …static void PushUndefinedWithArgc(ExtendedAssembler *assembler, Register glue, Register argc, Regi…
57 …static void PushArgsWithArgv(ExtendedAssembler *assembler, Register glue, Register argc, Register …
59 static void PushAsmInterpBridgeFrame(ExtendedAssembler *assembler);
60 static void PopAsmInterpBridgeFrame(ExtendedAssembler *assembler);
61 …static void StackOverflowCheck(ExtendedAssembler *assembler, Register glue, Register currentSlot, …
63 static void PushLeaveFrame(ExtendedAssembler *assembler, Register glue);
64 static void PopLeaveFrame(ExtendedAssembler *assembler);
69 static void CallRuntime(ExtendedAssembler *assembler);
71 static void JSFunctionEntry(ExtendedAssembler *assembler);
73 static void OptimizedCallAndPushUndefined(ExtendedAssembler *assembler);
[all …]
Dasm_interpreter_call.cpp33 #define __ assembler->
43 void AsmInterpreterCall::AsmInterpreterEntry(ExtendedAssembler *assembler) in AsmInterpreterEntry() argument
48 PushAsmInterpEntryFrame(assembler); in AsmInterpreterEntry()
50 PopAsmInterpEntryFrame(assembler); in AsmInterpreterEntry()
60 AsmInterpEntryDispatch(assembler); in AsmInterpreterEntry()
70 void AsmInterpreterCall::AsmInterpEntryDispatch(ExtendedAssembler *assembler) in AsmInterpEntryDispatch() argument
101 CallNativeEntry(assembler); in AsmInterpEntryDispatch()
107 JSCallCommonEntry(assembler, JSCallMode::CALL_ENTRY); in AsmInterpEntryDispatch()
122 void AsmInterpreterCall::JSCallCommonEntry(ExtendedAssembler *assembler, JSCallMode mode) in JSCallCommonEntry() argument
139 [[maybe_unused]] TempRegister1Scope scope(assembler); in JSCallCommonEntry()
[all …]
Doptimized_call.cpp33 #define __ assembler->
59 void OptimizedCall::CallRuntime(ExtendedAssembler *assembler) in CallRuntime() argument
100 void OptimizedCall::IncreaseStackForArguments(ExtendedAssembler *assembler, Register argc, Register… in IncreaseStackForArguments() argument
136 void OptimizedCall::JSFunctionEntry(ExtendedAssembler *assembler) in JSFunctionEntry() argument
148 PushJSFunctionEntryFrame (assembler, prevFpReg); in JSFunctionEntry()
166 PopJSFunctionEntryFrame(assembler, Register(X2)); in JSFunctionEntry()
200 void OptimizedCall::OptimizedCallAndPushUndefined(ExtendedAssembler *assembler) in OptimizedCallAndPushUndefined() argument
229 PushOptimizedArgsConfigFrame(assembler); in OptimizedCallAndPushUndefined()
233 IncreaseStackForArguments(assembler, argC, currentSp); in OptimizedCallAndPushUndefined()
235 TempRegister1Scope scope1(assembler); in OptimizedCallAndPushUndefined()
[all …]
Dcommon_call.cpp33 #define __ assembler->
35 void CommonCall::PushAsmInterpBridgeFrame(ExtendedAssembler *assembler) in PushAsmInterpBridgeFrame() argument
40 [[maybe_unused]] TempRegister1Scope scope1(assembler); in PushAsmInterpBridgeFrame()
50 if (!assembler->FromInterpreterHandler()) { in PushAsmInterpBridgeFrame()
55 void CommonCall::PopAsmInterpBridgeFrame(ExtendedAssembler *assembler) in PopAsmInterpBridgeFrame() argument
59 if (!assembler->FromInterpreterHandler()) { in PopAsmInterpBridgeFrame()
69 void CommonCall::PushLeaveFrame(ExtendedAssembler *assembler, Register glue) in PushLeaveFrame() argument
71 TempRegister2Scope temp2Scope(assembler); in PushLeaveFrame()
87 void CommonCall::PopLeaveFrame(ExtendedAssembler *assembler) in PopLeaveFrame() argument
91 TempRegister2Scope temp2Scope(assembler); in PopLeaveFrame()
[all …]
Doptimized_fast_call.cpp33 #define __ assembler->
42 void OptimizedFastCall::OptimizedFastCallEntry(ExtendedAssembler *assembler) in OptimizedFastCallEntry() argument
51 OptimizedCall::PushJSFunctionEntryFrame (assembler, prevFpReg); in OptimizedFastCallEntry()
64 OptimizedCall::PopJSFunctionEntryFrame(assembler, Register(X2)); in OptimizedFastCallEntry()
96 void OptimizedFastCall::OptimizedFastCallAndPushUndefined(ExtendedAssembler *assembler) in OptimizedFastCallAndPushUndefined() argument
114 OptimizedCall::PushOptimizedArgsConfigFrame(assembler); in OptimizedFastCallAndPushUndefined()
204 OptimizedCall::IncreaseStackForArguments(assembler, expectedNumArgs, currentSp); in OptimizedFastCallAndPushUndefined()
205 TempRegister1Scope scope1(assembler); in OptimizedFastCallAndPushUndefined()
206 TempRegister2Scope scope2(assembler); in OptimizedFastCallAndPushUndefined()
210 PushUndefinedWithArgc(assembler, glue, tmp, undefinedValue, currentSp, nullptr, nullptr); in OptimizedFastCallAndPushUndefined()
[all …]
/arkcompiler/ets_runtime/ecmascript/compiler/trampoline/x64/
Dcommon_call.h32 static void CopyArgumentWithArgV(ExtendedAssembler *assembler, Register argc, Register argV);
33 static void PushAsmInterpBridgeFrame(ExtendedAssembler *assembler);
34 static void PopAsmInterpBridgeFrame(ExtendedAssembler *assembler);
35 static void PushUndefinedWithArgc(ExtendedAssembler *assembler, Register argc);
36 static void GetArgvAtStack(ExtendedAssembler *assembler);
37 …static void PushArgsWithArgvAndCheckStack(ExtendedAssembler *assembler, Register glue, Register ar…
39 …static void StackOverflowCheck(ExtendedAssembler *assembler, Register glue, Register numArgs, Regi…
45 static void CallRuntime(ExtendedAssembler *assembler);
47 static void JSFunctionEntry(ExtendedAssembler *assembler);
49 static void OptimizedCallAndPushUndefined(ExtendedAssembler *assembler);
[all …]
Dasm_interpreter_call.cpp31 #define __ assembler->
40 void AsmInterpreterCall::AsmInterpreterEntry(ExtendedAssembler *assembler) in AsmInterpreterEntry() argument
46 PushAsmInterpEntryFrame(assembler); in AsmInterpreterEntry()
48 PopAsmInterpEntryFrame(assembler); in AsmInterpreterEntry()
57 AsmInterpEntryDispatch(assembler); in AsmInterpreterEntry()
64 void AsmInterpreterCall::GeneratorReEnterAsmInterp(ExtendedAssembler *assembler) in GeneratorReEnterAsmInterp() argument
69 PushAsmInterpEntryFrame(assembler); in GeneratorReEnterAsmInterp()
71 PopAsmInterpEntryFrame(assembler); in GeneratorReEnterAsmInterp()
80 GeneratorReEnterAsmInterpDispatch(assembler); in GeneratorReEnterAsmInterp()
83 void AsmInterpreterCall::GeneratorReEnterAsmInterpDispatch(ExtendedAssembler *assembler) in GeneratorReEnterAsmInterpDispatch() argument
[all …]
Dcommon_call.cpp31 #define __ assembler->
33 void CommonCall::CopyArgumentWithArgV(ExtendedAssembler *assembler, Register argc, Register argV) in CopyArgumentWithArgV() argument
44 void CommonCall::PushAsmInterpBridgeFrame(ExtendedAssembler *assembler) in PushAsmInterpBridgeFrame() argument
52 if (!assembler->FromInterpreterHandler()) { in PushAsmInterpBridgeFrame()
57 void CommonCall::GetArgvAtStack(ExtendedAssembler *assembler) in GetArgvAtStack() argument
65 void CommonCall::PopAsmInterpBridgeFrame(ExtendedAssembler *assembler) in PopAsmInterpBridgeFrame() argument
67 if (!assembler->FromInterpreterHandler()) { in PopAsmInterpBridgeFrame()
76 void CommonCall::PushUndefinedWithArgc(ExtendedAssembler *assembler, Register argc) in PushUndefinedWithArgc() argument
85 void CommonCall::PushArgsWithArgvAndCheckStack(ExtendedAssembler *assembler, Register glue, Registe… in PushArgsWithArgvAndCheckStack() argument
89 StackOverflowCheck(assembler, glue, argc, op1, op2, stackOverflow); in PushArgsWithArgvAndCheckStack()
[all …]
Doptimized_call.cpp32 #define __ assembler->
53 void OptimizedCall::JSFunctionEntry(ExtendedAssembler *assembler) in JSFunctionEntry() argument
62 PushJSFunctionEntryFrame(assembler, prevFpReg); in JSFunctionEntry()
118 void OptimizedCall::OptimizedCallAndPushUndefined(ExtendedAssembler *assembler) in OptimizedCallAndPushUndefined() argument
190 void OptimizedCall::OptimizedCallAsmInterpreter(ExtendedAssembler *assembler) in OptimizedCallAsmInterpreter() argument
193 PushAsmInterpBridgeFrame(assembler); in OptimizedCallAsmInterpreter()
195 PopAsmInterpBridgeFrame(assembler); in OptimizedCallAsmInterpreter()
198 AsmInterpreterCall::JSCallCommonEntry(assembler, JSCallMode::CALL_FROM_AOT); in OptimizedCallAsmInterpreter()
231 void OptimizedCall::CallBuiltinTrampoline(ExtendedAssembler *assembler) in CallBuiltinTrampoline() argument
240 AsmInterpreterCall::PushBuiltinFrame(assembler, glueReg, FrameType::BUILTIN_CALL_LEAVE_FRAME); in CallBuiltinTrampoline()
[all …]
Doptimized_fast_call.cpp32 #define __ assembler->
42 void OptimizedFastCall::OptimizedFastCallEntry(ExtendedAssembler *assembler) in OptimizedFastCallEntry() argument
49 OptimizedCall::PushJSFunctionEntryFrame(assembler, prevFpReg); in OptimizedFastCallEntry()
92 void OptimizedFastCall::OptimizedFastCallAndPushUndefined(ExtendedAssembler *assembler) in OptimizedFastCallAndPushUndefined() argument
106 JsFunctionArgsConfigFrameScope scope(assembler); // push frametype and callee save in OptimizedFastCallAndPushUndefined()
217 void OptimizedFastCall::JSFastCallWithArgV(ExtendedAssembler *assembler) in JSFastCallWithArgV() argument
227 OptimizedUnfoldArgVFrameFrameScope scope(assembler); // push frametype and callee save in JSFastCallWithArgV()
259 CopyArgumentWithArgV(assembler, rax, argV); in JSFastCallWithArgV()
278 void OptimizedFastCall::JSFastCallWithArgVAndPushUndefined(ExtendedAssembler *assembler) in JSFastCallWithArgVAndPushUndefined() argument
295 OptimizedUnfoldArgVFrameFrame1Scope scope(assembler); in JSFastCallWithArgVAndPushUndefined()
/arkcompiler/ets_runtime/ecmascript/compiler/
Dassembler_module.cpp42 x64::ExtendedAssembler assembler(chunk, this); in GenerateStubsX64() local
50 stub->GenerateX64(&assembler); in GenerateStubsX64()
53 buffer_ = assembler.GetBegin(); in GenerateStubsX64()
54 bufferSize_ = assembler.GetCurrentPosition(); in GenerateStubsX64()
59 aarch64::ExtendedAssembler assembler(chunk, this); in GenerateStubsAarch64() local
67 stub->GenerateAarch64(&assembler); in GenerateStubsAarch64()
70 buffer_ = assembler.GetBegin(); in GenerateStubsAarch64()
71 bufferSize_ = assembler.GetCurrentPosition(); in GenerateStubsAarch64()
266 void name##Stub::GenerateX64(Assembler *assembler) \
268 x64::ExtendedAssembler *assemblerX64 = static_cast<x64::ExtendedAssembler*>(assembler); \
[all …]
Dassembler_module.h102 virtual void GenerateX64(Assembler* assembler) = 0;
103 virtual void GenerateAarch64(Assembler* assembler) = 0;
111 void GenerateX64(Assembler* assembler) override; \
112 void GenerateAarch64(Assembler* assembler) override; \
/arkcompiler/runtime_core/assembler/tests/
DBUILD.gn17 #module_out_path = "$ark_root/assembler"
22 "$ark_root/assembler",
27 "$ark_root/plugins/ecmascript/assembler",
49 "$ark_root/assembler:arkassembler_public_config",
58 "$ark_root/assembler:libarkassembler",
/arkcompiler/ets_runtime/ecmascript/compiler/assembler/aarch64/
Dextend_assembler.h120 explicit TempRegister1Scope(ExtendedAssembler *assembler) : assembler_(assembler) {} in TempRegister1Scope() argument
134 explicit TempRegister2Scope(ExtendedAssembler *assembler) : assembler_(assembler) {} in TempRegister2Scope() argument
/arkcompiler/runtime_core/disassembler/
DBUILD.gn33 "$ark_root/assembler:arkassembler_public_config",
72 "$ark_root/assembler:libarkassembler",
108 "$ark_root/assembler:libarkassembler_frontend_static",
129 "$ark_root/assembler:arkassembler_public_config",
136 "$ark_root/assembler:libarkassembler_frontend_static",
160 "$ark_root//assembler/asm_isapi.rb",
/arkcompiler/runtime_core/assembler/
DBUILD.gn16 "$ark_root/assembler",
21 "$ark_root/plugins/ecmascript/assembler",
52 print("add assembler plugin: $plugin")
54 libarkassembler_configs += [ "$plugin_dir:assembler" ]
62 libarkassembler_sources += [ "$plugin_dir/assembler/$src" ]
/arkcompiler/runtime_core/bytecode_optimizer/
DBUILD.gn41 "$ark_root/assembler:arkassembler_public_config",
59 "$ark_root/assembler:libarkassembler",
87 "$ark_root/assembler:libarkassembler_frontend_static",
109 "$ark_root/assembler/asm_isapi.rb",
/arkcompiler/runtime_core/assembler/extensions/
DAssemblerExtPostPlugins.cmake15 set(REGISTER_EXTENSIONS_H ${PANDA_BINARY_ROOT}/assembler/register_extensions.h)
18 TEMPLATE ${PANDA_ROOT}/assembler/extensions/register_extensions.h.erb
/arkcompiler/runtime_core/plugins/ecmascript/tests/
DBUILD.gn24 "$ark_root/assembler:arkassembler_public_config",
30 "$ark_root/assembler:libarkassembler_static",
/arkcompiler/runtime_core/libziparchive/tests/
DBUILD.gn24 "$ark_root/assembler:arkassembler_public_config",
31 "$ark_root/assembler:libarkassembler_static",
/arkcompiler/ets_runtime/ecmascript/compiler/tests/
DBUILD.gn24 "../assembler/tests/assembler_aarch64_test.cpp",
25 "../assembler/tests/assembler_x64_test.cpp",
/arkcompiler/ets_runtime/ecmascript/compiler/assembler/x64/
Dextended_assembler_x64.h105 explicit TempRegisterScope(ExtendedAssembler *assembler) : assembler_(assembler) {} in TempRegisterScope() argument
/arkcompiler/ets_frontend/ts2panda/ts2abc/
DBUILD.gn36 "$ark_root/assembler:arkassembler_public_config",
111 "$ark_root/assembler:libarkassembler_frontend_static",
125 "$ark_root/assembler:libarkassembler",
/arkcompiler/runtime_core/libpandafile/tests/
DBUILD.gn32 "$ark_root/assembler:arkassembler_public_config",
40 "$ark_root/assembler:libarkassembler_static",
/arkcompiler/ets_runtime/ecmascript/ts_types/tests/
DBUILD.gn30 "$ark_root/assembler:arkassembler_public_config",
38 "//arkcompiler/runtime_core/assembler:libarkassembler_static",

123