Home
last modified time | relevance | path

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

/arkcompiler/ets_runtime/ecmascript/debugger/
Djs_pt_method.h28 : 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};
Djs_pt_location.h31 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/
Dglobal_type_info.h28 : 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/
Dbytecode_info_collector.cpp36 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 …]
Dcompilation_driver.cpp34 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()
Dcompilation_driver.h54 …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};
Dntype_hcr_lowering.h37 jsPandaFile_(ctx->GetJSPandaFile()), in NTypeHCRLowering()
71 return thread_->GetCurrentEcmaContext()->FindConstpool(jsPandaFile_, cpId); in GetConstantpoolValue()
86 const JSPandaFile *jsPandaFile_ {nullptr};
Dntype_bytecode_lowering.h35 jsPandaFile_(ctx->GetJSPandaFile()), in NTypeBytecodeLowering()
85 const JSPandaFile *jsPandaFile_ {nullptr};
Dpass_manager.h47 jsPandaFile_(collector->GetJSPandaFile()), in PassContext()
85 return jsPandaFile_; in GetJSPandaFile()
136 const JSPandaFile *jsPandaFile_ {nullptr};
Daot_compiler_preprocessor.h28 : extendedFilePath_(extendedFilePath), jsPandaFile_(jsPandaFile) {} in AbcFileInfo()
32 std::shared_ptr<JSPandaFile> jsPandaFile_; member
Dbytecode_info_collector.h712 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};
Daot_compiler_preprocessor.cpp201 JSPandaFile *jsPandaFile = fileInfo.jsPandaFile_.get(); in GenerateGlobalTypes()
243 JSPandaFile *jsPandaFile = fileInfo.jsPandaFile_.get(); in GeneratePGOTypes()
Daot_compiler.cpp43 JSPandaFile *jsPandaFile = fileInfo.jsPandaFile_.get(); in CompileValidFiles()
Dlitecg_ir_builder.h113 const JSPandaFile *jsPandaFile_ {nullptr};
Dlitecg_ir_builder.cpp68 jsPandaFile_(jsPandaFile), in LiteCGIRBuilder()
153 std::string funcName = lmirModule_->GetFuncName(methodLiteral_, jsPandaFile_); in AddFunc()
/arkcompiler/ets_runtime/ecmascript/jspandafile/
Ddebug_info_extractor.h79 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};
Ddebug_info_extractor.cpp270 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()
Dtype_literal_extractor.cpp177 : jsPandaFile_(jsPandaFile) in TypeSummaryExtractor()
227 TypeLiteralExtractor(jsPandaFile_, typeOffsets_[i]).Print(); in Print()
Dtype_literal_extractor.h158 const JSPandaFile *jsPandaFile_ {nullptr};
/arkcompiler/ets_runtime/ecmascript/compiler/type_inference/
Dglobal_type_infer.cpp21 …: 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()
Dglobal_type_infer.h53 const JSPandaFile *jsPandaFile_ {nullptr};
/arkcompiler/ets_runtime/ecmascript/compiler/aot_snapshot/
Dsnapshot_constantpool_data.h52 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
Dsnapshot_constantpool_data.cpp35 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/
Dbase_deserializer.h26 JSPandaFile *jsPandaFile_ {nullptr};
32 : jsPandaFile_(jsPandaFile), methodId_(methodId) {} in NewConstPoolInfo()
Dbase_deserializer.cpp131 JSPandaFile *jsPandaFile = info->jsPandaFile_; in DeserializeConstPool()