Home
last modified time | relevance | path

Searched refs:ReplaceableUses (Results 1 – 2 of 2) sorted by relevance

/external/llvm/include/llvm/IR/
DMetadata.h655 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;
/external/llvm/unittests/IR/
DMetadataTest.cpp53 auto ReplaceableUses = make_unique<ReplaceableMetadataImpl>(Context); in TEST() local
54 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()