Searched refs:ReplaceableUses (Results 1 – 2 of 2) sorted by relevance
728 std::unique_ptr<ReplaceableMetadataImpl> ReplaceableUses)729 : Ptr(ReplaceableUses.release()) {763 makeReplaceable(std::unique_ptr<ReplaceableMetadataImpl> ReplaceableUses) {764 assert(ReplaceableUses && "Expected non-null replaceable uses");765 assert(&ReplaceableUses->getContext() == &getContext() &&768 Ptr = ReplaceableUses.release();776 std::unique_ptr<ReplaceableMetadataImpl> ReplaceableUses(778 Ptr = &ReplaceableUses->getContext();779 return ReplaceableUses;
55 auto ReplaceableUses = make_unique<ReplaceableMetadataImpl>(Context); in TEST() local56 auto *Ptr = ReplaceableUses.get(); in TEST()57 ContextAndReplaceableUses CRU(std::move(ReplaceableUses)); in TEST()58 ReplaceableUses = CRU.takeReplaceableUses(); in TEST()62 EXPECT_EQ(Ptr, ReplaceableUses.get()); in TEST()