Home
last modified time | relevance | path

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

12

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DDIBuilder.h202 DIDerivedType *createQualifiedType(unsigned Tag, DIType *FromTy);
210 DIDerivedType *createPointerType(DIType *PointeeTy, uint64_t SizeInBits,
222 createMemberPointerType(DIType *PointeeTy, DIType *Class,
228 DIDerivedType *createReferenceType(unsigned Tag, DIType *RTy,
241 DIDerivedType *createTypedef(DIType *Ty, StringRef Name, DIFile *File,
246 DIDerivedType *createFriend(DIType *Ty, DIType *FriendTy);
256 DIDerivedType *createInheritance(DIType *Ty, DIType *BaseTy,
275 DINode::DIFlags Flags, DIType *Ty);
296 DINode::DIFlags Flags, DIType *Ty);
311 uint64_t StorageOffsetInBits, DINode::DIFlags Flags, DIType *Ty);
[all …]
DDebugInfo.h87 void processType(DIType *DT);
92 bool addType(DIType *DT);
100 using type_iterator = SmallVectorImpl<DIType *>::const_iterator;
133 SmallVector<DIType *, 8> TYs;
DDebugInfoMetadata.h79 DIType *operator[](unsigned I) const {
80 return cast_or_null<DIType>(N->getOperand(I));
83 class iterator : std::iterator<std::input_iterator_tag, DIType *,
84 std::ptrdiff_t, void, DIType *> {
91 DIType *operator*() const { return cast_or_null<DIType>(*I); }
583 class DIType : public DIScope {
591 DIType(LLVMContext &C, unsigned ID, StorageType Storage, unsigned Tag, in DIType() function
597 ~DIType() = default;
618 return TempDIType(cast<DIType>(MDNode::clone().release())); in clone()
689 class DIBasicType : public DIType {
[all …]
DMetadata.def90 HANDLE_SPECIALIZED_MDNODE_BRANCH(DIType)
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/AsmPrinter/
DCodeViewDebug.h151 std::vector<std::tuple<const MCSymbol *, const MCSymbol *, const DIType *>>
251 DenseMap<std::pair<const DINode *, const DIType *>, codeview::TypeIndex>
271 std::vector<std::pair<std::string, const DIType *>> LocalUDTs;
272 std::vector<std::pair<std::string, const DIType *>> GlobalUDTs;
314 emitDebugInfoForUDTs(ArrayRef<std::pair<std::string, const DIType *>> UDTs);
377 codeview::TypeIndex getTypeIndex(const DIType *Ty,
378 const DIType *ClassTy = nullptr);
384 codeview::TypeIndex getTypeIndexForReferenceTo(const DIType *Ty);
393 void addToUDTs(const DIType *Ty);
395 void addUDTSrcLine(const DIType *Ty, codeview::TypeIndex TI);
[all …]
DDwarfUnit.h110 virtual void addGlobalType(const DIType *Ty, const DIE &Die,
195 void addSourceLine(DIE &Die, const DIType *Ty);
199 void addConstantValue(DIE &Die, const MachineOperand &MO, const DIType *Ty);
200 void addConstantValue(DIE &Die, const ConstantInt *CI, const DIType *Ty);
201 void addConstantValue(DIE &Die, const APInt &Val, const DIType *Ty);
203 void addConstantValue(DIE &Die, uint64_t Val, const DIType *Ty);
223 void addType(DIE &Entity, const DIType *Ty,
234 DIE *createTypeDIE(const DIScope *Context, DIE &ContextDIE, const DIType *Ty);
336 void updateAcceleratorTables(const DIScope *Context, const DIType *Ty,
369 void addGlobalType(const DIType *Ty, const DIE &Die,
DDwarfUnit.cpp200 return (isa<DIType>(D) || in isShareableAcrossCUs()
449 void DwarfUnit::addSourceLine(DIE &Die, const DIType *Ty) { in addSourceLine()
462 static bool isUnsignedDIType(DwarfDebug *DD, const DIType *Ty) { in isUnsignedDIType()
538 const DIType *Ty) { in addConstantValue()
543 const DIType *Ty) { in addConstantValue()
549 void DwarfUnit::addConstantValue(DIE &Die, uint64_t Val, const DIType *Ty) { in addConstantValue()
560 void DwarfUnit::addConstantValue(DIE &Die, const APInt &Val, const DIType *Ty) { in addConstantValue()
615 addType(TT, cast<DIType>(Ty)); in addThrownTypes()
622 if (auto *T = dyn_cast<DIType>(Context)) in getOrCreateContextDIE()
650 const DIType *Ty) { in createTypeDIE()
[all …]
DCodeViewDebug.cpp360 assert(!isa<DIType>(Scope) && "shouldn't make a namespace scope for a type"); in getScopeIndex()
415 const DIType *ReturnTy = nullptr; in getFunctionOptions()
464 const DIType *ClassTy) { in recordTypeIndexForDINode()
1105 const DIType *DITy = std::get<2>(HeapAllocSite); in emitDebugInfoForFunction()
1436 static bool shouldEmitUdt(const DIType *T) { in shouldEmitUdt()
1464 void CodeViewDebug::addToUDTs(const DIType *Ty) { in addToUDTs()
1492 TypeIndex CodeViewDebug::lowerType(const DIType *Ty, const DIType *ClassTy) { in lowerType()
1558 const DIType *ElementType = Ty->getBaseType(); in lowerTypeArray()
1804 const DIType *BaseTy = Ty; in lowerTypeModifier()
1859 for (const DIType *ArgType : Ty->getTypeArray()) in lowerTypeFunction()
[all …]
DDebugHandlerBase.cpp143 uint64_t DebugHandlerBase::getBaseTypeSize(const DIType *Ty) { in getBaseTypeSize()
156 DIType *BaseType = DDTy->getBaseType(); in getBaseTypeSize()
DDwarfCompileUnit.h311 void addGlobalType(const DIType *Ty, const DIE &Die,
315 void addGlobalTypeUnitType(const DIType *Ty, const DIScope *Context);
DDwarfCompileUnit.cpp131 const DIType *GTy = GV->getType(); in getOrCreateGlobalVariableDIE()
1030 else if (auto *T = dyn_cast<DIType>(Entity)) in constructImportedEntityDIE()
1161 void DwarfCompileUnit::addGlobalType(const DIType *Ty, const DIE &Die, in addGlobalType()
1169 void DwarfCompileUnit::addGlobalTypeUnitType(const DIType *Ty, in addGlobalTypeUnitType()
DDwarfDebug.h224 const DIType *getType() const;
DDwarfDebug.cpp227 const DIType *DbgVariable::getType() const { in getType()
1042 CU.getOrCreateTypeDIE(cast<DIType>(Ty)); in beginModule()
1047 if (DIType *RT = dyn_cast<DIType>(Ty)) in beginModule()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DDIBuilder.cpp268 DIDerivedType *DIBuilder::createQualifiedType(unsigned Tag, DIType *FromTy) { in createQualifiedType()
274 DIType *PointeeTy, in createPointerType()
286 DIDerivedType *DIBuilder::createMemberPointerType(DIType *PointeeTy, in createMemberPointerType()
287 DIType *Base, in createMemberPointerType()
297 unsigned Tag, DIType *RTy, in createReferenceType()
307 DIDerivedType *DIBuilder::createTypedef(DIType *Ty, StringRef Name, in createTypedef()
316 DIDerivedType *DIBuilder::createFriend(DIType *Ty, DIType *FriendTy) { in createFriend()
323 DIDerivedType *DIBuilder::createInheritance(DIType *Ty, DIType *BaseTy, in createInheritance()
340 DINode::DIFlags Flags, DIType *Ty) { in createMemberType()
355 Constant *Discriminant, DINode::DIFlags Flags, DIType *Ty) { in createVariantMemberType()
[all …]
DDebugInfo.cpp89 if (auto *T = dyn_cast<DIType>(RT)) in processCompileUnit()
95 if (auto *T = dyn_cast<DIType>(Entity)) in processCompileUnit()
124 void DebugInfoFinder::processType(DIType *DT) { in processType()
129 for (DIType *Ref : ST->getTypeArray()) in processType()
136 if (auto *T = dyn_cast<DIType>(D)) in processType()
151 if (auto *Ty = dyn_cast<DIType>(Scope)) { in processScope()
228 bool DebugInfoFinder::addType(DIType *DT) { in addType()
235 TYs.push_back(const_cast<DIType *>(DT)); in addType()
431 DIType *ContainingType = in getReplacementSubprogram()
432 cast_or_null<DIType>(map(MDS->getContainingType())); in getReplacementSubprogram()
[all …]
DDebugInfoMetadata.cpp216 if (auto *T = dyn_cast<DIType>(this)) in getScope()
240 if (auto *T = dyn_cast<DIType>(this)) in getName()
796 if (auto *T = dyn_cast<DIType>(RawType)) in getSizeInBits()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/BPF/
DBTFDebug.h27 class DIType; variable
245 std::unordered_map<const DIType *, uint32_t> DIToIdMap;
260 uint32_t addType(std::unique_ptr<BTFTypeBase> TypeEntry, const DIType *Ty);
267 void visitTypeEntry(const DIType *Ty);
268 void visitTypeEntry(const DIType *Ty, uint32_t &TypeId, bool CheckPointer,
284 void visitMapDefType(const DIType *Ty, uint32_t &TypeId);
302 void generateFieldReloc(const MCSymbol *ORSym, DIType *RootTy,
306 unsigned populateStructType(const DIType *Ty);
343 uint32_t getTypeId(const DIType *Ty) { in getTypeId()
DBPFAbstractMemberAccess.cpp201 static DIType * stripQualifiers(DIType *Ty) { in stripQualifiers()
210 static const DIType * stripQualifiers(const DIType *Ty) { in stripQualifiers()
364 const DIType *PType = stripQualifiers(cast<DIType>(ParentType)); in IsValidAIChain()
365 const DIType *CType = stripQualifiers(cast<DIType>(ChildType)); in IsValidAIChain()
398 DIType *Ty; in IsValidAIChain()
402 Ty = dyn_cast<DIType>(PTy->getElements()[ParentAI]); in IsValidAIChain()
588 const DIType *BaseTy; in GetFieldInfo()
730 DIType *Ty = stripQualifiers(cast<DIType>(CInfo.Metadata)); in computeBaseAndAccessKey()
748 DIType *BaseTy = nullptr; in computeBaseAndAccessKey()
827 auto *CTy = cast<DICompositeType>(stripQualifiers(cast<DIType>(MDN))); in computeBaseAndAccessKey()
DBTFDebug.cpp79 const DIType *ResolvedType = DTy->getBaseType(); in completeType()
390 const DIType *Ty) { in addType()
478 const DIType *ElemType = CTy->getBaseType(); in visitArrayType()
560 const DIType *Base = DTy->getBaseType(); in visitDerivedType()
599 void BTFDebug::visitTypeEntry(const DIType *Ty, uint32_t &TypeId, in visitTypeEntry()
619 void BTFDebug::visitTypeEntry(const DIType *Ty) { in visitTypeEntry()
624 void BTFDebug::visitMapDefType(const DIType *Ty, uint32_t &TypeId) { in visitMapDefType()
933 unsigned BTFDebug::populateStructType(const DIType *Ty) { in populateStructType()
942 void BTFDebug::generateFieldReloc(const MCSymbol *ORSym, DIType *RootTy, in generateFieldReloc()
973 DIType *Ty = dyn_cast<DIType>(MDN); in processReloc()
/third_party/skia/third_party/externals/swiftshader/src/Reactor/
DLLVMReactorDebugInfo.hpp39 class DIType;
149 llvm::DIType *getOrCreateType(llvm::Type *type);
167 std::unordered_map<llvm::Type *, llvm::DIType *> diTypes;
DLLVMReactorDebugInfo.cpp454 llvm::DIType *DebugInfo::getOrCreateType(llvm::Type *type) in getOrCreateType()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DDebugify.cpp68 DenseMap<uint64_t, DIType *> TypeCache; in applyDebugifyMetadata()
69 auto getCachedDIType = [&](Type *Ty) -> DIType * { in applyDebugifyMetadata()
71 DIType *&DTy = TypeCache[Size]; in applyDebugifyMetadata()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DDebugHandlerBase.h132 static uint64_t getBaseTypeSize(const DIType *Ty);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DModuleDebugInfoPrinter.cpp102 for (const DIType *T : Finder.types()) { in print()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/include/llvm/IR/
DMetadata.def91 HANDLE_SPECIALIZED_MDNODE_BRANCH(DIType)

12