Searched refs:ReplaceableUses (Results 1 – 2 of 2) sorted by relevance
655 std::unique_ptr<ReplaceableMetadataImpl> ReplaceableUses)656 : Ptr(ReplaceableUses.release()) {683 makeReplaceable(std::unique_ptr<ReplaceableMetadataImpl> ReplaceableUses) {684 assert(ReplaceableUses && "Expected non-null replaceable uses");685 assert(&ReplaceableUses->getContext() == &getContext() &&688 Ptr = ReplaceableUses.release();696 std::unique_ptr<ReplaceableMetadataImpl> ReplaceableUses(698 Ptr = &ReplaceableUses->getContext();699 return ReplaceableUses;
53 auto ReplaceableUses = make_unique<ReplaceableMetadataImpl>(Context); in TEST() local54 auto *Ptr = ReplaceableUses.get(); in TEST()55 ContextAndReplaceableUses CRU(std::move(ReplaceableUses)); in TEST()56 ReplaceableUses = CRU.takeReplaceableUses(); in TEST()60 EXPECT_EQ(Ptr, ReplaceableUses.get()); in TEST()