Home
last modified time | relevance | path

Searched refs:DINode (Results 1 – 25 of 91) sorted by relevance

1234

/external/llvm/unittests/IR/
DDebugInfoTest.cpp19 EXPECT_EQ(DINode::FlagPublic, DINode::getFlag("DIFlagPublic")); in TEST()
20 EXPECT_EQ(DINode::FlagProtected, DINode::getFlag("DIFlagProtected")); in TEST()
21 EXPECT_EQ(DINode::FlagPrivate, DINode::getFlag("DIFlagPrivate")); in TEST()
22 EXPECT_EQ(DINode::FlagVector, DINode::getFlag("DIFlagVector")); in TEST()
23 EXPECT_EQ(DINode::FlagRValueReference, in TEST()
24 DINode::getFlag("DIFlagRValueReference")); in TEST()
27 EXPECT_EQ(0u, DINode::getFlag("DIFlagAccessibility")); in TEST()
30 EXPECT_EQ(0u, DINode::getFlag("FlagVector")); in TEST()
31 EXPECT_EQ(0u, DINode::getFlag("Vector")); in TEST()
32 EXPECT_EQ(0u, DINode::getFlag("other things")); in TEST()
[all …]
DDebugTypeODRUniquingTest.cpp73 nullptr, 0, 0, 0, DINode::FlagFwdDecl, nullptr, 0, nullptr, nullptr); in TEST()
80 nullptr, 0, 0, 0, DINode::FlagFwdDecl, nullptr, 0, nullptr, nullptr)); in TEST()
92 nullptr, 0, 0, 0, DINode::FlagFwdDecl, nullptr, 0, nullptr, nullptr)); in TEST()
108 DINode::FlagFwdDecl, nullptr, 0, nullptr, nullptr); in TEST()
140 SizeInBits, AlignInBits, OffsetInBits, DINode::FlagArtificial, in TEST()
152 EXPECT_EQ(DINode::FlagArtificial, CT.getFlags()); in TEST()
/external/llvm-project/llvm/unittests/IR/
DDebugInfoTest.cpp35 EXPECT_EQ(DINode::FlagPublic, DINode::getFlag("DIFlagPublic")); in TEST()
36 EXPECT_EQ(DINode::FlagProtected, DINode::getFlag("DIFlagProtected")); in TEST()
37 EXPECT_EQ(DINode::FlagPrivate, DINode::getFlag("DIFlagPrivate")); in TEST()
38 EXPECT_EQ(DINode::FlagVector, DINode::getFlag("DIFlagVector")); in TEST()
39 EXPECT_EQ(DINode::FlagRValueReference, in TEST()
40 DINode::getFlag("DIFlagRValueReference")); in TEST()
43 EXPECT_EQ(0u, DINode::getFlag("DIFlagAccessibility")); in TEST()
46 EXPECT_EQ(0u, DINode::getFlag("FlagVector")); in TEST()
47 EXPECT_EQ(0u, DINode::getFlag("Vector")); in TEST()
48 EXPECT_EQ(0u, DINode::getFlag("other things")); in TEST()
[all …]
DDebugTypeODRUniquingTest.cpp32 nullptr, 0, 0, 0, DINode::FlagZero, nullptr, 0, nullptr, nullptr, nullptr, in TEST()
42 nullptr, 0, 0, 0, DINode::FlagZero, nullptr, 0, nullptr, nullptr, nullptr, in TEST()
51 nullptr, nullptr, 0, 0, 0, DINode::FlagZero, nullptr, 0, in TEST()
56 nullptr, 0, 0, 0, DINode::FlagZero, nullptr, 0, nullptr, in TEST()
76 nullptr, 0, 0, 0, DINode::FlagFwdDecl, nullptr, 0, nullptr, nullptr, in TEST()
85 0, nullptr, nullptr, 0, 0, 0, DINode::FlagFwdDecl, nullptr, 0, in TEST()
93 0, nullptr, nullptr, 0, 0, 0, DINode::FlagZero, nullptr, 0, in TEST()
101 nullptr, nullptr, 0, 0, 0, DINode::FlagFwdDecl, nullptr, 0, in TEST()
107 nullptr, nullptr, 0, 0, 0, DINode::FlagZero, nullptr, 0, in TEST()
120 DINode::FlagFwdDecl, nullptr, 0, nullptr, nullptr, nullptr, nullptr, in TEST()
[all …]
DMetadataTest.cpp84 return DISubroutineType::getDistinct(Context, DINode::FlagZero, 0, in getSubroutineType()
90 DINode::FlagZero, DISubprogram::SPFlagZero, nullptr); in getSubprogram()
108 getBasicType("basictype"), 1, 2, 0, None, DINode::FlagZero); in getDerivedType()
119 32, 32, 0, DINode::FlagZero, nullptr, 0, nullptr, nullptr, ""); in getCompositeType()
932 0, nullptr, 0, 0, DINode::FlagZero, in TEST_F()
935 0, nullptr, 0, 0, DINode::FlagZero, in TEST_F()
1172 DINode::DIFlags Flags = static_cast<DINode::DIFlags>(7); in TEST_F()
1192 DINode::DIFlags Flags = static_cast<DINode::DIFlags>(7); in TEST_F()
1243 DINode::DIFlags Flags = static_cast<DINode::DIFlags>(7); in TEST_F()
1284 DINode::DIFlags Flags = static_cast<DINode::DIFlags>(7); in TEST_F()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DDIBuilder.h196 DINode::DIFlags Flags = DINode::FlagZero);
224 DINode::DIFlags Flags = DINode::FlagZero);
258 DINode::DIFlags Flags);
275 DINode::DIFlags Flags, DIType *Ty);
296 DINode::DIFlags Flags, DIType *Ty);
311 uint64_t StorageOffsetInBits, DINode::DIFlags Flags, DIType *Ty);
325 DIType *Ty, DINode::DIFlags Flags,
342 uint64_t OffsetInBits, DINode::DIFlags Flags,
379 DINode::DIFlags Flags, DIType *DerivedFrom, DINodeArray Elements,
396 uint64_t SizeInBits, uint32_t AlignInBits, DINode::DIFlags Flags,
[all …]
/external/llvm-project/llvm/include/llvm/IR/
DDIBuilder.h200 DINode::DIFlags Flags = DINode::FlagZero);
234 DINode::DIFlags Flags = DINode::FlagZero);
268 DINode::DIFlags Flags);
285 DINode::DIFlags Flags, DIType *Ty);
306 DINode::DIFlags Flags, DIType *Ty);
321 uint64_t StorageOffsetInBits, DINode::DIFlags Flags, DIType *Ty);
335 DIType *Ty, DINode::DIFlags Flags,
352 uint64_t OffsetInBits, DINode::DIFlags Flags,
389 DINode::DIFlags Flags, DIType *DerivedFrom, DINodeArray Elements,
406 uint64_t SizeInBits, uint32_t AlignInBits, DINode::DIFlags Flags,
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DDIBuilder.cpp170 auto *M = DIImportedEntity::get(C, Tag, Context, cast_or_null<DINode>(NS), in createImportedModule()
203 DINode *Decl, in createImportedDeclaration()
262 DINode::DIFlags Flags) { in createBasicType()
270 0, 0, None, DINode::FlagZero); in createQualifiedType()
283 DINode::FlagZero); in createPointerType()
290 DINode::DIFlags Flags) { in createMemberPointerType()
304 DINode::FlagZero); in createReferenceType()
313 AlignInBits, 0, None, DINode::FlagZero); in createTypedef()
320 FriendTy, 0, 0, 0, None, DINode::FlagZero); in createFriend()
326 DINode::DIFlags Flags) { in createInheritance()
[all …]
/external/llvm-project/llvm/lib/IR/
DDIBuilder.cpp171 auto *M = DIImportedEntity::get(C, Tag, Context, cast_or_null<DINode>(NS), in createImportedModule()
204 DINode *Decl, in createImportedDeclaration()
264 DINode::DIFlags Flags) { in createBasicType()
278 0, 0, None, DINode::FlagZero); in createQualifiedType()
291 DINode::FlagZero); in createPointerType()
298 DINode::DIFlags Flags) { in createMemberPointerType()
312 DINode::FlagZero); in createReferenceType()
321 AlignInBits, 0, None, DINode::FlagZero); in createTypedef()
328 FriendTy, 0, 0, 0, None, DINode::FlagZero); in createFriend()
334 DINode::DIFlags Flags) { in createInheritance()
[all …]
/external/llvm-project/clang/lib/CodeGen/
DCGDebugInfo.cpp686 0, 0, llvm::DINode::FlagZero, nullptr, in CreateType()
692 llvm::DINode::FlagZero, ISATy))); in CreateType()
1044 llvm::DINode::DIFlags Flags = llvm::DINode::FlagFwdDecl; in getOrCreateRecordFwdDecl()
1052 Flags |= llvm::DINode::FlagNonTrivial; in getOrCreateRecordFwdDecl()
1131 FieldOffset, llvm::DINode::FlagZero, DescTy)); in collectDefaultElementTypesForBlockPointer()
1153 llvm::DINode::DIFlags Flags = llvm::DINode::FlagAppleBlock; in CreateType()
1283 return DBuilder.createSubroutineType(EltTypeArray, llvm::DINode::FlagZero, in CreateType()
1290 static llvm::DINode::DIFlags getAccessFlag(AccessSpecifier Access, in getAccessFlag()
1299 return llvm::DINode::FlagZero; in getAccessFlag()
1303 return llvm::DINode::FlagPrivate; in getAccessFlag()
[all …]
/external/llvm-project/llvm/include/llvm/CodeGen/
DDbgEntityHistoryCalculator.h22 class DINode; variable
97 using InlinedEntity = std::pair<const DINode *, const DILocation *>;
131 using InlinedEntity = std::pair<const DINode *, const DILocation *>;
/external/llvm-project/llvm/lib/CodeGen/AsmPrinter/
DDwarfFile.h28 class DINode; variable
91 DenseMap<const DINode *, std::unique_ptr<DbgEntity>> AbstractEntities;
169 DenseMap<const DINode *, std::unique_ptr<DbgEntity>> &getAbstractEntities() { in getAbstractEntities()
DDwarfUnit.h70 DenseMap<DIE *, const DINode *> ContainingTypeMap;
77 bool isShareableAcrossCUs(const DINode *D) const;
112 DIE *getDIE(const DINode *D) const;
122 void insertDIE(const DINode *Desc, DIE *D);
242 DIE &createAndAddDIE(unsigned Tag, DIE &Parent, const DINode *N = nullptr);
DDwarfCompileUnit.h84 DenseMap<const DINode *, std::unique_ptr<DbgEntity>> AbstractEntities;
101 DenseMap<const DINode *, std::unique_ptr<DbgEntity>> &getAbstractEntities() { in getAbstractEntities()
278 DbgEntity *getExistingAbstractEntity(const DINode *Node);
279 void createAbstractEntity(const DINode *Node, LexicalScope *Scope);
DDwarfDebug.h68 const DINode *Entity;
79 DbgEntity(const DINode *N, const DILocation *IA, unsigned ID) in DbgEntity()
85 const DINode *getEntity() const { return Entity; } in getEntity()
442 const DINode *Node,
445 const DINode *Node,
450 const DINode *Node,
DCodeViewDebug.cpp394 return ((DCTy->getFlags() & DINode::FlagNonTrivial) == DINode::FlagNonTrivial); in isNonTrivial()
442 const bool IsStaticMethod = (SP->getFlags() & DINode::FlagStaticMember) != 0; in getMemberFunctionType()
450 TypeIndex CodeViewDebug::recordTypeIndexForDINode(const DINode *Node, in recordTypeIndexForDINode()
1585 const DINode *Element = Elements[i]; in lowerTypeArray()
1760 switch (Flags & DINode::FlagPtrToMemberRep) { in translatePtrToMemberRep()
1764 case DINode::FlagSingleInheritance: in translatePtrToMemberRep()
1766 case DINode::FlagMultipleInheritance: in translatePtrToMemberRep()
1768 case DINode::FlagVirtualInheritance: in translatePtrToMemberRep()
1772 switch (Flags & DINode::FlagPtrToMemberRep) { in translatePtrToMemberRep()
1776 case DINode::FlagSingleInheritance: in translatePtrToMemberRep()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/AsmPrinter/
DDwarfUnit.h74 DenseMap<DIE *, const DINode *> ContainingTypeMap;
82 bool isShareableAcrossCUs(const DINode *D) const;
118 DIE *getDIE(const DINode *D) const;
128 void insertDIE(const DINode *Desc, DIE *D);
250 DIE &createAndAddDIE(unsigned Tag, DIE &Parent, const DINode *N = nullptr);
DDwarfDebug.h70 const DINode *Entity;
81 DbgEntity(const DINode *N, const DILocation *IA, unsigned ID) in DbgEntity()
87 const DINode *getEntity() const { return Entity; } in getEntity()
430 const DINode *Node,
433 const DINode *Node,
438 const DINode *Node,
DDwarfCompileUnit.h82 DenseMap<const DINode *, std::unique_ptr<DbgEntity>> AbstractEntities;
99 DenseMap<const DINode *, std::unique_ptr<DbgEntity>> &getAbstractEntities() { in getAbstractEntities()
271 DbgEntity *getExistingAbstractEntity(const DINode *Node);
272 void createAbstractEntity(const DINode *Node, LexicalScope *Scope);
DDwarfFile.h90 DenseMap<const DINode *, std::unique_ptr<DbgEntity>> AbstractEntities;
168 DenseMap<const DINode *, std::unique_ptr<DbgEntity>> &getAbstractEntities() { in getAbstractEntities()
DCodeViewDebug.cpp407 return ((DCTy->getFlags() & DINode::FlagNonTrivial) == DINode::FlagNonTrivial); in isNonTrivial()
454 const bool IsStaticMethod = (SP->getFlags() & DINode::FlagStaticMember) != 0; in getMemberFunctionType()
462 TypeIndex CodeViewDebug::recordTypeIndexForDINode(const DINode *Node, in recordTypeIndexForDINode()
1570 const DINode *Element = Elements[i]; in lowerTypeArray()
1740 switch (Flags & DINode::FlagPtrToMemberRep) { in translatePtrToMemberRep()
1744 case DINode::FlagSingleInheritance: in translatePtrToMemberRep()
1746 case DINode::FlagMultipleInheritance: in translatePtrToMemberRep()
1748 case DINode::FlagVirtualInheritance: in translatePtrToMemberRep()
1752 switch (Flags & DINode::FlagPtrToMemberRep) { in translatePtrToMemberRep()
1756 case DINode::FlagSingleInheritance: in translatePtrToMemberRep()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DDbgEntityHistoryCalculator.h75 using InlinedEntity = std::pair<const DINode *, const DILocation *>;
106 using InlinedEntity = std::pair<const DINode *, const DILocation *>;
/external/llvm/lib/CodeGen/AsmPrinter/
DDwarfUnit.h102 DenseMap<DIE *, const DINode *> ContainingTypeMap;
153 DIE *getDIE(const DINode *D) const;
163 void insertDIE(const DINode *Desc, DIE *D);
303 DIE &createAndAddDIE(unsigned Tag, DIE &Parent, const DINode *N = nullptr);
/external/clang/lib/CodeGen/
DCGDebugInfo.cpp739 llvm::DINode::FlagFwdDecl, FullName); in getOrCreateRecordFwdDecl()
793 unsigned Flags = llvm::DINode::FlagAppleBlock; in CreateType()
942 return llvm::DINode::FlagPrivate; in getAccessFlag()
944 return llvm::DINode::FlagProtected; in getAccessFlag()
946 return llvm::DINode::FlagPublic; in getAccessFlag()
1193 Flags |= llvm::DINode::FlagLValueReference; in getOrCreateInstanceMethodType()
1195 Flags |= llvm::DINode::FlagRValueReference; in getOrCreateInstanceMethodType()
1271 Flags |= llvm::DINode::FlagIntroducedVirtual; in CreateCXXMemberFunction()
1284 Flags |= llvm::DINode::FlagArtificial; in CreateCXXMemberFunction()
1288 Flags |= llvm::DINode::FlagExplicit; in CreateCXXMemberFunction()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Bitcode/Reader/
DMetadataLoader.cpp1297 DINode::DIFlags Flags = (Record.size() > 6) ? in parseOneMetadata()
1298 static_cast<DINode::DIFlags>(Record[6]) : DINode::FlagZero; in parseOneMetadata()
1319 DINode::DIFlags Flags = static_cast<DINode::DIFlags>(Record[10]); in parseOneMetadata()
1351 DINode::DIFlags Flags = static_cast<DINode::DIFlags>(Record[10]); in parseOneMetadata()
1370 Flags = Flags | DINode::FlagFwdDecl; in parseOneMetadata()
1408 DINode::DIFlags Flags = static_cast<DINode::DIFlags>(Record[1]); in parseOneMetadata()
1492 DINode::DIFlags Flags; in parseOneMetadata()
1495 Flags = static_cast<DINode::DIFlags>(Record[11 + 2]); in parseOneMetadata()
1497 Flags = static_cast<DINode::DIFlags>(Record[11]); in parseOneMetadata()
1509 Flags &= ~static_cast<DINode::DIFlags>(DIFlagMainSubprogram); in parseOneMetadata()
[all …]

1234