/arkcompiler/ets_runtime/ecmascript/compiler/ |
D | type_recorder.cpp | 27 … TSManager *tsManager, const CString &recordName, PGOProfilerDecoder *decoder, in TypeRecorder() argument 33 TSHClassGenerator generator(tsManager); in TypeRecorder() 35 LoadTypes(jsPandaFile, methodLiteral, tsManager, recordName); in TypeRecorder() 38 CreateTypesForPGO(jsPandaFile, methodLiteral, tsManager, recordName); in TypeRecorder() 43 TSManager *tsManager, const CString &recordName) in LoadTypes() argument 45 TSTypeParser typeParser(tsManager); in LoadTypes() 52 &thisGT, tsManager, methodOffset](const int32_t bcIdx, const uint32_t typeId) { in LoadTypes() 58 CollectLiteralGT(tsManager, loc, gt); in LoadTypes() 85 LoadArgTypes(tsManager, funcGT, thisGT); in LoadTypes() 88 void TypeRecorder::CollectLiteralGT(TSManager *tsManager, TypeLocation &loc, GlobalTSTypeRef gt) in CollectLiteralGT() argument [all …]
|
D | type_recorder.h | 36 TSManager *tsManager, const CString &recordName, PGOProfilerDecoder *decoder, 41 …PGOSampleType GetOrUpdatePGOType(TSManager *tsManager, int32_t offset, const GateType &type) const; 52 TSManager *tsManager, const CString &recordName); 55 TSManager *tsManager, const CString &recordName); 60 void LoadArgTypes(const TSManager *tsManager, GlobalTSTypeRef funcGT, GlobalTSTypeRef thisGT); 64 …GateType TryGetThisType(const TSManager *tsManager, GlobalTSTypeRef funcGT, GlobalTSTypeRef thisGT… 68 GateType TryGetNewTargetType(const TSManager *tsManager, GlobalTSTypeRef thisGT) const; 77 void CollectLiteralGT(TSManager *tsManager, TypeLocation &tLoc, GlobalTSTypeRef gt);
|
D | ts_class_analysis.h | 24 TSClassAnalysis(TSManager *tsManager): tsManager_(tsManager) {} in TSClassAnalysis() argument
|
D | ts_hclass_generator.h | 25 explicit TSHClassGenerator(TSManager *tsManager): tsManager_(tsManager) {}; in TSHClassGenerator() argument
|
D | ntype_hcr_lowering.h | 28 NTypeHCRLowering(Circuit *circuit, PassContext *ctx, TSManager *tsManager, in NTypeHCRLowering() argument 34 tsManager_(tsManager), in NTypeHCRLowering()
|
D | object_access_helper.h | 66 …explicit ObjectAccessHelper(TSManager *tsManager, AccessMode mode, GateRef receiver, GateType type, in ObjectAccessHelper() argument 68 : tsManager_(tsManager), in ObjectAccessHelper()
|
D | ts_hclass_generator.cpp | 219 TSManager *tsManager = thread->GetCurrentEcmaContext()->GetTSManager(); in CreatePHClass() local 231 bool isAbs = tsManager->IsAbstractMethod(value); in CreatePHClass() 233 bool isSign = tsManager->IsMethodSignature(value); in CreatePHClass() 256 if (tsManager->IsGetterSetterFunc(sortedPrototype[index].second)) { in CreatePHClass() 294 TSManager *tsManager = thread->GetCurrentEcmaContext()->GetTSManager(); in CreateCHClass() local 318 if (!tsManager->IsFunctionTypeKind(gt)) { in CreateCHClass() 326 if (tsManager->IsGetterSetterFunc(gt)) { in CreateCHClass()
|
D | pass_manager.cpp | 81 auto tsManager = ctx.GetTSManager(); in Compile() local 84 tsManager->SetCurConstantPool(jsPandaFile, methodOffset); in Compile() 104 … BytecodeCircuitBuilder builder(jsPandaFile, methodLiteral, methodPCInfo, tsManager, &circuit, in Compile()
|
D | type_mcr_lowering.h | 100 TypeMCRLowering(Circuit *circuit, CompilationConfig *cmpCfg, TSManager *tsManager, in TypeMCRLowering() argument 103 dependEntry_(circuit->GetDependRoot()), tsManager_(tsManager), in TypeMCRLowering()
|
D | slowpath_lowering.h | 114 TSManager *tsManager, const MethodLiteral *methodLiteral, in SlowPathLowering() argument 116 : tsManager_(tsManager), methodLiteral_(methodLiteral), in SlowPathLowering()
|
D | bytecode_info_collector.cpp | 52 auto tsManager = vm_->GetJSThread()->GetCurrentEcmaContext()->GetTSManager(); in ~BytecodeInfoCollector() local 53 tsManager->PrintTypeInfo(jsPandaFile_); in ~BytecodeInfoCollector() 54 tsManager->SetBytecodeInfoCollector(nullptr); in ~BytecodeInfoCollector() 603 auto tsManager = vm_->GetJSThread()->GetCurrentEcmaContext()->GetTSManager(); in CheckExportNameAndClassType() local 604 …JSHandle<TaggedArray> exportTypeTable = tsManager->GetExportTableFromLiteral(jsPandaFile_, recordN… in CheckExportNameAndClassType()
|
D | bytecode_circuit_builder.h | 259 TSManager *tsManager, in BytecodeCircuitBuilder() argument 270 : tsManager_(tsManager), circuit_(circuit), file_(jsPandaFile), in BytecodeCircuitBuilder() 272 … typeRecorder_(jsPandaFile, method_, tsManager, recordName, decoder, methodPCInfo, bytecodes, in BytecodeCircuitBuilder()
|
/arkcompiler/ets_runtime/ecmascript/ts_types/tests/ |
D | ts_type_parser_test.cpp | 61 auto tsManager = ecmaVm->GetJSThread()->GetCurrentEcmaContext()->GetTSManager(); in HWTEST_F_L0() local 62 tsManager->Initialize(); in HWTEST_F_L0() 63 TSTypeParser tsTypeParser(tsManager); in HWTEST_F_L0() 73 auto tsManager = ecmaVm->GetJSThread()->GetCurrentEcmaContext()->GetTSManager(); in HWTEST_F_L0() local 74 tsManager->Initialize(); in HWTEST_F_L0() 75 TSTypeParser tsTypeParser(tsManager); in HWTEST_F_L0() 144 auto tsManager = ecmaVm->GetJSThread()->GetCurrentEcmaContext()->GetTSManager(); in HWTEST_F_L0() local 145 tsManager->Initialize(); in HWTEST_F_L0() 146 TSTypeParser tsTypeParser(tsManager); in HWTEST_F_L0() 150 EXPECT_TRUE(tsManager->IsClassTypeKind(resultGT)); in HWTEST_F_L0() [all …]
|
D | ts_type_table_generator_test.cpp | 59 auto tsManager = ecmaVm->GetJSThread()->GetCurrentEcmaContext()->GetTSManager(); in HWTEST_F_L0() local 60 tsManager->Initialize(); in HWTEST_F_L0() 61 TSTypeTableGenerator tableGenerator(tsManager); in HWTEST_F_L0() 78 auto tsManager = ecmaVm->GetJSThread()->GetCurrentEcmaContext()->GetTSManager(); in HWTEST_F_L0() local 79 tsManager->Initialize(); in HWTEST_F_L0() 80 TSTypeTableGenerator tableGenerator(tsManager); in HWTEST_F_L0() 114 auto tsManager = ecmaVm->GetJSThread()->GetCurrentEcmaContext()->GetTSManager(); in HWTEST_F_L0() local 115 tsManager->Initialize(); in HWTEST_F_L0() 116 TSTypeTableGenerator tableGenerator(tsManager); in HWTEST_F_L0()
|
/arkcompiler/ets_runtime/ecmascript/ts_types/ |
D | ts_type.cpp | 55 TSManager *tsManager = thread->GetCurrentEcmaContext()->GetTSManager(); in GetPropTypeGT() local 67 JSTaggedValue tmpType = tsManager->GetTSType(classTypeGT).GetTaggedValue(); in GetPropTypeGT() 81 TSManager *tsManager = thread->GetCurrentEcmaContext()->GetTSManager(); in GetSuperPropTypeGT() local 91 mutableClassType.Update(tsManager->GetTSType(superClassTypeGT).GetTaggedValue()); in GetSuperPropTypeGT() 100 JSTaggedValue tmpType = tsManager->GetTSType(classTypeGT).GetTaggedValue(); in GetSuperPropTypeGT() 115 TSManager *tsManager = thread->GetCurrentEcmaContext()->GetTSManager(); in GetNonStaticPropTypeGT() local 132 JSTaggedValue tmpType = tsManager->GetTSType(classTypeGT).GetTaggedValue(); in GetNonStaticPropTypeGT() 154 TSManager *tsManager = thread->GetCurrentEcmaContext()->GetTSManager(); in UpdateStaticPropTypeGT() local 165 JSTaggedValue tmpType = tsManager->GetTSType(classTypeGT).GetTaggedValue(); in UpdateStaticPropTypeGT() 178 TSManager *tsManager = thread->GetCurrentEcmaContext()->GetTSManager(); in GetPropTypeGT() local [all …]
|
D | ts_type_table_generator.h | 25 explicit TSTypeTableGenerator(TSManager *tsManager) in TSTypeTableGenerator() argument 26 : tsManager_(tsManager), vm_(tsManager->GetEcmaVM()), in TSTypeTableGenerator()
|
D | ts_type_accessor.h | 67 explicit TSTypeAccessor(TSManager *tsManager, const GlobalTSTypeRef gt) in TSTypeAccessor() argument 68 : tsManager_(tsManager), thread_(tsManager_->GetThread()), gt_(gt) {} in TSTypeAccessor() 70 explicit TSTypeAccessor(TSManager *tsManager, const kungfu::GateType type) in TSTypeAccessor() argument 71 : tsManager_(tsManager), thread_(tsManager_->GetThread()), gt_(type.Value()) {} in TSTypeAccessor()
|
D | ts_type_parser.h | 47 explicit TSTypeParser(TSManager *tsManager);
|
/arkcompiler/ets_runtime/ecmascript/ |
D | subtyping_operator.cpp | 48 TSManager *tsManager = const_cast<JSThread*>(thread)->GetCurrentEcmaContext()->GetTSManager(); in CheckSubtyping() local 49 JSHandle<TSClassType> eClassType = tsManager->GetExtendedClassType(classType); in CheckSubtyping() 50 JSHClass *eIhc = JSHClass::Cast(tsManager->GetInstanceTSHClass(eClassType).GetTaggedObject()); in CheckSubtyping() 84 TSManager *tsManager = const_cast<JSThread*>(thread)->GetCurrentEcmaContext()->GetTSManager(); in MergeClassField() local 86 JSHandle<TSClassType> eClassType = tsManager->GetExtendedClassType(classType); in MergeClassField() 122 TSManager *tsManager = thread->GetCurrentEcmaContext()->GetTSManager(); in FillTSInheritInfo() local 133 JSHandle<TSClassType> eClassType = tsManager->GetExtendedClassType(classType); in FillTSInheritInfo() 134 JSTaggedValue eIhc = tsManager->GetInstanceTSHClass(eClassType); in FillTSInheritInfo()
|
D | subtyping_operator-inl.h | 99 … TSManager *tsManager = const_cast<JSThread*>(thread)->GetCurrentEcmaContext()->GetTSManager(); in GetType() local 101 return JSTaggedValue(tsManager->IsGetterSetterFunc(typeGT)); in GetType()
|
/arkcompiler/ets_runtime/ecmascript/compiler/type_inference/ |
D | initialization_analysis.h | 32 InitializationAnalysis(Circuit *circuit, TSManager *tsManager, const CString &recordName, in InitializationAnalysis() argument 34 : tsManager_(tsManager), circuit_(circuit), acc_(circuit), recordName_(recordName), in InitializationAnalysis()
|
D | pgo_type_infer.h | 27 PGOTypeInfer(Circuit *circuit, TSManager *tsManager, BytecodeCircuitBuilder *builder, in PGOTypeInfer() argument 29 : circuit_(circuit), acc_(circuit), argAcc_(circuit), tsManager_(tsManager), in PGOTypeInfer()
|
D | global_type_infer.cpp | 120 TSManager *tsManager = ctx_->GetTSManager(); in ProcessTypeInference() local 140 tsManager->StoreNamespaceType(methodId, type); in ProcessTypeInference()
|
D | pgo_type_infer.cpp | 48 ChunkSet<GateType> Merge(Chunk *chunk, TSManager *tsManager) in Merge() 56 GlobalTSTypeRef instanceGT = tsManager->CreateClassInstanceType(gt); in Merge()
|
/arkcompiler/ets_runtime/ecmascript/snapshot/mem/ |
D | snapshot.cpp | 38 TSManager *tsManager = vm_->GetJSThread()->GetCurrentEcmaContext()->GetTSManager(); in Serialize() local 39 JSTaggedValue root = tsManager->GetSnapshotCPList(); in Serialize()
|