Home
last modified time | relevance | path

Searched refs:Uniqued (Results 1 – 9 of 9) sorted by relevance

/external/llvm/lib/IR/
DMetadataImpl.h31 case Uniqued: in storeImpl()
45 case Uniqued: in storeImpl()
DDebugInfoMetadata.cpp48 if (Storage == Uniqued) { in getImpl()
166 if (Storage == Uniqued) { in getImpl()
193 if (Storage == Uniqued) { \
365 assert(Storage != Uniqued && "Cannot unique DICompileUnit"); in getImpl()
DMetadata.cpp517 Storage = Uniqued; in makeUniqued()
687 auto *Uniqued = uniquify(); in handleChangedOperand() local
688 if (Uniqued == this) { in handleChangedOperand()
703 Context.getReplaceableUses()->replaceAllUsesWith(Uniqued); in handleChangedOperand()
779 if (Storage == Uniqued) { in getImpl()
/external/clang/tools/scan-build/libexec/
Dccc-analyzer456 my %Uniqued;
564 if (defined $Uniqued{$Arg}) {
568 $Uniqued{$Arg} = 1;
/external/llvm/include/llvm/IR/
DMetadata.h52 enum StorageType { Uniqued, Distinct, Temporary }; enumerator
325 : Metadata(ID, Uniqued), ReplaceableMetadataImpl(V->getContext()), V(V) { in ValueAsMetadata()
576 MDString() : Metadata(MDStringKind, Uniqued), Entry(nullptr) {} in MDString()
885 bool isUniqued() const { return Storage == Uniqued; }
1075 return getImpl(Context, MDs, Uniqued);
1078 return getImpl(Context, MDs, Uniqued, /* ShouldCreate */ false);
DDebugInfoMetadata.h35 return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued); \
39 return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued, \
1008 assert(Storage != Uniqued);
/external/swiftshader/third_party/llvm-subzero/include/llvm/IR/
DMetadata.h63 enum StorageType { Uniqued, Distinct, Temporary }; enumerator
338 : Metadata(ID, Uniqued), ReplaceableMetadataImpl(V->getContext()), V(V) { in ValueAsMetadata()
590 MDString() : Metadata(MDStringKind, Uniqued), Entry(nullptr) {} in MDString()
907 bool isUniqued() const { return Storage == Uniqued; }
1100 return getImpl(Context, MDs, Uniqued);
1104 return getImpl(Context, MDs, Uniqued, /* ShouldCreate */ false);
/external/llvm/unittests/IR/
DMetadataTest.cpp626 auto *Uniqued = MDNode::replaceWithUniqued(std::move(Temp)); in TEST_F() local
627 EXPECT_TRUE(Uniqued->isUniqued()); in TEST_F()
628 EXPECT_TRUE(Uniqued->isResolved()); in TEST_F()
629 EXPECT_EQ(FirstUniqued, Uniqued); in TEST_F()
638 auto *Uniqued = MDNode::replaceWithUniqued(std::move(Temp)); in TEST_F() local
639 EXPECT_TRUE(Uniqued->isUniqued()); in TEST_F()
640 EXPECT_FALSE(Uniqued->isResolved()); in TEST_F()
643 EXPECT_NE(FirstUniqued, Uniqued); in TEST_F()
647 Uniqued->replaceOperandWith(0, nullptr); in TEST_F()
648 EXPECT_TRUE(Uniqued->isResolved()); in TEST_F()
/external/llvm/lib/Transforms/Scalar/
DRewriteStatepointsForGC.cpp1982 std::set<CallSite> Uniqued; in insertParsePoints() local
1983 Uniqued.insert(ToUpdate.begin(), ToUpdate.end()); in insertParsePoints()
1984 assert(Uniqued.size() == ToUpdate.size() && "no duplicates please!"); in insertParsePoints()