Home
last modified time | relevance | path

Searched refs:isDistinct (Results 1 – 25 of 26) sorted by relevance

12

/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Linker/
DLinkModulesTest.cpp273 EXPECT_TRUE(M0->isDistinct()); in TEST_F()
274 EXPECT_TRUE(M1->isDistinct()); in TEST_F()
275 EXPECT_TRUE(M2->isDistinct()); in TEST_F()
276 EXPECT_TRUE(M3->isDistinct()); in TEST_F()
301 EXPECT_TRUE(M0->isDistinct()); in TEST_F()
302 EXPECT_TRUE(M1->isDistinct()); in TEST_F()
303 EXPECT_TRUE(M2->isDistinct()); in TEST_F()
304 EXPECT_TRUE(M3->isDistinct()); in TEST_F()
/external/llvm/unittests/Linker/
DLinkModulesTest.cpp273 EXPECT_TRUE(M0->isDistinct()); in TEST_F()
274 EXPECT_TRUE(M1->isDistinct()); in TEST_F()
275 EXPECT_TRUE(M2->isDistinct()); in TEST_F()
276 EXPECT_TRUE(M3->isDistinct()); in TEST_F()
301 EXPECT_TRUE(M0->isDistinct()); in TEST_F()
302 EXPECT_TRUE(M1->isDistinct()); in TEST_F()
303 EXPECT_TRUE(M2->isDistinct()); in TEST_F()
304 EXPECT_TRUE(M3->isDistinct()); in TEST_F()
/external/llvm/lib/Bitcode/Writer/
DBitcodeWriter.cpp1324 Stream.EmitRecord(N->isDistinct() ? bitc::METADATA_DISTINCT_NODE in writeMDTuple()
1349 Record.push_back(N->isDistinct()); in writeDILocation()
1379 Record.push_back(N->isDistinct()); in writeGenericDINode()
1398 Record.push_back(N->isDistinct()); in writeDISubrange()
1409 Record.push_back(N->isDistinct()); in writeDIEnumerator()
1420 Record.push_back(N->isDistinct()); in writeDIBasicType()
1434 Record.push_back(N->isDistinct()); in writeDIDerivedType()
1455 Record.push_back(IsNotUsedInOldTypeRef | (unsigned)N->isDistinct()); in writeDICompositeType()
1480 Record.push_back(HasNoOldTypeRefs | (unsigned)N->isDistinct()); in writeDISubroutineType()
1492 Record.push_back(N->isDistinct()); in writeDIFile()
[all …]
DValueEnumerator.cpp605 if (Op->isDistinct() && !N->isDistinct()) in EnumerateMetadata()
619 if (Worklist.empty() || Worklist.back().first->isDistinct()) { in EnumerateMetadata()
692 return N->isDistinct() ? 2 : 3; in getMetadataTypeOrder()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Bitcode/Writer/
DBitcodeWriter.cpp1386 Stream.EmitRecord(N->isDistinct() ? bitc::METADATA_DISTINCT_NODE in writeMDTuple()
1411 Record.push_back(N->isDistinct()); in writeDILocation()
1441 Record.push_back(N->isDistinct()); in writeGenericDINode()
1461 Record.push_back((uint64_t)N->isDistinct() | Version); in writeDISubrange()
1472 Record.push_back((N->isUnsigned() << 1) | N->isDistinct()); in writeDIEnumerator()
1483 Record.push_back(N->isDistinct()); in writeDIBasicType()
1497 Record.push_back(N->isDistinct()); in writeDIDerivedType()
1525 Record.push_back(IsNotUsedInOldTypeRef | (unsigned)N->isDistinct()); in writeDICompositeType()
1551 Record.push_back(HasNoOldTypeRefs | (unsigned)N->isDistinct()); in writeDISubroutineType()
1563 Record.push_back(N->isDistinct()); in writeDIFile()
[all …]
DValueEnumerator.cpp638 if (Op->isDistinct() && !N->isDistinct()) in EnumerateMetadata()
652 if (Worklist.empty() || Worklist.back().first->isDistinct()) { in EnumerateMetadata()
725 return N->isDistinct() ? 2 : 3; in getMetadataTypeOrder()
/external/llvm/unittests/IR/
DMetadataTest.cpp429 EXPECT_FALSE(Empty->isDistinct()); in TEST_F()
436 EXPECT_FALSE(Wrapped1->isDistinct()); in TEST_F()
443 EXPECT_FALSE(Wrapped2->isDistinct()); in TEST_F()
448 EXPECT_TRUE(Wrapped2->isDistinct()); in TEST_F()
449 EXPECT_FALSE(Wrapped1->isDistinct()); in TEST_F()
456 ASSERT_FALSE(Empty->isDistinct()); in TEST_F()
463 EXPECT_TRUE(Distinct2->isDistinct()); in TEST_F()
481 TEST_F(MDNodeTest, isDistinct) { in TEST_F() argument
485 EXPECT_FALSE(U->isDistinct()); in TEST_F()
486 EXPECT_TRUE(D->isDistinct()); in TEST_F()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/IR/
DMetadataTest.cpp430 EXPECT_FALSE(Empty->isDistinct()); in TEST_F()
437 EXPECT_FALSE(Wrapped1->isDistinct()); in TEST_F()
444 EXPECT_FALSE(Wrapped2->isDistinct()); in TEST_F()
449 EXPECT_TRUE(Wrapped2->isDistinct()); in TEST_F()
450 EXPECT_FALSE(Wrapped1->isDistinct()); in TEST_F()
481 ASSERT_TRUE(N->isDistinct()); in TEST_F()
491 ASSERT_FALSE(Empty->isDistinct()); in TEST_F()
498 EXPECT_TRUE(Distinct2->isDistinct()); in TEST_F()
516 TEST_F(MDNodeTest, isDistinct) { in TEST_F() argument
520 EXPECT_FALSE(U->isDistinct()); in TEST_F()
[all …]
DIRBuilderTest.cpp474 EXPECT_TRUE(SP->isDistinct()); in TEST_F()
498 EXPECT_TRUE(GSP->isDistinct()); in TEST_F()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Utils/
DValueMapper.cpp535 if (N.isDistinct()) in tryToMapOperand()
551 assert(N.isDistinct() && "Expected a distinct node"); in mapDistinctNode()
/external/llvm/lib/Transforms/Utils/
DValueMapper.cpp534 if (N.isDistinct()) in tryToMapOperand()
540 assert(N.isDistinct() && "Expected a distinct node"); in mapDistinctNode()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/IPO/
DThinLTOBitcodeWriter.cpp92 if (isa<MDNode>(MD) && cast<MDNode>(MD)->isDistinct()) { in promoteTypeIds()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/
DDebugInfo.cpp448 if (MDS->isDistinct()) in getReplacementSubprogram()
500 if (MLD->isDistinct()) in getReplacementMDLocation()
DMetadata.cpp572 assert(isDistinct() && "Expected this to be distinct"); in makeDistinct()
DVerifier.cpp1021 AssertDI(N.isDistinct(), "compile units must be distinct", &N); in visitDICompileUnit()
1105 AssertDI(N.isDistinct(), "subprogram definitions must be distinct", &N); in visitDISubprogram()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Bitcode/Reader/
DMetadataLoader.cpp321 if (!Tuple || Tuple->isDistinct()) in upgradeTypeRefArray()
338 if (!Tuple || Tuple->isDistinct()) in resolveTypeRefArray()
/external/llvm/include/llvm/IR/
DMetadata.h886 bool isDistinct() const { return Storage == Distinct; }
DDebugInfoMetadata.h537 assert(isDistinct() && "Only distinct nodes can mutate");
786 assert(isDistinct() && "Only distinct nodes can mutate");
/external/swiftshader/third_party/llvm-subzero/include/llvm/IR/
DMetadata.h908 bool isDistinct() const { return Storage == Distinct; }
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/
DMetadata.h941 bool isDistinct() const { return Storage == Distinct; }
DDebugInfoMetadata.h658 assert(isDistinct() && "Only distinct nodes can mutate");
953 assert(isDistinct() && "Only distinct nodes can mutate");
/external/llvm/lib/IR/
DMetadata.cpp535 assert(isDistinct() && "Expected this to be distinct"); in makeDistinct()
DVerifier.cpp914 AssertDI(N.isDistinct(), "compile units must be distinct", &N); in visitDICompileUnit()
995 AssertDI(N.isDistinct(), "subprogram definitions must be distinct", &N); in visitDISubprogram()
DAsmWriter.cpp1922 if (Node->isDistinct()) in WriteMDNodeBodyInternal()
/external/llvm/lib/Bitcode/Reader/
DBitcodeReader.cpp1230 if (!Tuple || Tuple->isDistinct()) in upgradeTypeRefArray()
1247 if (!Tuple || Tuple->isDistinct()) in resolveTypeRefArray()

12