| /arkcompiler/ets_runtime/ecmascript/ |
| D | method.cpp | 23 const JSPandaFile *jsPandaFile = GetJSPandaFile(thread); in ParseFunctionName() local 29 const JSPandaFile *jsPandaFile = GetJSPandaFile(thread); in ParseFunctionNameView() local 35 const JSPandaFile *jsPandaFile = GetJSPandaFile(thread); in GetMethodName() local 46 const JSPandaFile *jsPandaFile = GetJSPandaFile(thread); in GetRecordNameStr() local 52 const JSPandaFile *jsPandaFile = GetJSPandaFile(thread); in GetCodeSize() local 71 const JSPandaFile *jsPandaFile = GetJSPandaFile(thread); in GetMethodLiteral() local 115 JSHandle<Method> Method::Create(JSThread *thread, const JSPandaFile *jsPandaFile, MethodLiteral *me… in Create()
|
| D | runtime.cpp | 380 bool Runtime::HasCachedConstpool(const JSPandaFile *jsPandaFile) in HasCachedConstpool() 386 JSTaggedValue Runtime::FindConstpool(const JSPandaFile *jsPandaFile, int32_t index) in FindConstpool() 392 JSTaggedValue Runtime::FindConstpoolUnlocked(const JSPandaFile *jsPandaFile, int32_t index) in FindConstpoolUnlocked() 405 JSHandle<ConstantPool> Runtime::AddOrUpdateConstpool(const JSPandaFile *jsPandaFile, in AddOrUpdateConstpool() 432 const JSPandaFile *jsPandaFile) in FindConstpools() 516 void Runtime::EraseUnusedConstpool(const JSPandaFile *jsPandaFile, int32_t index, int32_t constpool… in EraseUnusedConstpool()
|
| D | ecma_vm.cpp | 472 …std::shared_ptr<JSPandaFile> jsPandaFile = JSPandaFileManager::GetInstance()->FindJSPandaFile(asse… in ~EcmaVM() local 1677 void EcmaVM::EraseUnusedConstpool(const JSPandaFile *jsPandaFile, int32_t index, int32_t constpoolI… in EraseUnusedConstpool() 1698 JSTaggedValue EcmaVM::FindConstpoolFromContextCache(const JSPandaFile *jsPandaFile, int32_t index) in FindConstpoolFromContextCache() 1710 JSTaggedValue EcmaVM::FindConstpool(const JSPandaFile *jsPandaFile, int32_t index) in FindConstpool() 1720 JSTaggedValue EcmaVM::FindConstpool(const JSPandaFile *jsPandaFile, panda_file::File::EntityId id) in FindConstpool() 1736 JSHandle<ConstantPool> EcmaVM::AddOrUpdateConstpool(const JSPandaFile *jsPandaFile, in AddOrUpdateConstpool() 1745 void EcmaVM::AddContextConstpoolCache(const JSPandaFile *jsPandaFile, in AddContextConstpoolCache() 1831 JSTaggedValue EcmaVM::FindCachedConstpoolAndLoadAiIfNeeded(const JSPandaFile *jsPandaFile, int32_t … in FindCachedConstpoolAndLoadAiIfNeeded() 1847 JSHandle<ConstantPool> EcmaVM::FindOrCreateConstPool(const JSPandaFile *jsPandaFile, panda_file::Fi… in FindOrCreateConstPool() 1874 void EcmaVM::CreateAllConstpool(const JSPandaFile *jsPandaFile) in CreateAllConstpool() [all …]
|
| D | js_file_path.cpp | 57 std::string JSFilePath::GetHapName(const JSPandaFile *jsPandaFile) in GetHapName()
|
| /arkcompiler/ets_runtime/ecmascript/jspandafile/ |
| D | js_pandafile_manager.cpp | 58 std::shared_ptr<JSPandaFile> jsPandaFile; in LoadJSPandaFile() local 129 …std::shared_ptr<JSPandaFile> jsPandaFile = GenerateJSPandaFile(thread, pf.release(), filename, ent… in LoadJSPandaFile() local 152 std::shared_ptr<JSPandaFile> jsPandaFile; in LoadJSPandaFile() local 176 …std::shared_ptr<JSPandaFile> jsPandaFile = GenerateJSPandaFile(thread, pf.release(), desc, entryPo… in LoadJSPandaFile() local 196 std::shared_ptr<JSPandaFile> jsPandaFile; in LoadJSPandaFileSecure() local 221 …std::shared_ptr<JSPandaFile> jsPandaFile = GenerateJSPandaFile(thread, pf.release(), desc, entryPo… in LoadJSPandaFileSecure() local 239 …std::shared_ptr<JSPandaFile> jsPandaFile = GenerateJSPandaFile(thread, pf.release(), filename, ""); in LoadInsecureJSPandaFile() local 243 JSHandle<Program> JSPandaFileManager::GenerateProgram(EcmaVM *vm, const JSPandaFile *jsPandaFile, in GenerateProgram() 252 std::shared_ptr<JSPandaFile> jsPandaFile = FindJSPandaFileUnlocked(filename); in FindJSPandaFileWithChecksum() local 334 void JSPandaFileManager::AddJSPandaFile(const std::shared_ptr<JSPandaFile> &jsPandaFile) in AddJSPandaFile() [all …]
|
| D | method_literal.cpp | 32 void MethodLiteral::Initialize(const JSPandaFile *jsPandaFile, const JSThread *thread, const uint32… in Initialize() 110 std::string MethodLiteral::ParseFunctionName(const JSPandaFile* jsPandaFile, EntityId methodId) in ParseFunctionName() 118 const JSPandaFile* jsPandaFile, EntityId methodId) in ParseFunctionNameView() 138 CString MethodLiteral::ParseFunctionNameToCString(const JSPandaFile *jsPandaFile, EntityId methodId) in ParseFunctionNameToCString() 158 const char* MethodLiteral::GetMethodName(const JSPandaFile* jsPandaFile, EntityId methodId, bool cp… in GetMethodName() 167 const JSPandaFile* jsPandaFile, EntityId methodId, bool cpuProfiler) in GetMethodNameView() 176 CString MethodLiteral::GetRecordName(const JSPandaFile *jsPandaFile, EntityId methodId) in GetRecordName() 185 const char *MethodLiteral::GetRecordNameWithSymbol(const JSPandaFile *jsPandaFile, EntityId methodI… in GetRecordNameWithSymbol() 197 uint32_t MethodLiteral::GetCodeSize(const JSPandaFile *jsPandaFile, EntityId methodId) in GetCodeSize()
|
| D | js_pandafile_executor.cpp | 35 std::shared_ptr<JSPandaFile> jsPandaFile = in ExecuteFromFile() local 117 std::shared_ptr<JSPandaFile> jsPandaFile = in ExecuteFromBuffer() local 159 std::shared_ptr<JSPandaFile> jsPandaFile = in ExecuteModuleBuffer() local 214 …JSTaggedValue, bool> JSPandaFileExecutor::Execute(JSThread *thread, const JSPandaFile *jsPandaFile, in Execute() 250 void JSPandaFileExecutor::BindPandaFileToAot(JSPandaFile *jsPandaFile) in BindPandaFileToAot() 271 std::shared_ptr<JSPandaFile> jsPandaFile = JSPandaFileManager::GetInstance()-> in ExecuteFromBufferSecure() local 301 const CString &entry, const JSPandaFile *jsPandaFile) in CommonExecuteBuffer() 333 std::shared_ptr<JSPandaFile> jsPandaFile = JSPandaFileManager::GetInstance()-> in ExecuteModuleBufferSecure() local 383 std::shared_ptr<JSPandaFile> jsPandaFile = JSPandaFileManager::GetInstance()-> in ExecuteSecureWithOhmUrl() local 404 const CString &filename, const JSPandaFile *jsPandaFile, const JSRecordInfo* recordInfo) in ExecuteSpecialModule() [all …]
|
| D | literal_data_extractor.cpp | 28 void LiteralDataExtractor::ExtractObjectDatas(JSThread *thread, const JSPandaFile *jsPandaFile, siz… in ExtractObjectDatas() 130 …const JSPandaFile *jsPandaFile, size_t index, JSHandle<ConstantPool> constpool, const CString &ent… in GetDatasIgnoreTypeForClass() 142 …edArray> LiteralDataExtractor::GetDatasIgnoreType(JSThread *thread, const JSPandaFile *jsPandaFile, in GetDatasIgnoreType() 151 …const JSPandaFile *jsPandaFile, size_t index, JSHandle<ConstantPool> constpool, const CString &ent… in EnumerateLiteralVals() 242 … const JSPandaFile *jsPandaFile, in DefineFunctionTemplate() 323 …tion> LiteralDataExtractor::DefineMethodInLiteral(JSThread *thread, const JSPandaFile *jsPandaFile, in DefineMethodInLiteral() 363 void LiteralDataExtractor::GetMethodOffsets(const JSPandaFile *jsPandaFile, size_t index, in GetMethodOffsets() 384 void LiteralDataExtractor::GetMethodOffsets(const JSPandaFile *jsPandaFile, EntityId id, in GetMethodOffsets() 405 void LiteralDataExtractor::ExtractObjectDatas(JSThread *thread, const JSPandaFile *jsPandaFile, Ent… in ExtractObjectDatas() 519 … LiteralDataExtractor::GetDatasIgnoreTypeForClass(JSThread *thread, const JSPandaFile *jsPandaFile, in GetDatasIgnoreTypeForClass() [all …]
|
| D | program_object.cpp | 27 JSPandaFile *jsPandaFile = constpool->GetJSPandaFile(); in GetClassLiteralFromCache() local 66 JSPandaFile *jsPandaFile = constpool->GetJSPandaFile(); in GetFieldLiteral() local 85 JSPandaFile *jsPandaFile = taggedPool->GetJSPandaFile(); in GetStringFromCacheForJit() local 108 JSPandaFile *jsPandaFile = taggedPool->GetJSPandaFile(); in GetStringFromCache() local 124 …STaggedValue> ConstantPool::GetDeserializedConstantPool(EcmaVM *vm, const JSPandaFile *jsPandaFile, in GetDeserializedConstantPool() 186 JSPandaFile *jsPandaFile = taggedPool->GetJSPandaFile(); in GetMethodFromCache() local
|
| D | js_pandafile_snapshot.h | 68 …JSPandaFileSnapshotTask(int32_t id, JSThread *thread, JSPandaFile *jsPandaFile, const CString &pat… in JSPandaFileSnapshotTask()
|
| D | panda_file_translator.cpp | 31 void PandaFileTranslator::TranslateClasses(const JSThread *thread, JSPandaFile *jsPandaFile, const … in TranslateClasses() 96 void PandaFileTranslator::TranslateClass(const JSThread *thread, JSPandaFile *jsPandaFile, in TranslateClass() 139 JSHandle<Program> PandaFileTranslator::GenerateProgram(EcmaVM *vm, const JSPandaFile *jsPandaFile, in GenerateProgram() 175 const JSPandaFile *jsPandaFile) in GenerateProgramInternal() 206 EcmaVM *vm, const JSPandaFile *jsPandaFile) in ParseConstPool() 276 void PandaFileTranslator::ParseFuncAndLiteralConstPool(EcmaVM *vm, const JSPandaFile *jsPandaFile, in ParseFuncAndLiteralConstPool() 347 …stantPool> PandaFileTranslator::AllocateSharedConstPool(EcmaVM *vm, const JSPandaFile *jsPandaFile) in AllocateSharedConstPool() 358 …le<ConstantPool> PandaFileTranslator::AllocateConstPool(EcmaVM *vm, const JSPandaFile *jsPandaFile) in AllocateConstPool() 1571 void PandaFileTranslator::TranslateBytecode(JSPandaFile *jsPandaFile, uint32_t insSz, const uint8_t… in TranslateBytecode()
|
| D | program_object.h | 111 … static JSHandle<ConstantPool> CreateUnSharedConstPool(EcmaVM *vm, const JSPandaFile *jsPandaFile, in CreateUnSharedConstPool() 145 EcmaVM *vm, const JSPandaFile *jsPandaFile, ConstantPool *shareCp) in CreateUnSharedConstPoolBySharedConstpool() 285 JSPandaFile *jsPandaFile = GetJSPandaFile(); in GetEntityId() local 293 JSPandaFile *jsPandaFile = GetJSPandaFile(); in GetMethodIndexByEntityId() local 353 inline void SetJSPandaFile(const void *jsPandaFile) in SetJSPandaFile() 482 JSPandaFile *jsPandaFile = taggedPool->GetJSPandaFile(); in GetMethodFromCache() local 553 JSPandaFile *jsPandaFile = taggedPool->GetJSPandaFile(); in GetLiteralFromCache() local 653 JSPandaFile *jsPandaFile = taggedPool->GetJSPandaFile(); in GetLiteralFromCacheNoScope() local
|
| /arkcompiler/ets_runtime/ecmascript/pgo_profiler/ |
| D | pgo_profiler_decoder.h | 82 void Update(const JSPandaFile *jsPandaFile, Callback callback) in Update() 91 void Update(const JSPandaFile *jsPandaFile, const CString &recordName, Callback callback) in Update() 100 …void GetTypeInfo(const JSPandaFile *jsPandaFile, const CString &recordName, const MethodLiteral *m… in GetTypeInfo() 118 …void MatchAndMarkMethod(const JSPandaFile *jsPandaFile, const CString &recordName, const char *met… in MatchAndMarkMethod() 197 bool GetABCIdByJSPandaFile(const JSPandaFile *jsPandaFile, ApEntityId &entryId) const in GetABCIdByJSPandaFile()
|
| /arkcompiler/ets_runtime/ecmascript/module/ |
| D | module_resolver.cpp | 41 const JSPandaFile* jsPandaFile, in HostResolveImportedModule() 66 std::shared_ptr<JSPandaFile> jsPandaFile = in HostResolveImportedModule() local 156 … const JSPandaFile *jsPandaFile, in ResolveSharedImportedModuleWithMerge() 183 std::shared_ptr<JSPandaFile> jsPandaFile = JSPandaFileManager::GetInstance()->LoadJSPandaFile( in HostResolveImportedModuleForHotReload() local 207 … const JSPandaFile *jsPandaFile, in HostResolveImportedModuleWithMerge() 242 … const JSPandaFile *jsPandaFile, in HostResolveImportedModuleBundlePackBuffer() 258 std::shared_ptr<JSPandaFile> jsPandaFile = in HostResolveImportedModuleBundlePack() local 291 const JSPandaFile *jsPandaFile, in ResolveModuleBundlePack() 325 const JSPandaFile *jsPandaFile, in ResolveModuleWithMerge()
|
| D | module_data_extractor.cpp | 27 …e<JSTaggedValue> ModuleDataExtractor::ParseModule(JSThread *thread, const JSPandaFile *jsPandaFile, in ParseModule() 57 void ModuleDataExtractor::ExtractModuleDatas(JSThread *thread, const JSPandaFile *jsPandaFile, in ExtractModuleDatas() 102 …STaggedValue> ModuleDataExtractor::ParseCjsModule(JSThread *thread, const JSPandaFile *jsPandaFile) in ParseCjsModule() 121 …TaggedValue> ModuleDataExtractor::ParseJsonModule(JSThread *thread, const JSPandaFile *jsPandaFile, in ParseJsonModule() 165 JSTaggedValue ModuleDataExtractor::JsonParse(JSThread *thread, const JSPandaFile *jsPandaFile, CStr… in JsonParse()
|
| D | module_path_helper.cpp | 25 CString ModulePathHelper::ConcatFileNameWithMerge(JSThread *thread, const JSPandaFile *jsPandaFile, in ConcatFileNameWithMerge() 62 …ModulePathHelper::ConcatMergeFileNameToNormalized(JSThread *thread, const JSPandaFile *jsPandaFile, in ConcatMergeFileNameToNormalized() 92 …const JSPandaFile *jsPandaFile, CString &baseFileName, const CString &recordName, const CString &r… in ConcatImportFileNormalizedOhmurlWithRecordName() 329 CString ModulePathHelper::ParsePrefixBundle(JSThread *thread, const JSPandaFile *jsPandaFile, in ParsePrefixBundle() 383 CString ModulePathHelper::MakeNewRecord(JSThread *thread, const JSPandaFile *jsPandaFile, CString &… in MakeNewRecord() 431 CString ModulePathHelper::FindOhpmEntryPoint(const JSPandaFile *jsPandaFile, in FindOhpmEntryPoint() 468 CString ModulePathHelper::FindPackageInTopLevelWithNamespace(const JSPandaFile *jsPandaFile, in FindPackageInTopLevelWithNamespace() 517 CString ModulePathHelper::ParseOhpmPackage(const JSPandaFile *jsPandaFile, in ParseOhpmPackage() 547 CString ModulePathHelper::ParseThirdPartyPackage(const JSPandaFile *jsPandaFile, in ParseThirdPartyPackage() 578 CString ModulePathHelper::ParseThirdPartyPackage(const JSPandaFile *jsPandaFile, in ParseThirdPartyPackage() [all …]
|
| /arkcompiler/ets_runtime/ecmascript/ts_types/ |
| D | global_type_info.h | 27 explicit GlobalTypeID(const JSPandaFile *jsPandaFile, PGOSampleType pgoTypeId) in GlobalTypeID() 30 explicit GlobalTypeID(const JSPandaFile *jsPandaFile, uint32_t typeId) in GlobalTypeID() 81 explicit TypeLocation(const JSPandaFile *jsPandaFile, uint32_t methodOffset, in TypeLocation()
|
| /arkcompiler/ets_runtime/ecmascript/compiler/ |
| D | aot_compiler_preprocessor.cpp | 149 bool AotCompilerPreprocessor::MethodHasTryCatch(const JSPandaFile *jsPandaFile, in MethodHasTryCatch() 197 JSPandaFile *jsPandaFile = fileInfos_[i].jsPandaFile_.get(); in DoPreAnalysis() local 203 void AotCompilerPreprocessor::AnalyzeGraphs(JSPandaFile *jsPandaFile, in AnalyzeGraphs() 235 auto jsPandaFile = ctx.GetJSPandaFile(); in AnalyzeGraph() local 266 std::shared_ptr<JSPandaFile> jsPandaFile = CreateAndVerifyJSPandaFile(extendedFilePath); in GenerateAbcFileInfos() local 282 JSPandaFile *jsPandaFile = fileInfo.jsPandaFile_.get(); in GenerateBytecodeInfoCollectors() local 297 std::shared_ptr<JSPandaFile> jsPandaFile = nullptr; in CreateAndVerifyJSPandaFile() local 324 void AotCompilerPreprocessor::ResolveModule(const JSPandaFile *jsPandaFile, const std::string &file… in ResolveModule() 414 bool AotCompilerPreprocessor::IsSkipMethod(const JSPandaFile *jsPandaFile, const BCInfo &bytecodeIn… in IsSkipMethod() 449 JSPandaFile *jsPandaFile = fileInfos_[i].jsPandaFile_.get(); in GenerateMethodMap() local
|
| D | pass_manager.cpp | 41 const JSPandaFile *jsPandaFile = compilationEnv_->GetJSPandaFile(); in Compile() local 81 auto jsPandaFile = ctx_->GetJSPandaFile(); in Compile() local 240 JSPandaFile *jsPandaFile = fileInfos_[i].jsPandaFile_.get(); in CompileValidFiles() local 252 bool PassManager::Compile(JSPandaFile *jsPandaFile, const std::string &fileName, AOTFileGenerator &… in Compile() 282 auto jsPandaFile = ctx.GetJSPandaFile(); in Compile() local
|
| D | aot_compilation_env.cpp | 50 JSTaggedValue AOTCompilationEnv::FindConstpool(const JSPandaFile *jsPandaFile, panda_file::File::En… in FindConstpool() argument 55 JSTaggedValue AOTCompilationEnv::FindConstpool(const JSPandaFile *jsPandaFile, int32_t index) const in FindConstpool() argument 71 JSHandle<ConstantPool> AOTCompilationEnv::FindOrCreateConstPool(const JSPandaFile *jsPandaFile, in FindOrCreateConstPool()
|
| D | ir_module.cpp | 22 const JSPandaFile *jsPandaFile) in GetFuncName()
|
| D | type_info_accessors.cpp | 296 const JSPandaFile *jsPandaFile, in SuperCallTypeInfoAccessor() 304 const JSPandaFile *jsPandaFile, in GetIteratorTypeInfoAccessor() 313 const JSPandaFile *jsPandaFile, in CallArg0TypeInfoAccessor() 322 const JSPandaFile *jsPandaFile, in CallArg1TypeInfoAccessor() 332 const JSPandaFile *jsPandaFile, in CallArg2TypeInfoAccessor() 341 const JSPandaFile *jsPandaFile, in CallArg3TypeInfoAccessor() 350 const JSPandaFile *jsPandaFile, in CallRangeTypeInfoAccessor() 379 const JSPandaFile *jsPandaFile, in CallThis0TypeInfoAccessor() 388 const JSPandaFile *jsPandaFile, in CallThis1TypeInfoAccessor() 398 const JSPandaFile *jsPandaFile, in CallThis2TypeInfoAccessor() [all …]
|
| /arkcompiler/ets_runtime/ecmascript/patch/ |
| D | quick_fix_helper.cpp | 21 const JSPandaFile *jsPandaFile) in CreateMainFuncWithPatch()
|
| /arkcompiler/ets_runtime/ecmascript/debugger/ |
| D | js_pt_method.h | 27 PtMethod(const JSPandaFile *jsPandaFile, EntityId methodId, bool isNative) in PtMethod()
|
| D | js_pt_location.h | 31 const std::string &sourceFile = "") : jsPandaFile_(jsPandaFile), methodId_(methodId), in jsPandaFile_() argument
|