Searched refs:sampleType (Results 1 – 10 of 10) sorted by relevance
115 const PGOSampleType *sampleType = acc_.TryGetPGOType(gate_).GetPGOSampleType(); in HasNumberType() local116 if (sampleType->IsNumber()) { in HasNumberType()118 } else if (convertNumberType_ && sampleType->IsNone() && leftType.IsPrimitiveNumberType() && in HasNumberType()121 …} else if (!convertNumberType_ && sampleType->IsNone() && leftType.IsNumberType() && rightType.IsN… in HasNumberType()133 const PGOSampleType *sampleType = acc_.TryGetPGOType(gate_).GetPGOSampleType(); in HasStringType() local134 if (sampleType->IsString()) { in HasStringType()136 } else if (sampleType->IsNone() && leftType.IsStringType() && rightType.IsStringType()) { in HasStringType()150 const PGOSampleType *sampleType = acc_.TryGetPGOType(gate_).GetPGOSampleType(); in ValueIsNumberType() local151 if (sampleType->IsNumber() || in ValueIsNumberType()152 (sampleType->IsNone() && ValueIsPrimitiveNumberType())) { in ValueIsNumberType()[all …]
256 const PGOSampleType *sampleType = acc_.TryGetPGOType(gate).GetPGOSampleType(); in CollectGateTypeLogInfo() local257 if (sampleType->IsString()) { in CollectGateTypeLogInfo()259 } else if (sampleType->IsNumber()) { in CollectGateTypeLogInfo()260 if (sampleType->IsInt()) { in CollectGateTypeLogInfo()263 if (sampleType->IsIntOverFlow()) { in CollectGateTypeLogInfo()265 } else if (sampleType->IsDouble()) { in CollectGateTypeLogInfo()
296 const PGOSampleType *sampleType = acc_.GetTypedBinaryType(gate).GetPGOSampleType(); in VisitNumberCalculate() local297 if (sampleType->IsNumber()) { in VisitNumberCalculate()298 if (sampleType->IsInt()) { in VisitNumberCalculate()324 const PGOSampleType *sampleType = acc_.GetTypedBinaryType(gate).GetPGOSampleType(); in VisitNumberCompare() local325 if (sampleType->IsNumber()) { in VisitNumberCompare()326 if (sampleType->IsInt()) { in VisitNumberCompare()374 const PGOSampleType *sampleType = acc_.GetTypedBinaryType(gate).GetPGOSampleType(); in VisitNumberDiv() local375 if (sampleType->IsNumber()) { in VisitNumberDiv()376 if (sampleType->IsInt()) { in VisitNumberDiv()401 const PGOSampleType *sampleType = acc_.GetTypedBinaryType(gate).GetPGOSampleType(); in VisitNumberMod() local[all …]
463 const PGOSampleType *sampleType = acc_.GetTypedBinaryType(gate).GetPGOSampleType(); in VisitNumberCalculate() local464 if (sampleType->IsNumber()) { in VisitNumberCalculate()465 return SetOutputType(gate, *sampleType); in VisitNumberCalculate()499 const PGOSampleType *sampleType = acc_.GetTypedBinaryType(gate).GetPGOSampleType(); in VisitNumberShiftAndLogical() local500 if (sampleType->IsNumber()) { in VisitNumberShiftAndLogical()501 if (sampleType->IsInt()) { in VisitNumberShiftAndLogical()741 const PGOSampleType *sampleType = acc_.GetTypedBinaryType(gate).GetPGOSampleType(); in ConvertForBinaryOp() local742 if (sampleType->IsNumber()) { in ConvertForBinaryOp()743 if (sampleType->IsInt()) { in ConvertForBinaryOp()750 if (sampleType->IsIntOverFlow()) { in ConvertForBinaryOp()[all …]
373 auto sampleType = GetTypedBinaryType(gate).GetPGOSampleType(); in HasNumberType() local374 if (sampleType->IsNumber()) { in HasNumberType()377 if (sampleType->IsNone()) { in HasNumberType()391 const PGOSampleType *sampleType = TryGetPGOType(gate).GetPGOSampleType(); in HasStringType() local392 if (sampleType->IsString()) { in HasStringType()394 } else if (sampleType->IsNone() && leftType.IsStringType() && rightType.IsStringType()) { in HasStringType()403 auto sampleType = GetTypedBinaryType(gate).GetPGOSampleType(); in HasPrimitiveNumberType() local404 if (sampleType->IsNumber()) { in HasPrimitiveNumberType()407 if (sampleType->IsNone()) { in HasPrimitiveNumberType()
385 const PGOSampleType *sampleType = acc_.TryGetPGOType(gate).GetPGOSampleType(); in SpeculateNumber() local386 if (sampleType->IsNumber()) { in SpeculateNumber()387 if (sampleType->IsInt()) { in SpeculateNumber()389 } else if (sampleType->IsDouble()) { in SpeculateNumber()
780 auto sampleType = *reinterpret_cast<const PGOSampleType *>(type); in HWTEST_F_L0() local781 if (sampleType.IsProfileType()) { in HWTEST_F_L0()784 if (!decoder.GetHClassTreeDesc(sampleType, &desc)) { in HWTEST_F_L0()788 auto classId = EntityId(sampleType.GetProfileType().GetId()); in HWTEST_F_L0()837 auto sampleType = *reinterpret_cast<const PGOSampleType *>(type); in HWTEST_F_L0() local838 if (sampleType.IsProfileType()) { in HWTEST_F_L0()842 if (sampleType.GetWeight() > 0) { in HWTEST_F_L0()843 auto trueWeight = sampleType.GetWeight() >> 10; in HWTEST_F_L0()844 auto falseWeight = sampleType.GetWeight() & 0x7FF; in HWTEST_F_L0()845 auto primitiveType = sampleType.GetPrimitiveType(); in HWTEST_F_L0()[all …]
827 auto sampleType = static_cast<const PGOSampleType*>(type_); in IsValidCallMethodId() local828 if (sampleType->IsProfileType()) { in IsValidCallMethodId()829 if (sampleType->GetProfileType().IsMethodId()) { in IsValidCallMethodId()830 return sampleType->GetProfileType().IsValidCallMethodId(); in IsValidCallMethodId()838 auto sampleType = static_cast<const PGOSampleType*>(type_); in GetCallMethodId() local839 return sampleType->GetProfileType().GetCallMethodId(); in GetCallMethodId()844 auto sampleType = static_cast<const PGOSampleType*>(type_); in GetValue() local845 return sampleType->GetProfileType().GetRaw(); in GetValue()
119 HeapSnapshot *MakeHeapSnapshot(SampleType sampleType, bool isVmMode = true,
311 HeapSnapshot *HeapProfiler::MakeHeapSnapshot(SampleType sampleType, bool isVmMode, bool isPrivate, in MakeHeapSnapshot() argument320 switch (sampleType) { in MakeHeapSnapshot()