Home
last modified time | relevance | path

Searched refs:Uniques (Results 1 – 3 of 3) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DAccelTable.cpp35 SmallVector<uint32_t, 0> Uniques; in computeBucketCount() local
36 Uniques.reserve(Entries.size()); in computeBucketCount()
38 Uniques.push_back(E.second.HashValue); in computeBucketCount()
39 llvm::sort(Uniques); in computeBucketCount()
40 UniqueHashCount = llvm::unique(Uniques) - Uniques.begin(); in computeBucketCount()
/freebsd/contrib/llvm-project/clang/utils/TableGen/
H A DClangAttrEmitter.cpp1035 SmallDenseSet<StringRef, 8> Uniques; in writeConversion() local
1037 if (Uniques.insert(enums[I]).second) in writeConversion()
1173 SmallDenseSet<StringRef, 8> Uniques; in writeConversion() local
1175 if (Uniques.insert(enums[I]).second) in writeConversion()
1779 std::set<std::string> Uniques; in CreateSemanticSpellings() local
1809 if (Uniques.find(EnumName) != Uniques.end()) in CreateSemanticSpellings()
1812 Uniques.insert(EnumName); in CreateSemanticSpellings()
2912 std::set<std::string> Uniques; in emitAttributes() local
2918 if (Uniques.insert(Name).second) { in emitAttributes()
5114 std::set<std::string> Uniques; in GetAttributeHeadingAndSpellings() local
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Vectorize/
H A DSLPVectorizer.cpp1800 SmallPtrSet<Value *, 4> Uniques; in getSplatScore() local
1807 Uniques.insert(OpIdxLnV); in getSplatScore()
1809 int UniquesCount = Uniques.size(); in getSplatScore()
1811 Uniques.contains(IdxLaneV) ? UniquesCount : UniquesCount + 1; in getSplatScore()
1814 Uniques.contains(OpIdxLaneV) ? UniquesCount : UniquesCount + 1; in getSplatScore()
6254 DenseMap<Value *, unsigned> Uniques; in areAltOperandsProfitable() local
6262 auto Res = Uniques.try_emplace(V, 0); in areAltOperandsProfitable()
6272 return none_of(Uniques, [&](const auto &P) { in areAltOperandsProfitable()
6275 return getTreeEntry(U) || Uniques.contains(U); in areAltOperandsProfitable()