/arkcompiler/ets_runtime/ecmascript/debugger/ |
D | js_pt_method.h | 28 : jsPandaFile_(jsPandaFile), methodId_(methodId), isNative_(isNative) in PtMethod() 35 return jsPandaFile_; in GetJSPandaFile() 51 jsPandaFile_ == method.jsPandaFile_; 56 if (jsPandaFile_ == nullptr) { in GetCodeSize() 59 panda_file::MethodDataAccessor mda(*(jsPandaFile_->GetPandaFile()), methodId_); in GetCodeSize() 64 panda_file::CodeDataAccessor cda(*(jsPandaFile_->GetPandaFile()), codeId); in GetCodeSize() 69 const JSPandaFile *jsPandaFile_ {nullptr};
|
D | js_pt_location.h | 31 const std::string &sourceFile = "") : jsPandaFile_(jsPandaFile), methodId_(methodId), in jsPandaFile_() function 38 return jsPandaFile_; in GetJsPandaFile() 59 jsPandaFile_ == location.jsPandaFile_; 69 location << "jsPandaFile:" << "\"" << jsPandaFile_->GetJSPandaFileDesc() << "\""; in ToString() 80 const JSPandaFile *jsPandaFile_ {nullptr};
|
/arkcompiler/ets_runtime/ecmascript/ts_types/ |
D | global_type_info.h | 28 : jsPandaFile_(jsPandaFile), typeId_(0), pgoTypeId_(pgoTypeId) {} in GlobalTypeID() 31 : jsPandaFile_(jsPandaFile), typeId_(typeId), pgoTypeId_() {} in GlobalTypeID() 35 return jsPandaFile_ == id.jsPandaFile_ && 42 return jsPandaFile_; in GetJSPandaFile() 61 const JSPandaFile *jsPandaFile_; 83 : jsPandaFile_(jsPandaFile), methodOffset_(methodOffset), bcIdx_(bcIdx) {} in TypeLocation() 87 return jsPandaFile_ == loc.jsPandaFile_ && 104 return jsPandaFile_; in GetJSPandaFile() 113 const JSPandaFile *jsPandaFile_;
|
/arkcompiler/ets_runtime/ecmascript/compiler/ |
D | bytecode_info_collector.cpp | 36 jsPandaFile_(jsPandaFile), in BytecodeInfoCollector() 50 jsPandaFile_(jsPandaFile), in BytecodeInfoCollector() 68 tsManager->PrintTypeInfo(jsPandaFile_); in ~BytecodeInfoCollector() 81 ASSERT(jsPandaFile_ != nullptr && jsPandaFile_->GetMethodLiterals() != nullptr); in ProcessClasses() 82 MethodLiteral *methods = jsPandaFile_->GetMethodLiterals(); in ProcessClasses() 83 const panda_file::File *pf = jsPandaFile_->GetPandaFile(); in ProcessClasses() 86 Span<const uint32_t> classIndexes = jsPandaFile_->GetClasses(); in ProcessClasses() 94 if (jsPandaFile_->IsExternal(classId)) { in ProcessClasses() 108 … vm_->GetJSThread()->GetCurrentEcmaContext()->FindOrCreateConstPool(jsPandaFile_, methodId); in ProcessClasses() 111 … CString name = reinterpret_cast<const char *>(jsPandaFile_->GetStringData(mda.GetNameId()).data); in ProcessClasses() [all …]
|
D | compilation_driver.cpp | 34 jsPandaFile_(collector->GetJSPandaFile()), in CompilationDriver() 152 mainMethods.emplace_back(jsPandaFile_->GetMainMethodIndex(it)); in TopologicalSortForRecords() 164 …pfDecoder_.GetMismatchResult(jsPandaFile_, totalMethodCount, mismatchMethodCount, mismatchMethodSe… in FetchPGOMismatchResult() 174 if (!jsPandaFile_->HasTSTypes(recordName)) { in UpdatePGO() 177 uint32_t mainMethodOffset = jsPandaFile_->GetMainMethodIndex(recordName); in UpdatePGO() 181 pfDecoder_.Update(jsPandaFile_, dfs); in UpdatePGO() 198 !pfDecoder_.Match(jsPandaFile_, recordName, methodLiteral->GetMethodId())) { in FilterMethod() 261 ptManager->SetCurConstantPool(jsPandaFile_, methodOffset); in SetCurrentConstantPool()
|
D | compilation_driver.h | 54 …if (pfDecoder_.Match(jsPandaFile_, recordName, resolvedMethod) && !resolvedMethodInfo.IsTypeInferA… in UpdateCompileQueue() 63 uint32_t mainMethodOffset = jsPandaFile_->GetMainMethodIndex(recordName); in UpdateCompileQueue() 69 pfDecoder_.Update(jsPandaFile_, recordName, dfs); in UpdateCompileQueue() 117 auto methodLiteral = jsPandaFile_->FindMethodLiteral(compilingMethod); in Run() 118 …const std::string methodName(MethodLiteral::GetMethodName(jsPandaFile_, methodLiteral->GetMethodId… in Run() 241 auto eleOffset = jsPandaFile_->GetMainMethodIndex(ele); in UpdateResolveDepends() 259 auto mainMethodOffset = jsPandaFile_->GetMainMethodIndex(importRecord); in SearchForCompilation() 276 auto mainMethodOffset = jsPandaFile_->GetMainMethodIndex(importRecord); in SearchForCompilation() 284 pfDecoder_.Update(jsPandaFile_, importRecord, getMainMethodSet); in SearchForCompilation() 352 const JSPandaFile *jsPandaFile_ {nullptr};
|
D | ntype_hcr_lowering.h | 37 jsPandaFile_(ctx->GetJSPandaFile()), in NTypeHCRLowering() 71 return thread_->GetCurrentEcmaContext()->FindConstpool(jsPandaFile_, cpId); in GetConstantpoolValue() 86 const JSPandaFile *jsPandaFile_ {nullptr};
|
D | ntype_bytecode_lowering.h | 35 jsPandaFile_(ctx->GetJSPandaFile()), in NTypeBytecodeLowering() 85 const JSPandaFile *jsPandaFile_ {nullptr};
|
D | pass_manager.h | 47 jsPandaFile_(collector->GetJSPandaFile()), in PassContext() 85 return jsPandaFile_; in GetJSPandaFile() 136 const JSPandaFile *jsPandaFile_ {nullptr};
|
D | aot_compiler_preprocessor.h | 28 : extendedFilePath_(extendedFilePath), jsPandaFile_(jsPandaFile) {} in AbcFileInfo() 32 std::shared_ptr<JSPandaFile> jsPandaFile_; member
|
D | bytecode_info_collector.h | 712 auto recordName = MethodLiteral::GetRecordName(jsPandaFile_, methodLiteral->GetMethodId()); in FilterMethod() 714 …bool methodFilteredByPGO = !pfDecoder_.Match(jsPandaFile_, recordName, methodLiteral->GetMethodId(… in FilterMethod() 723 return jsPandaFile_; in GetJSPandaFile() 756 std::string className(MethodLiteral::GetMethodName(jsPandaFile_, entityId)); in GetClassName() 797 JSPandaFile *jsPandaFile_ {nullptr};
|
D | aot_compiler_preprocessor.cpp | 201 JSPandaFile *jsPandaFile = fileInfo.jsPandaFile_.get(); in GenerateGlobalTypes() 243 JSPandaFile *jsPandaFile = fileInfo.jsPandaFile_.get(); in GeneratePGOTypes()
|
D | aot_compiler.cpp | 43 JSPandaFile *jsPandaFile = fileInfo.jsPandaFile_.get(); in CompileValidFiles()
|
D | litecg_ir_builder.h | 113 const JSPandaFile *jsPandaFile_ {nullptr};
|
D | litecg_ir_builder.cpp | 68 jsPandaFile_(jsPandaFile), in LiteCGIRBuilder() 153 std::string funcName = lmirModule_->GetFuncName(methodLiteral_, jsPandaFile_); in AddFunc()
|
/arkcompiler/ets_runtime/ecmascript/jspandafile/ |
D | debug_info_extractor.h | 79 explicit DebugInfoExtractor(const JSPandaFile *jsPandaFile) : jsPandaFile_(jsPandaFile) in DebugInfoExtractor() 101 auto &pandaFile = *jsPandaFile_->GetPandaFile(); in MatchWithLocation() 102 auto classes = jsPandaFile_->GetClasses(); in MatchWithLocation() 105 if (jsPandaFile_->IsExternal(id)) { in MatchWithLocation() 113 if (!jsPandaFile_->IsBundlePack()) { in MatchWithLocation() 149 return cb(JSPtLocation(jsPandaFile_, methodId, pair.offset, url)); in MatchWithLocation() 160 return cb(JSPtLocation(jsPandaFile_, minColumnMethodId, minColumnOffset, url)); in MatchWithLocation() 163 return cb(JSPtLocation(jsPandaFile_, currentMethodId, currentOffset, url)); in MatchWithLocation() 241 const JSPandaFile *jsPandaFile_ {nullptr};
|
D | debug_info_extractor.cpp | 270 if (offset >= jsPandaFile_->GetFileSize()) { in ExtractorMethodDebugInfo() 274 auto &pandaFile = *jsPandaFile_->GetPandaFile(); in ExtractorMethodDebugInfo() 321 auto &pandaFile = *jsPandaFile_->GetPandaFile(); in Extract() 322 auto classes = jsPandaFile_->GetClasses(); in Extract() 326 if (!classId.IsValid() || jsPandaFile_->IsExternal(classId)) { in Extract() 340 if (offset >= jsPandaFile_->GetFileSize()) { in Extract()
|
D | type_literal_extractor.cpp | 177 : jsPandaFile_(jsPandaFile) in TypeSummaryExtractor() 227 TypeLiteralExtractor(jsPandaFile_, typeOffsets_[i]).Print(); in Print()
|
D | type_literal_extractor.h | 158 const JSPandaFile *jsPandaFile_ {nullptr};
|
/arkcompiler/ets_runtime/ecmascript/compiler/type_inference/ |
D | global_type_infer.cpp | 21 …: ctx_(ctx), jsPandaFile_(ctx_->GetJSPandaFile()), bcInfo_(ctx->GetBytecodeInfo()), methodOffset_(… in GlobalTypeInfer() 63 auto methodLiteral = jsPandaFile_->FindMethodLiteral(methodOffset); in NewTypeInfer() 64 std::string fullName = module->GetFuncName(methodLiteral, jsPandaFile_); in NewTypeInfer() 72 …new BytecodeCircuitBuilder(jsPandaFile_, methodLiteral, methodPcInfo, ctx_->GetTSManager(), circui… in NewTypeInfer() 73 … ctx_->GetByteCodes(), jsPandaFile_->HasTSTypes(recordName_), enableLog_, true, in NewTypeInfer() 117 jsPandaFile_->FindMethodLiteral(methodOffset_), in ProcessTypeInference()
|
D | global_type_infer.h | 53 const JSPandaFile *jsPandaFile_ {nullptr};
|
/arkcompiler/ets_runtime/ecmascript/compiler/aot_snapshot/ |
D | snapshot_constantpool_data.h | 52 jsPandaFile_(jsPandaFile), in BaseSnapshotInfo() 83 const JSPandaFile *jsPandaFile_ {nullptr}; 105 : jsPandaFile_(jsPandaFile) in DATA_TYPE_LIST() 132 const JSPandaFile *jsPandaFile_; in DATA_TYPE_LIST() local
|
D | snapshot_constantpool_data.cpp | 35 return pfDecoder_->GetABCIdByJSPandaFile(jsPandaFile_, abcId); in TryGetABCId() 106 …JSTaggedValue cp = thread_->GetCurrentEcmaContext()->FindConstpool(jsPandaFile_, data.constantPool… in StoreDataToGlobalData() 125 thread_->GetCurrentEcmaContext()->FindConstpool(jsPandaFile_, data.constantPoolId_)); in StoreDataToGlobalData() 160 thread_->GetCurrentEcmaContext()->FindConstpool(jsPandaFile_, data.constantPoolId_)); in StoreDataToGlobalData() 194 thread_->GetCurrentEcmaContext()->FindConstpool(jsPandaFile_, data.constantPoolId_)); in StoreDataToGlobalData() 198 LiteralDataExtractor::ExtractObjectDatas(thread_, jsPandaFile_, id, elements, in StoreDataToGlobalData() 213 PGOTypeLocation loc(jsPandaFile_, data.methodOffset_, data.bcIndex_); in StoreDataToGlobalData() 231 thread_->GetCurrentEcmaContext()->FindConstpool(jsPandaFile_, data.constantPoolId_)); in StoreDataToGlobalData() 234 thread_, jsPandaFile_, id, cp, data.recordName_); in StoreDataToGlobalData() 253 panda_file::IndexAccessor indexAccessor(*jsPandaFile_->GetPandaFile(), in Record()
|
/arkcompiler/ets_runtime/ecmascript/serializer/ |
D | base_deserializer.h | 26 JSPandaFile *jsPandaFile_ {nullptr}; 32 : jsPandaFile_(jsPandaFile), methodId_(methodId) {} in NewConstPoolInfo()
|
D | base_deserializer.cpp | 131 JSPandaFile *jsPandaFile = info->jsPandaFile_; in DeserializeConstPool()
|