Searched refs:InfoType (Results 1 – 2 of 2) sorted by relevance
/arkcompiler/ets_runtime/ecmascript/pgo_profiler/ |
D | pgo_profiler_info.h | 547 enum class InfoType : uint8_t { NONE, OP_TYPE, DEFINE_CLASS_TYPE = 3, USE_HCLASS_TYPE }; enum 551 TypeInfoHeader(InfoType type, uint32_t offset) : infoType_(type), offset_(offset) {} in TypeInfoHeader() 552 TypeInfoHeader(uint32_t size, InfoType type, uint32_t offset) in TypeInfoHeader() 555 InfoType GetInfoType() in GetInfoType() 572 InfoType infoType_ {InfoType::NONE}; 579 : TypeInfoHeader(InfoType::USE_HCLASS_TYPE, offset) {}; in RWScalarOpTypeInfo() 581 : TypeInfoHeader(sizeof(RWScalarOpTypeInfo), InfoType::USE_HCLASS_TYPE, offset) in RWScalarOpTypeInfo() 620 : TypeInfoHeader(sizeof(ScalarOpTypeInfo), InfoType::OP_TYPE, offset), type_(type) {} in ScalarOpTypeInfo() 646 ScalarOpTypeInfo(uint32_t size, InfoType infoType, uint32_t offset, PGOSampleType type) in ScalarOpTypeInfo() 656 : ScalarOpTypeInfo(sizeof(ObjDefOpTypeInfo), InfoType::DEFINE_CLASS_TYPE, offset, type), in ObjDefOpTypeInfo() [all …]
|
D | pgo_profiler_info.cpp | 353 if (typeInfo->GetInfoType() == InfoType::OP_TYPE) { in ParseFromBinary() 355 } else if (typeInfo->GetInfoType() == InfoType::DEFINE_CLASS_TYPE) { in ParseFromBinary() 357 …} else if (header->SupportUseHClassType() && typeInfo->GetInfoType() == InfoType::USE_HCLASS_TYPE)… in ParseFromBinary()
|