Lines Matching refs:Temp
225 auto Temp = MDNode::getTemporary(Context, None); in TEST_F() local
226 Metadata *Args[] = {Temp.get()}; in TEST_F()
243 auto Temp = MDNode::getTemporary(Context, None); in TEST_F() local
244 Metadata *Args[] = {Temp.get(), MDNode::get(Context, None)}; in TEST_F()
304 TempMDNode Temp = MDNode::getTemporary(Context, Arg); in TEST_F() local
305 MDNode *N = getNode(Temp.get()); in TEST_F()
311 EXPECT_PRINTER_EQ("!1 = <temporary!> !{!2}", Temp->print(OS, &M)); in TEST_F()
315 Temp->replaceAllUsesWith(Arg); in TEST_F()
499 auto Temp = MDTuple::getTemporary(Context, None); in TEST_F() local
500 ASSERT_FALSE(Temp->isResolved()); in TEST_F()
503 Metadata *Ops[] = {Temp.get()}; in TEST_F()
506 EXPECT_EQ(Temp.get(), Distinct->getOperand(0)); in TEST_F()
510 Temp->replaceAllUsesWith(Empty); in TEST_F()
583 auto Temp = MDTuple::getTemporary(Context, None); in TEST_F() local
584 Metadata *Ops[] = {nullptr, Temp.get()}; in TEST_F()
596 N->replaceOperandWith(0, Temp.get()); in TEST_F()
597 EXPECT_EQ(Temp.get(), N->getOperand(0)); in TEST_F()
600 Temp->replaceAllUsesWith(nullptr); in TEST_F()
608 auto Temp = MDTuple::getTemporary(Context, Ops); in TEST_F() local
609 EXPECT_TRUE(Temp->isTemporary()); in TEST_F()
612 auto *Current = Temp.get(); in TEST_F()
613 FirstUniqued = MDNode::replaceWithUniqued(std::move(Temp)); in TEST_F()
620 auto Temp = MDTuple::getTemporary(Context, Ops); in TEST_F() local
621 EXPECT_TRUE(Temp->isTemporary()); in TEST_F()
624 auto *Uniqued = MDNode::replaceWithUniqued(std::move(Temp)); in TEST_F()
632 auto Temp = MDTuple::getTemporary(Context, Ops); in TEST_F() local
633 EXPECT_TRUE(Temp->isTemporary()); in TEST_F()
636 auto *Uniqued = MDNode::replaceWithUniqued(std::move(Temp)); in TEST_F()
696 auto Temp = MDTuple::getTemporary(Context, Ops); in TEST_F() local
697 EXPECT_TRUE(Temp->isTemporary()); in TEST_F()
700 auto *Current = Temp.get(); in TEST_F()
701 auto *Distinct = MDNode::replaceWithDistinct(std::move(Temp)); in TEST_F()
709 auto Temp = MDTuple::getTemporary(Context, Ops); in TEST_F() local
710 EXPECT_TRUE(Temp->isTemporary()); in TEST_F()
713 auto *Current = Temp.get(); in TEST_F()
714 auto *Distinct = MDNode::replaceWithDistinct(std::move(Temp)); in TEST_F()
726 auto Temp = MDTuple::getTemporary(Context, Ops); in TEST_F() local
727 auto *T = Temp.get(); in TEST_F()
734 Temp->replaceOperandWith(0, T); in TEST_F()
741 auto *N = MDNode::replaceWithPermanent(std::move(Temp)); in TEST_F()
766 auto Temp = MDTuple::getTemporary(Context, None); in TEST_F() local
767 Ref.reset(Temp.get()); in TEST_F()
768 EXPECT_EQ(Temp.get(), Ref.get()); in TEST_F()
858 TempGenericDINode Temp = N->clone(); in TEST_F() local
859 EXPECT_EQ(N, MDNode::replaceWithUniqued(std::move(Temp))); in TEST_F()
879 TempDISubrange Temp = N->clone(); in TEST_F() local
880 EXPECT_EQ(N, MDNode::replaceWithUniqued(std::move(Temp))); in TEST_F()
903 TempDIEnumerator Temp = N->clone(); in TEST_F() local
904 EXPECT_EQ(N, MDNode::replaceWithUniqued(std::move(Temp))); in TEST_F()
932 TempDIBasicType Temp = N->clone(); in TEST_F() local
933 EXPECT_EQ(N, MDNode::replaceWithUniqued(std::move(Temp))); in TEST_F()
961 TempDIType Temp = N->clone(); in TEST_F() local
962 EXPECT_EQ(N, MDNode::replaceWithUniqued(std::move(Temp))); in TEST_F()
1044 TempDIDerivedType Temp = N->clone(); in TEST_F() local
1045 EXPECT_EQ(N, MDNode::replaceWithUniqued(std::move(Temp))); in TEST_F()
1179 TempDICompositeType Temp = N->clone(); in TEST_F() local
1180 EXPECT_EQ(N, MDNode::replaceWithUniqued(std::move(Temp))); in TEST_F()
1264 TempDISubroutineType Temp = N->clone(); in TEST_F() local
1265 EXPECT_EQ(N, MDNode::replaceWithUniqued(std::move(Temp))); in TEST_F()
1288 TempDIFile Temp = N->clone(); in TEST_F() local
1289 EXPECT_EQ(N, MDNode::replaceWithUniqued(std::move(Temp))); in TEST_F()
1339 TempDICompileUnit Temp = N->clone(); in TEST_F() local
1340 EXPECT_EQ(dwarf::DW_TAG_compile_unit, Temp->getTag()); in TEST_F()
1341 EXPECT_EQ(SourceLanguage, Temp->getSourceLanguage()); in TEST_F()
1342 EXPECT_EQ(File, Temp->getFile()); in TEST_F()
1343 EXPECT_EQ(Producer, Temp->getProducer()); in TEST_F()
1344 EXPECT_EQ(IsOptimized, Temp->isOptimized()); in TEST_F()
1345 EXPECT_EQ(Flags, Temp->getFlags()); in TEST_F()
1346 EXPECT_EQ(RuntimeVersion, Temp->getRuntimeVersion()); in TEST_F()
1347 EXPECT_EQ(SplitDebugFilename, Temp->getSplitDebugFilename()); in TEST_F()
1348 EXPECT_EQ(EmissionKind, Temp->getEmissionKind()); in TEST_F()
1349 EXPECT_EQ(EnumTypes, Temp->getEnumTypes().get()); in TEST_F()
1350 EXPECT_EQ(RetainedTypes, Temp->getRetainedTypes().get()); in TEST_F()
1351 EXPECT_EQ(Subprograms, Temp->getSubprograms().get()); in TEST_F()
1352 EXPECT_EQ(GlobalVariables, Temp->getGlobalVariables().get()); in TEST_F()
1353 EXPECT_EQ(ImportedEntities, Temp->getImportedEntities().get()); in TEST_F()
1354 EXPECT_EQ(Macros, Temp->getMacros().get()); in TEST_F()
1355 EXPECT_EQ(DWOId, Temp->getDWOId()); in TEST_F()
1357 auto *TempAddress = Temp.get(); in TEST_F()
1358 auto *Clone = MDNode::replaceWithPermanent(std::move(Temp)); in TEST_F()
1539 TempDISubprogram Temp = N->clone(); in TEST_F() local
1540 EXPECT_EQ(N, MDNode::replaceWithUniqued(std::move(Temp))); in TEST_F()
1566 TempDILexicalBlock Temp = N->clone(); in TEST_F() local
1567 EXPECT_EQ(N, MDNode::replaceWithUniqued(std::move(Temp))); in TEST_F()
1618 TempDILexicalBlockFile Temp = N->clone(); in TEST_F() local
1619 EXPECT_EQ(N, MDNode::replaceWithUniqued(std::move(Temp))); in TEST_F()
1644 TempDINamespace Temp = N->clone(); in TEST_F() local
1645 EXPECT_EQ(N, MDNode::replaceWithUniqued(std::move(Temp))); in TEST_F()
1678 TempDIModule Temp = N->clone(); in TEST_F() local
1679 EXPECT_EQ(N, MDNode::replaceWithUniqued(std::move(Temp))); in TEST_F()
1699 TempDITemplateTypeParameter Temp = N->clone(); in TEST_F() local
1700 EXPECT_EQ(N, MDNode::replaceWithUniqued(std::move(Temp))); in TEST_F()
1728 TempDITemplateValueParameter Temp = N->clone(); in TEST_F() local
1729 EXPECT_EQ(N, MDNode::replaceWithUniqued(std::move(Temp))); in TEST_F()
1802 TempDIGlobalVariable Temp = N->clone(); in TEST_F() local
1803 EXPECT_EQ(N, MDNode::replaceWithUniqued(std::move(Temp))); in TEST_F()
1848 TempDILocalVariable Temp = N->clone(); in TEST_F() local
1849 EXPECT_EQ(N, MDNode::replaceWithUniqued(std::move(Temp))); in TEST_F()
1883 TempDIExpression Temp = N->clone(); in TEST_F() local
1884 EXPECT_EQ(N, MDNode::replaceWithUniqued(std::move(Temp))); in TEST_F()
1964 TempDIObjCProperty Temp = N->clone(); in TEST_F() local
1965 EXPECT_EQ(N, MDNode::replaceWithUniqued(std::move(Temp))); in TEST_F()
1998 TempDIImportedEntity Temp = N->clone(); in TEST_F() local
1999 EXPECT_EQ(N, MDNode::replaceWithUniqued(std::move(Temp))); in TEST_F()
2068 auto Temp = MDTuple::getTemporary(Context, None); in TEST_F() local
2071 Metadata *Ops1[] = {CI, CI, Temp.get()}; in TEST_F()
2072 Metadata *Ops2[] = {nullptr, CI, Temp.get()}; in TEST_F()
2084 EXPECT_EQ(Temp.get(), N2->getOperand(2)); in TEST_F()
2087 Temp->replaceAllUsesWith(nullptr); in TEST_F()