Home
last modified time | relevance | path

Searched refs:sampleType (Results 1 – 10 of 10) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/compiler/
Dnumber_speculative_retype.cpp361 PGOSampleType sampleType = acc_.GetTypedBinaryType(gate); in VisitNumberCalculate() local
362 if (sampleType.IsNumber()) { in VisitNumberCalculate()
363 return SetOutputType(gate, sampleType); in VisitNumberCalculate()
397 PGOSampleType sampleType = acc_.GetTypedBinaryType(gate); in VisitNumberShiftAndLogical() local
398 if (sampleType.IsNumber()) { in VisitNumberShiftAndLogical()
399 if (sampleType.IsInt()) { in VisitNumberShiftAndLogical()
633 PGOSampleType sampleType = acc_.GetTypedBinaryType(gate); in ConvertForBinaryOp() local
634 if (sampleType.IsNumber()) { in ConvertForBinaryOp()
635 if (sampleType.IsInt()) { in ConvertForBinaryOp()
642 if (sampleType.IsIntOverFlow()) { in ConvertForBinaryOp()
[all …]
Dnumber_speculative_lowering.cpp247 PGOSampleType sampleType = acc_.GetTypedBinaryType(gate); in VisitNumberCalculate() local
248 if (sampleType.IsNumber()) { in VisitNumberCalculate()
249 if (sampleType.IsInt()) { in VisitNumberCalculate()
275 PGOSampleType sampleType = acc_.GetTypedBinaryType(gate); in VisitNumberCompare() local
276 if (sampleType.IsNumber()) { in VisitNumberCompare()
277 if (sampleType.IsInt()) { in VisitNumberCompare()
325 PGOSampleType sampleType = acc_.GetTypedBinaryType(gate); in VisitNumberDiv() local
326 if (sampleType.IsNumber()) { in VisitNumberDiv()
327 if (sampleType.IsInt()) { in VisitNumberDiv()
352 PGOSampleType sampleType = acc_.GetTypedBinaryType(gate); in VisitNumberMod() local
[all …]
Dcompiler_log.cpp256 PGOSampleType sampleType = acc_.TryGetPGOType(gate); in CollectGateTypeLogInfo() local
257 if (sampleType.IsNumber()) { in CollectGateTypeLogInfo()
258 if (sampleType.IsInt()) { in CollectGateTypeLogInfo()
261 if (sampleType.IsIntOverFlow()) { in CollectGateTypeLogInfo()
263 } else if (sampleType.IsDouble()) { in CollectGateTypeLogInfo()
Dts_hcr_lowering.cpp335 PGOSampleType sampleType = acc_.TryGetPGOType(gate); in LowerTypedStrictEq() local
338 left, right, leftType, rightType, gateType, sampleType); in LowerTypedStrictEq()
416 PGOSampleType sampleType = acc_.TryGetPGOType(gate); in HasNumberType() local
417 if (sampleType.IsNumber() || in HasNumberType()
418 (sampleType.IsNone() && valueType.IsNumberType())) { in HasNumberType()
429 PGOSampleType sampleType = acc_.TryGetPGOType(gate); in HasNumberType() local
430 if (sampleType.IsNumber() || in HasNumberType()
431 (sampleType.IsNone() && leftType.IsNumberType() && rightType.IsNumberType())) { in HasNumberType()
446 PGOSampleType sampleType = acc_.TryGetPGOType(gate); in SpeculateNumbers() local
449 …ateRef result = builder_.TypedBinaryOp<Op>(left, right, leftType, rightType, gateType, sampleType); in SpeculateNumbers()
[all …]
Dgate_accessor.cpp198 auto sampleType = GetTypedBinaryType(gate); in HasNumberType() local
199 if (sampleType.IsNumber()) { in HasNumberType()
202 if (sampleType.IsNone()) { in HasNumberType()
Dcircuit_builder-inl.h896 PGOSampleType sampleType) in TypedBinaryOp() argument
902 … auto numberBinaryOp = GetCircuit()->NewGate(circuit_->TypedBinaryOp(operandTypes, Op, sampleType), in TypedBinaryOp()
Dcircuit_builder.h529 PGOSampleType sampleType);
/arkcompiler/ets_runtime/ecmascript/pgo_profiler/tests/
Dpgo_profiler_test.cpp760 auto sampleType = *reinterpret_cast<PGOSampleType *>(type); in HWTEST_F_L0() local
761 if (sampleType.IsClassType()) { in HWTEST_F_L0()
764 if (!decoder.GetHClassLayoutDesc(sampleType, &desc)) { in HWTEST_F_L0()
769 auto classId = EntityId(sampleType.GetClassType().GetClassType()); in HWTEST_F_L0()
826 auto sampleType = *reinterpret_cast<PGOSampleType *>(type); in HWTEST_F_L0() local
827 if (sampleType.IsClassType()) { in HWTEST_F_L0()
831 ASSERT_EQ(sampleType.GetTypeString(), types[index++]); in HWTEST_F_L0()
861 auto sampleType = *reinterpret_cast<PGOSampleType *>(type); in HWTEST_F_L0() local
862 if (sampleType.IsClassType()) { in HWTEST_F_L0()
865 if (!decoder.GetHClassLayoutDesc(sampleType, &desc)) { in HWTEST_F_L0()
/arkcompiler/ets_runtime/ecmascript/dfx/hprof/
Dheap_profiler.h111 HeapSnapshot *MakeHeapSnapshot(SampleType sampleType, bool isVmMode = true,
Dheap_profiler.cpp286 HeapSnapshot *HeapProfiler::MakeHeapSnapshot(SampleType sampleType, bool isVmMode, bool isPrivate, in MakeHeapSnapshot() argument
292 switch (sampleType) { in MakeHeapSnapshot()