Home
last modified time | relevance | path

Searched refs:MDType (Results 1 – 19 of 19) sorted by relevance

/external/google-breakpad/src/client/
Dminidump_file_writer-inl.h44 template<typename MDType>
45 inline bool TypedMDRVA<MDType>::Allocate() { in Allocate()
47 return UntypedMDRVA::Allocate(minidump_size<MDType>::size()); in Allocate()
50 template<typename MDType>
51 inline bool TypedMDRVA<MDType>::Allocate(size_t additional) { in Allocate()
53 return UntypedMDRVA::Allocate(minidump_size<MDType>::size() + additional); in Allocate()
56 template<typename MDType>
57 inline bool TypedMDRVA<MDType>::AllocateArray(size_t count) { in AllocateArray()
60 return UntypedMDRVA::Allocate(minidump_size<MDType>::size() * count); in AllocateArray()
63 template<typename MDType>
[all …]
Dminidump_file_writer.h44 template<typename MDType> class TypedMDRVA;
205 template<typename MDType>
223 MDType *get() { return &data_; } in get()
248 bool CopyIndex(unsigned int index, MDType *item);
266 MDType data_;
/external/llvm/include/llvm/IR/
DDIBuilder.h140 MDDerivedType *createQualifiedType(unsigned Tag, MDType *FromTy);
147 MDDerivedType *createPointerType(MDType *PointeeTy, uint64_t SizeInBits,
156 MDDerivedType *createMemberPointerType(MDType *PointeeTy, MDType *Class,
162 MDDerivedType *createReferenceType(unsigned Tag, MDType *RTy);
170 MDDerivedType *createTypedef(MDType *Ty, StringRef Name, MDFile *File,
174 MDDerivedType *createFriend(MDType *Ty, MDType *FriendTy);
183 MDDerivedType *createInheritance(MDType *Ty, MDType *BaseTy,
200 MDType *Ty);
213 MDType *Ty, unsigned Flags,
230 MDType *Ty, MDNode *PropertyNode);
[all …]
DDebugInfo.h143 MDType *N;
146 DIType(const MDType *N = nullptr) : N(const_cast<MDType *>(N)) {} in N()
150 operator MDType *() const { return N; }
151 MDType *operator->() const { return N; }
152 MDType &operator*() const { return *N; }
DDebugInfoMetadata.h94 typedef TypedDebugNodeRef<MDType> MDTypeRef;
520 class MDType : public MDScope {
528 MDType(LLVMContext &C, unsigned ID, StorageType Storage, unsigned Tag,
534 ~MDType() = default;
538 return TempMDType(cast<MDType>(MDNode::clone().release()));
601 class MDBasicType : public MDType {
610 : MDType(C, MDBasicTypeKind, Storage, Tag, 0, SizeInBits, AlignInBits, 0,
656 class MDDerivedTypeBase : public MDType {
662 : MDType(C, ID, Storage, Tag, Line, SizeInBits, AlignInBits, OffsetInBits,
2100 MDType *Type, StorageType Storage, bool ShouldCreate = true) {
[all …]
DMetadata.def70 HANDLE_SPECIALIZED_MDNODE_BRANCH(MDType)
/external/llvm/lib/IR/
DDIBuilder.cpp227 MDDerivedType *DIBuilder::createQualifiedType(unsigned Tag, MDType *FromTy) { in createQualifiedType()
232 MDDerivedType *DIBuilder::createPointerType(MDType *PointeeTy, in createPointerType()
242 MDDerivedType *DIBuilder::createMemberPointerType(MDType *PointeeTy, in createMemberPointerType()
243 MDType *Base, in createMemberPointerType()
251 MDDerivedType *DIBuilder::createReferenceType(unsigned Tag, MDType *RTy) { in createReferenceType()
257 MDDerivedType *DIBuilder::createTypedef(MDType *Ty, StringRef Name, in createTypedef()
266 MDDerivedType *DIBuilder::createFriend(MDType *Ty, MDType *FriendTy) { in createFriend()
274 MDDerivedType *DIBuilder::createInheritance(MDType *Ty, MDType *BaseTy, in createInheritance()
288 unsigned Flags, MDType *Ty) { in createMemberType()
304 MDType *Ty, unsigned Flags, in createStaticMemberType()
[all …]
DDebugInfo.cpp142 if (auto *T = dyn_cast<MDType>(Entity)) in processModule()
173 if (auto *T = dyn_cast<MDType>(D)) in processType()
186 if (DIType Ty = dyn_cast<MDType>(Scope)) { in processScope()
DDebugInfoMetadata.cpp129 if (auto *T = dyn_cast<MDType>(this)) in getScope()
147 if (auto *T = dyn_cast<MDType>(this)) in getName()
DVerifier.cpp714 return !MD || isValidUUID(N, MD) || isa<MDType>(MD); in isTypeRef()
908 Assert(Op && isa<MDType>(Op), "invalid retained type", &N, Op); in visitMDCompileUnit()
1087 Assert(isa<MDType>(T), "invalid type ref", &N, T); in visitMDObjCProperty()
3424 if (auto *T = dyn_cast<MDType>(RawType)) in getVariableSize()
3495 SmallDenseMap<const MDString *, const MDType *, 32> TypeRefs; in verifyTypeRefs()
3498 for (MDType *Op : Ts) in verifyTypeRefs()
/external/llvm/bindings/go/llvm/
DDIBuilderBindings.cpp97 unwrap<MDType>(Ty), AlwaysPreserve, Flags, ArgNo); in LLVMDIBuilderCreateLocalVariable()
117 DIDerivedType T = D->createPointerType(unwrap<MDType>(PointeeType), in LLVMDIBuilderCreatePointerType()
141 DerivedFrom ? unwrap<MDType>(DerivedFrom) : nullptr, in LLVMDIBuilderCreateStructType()
167 SizeInBits, AlignInBits, OffsetInBits, Flags, unwrap<MDType>(Ty)); in LLVMDIBuilderCreateMemberType()
178 D->createArrayType(SizeInBits, AlignInBits, unwrap<MDType>(ElementType), in LLVMDIBuilderCreateArrayType()
189 unwrap<MDType>(Ty), Name, File ? unwrap<MDFile>(File) : nullptr, Line, in LLVMDIBuilderCreateTypedef()
/external/llvm/tools/opt/
DBreakpointPrinter.cpp38 } else if (DIType TY = dyn_cast<MDType>(Context)) { in getContextName()
/external/llvm/lib/Analysis/
DModuleDebugInfoPrinter.cpp101 for (const MDType *T : Finder.types()) { in print()
/external/llvm/lib/CodeGen/AsmPrinter/
DDwarfDebug.cpp144 MDType *Ty = Var->getType().resolve(DD->getTypeIdentifierMap()); in getType()
172 MDType *subType = Ty; in getType()
309 if (auto *T = dyn_cast<MDType>(Context)) in isSubprogramContext()
464 DIType UniqueTy = cast<MDType>(resolve(Ty->getRef())); in beginModule()
470 DIType UniqueTy = cast<MDType>(resolve(Ty->getRef())); in beginModule()
1483 MDType *T = DV->getType().resolve(TypeIdentifierMap); in emitDebugLocValue()
DDwarfUnit.cpp178 return (isa<MDType>(D) || in isShareableAcrossCUs()
779 if (auto *T = dyn_cast<MDType>(Context)) in getOrCreateContextDIE()
810 auto *Ty = cast<MDType>(TyNode); in getOrCreateTypeDIE()
DDwarfCompileUnit.cpp645 else if (auto *T = dyn_cast<MDType>(Entity)) in constructImportedEntityDIE()
/external/google-breakpad/src/google_breakpad/common/
Dminidump_format.h302 } MDType; /* MINIDUMP_TYPE */ typedef
/external/clang/lib/CodeGen/
DCGDebugInfo.cpp644 if (llvm::MDType *T = getTypeOrNull(CGM.getContext().getRecordType(RD))) in getOrCreateRecordFwdDecl()
1460 if (I == TypeCache.end() || !cast<llvm::MDType>(I->second)->isForwardDecl()) in completeType()
1493 if (I != TypeCache.end() && !cast<llvm::MDType>(I->second)->isForwardDecl()) in completeClassData()
1546 llvm::DIType T = cast_or_null<llvm::MDType>(getTypeOrNull(QualType(Ty, 0))); in CreateType()
2058 return cast<llvm::MDType>(V); in getTypeOrNull()
3366 llvm::MDType *Ty = E.Type->getDecl()->getDefinition() in finalize()
3374 auto *Ty = cast<llvm::MDType>(p.second); in finalize()
3382 cast<llvm::MDType>(it->second)); in finalize()
3407 DBuilder.retainType(cast<llvm::MDType>(TypeCache[*RI])); in finalize()
/external/llvm/unittests/IR/
DMetadataTest.cpp936 MDType *N = MDBasicType::get(Context, dwarf::DW_TAG_base_type, "int", 32, 32, in TEST_F()
948 MDType *D = MDSubroutineType::getDistinct(Context, 0u, Types); in TEST_F()
1915 MDType *Type = cast<MDBasicType>(getBasicType("basic")); in TEST_F()