Home
last modified time | relevance | path

Searched refs:pgoType (Results 1 – 7 of 7) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/compiler/type_inference/
Dpgo_type_infer.cpp138 GateType pgoType = tsManager_->GetGateTypeByPt(classType); in CollectGateType() local
139 if (tsManager_->IsClassTypeKind(pgoType) && !pgoTypes.GetObjectInfo(i).InConstructor()) { in CollectGateType()
140 pgoType = GateType(tsManager_->CreateClassInstanceType(pgoType)); in CollectGateType()
142 CheckAndInsert(types, pgoType); in CollectGateType()
247 for (auto pgoType : value.pgoTypes) { in Print() local
248 log += "[type:" + tsManager_->GetTypeStr(pgoType) + ", " in Print()
249 + "moduleId: " + std::to_string(pgoType.GetGTRef().GetModuleId()) + ", " in Print()
250 + "localId: " + std::to_string(pgoType.GetGTRef().GetLocalId()) + "], "; in Print()
264 void PGOTypeInfer::AddProfiler(GateRef gate, GateType tsType, PGORWOpType pgoType, ChunkSet<GateTyp… in AddProfiler() argument
270 for (uint32_t i = 0; i < pgoType.GetCount(); i++) { in AddProfiler()
[all …]
Dpgo_type_infer.h82 …void AddProfiler(GateRef gate, GateType tsType, PGORWOpType pgoType, ChunkSet<GateType>& inferType…
/arkcompiler/ets_runtime/ecmascript/ts_types/
Dts_type_parser.cpp790 GlobalTypeID gId(info.jsPandaFile, info.pgoType); in CreatePGOGT()
803 return GetAndStoreGT(info.jsPandaFile, info.pgoType); in ParsePGOType()
813 return GetAndStoreGT(info.jsPandaFile, info.pgoType); in ParsePGOType()
817 GlobalTSTypeRef gt = GetAndStoreGT(info.jsPandaFile, info.pgoType, moduleId, localId); in ParsePGOType()
820 return GetAndStoreGT(info.jsPandaFile, info.pgoType); in ParsePGOType()
846 ASSERT(info.pgoType.IsClassType()); in ParseObjectPGOType()
848 if (info.decoder->GetHClassLayoutDesc(info.pgoType, &desc)) { in ParseObjectPGOType()
Dts_manager.h811 inline void InsertPtToGtMap(ClassType pgoType, const kungfu::GateType &gateType) in InsertPtToGtMap() argument
813 ptToGtMap_.emplace(pgoType, gateType); in InsertPtToGtMap()
816 inline const kungfu::GateType GetGateTypeByPt(ClassType pgoType) in GetGateTypeByPt() argument
818 auto it = ptToGtMap_.find(pgoType); in GetGateTypeByPt()
Dts_type_parser.h41 PGOSampleType pgoType; member
/arkcompiler/ets_runtime/ecmascript/compiler/
Dnumber_speculative_retype.cpp41 GateRef NumberSpeculativeRetype::SetOutputType(GateRef gate, PGOSampleType pgoType) in SetOutputType() argument
45 if (pgoType.IsInt()) { in SetOutputType()
Dbytecode_circuit_builder.cpp1424 … auto pgoType = typeRecorder_.GetOrUpdatePGOType(tsManager_, gateAcc_.TryGetPcOffset(gate), type); in BuildCircuit() local
1425 gateAcc_.TrySetPGOType(gate, pgoType); in BuildCircuit()