/external/llvm/unittests/IR/ |
D | DebugInfoTest.cpp | 19 EXPECT_EQ(DebugNode::FlagPublic, DebugNode::getFlag("DIFlagPublic")); in TEST() 20 EXPECT_EQ(DebugNode::FlagProtected, DebugNode::getFlag("DIFlagProtected")); in TEST() 21 EXPECT_EQ(DebugNode::FlagPrivate, DebugNode::getFlag("DIFlagPrivate")); in TEST() 22 EXPECT_EQ(DebugNode::FlagVector, DebugNode::getFlag("DIFlagVector")); in TEST() 23 EXPECT_EQ(DebugNode::FlagRValueReference, in TEST() 24 DebugNode::getFlag("DIFlagRValueReference")); in TEST() 27 EXPECT_EQ(0u, DebugNode::getFlag("DIFlagAccessibility")); in TEST() 30 EXPECT_EQ(0u, DebugNode::getFlag("FlagVector")); in TEST() 31 EXPECT_EQ(0u, DebugNode::getFlag("Vector")); in TEST() 32 EXPECT_EQ(0u, DebugNode::getFlag("other things")); in TEST() [all …]
|
D | MetadataTest.cpp | 950 D->setFlags(DebugNode::FlagRValueReference); in TEST_F() 951 EXPECT_EQ(DebugNode::FlagRValueReference, D->getFlags()); in TEST_F() 957 T->setFlags(DebugNode::FlagRValueReference); in TEST_F() 958 EXPECT_EQ(DebugNode::FlagRValueReference, T->getFlags()); in TEST_F()
|
/external/llvm/include/llvm/IR/ |
D | DebugInfoMetadata.h | 92 typedef TypedDebugNodeRef<DebugNode> DebugNodeRef; 144 class DebugNode : public MDNode { 149 DebugNode(LLVMContext &C, unsigned ID, StorageType Storage, unsigned Tag, 155 ~DebugNode() = default; 244 class GenericDebugNode : public DebugNode { 251 : DebugNode(C, GenericDebugNodeKind, Storage, Tag, Ops1, Ops2) { 319 class MDSubrange : public DebugNode { 328 : DebugNode(C, MDSubrangeKind, Storage, dwarf::DW_TAG_subrange_type, 359 class MDEnumerator : public DebugNode { 367 : DebugNode(C, MDEnumeratorKind, Storage, dwarf::DW_TAG_enumerator, Ops), [all …]
|
D | DIBuilder.h | 407 uint64_t AlignInBits = 0, unsigned Flags = DebugNode::FlagFwdDecl, 606 DebugNode *Decl, unsigned Line,
|
D | Metadata.def | 65 HANDLE_SPECIALIZED_MDNODE_BRANCH(DebugNode)
|
/external/clang/lib/CodeGen/ |
D | CGDebugInfo.cpp | 663 llvm::DebugNode::FlagFwdDecl, FullName); in getOrCreateRecordFwdDecl() 721 unsigned Flags = llvm::DebugNode::FlagAppleBlock; in CreateType() 834 return llvm::DebugNode::FlagPrivate; in getAccessFlag() 836 return llvm::DebugNode::FlagProtected; in getAccessFlag() 838 return llvm::DebugNode::FlagPublic; in getAccessFlag() 1071 Flags |= llvm::DebugNode::FlagLValueReference; in getOrCreateInstanceMethodType() 1073 Flags |= llvm::DebugNode::FlagRValueReference; in getOrCreateInstanceMethodType() 1137 Flags |= llvm::DebugNode::FlagArtificial; in CreateCXXMemberFunction() 1141 Flags |= llvm::DebugNode::FlagExplicit; in CreateCXXMemberFunction() 1145 Flags |= llvm::DebugNode::FlagExplicit; in CreateCXXMemberFunction() [all …]
|
D | CGDebugInfo.h | 368 llvm::DebugNode *getDeclarationOrDefinition(const Decl *D);
|
/external/llvm/lib/IR/ |
D | DIBuilder.cpp | 191 DebugNode *Decl, in createImportedDeclaration() 306 Flags |= DebugNode::FlagStaticMember; in createStaticMemberType() 464 DebugNode::FlagVector, Subscripts, 0, nullptr); in createVectorType() 480 return createTypeWithFlags(VMContext, Ty, DebugNode::FlagArtificial); in createArtificialType() 487 unsigned Flags = DebugNode::FlagObjectPointer | DebugNode::FlagArtificial; in createObjectPointerType() 508 AlignInBits, 0, DebugNode::FlagFwdDecl, nullptr, RuntimeLang, nullptr, in createForwardDecl()
|
D | DebugInfoMetadata.cpp | 86 unsigned DebugNode::getFlag(StringRef Flag) { in getFlag() 93 const char *DebugNode::getFlagString(unsigned Flag) { in getFlagString() 104 unsigned DebugNode::splitFlags(unsigned Flags, in splitFlags()
|
D | AsmWriter.cpp | 1372 void printTag(const DebugNode *N); 1387 void MDFieldPrinter::printTag(const DebugNode *N) { in printTag() 1444 unsigned Extra = DebugNode::splitFlags(Flags, SplitFlags); in printDIFlags() 1448 const char *StringF = DebugNode::getFlagString(F); in printDIFlags()
|
D | Verifier.cpp | 724 return !MD || isValidUUID(N, MD) || isa<DebugNode>(MD); in isDIRef() 834 return (Flags & DebugNode::FlagLValueReference) && in hasConflictingReferenceFlags() 835 (Flags & DebugNode::FlagRValueReference); in hasConflictingReferenceFlags()
|
/external/llvm/examples/Kaleidoscope/Chapter8/ |
D | toy.cpp | 1235 true /* definition */, ScopeLine, DebugNode::FlagPrototyped, false, F); in Codegen()
|
/external/llvm/lib/Transforms/Scalar/ |
D | ScalarReplAggregates.cpp | 1063 if (auto *DebugNode = MetadataAsValue::getIfExists(AI->getContext(), L)) { in run() local 1064 for (User *U : DebugNode->users()) in run()
|
D | SROA.cpp | 1099 if (auto *DebugNode = MetadataAsValue::getIfExists(AI.getContext(), L)) { in run() local 1100 for (User *U : DebugNode->users()) in run()
|
/external/llvm/lib/CodeGen/AsmPrinter/ |
D | DwarfUnit.cpp | 1409 if (auto *Element = dyn_cast_or_null<DebugNode>(Elements[i])) in constructArrayTypeDIE()
|
/external/llvm/lib/AsmParser/ |
D | LLParser.cpp | 3190 Val = DebugNode::getFlag(Lex.getStrVal()); in ParseMDField()
|