Home
last modified time | relevance | path

Searched refs:ValueCounts (Results 1 – 4 of 4) sorted by relevance

/freebsd-14.2/contrib/llvm-project/llvm/lib/ProfileData/
H A DInstrProf.cpp645 Sum.ValueCounts[VK] += KindSum; in accumulateCounts()
667 FuncLevelOverlap.Test.ValueCounts[ValueKind]); in overlap()
675 Overlap.Overlap.ValueCounts[ValueKind] += Score; in overlap()
676 FuncLevelOverlap.Overlap.ValueCounts[ValueKind] += FuncLevelScore; in overlap()
1401 if (Test.ValueCounts[I] >= 1.0f) in addOneMismatch()
1402 Mismatch.ValueCounts[I] += in addOneMismatch()
1403 MismatchFunc.ValueCounts[I] / Test.ValueCounts[I]; in addOneMismatch()
1411 if (Test.ValueCounts[I] >= 1.0f) in addOneUnique()
1412 Unique.ValueCounts[I] += UniqueFunc.ValueCounts[I] / Test.ValueCounts[I]; in addOneUnique()
1452 if (Base.ValueCounts[I] < 1.0f && Test.ValueCounts[I] < 1.0f) in dump()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/ProfileData/
H A DInstrProf.h602 double ValueCounts[IPVK_Last - IPVK_First + 1]; member
603 CountSumOrPercent() : NumEntries(0), CountSum(0.0f), ValueCounts() {} in CountSumOrPercent()
607 for (double &VC : ValueCounts) in reset()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMISelLowering.cpp7993 DenseMap<SDValue, unsigned> ValueCounts; in LowerBUILD_VECTOR() local
8004 ValueCounts.insert(std::make_pair(V, 0)); in LowerBUILD_VECTOR()
8005 unsigned &Count = ValueCounts[V]; in LowerBUILD_VECTOR()
8013 if (ValueCounts.size() != 1) in LowerBUILD_VECTOR()
8015 if (!Value.getNode() && !ValueCounts.empty()) in LowerBUILD_VECTOR()
8016 Value = ValueCounts.begin()->first; in LowerBUILD_VECTOR()
8018 if (ValueCounts.empty()) in LowerBUILD_VECTOR()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVISelLowering.cpp3360 DenseMap<SDValue, unsigned> ValueCounts; in lowerBuildVectorViaDominantValues() local
3375 ValueCounts.insert(std::make_pair(V, 0)); in lowerBuildVectorViaDominantValues()
3376 unsigned &Count = ValueCounts[V]; in lowerBuildVectorViaDominantValues()
3399 (ValueCounts.size() <= Log2_32(NumDefElts)))) { in lowerBuildVectorViaDominantValues()
3411 !LastOp.isUndef() && ValueCounts[LastOp] == 1 && in lowerBuildVectorViaDominantValues()
3429 if (ValueCounts[V] == 1) { in lowerBuildVectorViaDominantValues()