reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
611 assert(isDistinct() && "Only distinct nodes can mutate"); 909 assert(isDistinct() && "Only distinct nodes can mutate");lib/Analysis/LoopInfo.cpp
1007 return Node->getNumOperands() == 0 && Node->isDistinct();
lib/Bitcode/Reader/MetadataLoader.cpp331 if (!Tuple || Tuple->isDistinct()) 348 if (!Tuple || Tuple->isDistinct())lib/Bitcode/Writer/BitcodeWriter.cpp
1439 Stream.EmitRecord(N->isDistinct() ? bitc::METADATA_DISTINCT_NODE 1465 Record.push_back(N->isDistinct()); 1496 Record.push_back(N->isDistinct()); 1516 Record.push_back((uint64_t)N->isDistinct() | Version); 1527 Record.push_back((N->isUnsigned() << 1) | N->isDistinct()); 1538 Record.push_back(N->isDistinct()); 1553 Record.push_back(N->isDistinct()); 1581 Record.push_back(IsNotUsedInOldTypeRef | (unsigned)N->isDistinct()); 1607 Record.push_back(HasNoOldTypeRefs | (unsigned)N->isDistinct()); 1619 Record.push_back(N->isDistinct()); 1642 assert(N->isDistinct() && "Expected distinct compile units"); 1672 Record.push_back(uint64_t(N->isDistinct()) | HasUnitFlag | HasSPFlagsFlag); 1698 Record.push_back(N->isDistinct()); 1711 Record.push_back(N->isDistinct()); 1723 Record.push_back(N->isDistinct()); 1737 Record.push_back(N->isDistinct() | N->getExportSymbols() << 1); 1748 Record.push_back(N->isDistinct()); 1761 Record.push_back(N->isDistinct()); 1774 Record.push_back(N->isDistinct()); 1785 Record.push_back(N->isDistinct()); 1796 Record.push_back(N->isDistinct()); 1810 Record.push_back((uint64_t)N->isDistinct() | Version); 1844 Record.push_back((uint64_t)N->isDistinct() | HasAlignmentFlag); 1861 Record.push_back((uint64_t)N->isDistinct()); 1876 Record.push_back((uint64_t)N->isDistinct() | Version); 1886 Record.push_back(N->isDistinct()); 1897 Record.push_back(N->isDistinct()); 1913 Record.push_back(N->isDistinct());lib/Bitcode/Writer/ValueEnumerator.cpp
635 if (Op->isDistinct() && !N->isDistinct()) 635 if (Op->isDistinct() && !N->isDistinct()) 649 if (Worklist.empty() || Worklist.back().first->isDistinct()) { 722 return N->isDistinct() ? 2 : 3;lib/IR/AsmWriter.cpp
2207 if (Node->isDistinct())
lib/IR/DebugInfo.cpp447 if (MDS->isDistinct()) 498 if (MLD->isDistinct())lib/IR/Metadata.cpp
571 assert(isDistinct() && "Expected this to be distinct");
lib/IR/Verifier.cpp1046 AssertDI(N.isDistinct(), "compile units must be distinct", &N); 1132 AssertDI(N.isDistinct(), "subprogram definitions must be distinct", &N); 2252 !cast<DISubprogram>(I.second)->isDistinct(),lib/Transforms/IPO/ThinLTOBitcodeWriter.cpp
92 if (isa<MDNode>(MD) && cast<MDNode>(MD)->isDistinct()) {
lib/Transforms/Utils/ValueMapper.cpp534 if (N.isDistinct()) 550 assert(N.isDistinct() && "Expected a distinct node");unittests/IR/IRBuilderTest.cpp
724 EXPECT_TRUE(SP->isDistinct()); 748 EXPECT_TRUE(GSP->isDistinct());unittests/IR/MetadataTest.cpp
450 EXPECT_FALSE(Empty->isDistinct()); 457 EXPECT_FALSE(Wrapped1->isDistinct()); 464 EXPECT_FALSE(Wrapped2->isDistinct()); 469 EXPECT_TRUE(Wrapped2->isDistinct()); 470 EXPECT_FALSE(Wrapped1->isDistinct()); 501 ASSERT_TRUE(N->isDistinct()); 511 ASSERT_FALSE(Empty->isDistinct()); 518 EXPECT_TRUE(Distinct2->isDistinct()); 540 EXPECT_FALSE(U->isDistinct()); 541 EXPECT_TRUE(D->isDistinct()); 542 EXPECT_FALSE(T->isDistinct()); 744 ASSERT_TRUE(N->isDistinct()); 784 EXPECT_TRUE(Distinct->isDistinct()); 797 EXPECT_TRUE(Distinct->isDistinct()); 825 EXPECT_TRUE(N->isDistinct()); 963 EXPECT_TRUE(L0->isDistinct()); 965 EXPECT_FALSE(L1->isDistinct()); 1752 EXPECT_TRUE(Clone->isDistinct());unittests/Linker/LinkModulesTest.cpp
272 EXPECT_TRUE(M0->isDistinct()); 273 EXPECT_TRUE(M1->isDistinct()); 274 EXPECT_TRUE(M2->isDistinct()); 275 EXPECT_TRUE(M3->isDistinct()); 300 EXPECT_TRUE(M0->isDistinct()); 301 EXPECT_TRUE(M1->isDistinct()); 302 EXPECT_TRUE(M2->isDistinct()); 303 EXPECT_TRUE(M3->isDistinct());