Home
last modified time | relevance | path

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

12

/arkcompiler/ets_runtime/ecmascript/compiler/
Dtype_recorder.cpp27 … 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 …]
Dtype_recorder.h36 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);
Dts_class_analysis.h24 TSClassAnalysis(TSManager *tsManager): tsManager_(tsManager) {} in TSClassAnalysis() argument
Dts_hclass_generator.h25 explicit TSHClassGenerator(TSManager *tsManager): tsManager_(tsManager) {}; in TSHClassGenerator() argument
Dntype_hcr_lowering.h28 NTypeHCRLowering(Circuit *circuit, PassContext *ctx, TSManager *tsManager, in NTypeHCRLowering() argument
34 tsManager_(tsManager), in NTypeHCRLowering()
Dobject_access_helper.h66 …explicit ObjectAccessHelper(TSManager *tsManager, AccessMode mode, GateRef receiver, GateType type, in ObjectAccessHelper() argument
68 : tsManager_(tsManager), in ObjectAccessHelper()
Dts_hclass_generator.cpp219 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()
Dpass_manager.cpp81 auto tsManager = ctx.GetTSManager(); in Compile() local
84 tsManager->SetCurConstantPool(jsPandaFile, methodOffset); in Compile()
104 … BytecodeCircuitBuilder builder(jsPandaFile, methodLiteral, methodPCInfo, tsManager, &circuit, in Compile()
Dtype_mcr_lowering.h100 TypeMCRLowering(Circuit *circuit, CompilationConfig *cmpCfg, TSManager *tsManager, in TypeMCRLowering() argument
103 dependEntry_(circuit->GetDependRoot()), tsManager_(tsManager), in TypeMCRLowering()
Dslowpath_lowering.h114 TSManager *tsManager, const MethodLiteral *methodLiteral, in SlowPathLowering() argument
116 : tsManager_(tsManager), methodLiteral_(methodLiteral), in SlowPathLowering()
Dbytecode_info_collector.cpp52 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()
Dbytecode_circuit_builder.h259 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/
Dts_type_parser_test.cpp61 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 …]
Dts_type_table_generator_test.cpp59 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/
Dts_type.cpp55 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 …]
Dts_type_table_generator.h25 explicit TSTypeTableGenerator(TSManager *tsManager) in TSTypeTableGenerator() argument
26 : tsManager_(tsManager), vm_(tsManager->GetEcmaVM()), in TSTypeTableGenerator()
Dts_type_accessor.h67 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()
Dts_type_parser.h47 explicit TSTypeParser(TSManager *tsManager);
/arkcompiler/ets_runtime/ecmascript/
Dsubtyping_operator.cpp48 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()
Dsubtyping_operator-inl.h99 … 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/
Dinitialization_analysis.h32 InitializationAnalysis(Circuit *circuit, TSManager *tsManager, const CString &recordName, in InitializationAnalysis() argument
34 : tsManager_(tsManager), circuit_(circuit), acc_(circuit), recordName_(recordName), in InitializationAnalysis()
Dpgo_type_infer.h27 PGOTypeInfer(Circuit *circuit, TSManager *tsManager, BytecodeCircuitBuilder *builder, in PGOTypeInfer() argument
29 : circuit_(circuit), acc_(circuit), argAcc_(circuit), tsManager_(tsManager), in PGOTypeInfer()
Dglobal_type_infer.cpp120 TSManager *tsManager = ctx_->GetTSManager(); in ProcessTypeInference() local
140 tsManager->StoreNamespaceType(methodId, type); in ProcessTypeInference()
Dpgo_type_infer.cpp48 ChunkSet<GateType> Merge(Chunk *chunk, TSManager *tsManager) in Merge()
56 GlobalTSTypeRef instanceGT = tsManager->CreateClassInstanceType(gt); in Merge()
/arkcompiler/ets_runtime/ecmascript/snapshot/mem/
Dsnapshot.cpp38 TSManager *tsManager = vm_->GetJSThread()->GetCurrentEcmaContext()->GetTSManager(); in Serialize() local
39 JSTaggedValue root = tsManager->GetSnapshotCPList(); in Serialize()

12