Lines Matching refs:Temp
223 auto Temp = MDNode::getTemporary(Context, None); in TEST_F() local
224 Metadata *Args[] = {Temp.get()}; in TEST_F()
241 auto Temp = MDNode::getTemporary(Context, None); in TEST_F() local
242 Metadata *Args[] = {Temp.get(), MDNode::get(Context, None)}; in TEST_F()
302 TempMDNode Temp = MDNode::getTemporary(Context, Arg); in TEST_F() local
303 MDNode *N = getNode(Temp.get()); in TEST_F()
309 EXPECT_PRINTER_EQ("!1 = <temporary!> !{!2}", Temp->print(OS, &M)); in TEST_F()
313 Temp->replaceAllUsesWith(Arg); in TEST_F()
485 auto Temp = MDTuple::getTemporary(Context, None); in TEST_F() local
486 ASSERT_FALSE(Temp->isResolved()); in TEST_F()
489 Metadata *Ops[] = {Temp.get()}; in TEST_F()
492 EXPECT_EQ(Temp.get(), Distinct->getOperand(0)); in TEST_F()
496 Temp->replaceAllUsesWith(Empty); in TEST_F()
569 auto Temp = MDTuple::getTemporary(Context, None); in TEST_F() local
570 Metadata *Ops[] = {nullptr, Temp.get()}; in TEST_F()
582 N->replaceOperandWith(0, Temp.get()); in TEST_F()
583 EXPECT_EQ(Temp.get(), N->getOperand(0)); in TEST_F()
586 Temp->replaceAllUsesWith(nullptr); in TEST_F()
594 auto Temp = MDTuple::getTemporary(Context, Ops); in TEST_F() local
595 EXPECT_TRUE(Temp->isTemporary()); in TEST_F()
598 auto *Current = Temp.get(); in TEST_F()
599 FirstUniqued = MDNode::replaceWithUniqued(std::move(Temp)); in TEST_F()
606 auto Temp = MDTuple::getTemporary(Context, Ops); in TEST_F() local
607 EXPECT_TRUE(Temp->isTemporary()); in TEST_F()
610 auto *Uniqued = MDNode::replaceWithUniqued(std::move(Temp)); in TEST_F()
618 auto Temp = MDTuple::getTemporary(Context, Ops); in TEST_F() local
619 EXPECT_TRUE(Temp->isTemporary()); in TEST_F()
622 auto *Uniqued = MDNode::replaceWithUniqued(std::move(Temp)); in TEST_F()
682 auto Temp = MDTuple::getTemporary(Context, Ops); in TEST_F() local
683 EXPECT_TRUE(Temp->isTemporary()); in TEST_F()
686 auto *Current = Temp.get(); in TEST_F()
687 auto *Distinct = MDNode::replaceWithDistinct(std::move(Temp)); in TEST_F()
695 auto Temp = MDTuple::getTemporary(Context, Ops); in TEST_F() local
696 EXPECT_TRUE(Temp->isTemporary()); in TEST_F()
699 auto *Current = Temp.get(); in TEST_F()
700 auto *Distinct = MDNode::replaceWithDistinct(std::move(Temp)); in TEST_F()
712 auto Temp = MDTuple::getTemporary(Context, Ops); in TEST_F() local
713 auto *T = Temp.get(); in TEST_F()
720 Temp->replaceOperandWith(0, T); in TEST_F()
727 auto *N = MDNode::replaceWithPermanent(std::move(Temp)); in TEST_F()
752 auto Temp = MDTuple::getTemporary(Context, None); in TEST_F() local
753 Ref.reset(Temp.get()); in TEST_F()
754 EXPECT_EQ(Temp.get(), Ref.get()); in TEST_F()
836 TempGenericDebugNode Temp = N->clone(); in TEST_F() local
837 EXPECT_EQ(N, MDNode::replaceWithUniqued(std::move(Temp))); in TEST_F()
857 TempMDSubrange Temp = N->clone(); in TEST_F() local
858 EXPECT_EQ(N, MDNode::replaceWithUniqued(std::move(Temp))); in TEST_F()
881 TempMDEnumerator Temp = N->clone(); in TEST_F() local
882 EXPECT_EQ(N, MDNode::replaceWithUniqued(std::move(Temp))); in TEST_F()
910 TempMDBasicType Temp = N->clone(); in TEST_F() local
911 EXPECT_EQ(N, MDNode::replaceWithUniqued(std::move(Temp))); in TEST_F()
939 TempMDType Temp = N->clone(); in TEST_F() local
940 EXPECT_EQ(N, MDNode::replaceWithUniqued(std::move(Temp))); in TEST_F()
1022 TempMDDerivedType Temp = N->clone(); in TEST_F() local
1023 EXPECT_EQ(N, MDNode::replaceWithUniqued(std::move(Temp))); in TEST_F()
1155 TempMDCompositeType Temp = N->clone(); in TEST_F() local
1156 EXPECT_EQ(N, MDNode::replaceWithUniqued(std::move(Temp))); in TEST_F()
1241 TempMDSubroutineType Temp = N->clone(); in TEST_F() local
1242 EXPECT_EQ(N, MDNode::replaceWithUniqued(std::move(Temp))); in TEST_F()
1269 TempMDFile Temp = N->clone(); in TEST_F() local
1270 EXPECT_EQ(N, MDNode::replaceWithUniqued(std::move(Temp))); in TEST_F()
1383 TempMDCompileUnit Temp = N->clone(); in TEST_F() local
1384 EXPECT_EQ(N, MDNode::replaceWithUniqued(std::move(Temp))); in TEST_F()
1562 TempMDSubprogram Temp = N->clone(); in TEST_F() local
1563 EXPECT_EQ(N, MDNode::replaceWithUniqued(std::move(Temp))); in TEST_F()
1625 TempMDLexicalBlock Temp = N->clone(); in TEST_F() local
1626 EXPECT_EQ(N, MDNode::replaceWithUniqued(std::move(Temp))); in TEST_F()
1651 TempMDLexicalBlockFile Temp = N->clone(); in TEST_F() local
1652 EXPECT_EQ(N, MDNode::replaceWithUniqued(std::move(Temp))); in TEST_F()
1677 TempMDNamespace Temp = N->clone(); in TEST_F() local
1678 EXPECT_EQ(N, MDNode::replaceWithUniqued(std::move(Temp))); in TEST_F()
1698 TempMDTemplateTypeParameter Temp = N->clone(); in TEST_F() local
1699 EXPECT_EQ(N, MDNode::replaceWithUniqued(std::move(Temp))); in TEST_F()
1727 TempMDTemplateValueParameter Temp = N->clone(); in TEST_F() local
1728 EXPECT_EQ(N, MDNode::replaceWithUniqued(std::move(Temp))); in TEST_F()
1801 TempMDGlobalVariable Temp = N->clone(); in TEST_F() local
1802 EXPECT_EQ(N, MDNode::replaceWithUniqued(std::move(Temp))); in TEST_F()
1847 TempMDLocalVariable Temp = N->clone(); in TEST_F() local
1848 EXPECT_EQ(N, MDNode::replaceWithUniqued(std::move(Temp))); in TEST_F()
1866 TempMDExpression Temp = N->clone(); in TEST_F() local
1867 EXPECT_EQ(N, MDNode::replaceWithUniqued(std::move(Temp))); in TEST_F()
1947 TempMDObjCProperty Temp = N->clone(); in TEST_F() local
1948 EXPECT_EQ(N, MDNode::replaceWithUniqued(std::move(Temp))); in TEST_F()
1981 TempMDImportedEntity Temp = N->clone(); in TEST_F() local
1982 EXPECT_EQ(N, MDNode::replaceWithUniqued(std::move(Temp))); in TEST_F()
2051 auto Temp = MDTuple::getTemporary(Context, None); in TEST_F() local
2054 Metadata *Ops1[] = {CI, CI, Temp.get()}; in TEST_F()
2055 Metadata *Ops2[] = {nullptr, CI, Temp.get()}; in TEST_F()
2067 EXPECT_EQ(Temp.get(), N2->getOperand(2)); in TEST_F()
2070 Temp->replaceAllUsesWith(nullptr); in TEST_F()