Home
last modified time | relevance | path

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

/external/llvm/lib/Bitcode/Writer/
DBitcodeWriter.cpp779 Stream.EmitRecord(N->isDistinct() ? bitc::METADATA_DISTINCT_NODE in WriteMDTuple()
789 Record.push_back(N->isDistinct()); in WriteMDLocation()
804 Record.push_back(N->isDistinct()); in WriteGenericDebugNode()
824 Record.push_back(N->isDistinct()); in WriteMDSubrange()
836 Record.push_back(N->isDistinct()); in WriteMDEnumerator()
848 Record.push_back(N->isDistinct()); in WriteMDBasicType()
864 Record.push_back(N->isDistinct()); in WriteMDDerivedType()
886 Record.push_back(N->isDistinct()); in WriteMDCompositeType()
912 Record.push_back(N->isDistinct()); in WriteMDSubroutineType()
923 Record.push_back(N->isDistinct()); in WriteMDFile()
[all …]
/external/llvm/unittests/IR/
DMetadataTest.cpp413 EXPECT_FALSE(Empty->isDistinct()); in TEST_F()
420 EXPECT_FALSE(Wrapped1->isDistinct()); in TEST_F()
427 EXPECT_FALSE(Wrapped2->isDistinct()); in TEST_F()
432 EXPECT_TRUE(Wrapped2->isDistinct()); in TEST_F()
433 EXPECT_FALSE(Wrapped1->isDistinct()); in TEST_F()
440 ASSERT_FALSE(Empty->isDistinct()); in TEST_F()
447 EXPECT_TRUE(Distinct2->isDistinct()); in TEST_F()
465 TEST_F(MDNodeTest, isDistinct) { in TEST_F() argument
469 EXPECT_FALSE(U->isDistinct()); in TEST_F()
470 EXPECT_TRUE(D->isDistinct()); in TEST_F()
[all …]
/external/llvm/lib/Transforms/Utils/
DValueMapper.cpp226 assert(Node->isDistinct() && "Expected distinct node"); in mapDistinctNode()
306 if (Node->isDistinct()) in MapMetadataImpl()
/external/llvm/lib/IR/
DMetadata.cpp410 if (isDistinct()) in MDNode()
470 assert(isDistinct() && "Expected this to be distinct"); in makeDistinct()
DAsmWriter.cpp1805 if (Node->isDistinct()) in WriteMDNodeBodyInternal()
/external/llvm/include/llvm/IR/
DMetadata.h806 bool isDistinct() const { return Storage == Distinct; }