/arkcompiler/ets_runtime/ecmascript/compiler/tests/ |
D | lowering_relate_gate_test.cpp | 29 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/ |
D | deoptimizer.h | 41 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/ |
D | rt_call_signature.h | 22 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
|
D | stub_compiler.cpp | 33 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()
|
D | ts_hclass_generator.h | 22 namespace panda::ecmascript::kungfu { 29 void UpdateTSHClassFromPGO(const kungfu::GateType &type, const PGOHClassLayoutDesc &desc,
|
D | type.cpp | 18 namespace panda::ecmascript::kungfu { namespace
|
D | test_stubs_signature.h | 18 namespace panda::ecmascript::kungfu {
|
/arkcompiler/ets_runtime/ecmascript/ts_types/ |
D | ts_manager.h | 227 …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 …]
|
D | ts_manager.cpp | 41 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 …]
|
D | ts_type_accessor.cpp | 47 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/ |
D | extended_assembler_x64.h | 28 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/ |
D | aot_file_info.h | 27 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/ |
D | asm_interpreter_call.cpp | 162 … 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/ |
D | asm_interpreter_call.cpp | 113 __ 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/ |
D | extend_assembler.h | 24 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/ |
D | interpreter_assembly.h | 75 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/ |
D | builtins_call_signature.h | 23 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/ |
D | opt_code_profiler.h | 24 using EcmaOpcode = kungfu::EcmaOpcode; 63 #define BYTECODE_PROF_MAP(name) { kungfu::EcmaOpcode::name, OptCodeProfiler::Value() }, in OptCodeProfiler()
|
D | opt_code_profiler.cpp | 21 using EcmaOpcode = kungfu::EcmaOpcode; 58 …LOG_ECMA(INFO) << std::right << std::setw(nameRightAdjustment) << kungfu::GetEcmaOpcodeStr(it->fir… in PrintAndReset()
|
/arkcompiler/ets_runtime/ecmascript/containers/ |
D | containers_private.h | 53 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/ |
D | ark_stackmap.h | 21 namespace panda::ecmascript::kungfu { 51 std::vector<kungfu::ARKDeopt> callsite2Deopt;
|
/arkcompiler/ets_runtime/ecmascript/ |
D | method.h | 284 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 …
|
D | js_thread.h | 66 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/ |
D | js_stackgetter.h | 41 kungfu::DeoptType deoptType = kungfu::DeoptType::NOTCHECK;
|
/arkcompiler/ets_runtime/ecmascript/builtins/ |
D | builtins.h | 56 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;
|