Searched defs:Uniqued (Results 1 - 2 of 2) sorted by relevance

/external/llvm/include/llvm/IR/
H A DMetadata.h50 enum StorageType { Uniqued, Distinct, Temporary }; enumerator in enum:llvm::Metadata::StorageType
253 : Metadata(ID, Uniqued), ReplaceableMetadataImpl(V->getContext()), V(V) {
504 MDString() : Metadata(MDStringKind, Uniqued), Entry(nullptr) {}
505 MDString(MDString &&) : Metadata(MDStringKind, Uniqued) {}
805 bool isUniqued() const { return Storage == Uniqued; }
987 return getImpl(Context, MDs, Uniqued);
990 return getImpl(Context, MDs, Uniqued, /* ShouldCreate */ false);
/external/llvm/unittests/IR/
H A DMetadataTest.cpp609 // Should collide with Uniqued above this time.
610 auto *Uniqued = MDNode::replaceWithUniqued(std::move(Temp)); local
611 EXPECT_TRUE(Uniqued->isUniqued());
612 EXPECT_TRUE(Uniqued->isResolved());
613 EXPECT_EQ(FirstUniqued, Uniqued);
622 auto *Uniqued = MDNode::replaceWithUniqued(std::move(Temp)); local
623 EXPECT_TRUE(Uniqued->isUniqued());
624 EXPECT_FALSE(Uniqued->isResolved());
627 EXPECT_NE(FirstUniqued, Uniqued);
631 Uniqued
[all...]

Completed in 685 milliseconds