Searched refs:ReplaceableUses (Results 1 – 2 of 2) sorted by relevance
669 std::unique_ptr<ReplaceableMetadataImpl> ReplaceableUses)670 : Ptr(ReplaceableUses.release()) {697 makeReplaceable(std::unique_ptr<ReplaceableMetadataImpl> ReplaceableUses) {698 assert(ReplaceableUses && "Expected non-null replaceable uses");699 assert(&ReplaceableUses->getContext() == &getContext() &&702 Ptr = ReplaceableUses.release();710 std::unique_ptr<ReplaceableMetadataImpl> ReplaceableUses(712 Ptr = &ReplaceableUses->getContext();713 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()