Home
last modified time | relevance | path

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

/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 …]
DMetadataTest.cpp972 D->setFlags(DINode::FlagRValueReference); in TEST_F()
973 EXPECT_EQ(DINode::FlagRValueReference, D->getFlags()); in TEST_F()
979 T->setFlags(DINode::FlagRValueReference); in TEST_F()
980 EXPECT_EQ(DINode::FlagRValueReference, T->getFlags()); in TEST_F()
/external/llvm/lib/CodeGen/AsmPrinter/
DDwarfUnit.h108 DenseMap<DIE *, const DINode *> ContainingTypeMap;
163 DIE *getDIE(const DINode *D) const;
173 void insertDIE(const DINode *Desc, DIE *D);
313 DIE &createAndAddDIE(unsigned Tag, DIE &Parent, const DINode *N = nullptr);
DDwarfUnit.cpp159 static bool isShareableAcrossCUs(const DINode *D) { in isShareableAcrossCUs()
172 DIE *DwarfUnit::getDIE(const DINode *D) const { in getDIE()
178 void DwarfUnit::insertDIE(const DINode *Desc, DIE *D) { in insertDIE()
303 DIE &DwarfUnit::createAndAddDIE(unsigned Tag, DIE &Parent, const DINode *N) { in createAndAddDIE()
1321 if (auto *Element = dyn_cast_or_null<DINode>(Elements[i])) in constructArrayTypeDIE()
1353 const DINode *D = CI->second; in constructContainingTypeDIEs()
1462 if (DINode *PNode = DT->getObjCProperty()) in constructMemberDIE()
/external/llvm/include/llvm/IR/
DDebugInfoMetadata.h94 typedef TypedDINodeRef<DINode> DINodeRef;
147 class DINode : public MDNode {
152 DINode(LLVMContext &C, unsigned ID, StorageType Storage, unsigned Tag,
158 ~DINode() = default;
247 class GenericDINode : public DINode {
254 : DINode(C, GenericDINodeKind, Storage, Tag, Ops1, Ops2) {
318 class DISubrange : public DINode {
327 : DINode(C, DISubrangeKind, Storage, dwarf::DW_TAG_subrange_type, None),
357 class DIEnumerator : public DINode {
365 : DINode(C, DIEnumeratorKind, Storage, dwarf::DW_TAG_enumerator, Ops),
[all …]
DDIBuilder.h413 uint64_t AlignInBits = 0, unsigned Flags = DINode::FlagFwdDecl,
642 DIImportedEntity *createImportedDeclaration(DIScope *Context, DINode *Decl,
DMetadata.def84 HANDLE_SPECIALIZED_MDNODE_BRANCH(DINode)
/external/clang/lib/CodeGen/
DCGDebugInfo.cpp713 llvm::DINode::FlagFwdDecl, FullName); in getOrCreateRecordFwdDecl()
767 unsigned Flags = llvm::DINode::FlagAppleBlock; in CreateType()
882 return llvm::DINode::FlagPrivate; in getAccessFlag()
884 return llvm::DINode::FlagProtected; in getAccessFlag()
886 return llvm::DINode::FlagPublic; in getAccessFlag()
1111 Flags |= llvm::DINode::FlagLValueReference; in getOrCreateInstanceMethodType()
1113 Flags |= llvm::DINode::FlagRValueReference; in getOrCreateInstanceMethodType()
1174 Flags |= llvm::DINode::FlagArtificial; in CreateCXXMemberFunction()
1178 Flags |= llvm::DINode::FlagExplicit; in CreateCXXMemberFunction()
1182 Flags |= llvm::DINode::FlagExplicit; in CreateCXXMemberFunction()
[all …]
DCGDebugInfo.h440 llvm::DINode *getDeclarationOrDefinition(const Decl *D);
/external/llvm/lib/IR/
DDIBuilder.cpp197 DINode *Decl, in createImportedDeclaration()
315 Flags |= DINode::FlagStaticMember; in createStaticMemberType()
444 0, 0, DINode::FlagExternalTypeRef, nullptr, 0, in createExternalTypeRef()
483 DINode::FlagVector, Subscripts, 0, nullptr); in createVectorType()
499 return createTypeWithFlags(VMContext, Ty, DINode::FlagArtificial); in createArtificialType()
506 unsigned Flags = DINode::FlagObjectPointer | DINode::FlagArtificial; in createObjectPointerType()
527 AlignInBits, 0, DINode::FlagFwdDecl, nullptr, RuntimeLang, nullptr, in createForwardDecl()
DDebugInfoMetadata.cpp86 unsigned DINode::getFlag(StringRef Flag) { in getFlag()
93 const char *DINode::getFlagString(unsigned Flag) { in getFlagString()
104 unsigned DINode::splitFlags(unsigned Flags, in splitFlags()
DAsmWriter.cpp1391 void printTag(const DINode *N);
1407 void MDFieldPrinter::printTag(const DINode *N) { in printTag()
1472 unsigned Extra = DINode::splitFlags(Flags, SplitFlags); in printDIFlags()
1476 const char *StringF = DINode::getFlagString(F); in printDIFlags()
DVerifier.cpp733 return !MD || isValidUUID(N, MD) || isa<DINode>(MD); in isDIRef()
818 return (Flags & DINode::FlagLValueReference) && in hasConflictingReferenceFlags()
819 (Flags & DINode::FlagRValueReference); in hasConflictingReferenceFlags()
/external/llvm/examples/Kaleidoscope/Chapter8/
Dtoy.cpp1254 DINode::FlagPrototyped, false); in codegen()
/external/llvm/lib/Transforms/Scalar/
DScalarReplAggregates.cpp1064 if (auto *DINode = MetadataAsValue::getIfExists(AI->getContext(), L)) { in run() local
1065 for (User *U : DINode->users()) in run()
/external/llvm/docs/tutorial/
DLangImpl8.rst264 true /* definition */, ScopeLine, DINode::FlagPrototyped, false);
/external/llvm/lib/AsmParser/
DLLParser.cpp3392 Val = DINode::getFlag(Lex.getStrVal()); in ParseMDField()