Home
last modified time | relevance | path

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

/external/llvm-project/llvm/lib/IR/
DMetadataImpl.h30 case Uniqued: in storeImpl()
44 case Uniqued: in storeImpl()
DMetadata.cpp556 Storage = Uniqued; in makeUniqued()
723 auto *Uniqued = uniquify(); in handleChangedOperand() local
724 if (Uniqued == this) { in handleChangedOperand()
739 Context.getReplaceableUses()->replaceAllUsesWith(Uniqued); in handleChangedOperand()
815 if (Storage == Uniqued) { in getImpl()
DDebugInfoMetadata.cpp58 if (Storage == Uniqued) { in getImpl()
282 if (Storage == Uniqued) { in getImpl()
309 if (Storage == Uniqued) { \
732 assert(Storage != Uniqued && "Cannot unique DICompileUnit"); in getImpl()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DMetadataImpl.h30 case Uniqued: in storeImpl()
44 case Uniqued: in storeImpl()
DMetadata.cpp555 Storage = Uniqued; in makeUniqued()
725 auto *Uniqued = uniquify(); in handleChangedOperand() local
726 if (Uniqued == this) { in handleChangedOperand()
741 Context.getReplaceableUses()->replaceAllUsesWith(Uniqued); in handleChangedOperand()
817 if (Storage == Uniqued) { in getImpl()
DDebugInfoMetadata.cpp58 if (Storage == Uniqued) { in getImpl()
267 if (Storage == Uniqued) { in getImpl()
294 if (Storage == Uniqued) { \
525 assert(Storage != Uniqued && "Cannot unique DICompileUnit"); in getImpl()
/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/llvm-project/clang/tools/scan-build/libexec/
Dccc-analyzer451 my %Uniqued;
560 if (defined $Uniqued{$Arg}) {
564 $Uniqued{$Arg} = 1;
/external/clang/tools/scan-build/libexec/
Dccc-analyzer456 my %Uniqued;
564 if (defined $Uniqued{$Arg}) {
568 $Uniqued{$Arg} = 1;
/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/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-10.0/llvm/include/llvm/IR/
DMetadata.h66 enum StorageType { Uniqued, Distinct, Temporary }; enumerator
352 : Metadata(ID, Uniqued), ReplaceableMetadataImpl(V->getContext()), V(V) { in ValueAsMetadata()
609 MDString() : Metadata(MDStringKind, Uniqued) {} in MDString()
950 bool isUniqued() const { return Storage == Uniqued; }
1142 return getImpl(Context, MDs, Uniqued);
1146 return getImpl(Context, MDs, Uniqued, /* ShouldCreate */ false);
DDebugInfoMetadata.h52 return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued); \
56 return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued, \
1162 assert(Storage != Uniqued); in DICompileUnit()
/external/llvm-project/llvm/include/llvm/IR/
DMetadata.h66 enum StorageType { Uniqued, Distinct, Temporary }; enumerator
352 : Metadata(ID, Uniqued), ReplaceableMetadataImpl(V->getContext()), V(V) { in ValueAsMetadata()
607 MDString() : Metadata(MDStringKind, Uniqued) {} in MDString()
948 bool isUniqued() const { return Storage == Uniqued; }
1140 return getImpl(Context, MDs, Uniqued);
1144 return getImpl(Context, MDs, Uniqued, /* ShouldCreate */ false);
DDebugInfoMetadata.h52 return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued); \
56 return getImpl(Context, DEFINE_MDNODE_GET_UNPACK(ARGS), Uniqued, \
1357 assert(Storage != Uniqued); in DICompileUnit()
/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-project/llvm/unittests/IR/
DMetadataTest.cpp683 auto *Uniqued = MDNode::replaceWithUniqued(std::move(Temp)); in TEST_F() local
684 EXPECT_TRUE(Uniqued->isUniqued()); in TEST_F()
685 EXPECT_TRUE(Uniqued->isResolved()); in TEST_F()
686 EXPECT_EQ(FirstUniqued, Uniqued); in TEST_F()
695 auto *Uniqued = MDNode::replaceWithUniqued(std::move(Temp)); in TEST_F() local
696 EXPECT_TRUE(Uniqued->isUniqued()); in TEST_F()
697 EXPECT_FALSE(Uniqued->isResolved()); in TEST_F()
700 EXPECT_NE(FirstUniqued, Uniqued); in TEST_F()
704 Uniqued->replaceOperandWith(0, nullptr); in TEST_F()
705 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()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DRewriteStatepointsForGC.cpp2177 std::set<CallBase *> Uniqued; in insertParsePoints() local
2178 Uniqued.insert(ToUpdate.begin(), ToUpdate.end()); in insertParsePoints()
2179 assert(Uniqued.size() == ToUpdate.size() && "no duplicates please!"); in insertParsePoints()
/external/llvm-project/llvm/lib/Transforms/Scalar/
DRewriteStatepointsForGC.cpp2335 std::set<CallBase *> Uniqued; in insertParsePoints() local
2336 Uniqued.insert(ToUpdate.begin(), ToUpdate.end()); in insertParsePoints()
2337 assert(Uniqued.size() == ToUpdate.size() && "no duplicates please!"); in insertParsePoints()