Home
last modified time | relevance | path

Searched refs:kungfu (Results 1 – 25 of 232) sorted by relevance

12345678910

/arkcompiler/ets_runtime/ecmascript/compiler/tests/
Dlowering_relate_gate_test.cpp29 using ecmascript::kungfu::Circuit;
30 using ecmascript::kungfu::GateAccessor;
31 using ecmascript::kungfu::OpCode;
32 using ecmascript::kungfu::GateType;
33 using ecmascript::kungfu::MachineType;
34 using ecmascript::kungfu::CircuitBuilder;
35 using ecmascript::kungfu::Verifier;
36 using ecmascript::kungfu::TypedBinOp;
37 using ecmascript::kungfu::Label;
38 using ecmascript::kungfu::Variable;
[all …]
/arkcompiler/ets_runtime/ecmascript/deoptimizer/
Ddeoptimizer.h41 kungfu::CalleeRegAndOffsetVec calleeRegAndOffset;
94 using ARKDeopt = kungfu::ARKDeopt;
95 using CalleeReg = kungfu::CalleeReg;
96 using CalleeRegAndOffsetVec = kungfu::CalleeRegAndOffsetVec;
97 using CommonArgIdx = kungfu::CommonArgIdx;
98 using DeoptType = kungfu::DeoptType;
99 using DwarfRegType = kungfu::LLVMStackMapType::DwarfRegType;
100 using DwarfRegAndOffsetType = kungfu::LLVMStackMapType::DwarfRegAndOffsetType;
101 using IntType = kungfu::LLVMStackMapType::IntType;
102 using LargeInt = kungfu::LLVMStackMapType::LargeInt;
[all …]
/arkcompiler/ets_runtime/ecmascript/compiler/
Drt_call_signature.h22 namespace panda::ecmascript::kungfu {
90 static_assert(static_cast<int>(kungfu::RuntimeStubCSigns::ID_CallRuntime) ==
91 static_cast<int>(kungfu::RuntimeStubCSigns::ASM_STUB_ID_CallRuntime));
92 static_assert(static_cast<int>(kungfu::RuntimeStubCSigns::ID_AsmInterpreterEntry) ==
93 static_cast<int>(kungfu::RuntimeStubCSigns::ASM_STUB_ID_AsmInterpreterEntry));
94 #define RTSTUB_ID(name) kungfu::RuntimeStubCSigns::ID_##name
Dstub_compiler.cpp33 namespace panda::ecmascript::kungfu { namespace
174 std::cerr << panda::ecmascript::kungfu::GetHelper(); in main()
186 panda::ecmascript::kungfu::CompilerLog logOpt(logOption); in main()
187 panda::ecmascript::kungfu::MethodLogList logList(methodsList); in main()
188 …panda::ecmascript::kungfu::StubCompiler compiler(triple, stubFile, optLevel, relocMode, &logOpt, &… in main()
Dts_hclass_generator.h22 namespace panda::ecmascript::kungfu {
29 void UpdateTSHClassFromPGO(const kungfu::GateType &type, const PGOHClassLayoutDesc &desc,
Dtype.cpp18 namespace panda::ecmascript::kungfu { namespace
Dtest_stubs_signature.h18 namespace panda::ecmascript::kungfu {
/arkcompiler/ets_runtime/ecmascript/ts_types/
Dts_manager.h227 …GlobalTSTypeRef PUBLIC_API GetIndexSignType(GlobalTSTypeRef objType, kungfu::GateType indexType) c…
229 inline GlobalTSTypeRef PUBLIC_API CreateClassInstanceType(kungfu::GateType gateType) in CreateClassInstanceType()
237 inline GlobalTSTypeRef PUBLIC_API GetClassType(kungfu::GateType gateType) in GetClassType()
261 inline GlobalTSTypeRef PUBLIC_API GetIteratorInstanceElementGt(kungfu::GateType gateType) const in GetIteratorInstanceElementGt()
269 bool PUBLIC_API GetSuperGateType(kungfu::GateType &gateType) const;
305 inline GlobalTSTypeRef PUBLIC_API GetFuncReturnValueTypeGT(kungfu::GateType gateType) const in GetFuncReturnValueTypeGT()
313 std::string PUBLIC_API GetFuncName(kungfu::GateType gt) const;
317 inline GlobalTSTypeRef PUBLIC_API GetArrayParameterTypeGT(kungfu::GateType gateType) const in GetArrayParameterTypeGT()
362 std::string PUBLIC_API GetTypeStr(kungfu::GateType gateType) const;
364 int PUBLIC_API GetElementsIndexByArrayType(const kungfu::GateType &gateType,
[all …]
Dts_manager.cpp41 int TSManager::GetElementsIndexByArrayType(const kungfu::GateType &gateType, in GetElementsIndexByArrayType()
51 int TSManager::GetHClassIndexByArrayType(const kungfu::GateType &gateType, in GetHClassIndexByArrayType()
61 int TSManager::GetHClassIndexByObjectType(const kungfu::GateType &gateType) in GetHClassIndexByObjectType()
71 int TSManager::GetHClassIndexByInstanceGateType(const kungfu::GateType &gateType) in GetHClassIndexByInstanceGateType()
82 int TSManager::GetHClassIndexByClassGateType(const kungfu::GateType &gateType) in GetHClassIndexByClassGateType()
92 int TSManager::GetConstructorHClassIndexByClassGateType(const kungfu::GateType &gateType) in GetConstructorHClassIndexByClassGateType()
259 GlobalTSTypeRef TSManager::GetIndexSignType(GlobalTSTypeRef objType, kungfu::GateType indexType) co… in GetIndexSignType()
290 bool TSManager::GetSuperGateType(kungfu::GateType &gateType) const in GetSuperGateType()
301 gateType = kungfu::GateType(classType->GetExtensionGT()); in GetSuperGateType()
551 std::string TSManager::GetFuncName(kungfu::GateType type) const in GetFuncName()
[all …]
Dts_type_accessor.cpp47 void TSTypeAccessor::UpdateForEachCBPara(kungfu::GateType targetType) in UpdateForEachCBPara()
59 GlobalTSTypeRef indeGT = kungfu::GateType::IntType().GetGTRef(); in UpdateForEachCBPara()
66 elementGT = kungfu::GateType::NumberType().GetGTRef(); in UpdateForEachCBPara()
/arkcompiler/ets_runtime/ecmascript/compiler/assembler/x64/
Dextended_assembler_x64.h28 ExtendedAssembler(Chunk *chunk, kungfu::AssemblerModule *module) in ExtendedAssembler()
72 Register CallDispatcherArgument(kungfu::CallDispatchInputs index) in CallDispatcherArgument()
92 kungfu::AssemblerModule *module_;
98 static_cast<size_t>(kungfu::CallDispatchInputs::NUM_OF_INPUTS);
/arkcompiler/ets_runtime/ecmascript/compiler/aot_file/
Daot_file_info.h27 using CallSignature = kungfu::CallSignature;
28 using CalleeRegAndOffsetVec = kungfu::CalleeRegAndOffsetVec;
29 using DwarfRegType = kungfu::LLVMStackMapType::DwarfRegType;
30 using OffsetType = kungfu::LLVMStackMapType::OffsetType;
31 using DwarfRegAndOffsetType = kungfu::LLVMStackMapType::DwarfRegAndOffsetType;
49 int32_t CalleeReg2Offset_[2 * kungfu::MAX_CALLEE_SAVE_REIGISTER_NUM];
/arkcompiler/ets_runtime/ecmascript/compiler/trampoline/x64/
Dasm_interpreter_call.cpp162 … Register callFieldRegister = __ CallDispatcherArgument(kungfu::CallDispatchInputs::CALL_FIELD); in AsmInterpEntryDispatch()
175 __ Movq(kungfu::RuntimeStubCSigns::ID_ThrowNotCallableException, runtimeIdRegister); in AsmInterpEntryDispatch()
179 __ Movq(kungfu::RuntimeStubCSigns::ID_CallRuntime, trampolineIdRegister); in AsmInterpEntryDispatch()
292 Register callFieldRegister = __ CallDispatcherArgument(kungfu::CallDispatchInputs::CALL_FIELD); in JSCallCommonEntry()
293 Register argcRegister = __ CallDispatcherArgument(kungfu::CallDispatchInputs::ARG0); in JSCallCommonEntry()
302 auto argc = kungfu::AssemblerModule::GetArgcFromJSCallMode(mode); in JSCallCommonEntry()
317 if (kungfu::AssemblerModule::IsJumpToCallCommonEntry(mode)) { in JSCallCommonEntry()
326 Register methodRegister = __ CallDispatcherArgument(kungfu::CallDispatchInputs::METHOD); in JSCallCommonEntry()
327 … Register callTargetRegister = __ CallDispatcherArgument(kungfu::CallDispatchInputs::CALL_TARGET); in JSCallCommonEntry()
335 __ Movq(kungfu::BytecodeStubCSigns::ID_ThrowStackOverflowException, tempRegister); in JSCallCommonEntry()
[all …]
/arkcompiler/ets_runtime/ecmascript/compiler/trampoline/aarch64/
Dasm_interpreter_call.cpp113 __ Mov(runtimeId, Immediate(kungfu::RuntimeStubCSigns::ID_ThrowNotCallableException)); in AsmInterpEntryDispatch()
128 Register callFieldRegister = __ CallDispatcherArgument(kungfu::CallDispatchInputs::CALL_FIELD); in JSCallCommonEntry()
129 Register argcRegister = __ CallDispatcherArgument(kungfu::CallDispatchInputs::ARGC); in JSCallCommonEntry()
130 if (!kungfu::AssemblerModule::IsJumpToCallCommonEntry(mode)) { in JSCallCommonEntry()
151 auto argc = kungfu::AssemblerModule::GetArgcFromJSCallMode(mode); in JSCallCommonEntry()
166 if (kungfu::AssemblerModule::IsJumpToCallCommonEntry(mode)) { in JSCallCommonEntry()
176 Register methodRegister = __ CallDispatcherArgument(kungfu::CallDispatchInputs::METHOD); in JSCallCommonEntry()
177 … Register callTargetRegister = __ CallDispatcherArgument(kungfu::CallDispatchInputs::CALL_TARGET); in JSCallCommonEntry()
185 __ Mov(temp, kungfu::BytecodeStubCSigns::ID_ThrowStackOverflowException); in JSCallCommonEntry()
200 auto argc = kungfu::AssemblerModule::GetArgcFromJSCallMode(mode); in JSCallCommonFastPath()
[all …]
/arkcompiler/ets_runtime/ecmascript/compiler/assembler/aarch64/
Dextend_assembler.h24 using namespace panda::ecmascript::kungfu;
86 Register CallDispatcherArgument(kungfu::CallDispatchInputs index) in CallDispatcherArgument()
113 static_cast<size_t>(kungfu::CallDispatchInputs::NUM_OF_INPUTS);
/arkcompiler/ets_runtime/ecmascript/interpreter/
Dinterpreter_assembly.h75 static std::array<DispatchEntryPoint, kungfu::BytecodeStubCSigns::NUM_OF_DEPRECATED_STUBS> deprecat…
78 static std::array<DispatchEntryPoint, kungfu::BytecodeStubCSigns::NUM_OF_WIDE_STUBS> wideDispatchTa…
81 static std::array<DispatchEntryPoint, kungfu::BytecodeStubCSigns::NUM_OF_THROW_STUBS> throwDispatch…
/arkcompiler/ets_runtime/ecmascript/compiler/builtins/
Dbuiltins_call_signature.h23 namespace panda::ecmascript::kungfu {
192 #define BUILTINS_STUB_ID(name) kungfu::BuiltinsStubCSigns::name
193 #define IS_TYPED_BUILTINS_ID(id) kungfu::BuiltinsStubCSigns::IsTypedBuiltin(id)
194 #define GET_TYPED_CONSTANT_INDEX(id) kungfu::BuiltinsStubCSigns::GetConstantIndex(id)
/arkcompiler/ets_runtime/ecmascript/dfx/vmstat/
Dopt_code_profiler.h24 using EcmaOpcode = kungfu::EcmaOpcode;
63 #define BYTECODE_PROF_MAP(name) { kungfu::EcmaOpcode::name, OptCodeProfiler::Value() }, in OptCodeProfiler()
Dopt_code_profiler.cpp21 using EcmaOpcode = kungfu::EcmaOpcode;
58 …LOG_ECMA(INFO) << std::right << std::setw(nameRightAdjustment) << kungfu::GetEcmaOpcodeStr(it->fir… in PrintAndReset()
/arkcompiler/ets_runtime/ecmascript/containers/
Dcontainers_private.h53 int length, kungfu::BuiltinsStubCSigns::ID builtinId =
54 kungfu::BuiltinsStubCSigns::INVALID);
56 int length, kungfu::BuiltinsStubCSigns::ID builtinId =
57 kungfu::BuiltinsStubCSigns::INVALID);
/arkcompiler/ets_runtime/ecmascript/stackmap/
Dark_stackmap.h21 namespace panda::ecmascript::kungfu {
51 std::vector<kungfu::ARKDeopt> callsite2Deopt;
/arkcompiler/ets_runtime/ecmascript/
Dmethod.h284 uint64_t SetDeoptType(uint64_t extraLiteralInfo, kungfu::DeoptType type) in SetDeoptType()
289 void SetDeoptType(kungfu::DeoptType type) in SetDeoptType()
296 kungfu::DeoptType GetDeoptType(uint64_t extraLiteralInfo) const in GetDeoptType()
298 return static_cast<kungfu::DeoptType>(DeoptTypeBits::Decode(extraLiteralInfo)); in GetDeoptType()
301 kungfu::DeoptType GetDeoptType() const in GetDeoptType()
399 SetDeoptType(kungfu::DeoptType::NOTCHECK); in ClearAOTFlags()
441 …using DeoptTypeBits = DeoptCountBits::NextField<kungfu::DeoptType, DEOPTTYPE_NUM_BITS>; // offset …
Djs_thread.h66 kungfu::BytecodeStubCSigns::NUM_OF_ALL_NORMAL_STUBS;
68 static constexpr size_t BC_HANDLER_COUNT = kungfu::BytecodeStubCSigns::LAST_VALID_OPCODE + 1;
69 static constexpr size_t COUNT = kungfu::BytecodeStubCSigns::NUM_OF_STUBS;
96 static constexpr size_t COUNT = kungfu::RuntimeStubCSigns::NUM_OF_STUBS;
117 static constexpr size_t COUNT = kungfu::CommonStubCSigns::NUM_OF_STUBS;
138 kungfu::BytecodeStubCSigns::NUM_OF_ALL_NORMAL_STUBS;
139 static constexpr size_t COUNT = kungfu::BytecodeStubCSigns::LAST_VALID_OPCODE + 1;
168 static constexpr size_t COUNT = kungfu::BuiltinsStubCSigns::NUM_OF_BUILTINS_STUBS;
344 ASSERT(id < kungfu::RuntimeStubCSigns::NUM_OF_STUBS); in RegisterRTInterface()
350 ASSERT(id < kungfu::RuntimeStubCSigns::NUM_OF_STUBS); in GetRTInterface()
/arkcompiler/ets_runtime/ecmascript/dfx/stackinfo/
Djs_stackgetter.h41 kungfu::DeoptType deoptType = kungfu::DeoptType::NOTCHECK;
/arkcompiler/ets_runtime/ecmascript/builtins/
Dbuiltins.h56 kungfu::BuiltinsStubCSigns::ID builtinId =
57 kungfu::BuiltinsStubCSigns::INVALID) const;
65 kungfu::BuiltinsStubCSigns::ID builtinId =
66 kungfu::BuiltinsStubCSigns::INVALID) const;
265 EcmaEntrypoint func, int length, kungfu::BuiltinsStubCSigns::ID builtinId =
266 kungfu::BuiltinsStubCSigns::INVALID) const;
269 EcmaEntrypoint func, int length, kungfu::BuiltinsStubCSigns::ID builtinId =
270 kungfu::BuiltinsStubCSigns::INVALID) const;

12345678910