Home
last modified time | relevance | path

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

123

/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;
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/
DDIBuilder.h199 DIDerivedType *createQualifiedType(unsigned Tag, DIType *FromTy);
207 DIDerivedType *createPointerType(DIType *PointeeTy, uint64_t SizeInBits,
219 createMemberPointerType(DIType *PointeeTy, DIType *Class,
225 DIDerivedType *createReferenceType(unsigned Tag, DIType *RTy,
237 DIDerivedType *createTypedef(DIType *Ty, StringRef Name, DIFile *File,
241 DIDerivedType *createFriend(DIType *Ty, DIType *FriendTy);
251 DIDerivedType *createInheritance(DIType *Ty, DIType *BaseTy,
270 DINode::DIFlags Flags, DIType *Ty);
291 DINode::DIFlags Flags, DIType *Ty);
306 uint64_t StorageOffsetInBits, DINode::DIFlags Flags, DIType *Ty);
[all …]
DDebugInfo.h88 void processType(DIType *DT);
93 bool addType(DIType *DT);
101 using type_iterator = SmallVectorImpl<DIType *>::const_iterator;
134 SmallVector<DIType *, 8> TYs;
/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 …]
/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/swiftshader/third_party/llvm-7.0/llvm/lib/IR/
DDIBuilder.cpp265 DIDerivedType *DIBuilder::createQualifiedType(unsigned Tag, DIType *FromTy) { in createQualifiedType()
271 DIType *PointeeTy, in createPointerType()
283 DIDerivedType *DIBuilder::createMemberPointerType(DIType *PointeeTy, in createMemberPointerType()
284 DIType *Base, in createMemberPointerType()
294 unsigned Tag, DIType *RTy, in createReferenceType()
304 DIDerivedType *DIBuilder::createTypedef(DIType *Ty, StringRef Name, in createTypedef()
312 DIDerivedType *DIBuilder::createFriend(DIType *Ty, DIType *FriendTy) { in createFriend()
319 DIDerivedType *DIBuilder::createInheritance(DIType *Ty, DIType *BaseTy, in createInheritance()
336 DINode::DIFlags Flags, DIType *Ty) { in createMemberType()
354 DINode::DIFlags Flags, DIType *Ty) { in createVariantMemberType()
[all …]
DDebugInfo.cpp90 if (auto *T = dyn_cast<DIType>(RT)) in processCompileUnit()
96 if (auto *T = dyn_cast<DIType>(Entity)) in processCompileUnit()
125 void DebugInfoFinder::processType(DIType *DT) { in processType()
137 if (auto *T = dyn_cast<DIType>(D)) in processType()
152 if (auto *Ty = dyn_cast<DIType>(Scope)) { in processScope()
229 bool DebugInfoFinder::addType(DIType *DT) { in addType()
236 TYs.push_back(const_cast<DIType *>(DT)); in addType()
908 LineNumber, SizeInBits, AlignInBits, Elts, unwrapDI<DIType>(ClassTy))); in LLVMDIBuilderCreateEnumerationType()
934 unwrapDI<DIType>(Ty), Subs)); in LLVMDIBuilderCreateArrayType()
945 unwrapDI<DIType>(Ty), Subs)); in LLVMDIBuilderCreateVectorType()
[all …]
/external/mesa3d/src/gallium/drivers/swr/rasterizer/jitter/
DJitManager.h173 std::unordered_map<llvm::StructType*, llvm::DIType*> mDebugStructMap;
183 llvm::DIType* GetDebugType(llvm::Type* pTy);
184 llvm::DIType* GetDebugIntegerType(llvm::Type* pTy);
185 llvm::DIType* GetDebugArrayType(llvm::Type* pTy);
186 llvm::DIType* GetDebugVectorType(llvm::Type* pTy);
187 llvm::DIType* GetDebugFunctionType(llvm::Type* pTy);
189 llvm::DIType* GetDebugStructType(llvm::Type* pType) in GetDebugStructType()
199 …llvm::DIType* CreateDebugStructType(llvm::StructType* pType, const std::string& name, llvm::DIFile…
DJitManager.cpp196 DIType* JitManager::CreateDebugStructType(StructType* pType, const std::string& name, DIFile* pFile… in CreateDebugStructType()
220 llvm::DIType* pDebugTy = GetDebugType(elem); in CreateDebugStructType()
230 DIType* JitManager::GetDebugArrayType(Type* pTy) in GetDebugArrayType()
244 DIType* JitManager::GetDebugType(Type* pTy) in GetDebugType()
273 DIType* JitManager::GetDebugFunctionType(Type* pTy) in GetDebugFunctionType()
291 DIType* JitManager::GetDebugIntegerType(Type* pTy) in GetDebugIntegerType()
315 DIType* JitManager::GetDebugVectorType(Type* pTy) in GetDebugVectorType()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/AsmPrinter/
DCodeViewDebug.h202 DenseMap<std::pair<const DINode *, const DIType *>, codeview::TypeIndex>
222 std::vector<std::pair<std::string, const DIType *>> LocalUDTs;
223 std::vector<std::pair<std::string, const DIType *>> GlobalUDTs;
265 emitDebugInfoForUDTs(ArrayRef<std::pair<std::string, const DIType *>> UDTs);
326 void addToUDTs(const DIType *Ty);
328 void addUDTSrcLine(const DIType *Ty, codeview::TypeIndex TI);
330 codeview::TypeIndex lowerType(const DIType *Ty, const DIType *ClassTy);
344 const DIType *ClassTy,
377 const DIType *ClassTy = nullptr);
DDwarfUnit.h134 virtual void addGlobalType(const DIType *Ty, const DIE &Die,
216 void addSourceLine(DIE &Die, const DIType *Ty);
220 void addConstantValue(DIE &Die, const MachineOperand &MO, const DIType *Ty);
221 void addConstantValue(DIE &Die, const ConstantInt *CI, const DIType *Ty);
222 void addConstantValue(DIE &Die, const APInt &Val, const DIType *Ty);
252 void addType(DIE &Entity, const DIType *Ty,
336 void updateAcceleratorTables(const DIScope *Context, const DIType *Ty,
398 void addGlobalType(const DIType *Ty, const DIE &Die,
DDwarfUnit.cpp181 return (isa<DIType>(D) || in isShareableAcrossCUs()
404 void DwarfUnit::addSourceLine(DIE &Die, const DIType *Ty) { in addSourceLine()
473 const DIType *Ty = DV.getType(); in addBlockByrefAddress()
474 const DIType *TmpTy = Ty; in addBlockByrefAddress()
549 static bool isUnsignedDIType(DwarfDebug *DD, const DIType *Ty) { in isUnsignedDIType()
626 const DIType *Ty) { in addConstantValue()
631 const DIType *Ty) { in addConstantValue()
644 void DwarfUnit::addConstantValue(DIE &Die, const APInt &Val, const DIType *Ty) { in addConstantValue()
699 addType(TT, cast<DIType>(Ty)); in addThrownTypes()
706 if (auto *T = dyn_cast<DIType>(Context)) in getOrCreateContextDIE()
[all …]
/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 …]
/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.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 …]
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);

123