Home
last modified time | relevance | path

Searched refs:DIType (Results 1 – 25 of 37) sorted by relevance

12

/external/swiftshader/third_party/LLVM/include/llvm/Analysis/
DDIBuilder.h34 class DIType; variable
102 DIType createNullPtrType(StringRef Name);
110 DIType createBasicType(StringRef Name, uint64_t SizeInBits,
117 DIType createQualifiedType(unsigned Tag, DIType FromTy);
124 DIType createPointerType(DIType PointeeTy, uint64_t SizeInBits,
130 DIType createReferenceType(DIType RTy);
138 DIType createTypedef(DIType Ty, StringRef Name, DIFile File,
142 DIType createFriend(DIType Ty, DIType FriendTy);
151 DIType createInheritance(DIType Ty, DIType BaseTy, uint64_t BaseOffset,
164 DIType createMemberType(DIDescriptor Scope, StringRef Name, DIFile File,
[all …]
DDebugInfo.h45 class DIType; variable
91 explicit DIDescriptor(const DIType F);
232 class DIType : public DIScope {
237 DIType(const MDNode *N, bool, bool) : DIScope(N) {} in DIType() function
244 explicit DIType(const MDNode *N);
245 explicit DIType() {} in DIType() function
246 virtual ~DIType() {} in ~DIType()
322 class DIBasicType : public DIType {
324 explicit DIBasicType(const MDNode *N = 0) : DIType(N) {} in DIType() function
340 class DIDerivedType : public DIType {
[all …]
/external/clang/lib/CodeGen/
DCGDebugInfo.h63 llvm::DIType *VTablePtrType = nullptr;
64 llvm::DIType *ClassTy = nullptr;
66 llvm::DIType *SelTy = nullptr;
68 llvm::DIType *SingletonId = nullptr;
70 llvm::DIType *OCLEventDITy = nullptr;
71 llvm::DIType *OCLClkEventDITy = nullptr;
72 llvm::DIType *OCLQueueDITy = nullptr;
73 llvm::DIType *OCLNDRangeDITy = nullptr;
74 llvm::DIType *OCLReserveIDDITy = nullptr;
83 llvm::DIType *Decl;
[all …]
DCGDebugInfo.cpp463 llvm::DIType *CGDebugInfo::CreateType(const BuiltinType *BT) { in CreateType()
606 llvm::DIType *CGDebugInfo::CreateType(const ComplexType *Ty) { in CreateType()
617 llvm::DIType *CGDebugInfo::CreateQualifiedType(QualType Ty, in CreateQualifiedType()
651 llvm::DIType *CGDebugInfo::CreateType(const ObjCObjectPointerType *Ty, in CreateType()
664 llvm::DIType *CGDebugInfo::CreateType(const PointerType *Ty, in CreateType()
720 if (llvm::DIType *T = getTypeOrNull(CGM.getContext().getRecordType(RD))) in getOrCreateRecordFwdDecl()
746 llvm::DIType *CGDebugInfo::CreatePointerLikeType(llvm::dwarf::Tag Tag, in CreatePointerLikeType()
766 llvm::DIType *CGDebugInfo::getOrCreateStructPtrType(StringRef Name, in getOrCreateStructPtrType()
767 llvm::DIType *&Cache) { in getOrCreateStructPtrType()
777 llvm::DIType *CGDebugInfo::CreateType(const BlockPointerType *Ty, in CreateType()
[all …]
/external/llvm/include/llvm/IR/
DDIBuilder.h132 DIDerivedType *createQualifiedType(unsigned Tag, DIType *FromTy);
139 DIDerivedType *createPointerType(DIType *PointeeTy, uint64_t SizeInBits,
148 DIDerivedType *createMemberPointerType(DIType *PointeeTy, DIType *Class,
155 DIDerivedType *createReferenceType(unsigned Tag, DIType *RTy,
165 DIDerivedType *createTypedef(DIType *Ty, StringRef Name, DIFile *File,
169 DIDerivedType *createFriend(DIType *Ty, DIType *FriendTy);
178 DIDerivedType *createInheritance(DIType *Ty, DIType *BaseTy,
195 DIType *Ty);
211 uint64_t StorageOffsetInBits, unsigned Flags, DIType *Ty);
224 DIType *Ty, unsigned Flags,
[all …]
DDebugInfo.h76 void processType(DIType *DT);
82 bool addType(DIType *DT);
91 typedef SmallVectorImpl<DIType *>::const_iterator type_iterator;
124 SmallVector<DIType *, 8> TYs;
DDebugInfoMetadata.h84 typedef TypedDINodeRef<DIType> DITypeRef;
509 class DIType : public DIScope {
517 DIType(LLVMContext &C, unsigned ID, StorageType Storage, unsigned Tag,
523 ~DIType() = default;
544 return TempDIType(cast<DIType>(MDNode::clone().release()));
607 class DIBasicType : public DIType {
616 : DIType(C, DIBasicTypeKind, Storage, Tag, 0, SizeInBits, AlignInBits, 0,
665 class DIDerivedType : public DIType {
672 : DIType(C, DIDerivedTypeKind, Storage, Tag, Line, SizeInBits,
767 class DICompositeType : public DIType {
[all …]
DMetadata.def90 HANDLE_SPECIALIZED_MDNODE_BRANCH(DIType)
/external/swiftshader/third_party/LLVM/lib/Analysis/
DDIBuilder.cpp40 DIType(TempEnumTypes).replaceAllUsesWith(Enums); in finalize()
43 DIType(TempRetainTypes).replaceAllUsesWith(RetainTypes); in finalize()
46 DIType(TempSubprograms).replaceAllUsesWith(SPs); in finalize()
55 DIType(Temp).replaceAllUsesWith(AV); in finalize()
62 DIType(TempGVs).replaceAllUsesWith(GVs); in finalize()
150 DIType DIBuilder::createNullPtrType(StringRef Name) { in createNullPtrType()
166 return DIType(MDNode::get(VMContext, Elts)); in createNullPtrType()
171 DIType DIBuilder::createBasicType(StringRef Name, uint64_t SizeInBits, in createBasicType()
189 return DIType(MDNode::get(VMContext, Elts)); in createBasicType()
194 DIType DIBuilder::createQualifiedType(unsigned Tag, DIType FromTy) { in createQualifiedType()
[all …]
DDebugInfo.cpp51 DIDescriptor::DIDescriptor(const DIType F) : DbgNode(F.DbgNode) { in DIDescriptor()
296 DIType::DIType(const MDNode *N) : DIScope(N) { in DIType() function in DIType
311 void DIType::replaceAllUsesWith(DIDescriptor &D) { in replaceAllUsesWith()
331 void DIType::replaceAllUsesWith(MDNode *D) { in replaceAllUsesWith()
350 bool DIType::isUnsignedDIType() { in isUnsignedDIType()
377 bool DIType::Verify() const { in Verify()
439 DIType Ty = getType(); in Verify()
457 DIType Ty = getType(); in Verify()
488 DIType BaseType = getTypeDerivedFrom(); in getOriginalTypeSize()
565 return DIType(DbgNode).getFilename(); in getFilename()
[all …]
DModuleDebugInfoPrinter.cpp84 DIType(*I).print(O); in print()
/external/llvm/lib/IR/
DDIBuilder.cpp204 DIDerivedType *DIBuilder::createQualifiedType(unsigned Tag, DIType *FromTy) { in createQualifiedType()
209 DIDerivedType *DIBuilder::createPointerType(DIType *PointeeTy, in createPointerType()
219 DIDerivedType *DIBuilder::createMemberPointerType(DIType *PointeeTy, in createMemberPointerType()
220 DIType *Base, in createMemberPointerType()
229 DIDerivedType *DIBuilder::createReferenceType(unsigned Tag, DIType *RTy, in createReferenceType()
237 DIDerivedType *DIBuilder::createTypedef(DIType *Ty, StringRef Name, in createTypedef()
245 DIDerivedType *DIBuilder::createFriend(DIType *Ty, DIType *FriendTy) { in createFriend()
252 DIDerivedType *DIBuilder::createInheritance(DIType *Ty, DIType *BaseTy, in createInheritance()
265 unsigned Flags, DIType *Ty) { in createMemberType()
280 uint64_t StorageOffsetInBits, unsigned Flags, DIType *Ty) { in createBitFieldMemberType()
[all …]
DDebugInfo.cpp65 if (auto *T = dyn_cast<DIType>(RT)) in processModule()
71 if (auto *T = dyn_cast<DIType>(Entity)) in processModule()
93 void DebugInfoFinder::processType(DIType *DT) { in processType()
105 if (auto *T = dyn_cast<DIType>(D)) in processType()
120 if (auto *Ty = dyn_cast<DIType>(Scope)) { in processScope()
188 bool DebugInfoFinder::addType(DIType *DT) { in addType()
195 TYs.push_back(const_cast<DIType *>(DT)); in addType()
/external/llvm/lib/CodeGen/AsmPrinter/
DCodeViewDebug.h146 DenseMap<std::pair<const DINode *, const DIType *>, codeview::TypeIndex>
241 void addToUDTs(const DIType *Ty, codeview::TypeIndex TI);
243 codeview::TypeIndex lowerType(const DIType *Ty, const DIType *ClassTy);
252 const DIType *ClassTy,
284 const DIType *ClassTy = nullptr);
DDwarfUnit.h145 virtual void addGlobalType(const DIType *Ty, const DIE &Die, in addGlobalType()
231 void addSourceLine(DIE &Die, const DIType *Ty);
236 void addConstantValue(DIE &Die, const MachineOperand &MO, const DIType *Ty);
237 void addConstantValue(DIE &Die, const ConstantInt *CI, const DIType *Ty);
238 void addConstantValue(DIE &Die, const APInt &Val, const DIType *Ty);
276 void addType(DIE &Entity, const DIType *Ty,
360 void updateAcceleratorTables(const DIScope *Context, const DIType *Ty,
DDwarfUnit.cpp165 return (isa<DIType>(D) || in isShareableAcrossCUs()
352 void DwarfUnit::addSourceLine(DIE &Die, const DIType *Ty) { in addSourceLine()
440 const DIType *Ty = DV.getType(); in addBlockByrefAddress()
441 const DIType *TmpTy = Ty; in addBlockByrefAddress()
515 static bool isUnsignedDIType(DwarfDebug *DD, const DIType *Ty) { in isUnsignedDIType()
592 const DIType *Ty) { in addConstantValue()
597 const DIType *Ty) { in addConstantValue()
610 void DwarfUnit::addConstantValue(DIE &Die, const APInt &Val, const DIType *Ty) { in addConstantValue()
664 if (auto *T = dyn_cast<DIType>(Context)) in getOrCreateContextDIE()
696 auto *Ty = cast<DIType>(TyNode); in getOrCreateTypeDIE()
[all …]
DDebugHandlerBase.cpp90 DIType *Ty = TyRef.resolve(); in getBaseTypeSize()
103 DIType *BaseType = DDTy->getBaseType().resolve(); in getBaseTypeSize()
DCodeViewDebug.cpp202 assert(!isa<DIType>(Scope) && "shouldn't make a namespace scope for a type"); in getScopeIndex()
276 const DIType *ClassTy) { in recordTypeIndexForDINode()
903 void CodeViewDebug::addToUDTs(const DIType *Ty, TypeIndex TI) { in addToUDTs()
928 TypeIndex CodeViewDebug::lowerType(const DIType *Ty, const DIType *ClassTy) { in lowerType()
1247 const DIType *BaseTy = Ty; in lowerTypeModifier()
1301 const DIType *ClassTy, in lowerTypeMemberFunction()
1494 const DIType *Ty = DDTy->getBaseType().resolve(); in collectMemberInfo()
1745 const DIType *Ty = TypeRef.resolve(); in getTypeIndex()
1746 const DIType *ClassTy = ClassTyRef.resolve(); in getTypeIndex()
1765 const DIType *Ty = TypeRef.resolve(); in getCompleteTypeIndex()
[all …]
/external/llvm/bindings/go/llvm/
DDIBuilderBindings.cpp94 unwrap<DIType>(Ty), AlwaysPreserve, Flags)); in LLVMDIBuilderCreateAutoVariable()
104 unwrap<DIType>(Ty), AlwaysPreserve, Flags)); in LLVMDIBuilderCreateParameterVariable()
122 return wrap(D->createPointerType(unwrap<DIType>(PointeeType), SizeInBits, in LLVMDIBuilderCreatePointerType()
143 DerivedFrom ? unwrap<DIType>(DerivedFrom) : nullptr, in LLVMDIBuilderCreateStructType()
167 SizeInBits, AlignInBits, OffsetInBits, Flags, unwrap<DIType>(Ty))); in LLVMDIBuilderCreateMemberType()
177 unwrap<DIType>(ElementType), in LLVMDIBuilderCreateArrayType()
186 return wrap(D->createTypedef(unwrap<DIType>(Ty), Name, in LLVMDIBuilderCreateTypedef()
/external/swiftshader/third_party/LLVM/lib/CodeGen/AsmPrinter/
DDwarfCompileUnit.h95 void addGlobalType(DIType Ty);
179 void addSourceLine(DIE *Die, DIType Ty);
188 bool addConstantValue(DIE *Die, const MachineOperand &MO, DIType Ty);
229 void addType(DIE *Entity, DIType Ty);
DDwarfCompileUnit.cpp166 void CompileUnit::addSourceLine(DIE *Die, DIType Ty) { in addSourceLine()
355 DIType Ty = DV->getType(); in addBlockByrefAddress()
356 DIType TmpTy = Ty; in addBlockByrefAddress()
446 static bool isTypeSigned(DIType Ty, int *SizeInBits) { in isTypeSigned()
460 DIType Ty) { in addConstantValue()
566 DIE *ContextDIE = getOrCreateTypeDIE(DIType(Context)); in addToContextOwner()
583 DIType Ty(TyNode); in getOrCreateTypeDIE()
607 void CompileUnit::addType(DIE *Entity, DIType Ty) { in addType()
634 void CompileUnit::addGlobalType(DIType Ty) { in addGlobalType()
652 DIType ATy(Args.getElement(i)); in addPubTypes()
[all …]
DDwarfDebug.cpp68 DIType DbgVariable::getType() const { in getType()
69 DIType Ty = Var.getType(); in getType()
97 DIType subType = Ty; in getType()
215 DIType ATy = DIType(DIType(Args.getElement(i))); in updateSubprogramScopeDIE()
556 DIType Ty(NMD->getOperand(i)); in collectInfoFromNamedMDNodes()
563 DIType Ty(NMD->getOperand(i)); in collectInfoFromNamedMDNodes()
/external/llvm/tools/opt/
DBreakpointPrinter.cpp37 } else if (auto *TY = dyn_cast<DIType>(Context)) { in getContextName()
/external/llvm/unittests/IR/
DMetadataTest.cpp99 DIType *getBasicType(StringRef Name) { in getBasicType()
102 DIType *getDerivedType() { in getDerivedType()
113 DIType *getCompositeType() { in getCompositeType()
960 DIType *N = DIBasicType::get(Context, dwarf::DW_TAG_base_type, "int", 32, 32, in TEST_F()
972 DIType *D = DISubroutineType::getDistinct(Context, 0u, 0, Types); in TEST_F()
992 DIType *BaseType = getBasicType("basic"); in TEST_F()
1053 DIType *BaseType = getBasicType("basic"); in TEST_F()
1072 DIType *BaseType = getCompositeType(); in TEST_F()
1079 DIType *VTableHolder = getCompositeType(); in TEST_F()
1191 DIType *BaseType = getCompositeType(); in TEST_F()
[all …]
/external/llvm/lib/Analysis/
DModuleDebugInfoPrinter.cpp101 for (const DIType *T : Finder.types()) { in print()

12