Home
last modified time | relevance | path

Searched refs:TrackType (Results 1 – 6 of 6) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/pgo_profiler/
Dpgo_profiler_layout.h30 …using TrackTypeField = BitField<TrackType, 0, PropertyAttributes::TRACK_TYPE_NUM>; // 3 : three bi…
35 SetTrackType(TrackType::NONE); in PGOHandler()
39 PGOHandler(TrackType type, bool isAccessor) in PGOHandler()
54 case TrackType::DOUBLE: in SetAttribute()
55 case TrackType::NUMBER: in SetAttribute()
59 case TrackType::INT: in SetAttribute()
63 case TrackType::TAGGED: in SetAttribute()
72 void SetTrackType(TrackType type) in SetTrackType()
77 TrackType GetTrackType() const in GetTrackType()
Dpgo_profiler_layout.cpp82 case TrackType::TAGGED: in UpdateKeyAndDesc()
85 case TrackType::NONE: in UpdateKeyAndDesc()
86 case TrackType::INT: in UpdateKeyAndDesc()
87 case TrackType::DOUBLE: in UpdateKeyAndDesc()
88 if (newTrackType != TrackType::TAGGED) { in UpdateKeyAndDesc()
89 newTrackType = static_cast<TrackType>(static_cast<uint8_t>(newTrackType) | in UpdateKeyAndDesc()
Dpgo_profiler_info.h866 CMap<PGOSampleType, CMap<CString, TrackType>> globalLayoutDescInfos_;
/arkcompiler/ets_runtime/ecmascript/
Dproperty_attributes.h33 enum class TrackType : uint8_t { enum
84 using TrackTypeField = OffsetField::NextField<TrackType, TRACK_TYPE_NUM>; // 3: 3 bits
134 TrackType oldType = GetTrackType(); in UpdateTrackType()
135 if (oldType == TrackType::TAGGED) { in UpdateTrackType()
139 TrackType newType = TrackType::TAGGED; in UpdateTrackType()
141 …newType = static_cast<TrackType>(static_cast<uint8_t>(TrackType::INT) | static_cast<uint8_t>(oldTy… in UpdateTrackType()
143 …newType = static_cast<TrackType>(static_cast<uint8_t>(TrackType::DOUBLE) | static_cast<uint8_t>(ol… in UpdateTrackType()
260 inline TrackType GetTrackType() const in GetTrackType()
265 inline void SetTrackType(TrackType type) in SetTrackType()
Dlayout_info.cpp182 TrackType type = attr.GetTrackType(); in DumpFieldIndexForProfile()
/arkcompiler/ets_runtime/ecmascript/compiler/
Dprofiler_stub_builder.cpp231 … DEFVARIABLE(newTrackType, VariableType::INT32(), Int32(static_cast<int32_t>(TrackType::TAGGED))); in UpdateTrackTypeInPropAttr()
236 Branch(Equal(oldTrackType, Int32(static_cast<int32_t>(TrackType::TAGGED))), &exit, &judgeValue); in UpdateTrackTypeInPropAttr()
242 …Branch(Int32Equal(*newTrackType, Int32(static_cast<int32_t>(TrackType::TAGGED))), &update, &merge); in UpdateTrackTypeInPropAttr()
303 … DEFVARIABLE(newTrackType, VariableType::INT32(), Int32(static_cast<int32_t>(TrackType::TAGGED))); in TaggedToTrackType()
310 newTrackType = Int32(static_cast<int32_t>(TrackType::INT)); in TaggedToTrackType()
320 newTrackType = Int32(static_cast<int32_t>(TrackType::TAGGED)); in TaggedToTrackType()
325 newTrackType = Int32(static_cast<int32_t>(TrackType::DOUBLE)); in TaggedToTrackType()