Home
last modified time | relevance | path

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

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