/external/llvm-project/llvm/lib/Target/BPF/ |
D | BTFDebug.cpp | 44 BTFTypeDerived::BTFTypeDerived(const DIDerivedType *DTy, unsigned Tag, in BTFTypeDerived() argument 46 : DTy(DTy), NeedsFixup(NeedsFixup) { in BTFTypeDerived() 74 BTFType.NameOff = BDebug.addString(DTy->getName()); in completeType() 80 const DIType *ResolvedType = DTy->getBaseType(); in completeType() 555 void BTFDebug::visitDerivedType(const DIDerivedType *DTy, uint32_t &TypeId, in visitDerivedType() argument 557 unsigned Tag = DTy->getTag(); in visitDerivedType() 566 const DIType *Base = DTy->getBaseType(); in visitDerivedType() 576 auto TypeEntry = std::make_unique<BTFTypeDerived>(DTy, Tag, true); in visitDerivedType() 580 TypeId = addType(std::move(TypeEntry), DTy); in visitDerivedType() 590 auto TypeEntry = std::make_unique<BTFTypeDerived>(DTy, Tag, false); in visitDerivedType() [all …]
|
D | BPFAbstractMemberAccess.cpp | 239 while (auto *DTy = dyn_cast<DIDerivedType>(Ty)) { in stripQualifiers() local 240 if (!SkipDIDerivedTag(DTy->getTag(), skipTypedef)) in stripQualifiers() 242 Ty = DTy->getBaseType(); in stripQualifiers() 248 while (auto *DTy = dyn_cast<DIDerivedType>(Ty)) { in stripQualifiers() local 249 if (!SkipDIDerivedTag(DTy->getTag(), true)) in stripQualifiers() 251 Ty = DTy->getBaseType(); in stripQualifiers() 827 auto *DTy = cast<DIDerivedType>(Ty); in computeBaseAndAccessKey() local 828 assert(DTy->getTag() == dwarf::DW_TAG_pointer_type); in computeBaseAndAccessKey() 830 BaseTy = stripQualifiers(DTy->getBaseType()); in computeBaseAndAccessKey()
|
D | BTFDebug.h | 65 const DIDerivedType *DTy; variable 288 void visitDerivedType(const DIDerivedType *DTy, uint32_t &TypeId,
|
/external/llvm-project/clang-tools-extra/clang-tidy/bugprone/ |
D | VirtualNearMissCheck.cpp | 68 QualType DTy = DerivedReturnTy->getPointeeType().getCanonicalType(); in checkOverridingFunctionReturnType() local 71 const CXXRecordDecl *DRD = DTy->getAsCXXRecordDecl(); in checkOverridingFunctionReturnType() 82 if (!Context->hasSameUnqualifiedType(DTy, BTy)) { in checkOverridingFunctionReturnType() 117 if (DTy.isMoreQualifiedThan(BTy)) in checkOverridingFunctionReturnType()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/BPF/ |
D | BTFDebug.cpp | 43 BTFTypeDerived::BTFTypeDerived(const DIDerivedType *DTy, unsigned Tag, in BTFTypeDerived() argument 45 : DTy(DTy), NeedsFixup(NeedsFixup) { in BTFTypeDerived() 73 BTFType.NameOff = BDebug.addString(DTy->getName()); in completeType() 79 const DIType *ResolvedType = DTy->getBaseType(); in completeType() 549 void BTFDebug::visitDerivedType(const DIDerivedType *DTy, uint32_t &TypeId, in visitDerivedType() argument 551 unsigned Tag = DTy->getTag(); in visitDerivedType() 560 const DIType *Base = DTy->getBaseType(); in visitDerivedType() 570 auto TypeEntry = std::make_unique<BTFTypeDerived>(DTy, Tag, true); in visitDerivedType() 574 TypeId = addType(std::move(TypeEntry), DTy); in visitDerivedType() 584 auto TypeEntry = std::make_unique<BTFTypeDerived>(DTy, Tag, false); in visitDerivedType() [all …]
|
D | BPFAbstractMemberAccess.cpp | 202 while (auto *DTy = dyn_cast<DIDerivedType>(Ty)) { in stripQualifiers() local 203 if (!SkipDIDerivedTag(DTy->getTag())) in stripQualifiers() 205 Ty = DTy->getBaseType(); in stripQualifiers() 211 while (auto *DTy = dyn_cast<DIDerivedType>(Ty)) { in stripQualifiers() local 212 if (!SkipDIDerivedTag(DTy->getTag())) in stripQualifiers() 214 Ty = DTy->getBaseType(); in stripQualifiers() 760 auto *DTy = cast<DIDerivedType>(Ty); in computeBaseAndAccessKey() local 761 assert(DTy->getTag() == dwarf::DW_TAG_pointer_type); in computeBaseAndAccessKey() 763 BaseTy = stripQualifiers(DTy->getBaseType()); in computeBaseAndAccessKey()
|
D | BTFDebug.h | 59 const DIDerivedType *DTy; variable 282 void visitDerivedType(const DIDerivedType *DTy, uint32_t &TypeId,
|
/external/llvm/lib/Linker/ |
D | IRMover.cpp | 68 void finishType(StructType *DTy, StructType *STy, ArrayRef<Type *> ETypes); 212 void TypeMapTy::finishType(StructType *DTy, StructType *STy, in finishType() argument 214 DTy->setBody(ETypes, STy->isPacked()); in finishType() 220 DTy->setName(TmpName); in finishType() 223 DstStructTypesSet.addNonOpaque(DTy); in finishType() 250 StructType *DTy = StructType::create(Ty->getContext()); in get() local 251 return *Entry = DTy; in get() 274 if (auto *DTy = dyn_cast<StructType>(*Entry)) { in get() local 275 if (DTy->isOpaque()) { in get() 277 finishType(DTy, STy, ElementTypes); in get() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/AsmPrinter/ |
D | DwarfUnit.cpp | 474 if (auto *DTy = dyn_cast<DIDerivedType>(Ty)) { in isUnsignedDIType() local 489 assert(DTy->getBaseType() && "Expected valid base type"); in isUnsignedDIType() 490 return isUnsignedDIType(DD, DTy->getBaseType()); in isUnsignedDIType() 788 void DwarfUnit::constructTypeDIE(DIE &Buffer, const DIDerivedType *DTy) { in constructTypeDIE() argument 790 StringRef Name = DTy->getName(); in constructTypeDIE() 791 uint64_t Size = DTy->getSizeInBits() >> 3; in constructTypeDIE() 795 const DIType *FromTy = DTy->getBaseType(); in constructTypeDIE() 806 uint32_t AlignInBytes = DTy->getAlignInBytes(); in constructTypeDIE() 821 *getOrCreateTypeDIE(cast<DIDerivedType>(DTy)->getClassType())); in constructTypeDIE() 823 if (!DTy->isForwardDecl()) in constructTypeDIE() [all …]
|
D | DwarfUnit.h | 310 void constructTypeDIE(DIE &Buffer, const DIDerivedType *DTy);
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/ |
D | Debugify.cpp | 71 DIType *&DTy = TypeCache[Size]; in applyDebugifyMetadata() local 72 if (!DTy) { in applyDebugifyMetadata() 74 DTy = DIB.createBasicType(Name, Size, dwarf::DW_ATE_unsigned); in applyDebugifyMetadata() 76 return DTy; in applyDebugifyMetadata()
|
/external/llvm-project/llvm/lib/Linker/ |
D | IRMover.cpp | 68 void finishType(StructType *DTy, StructType *STy, ArrayRef<Type *> ETypes); 217 void TypeMapTy::finishType(StructType *DTy, StructType *STy, in finishType() argument 219 DTy->setBody(ETypes, STy->isPacked()); in finishType() 225 DTy->setName(TmpName); in finishType() 228 DstStructTypesSet.addNonOpaque(DTy); in finishType() 254 StructType *DTy = StructType::create(Ty->getContext()); in get() local 255 return *Entry = DTy; in get() 279 if (auto *DTy = dyn_cast<StructType>(*Entry)) { in get() local 280 if (DTy->isOpaque()) { in get() 282 finishType(DTy, STy, ElementTypes); in get() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Linker/ |
D | IRMover.cpp | 67 void finishType(StructType *DTy, StructType *STy, ArrayRef<Type *> ETypes); 214 void TypeMapTy::finishType(StructType *DTy, StructType *STy, in finishType() argument 216 DTy->setBody(ETypes, STy->isPacked()); in finishType() 222 DTy->setName(TmpName); in finishType() 225 DstStructTypesSet.addNonOpaque(DTy); in finishType() 260 StructType *DTy = StructType::create(Ty->getContext()); in get() local 261 return *Entry = DTy; in get() 285 if (auto *DTy = dyn_cast<StructType>(*Entry)) { in get() local 286 if (DTy->isOpaque()) { in get() 288 finishType(DTy, STy, ElementTypes); in get() [all …]
|
/external/llvm/lib/CodeGen/AsmPrinter/ |
D | DwarfUnit.cpp | 448 auto *DTy = cast<DIDerivedType>(Ty); in addBlockByrefAddress() local 449 TmpTy = resolve(DTy->getBaseType()); in addBlockByrefAddress() 527 if (auto *DTy = dyn_cast<DIDerivedType>(Ty)) { in isUnsignedDIType() local 542 DITypeRef Deriv = DTy->getBaseType(); in isUnsignedDIType() 811 void DwarfUnit::constructTypeDIE(DIE &Buffer, const DIDerivedType *DTy) { in constructTypeDIE() argument 813 StringRef Name = DTy->getName(); in constructTypeDIE() 814 uint64_t Size = DTy->getSizeInBits() >> 3; in constructTypeDIE() 818 const DIType *FromTy = resolve(DTy->getBaseType()); in constructTypeDIE() 836 *getOrCreateTypeDIE(resolve(cast<DIDerivedType>(DTy)->getClassType()))); in constructTypeDIE() 838 if (!DTy->isForwardDecl()) in constructTypeDIE() [all …]
|
D | DwarfUnit.h | 336 void constructTypeDIE(DIE &Buffer, const DIDerivedType *DTy); 337 void constructTypeDIE(DIE &Buffer, const DISubroutineType *DTy);
|
/external/llvm-project/llvm/lib/CodeGen/AsmPrinter/ |
D | DwarfUnit.cpp | 720 void DwarfUnit::constructTypeDIE(DIE &Buffer, const DIDerivedType *DTy) { in constructTypeDIE() argument 722 StringRef Name = DTy->getName(); in constructTypeDIE() 723 uint64_t Size = DTy->getSizeInBits() >> 3; in constructTypeDIE() 727 const DIType *FromTy = DTy->getBaseType(); in constructTypeDIE() 738 uint32_t AlignInBytes = DTy->getAlignInBytes(); in constructTypeDIE() 753 *getOrCreateTypeDIE(cast<DIDerivedType>(DTy)->getClassType())); in constructTypeDIE() 755 if (!DTy->isForwardDecl()) in constructTypeDIE() 756 addSourceLine(Buffer, DTy); in constructTypeDIE() 761 if (DTy->getDWARFAddressSpace()) in constructTypeDIE() 763 DTy->getDWARFAddressSpace().getValue()); in constructTypeDIE() [all …]
|
D | DebugHandlerBase.cpp | 178 if (auto *DTy = dyn_cast<DIDerivedType>(Ty)) { in isUnsignedDIType() local 193 assert(DTy->getBaseType() && "Expected valid base type"); in isUnsignedDIType() 194 return isUnsignedDIType(DTy->getBaseType()); in isUnsignedDIType()
|
D | CodeViewDebug.cpp | 3128 for (const DIDerivedType *DTy : StaticConstMembers) { in emitStaticConstMemberList() local 3129 const DIScope *Scope = DTy->getScope(); in emitStaticConstMemberList() 3133 dyn_cast_or_null<ConstantInt>(DTy->getConstant())) in emitStaticConstMemberList() 3135 DebugHandlerBase::isUnsignedDIType(DTy->getBaseType())); in emitStaticConstMemberList() 3137 dyn_cast_or_null<ConstantFP>(DTy->getConstant())) in emitStaticConstMemberList() 3142 std::string QualifiedName = getFullyQualifiedName(Scope, DTy->getName()); in emitStaticConstMemberList() 3146 OS.emitInt32(getTypeIndex(DTy->getBaseType()).getIndex()); in emitStaticConstMemberList() 3167 if (auto *DTy = dyn_cast<DIDerivedType>(Ty)) { in isFloatDIType() local 3174 assert(DTy->getBaseType() && "Expected valid base type"); in isFloatDIType() 3175 return isFloatDIType(DTy->getBaseType()); in isFloatDIType()
|
D | DwarfUnit.h | 299 void constructTypeDIE(DIE &Buffer, const DIDerivedType *DTy);
|
/external/llvm-project/llvm/lib/Transforms/Utils/ |
D | Debugify.cpp | 85 DIType *&DTy = TypeCache[Size]; in applyDebugifyMetadata() local 86 if (!DTy) { in applyDebugifyMetadata() 88 DTy = DIB.createBasicType(Name, Size, dwarf::DW_ATE_unsigned); in applyDebugifyMetadata() 90 return DTy; in applyDebugifyMetadata()
|
/external/clang/lib/Sema/ |
D | SemaExceptionSpec.cpp | 1032 QualType DTy = cast<CXXDeleteExpr>(E)->getDestroyedType(); in canThrow() local 1033 if (DTy.isNull() || DTy->isDependentType()) { in canThrow() 1038 if (const RecordType *RT = DTy->getAs<RecordType>()) { in canThrow()
|
/external/llvm-project/clang/lib/Sema/ |
D | SemaExceptionSpec.cpp | 1210 QualType DTy = DE->getDestroyedType(); in canThrow() local 1211 if (DTy.isNull() || DTy->isDependentType()) { in canThrow() 1215 if (const RecordType *RT = DTy->getAs<RecordType>()) { in canThrow()
|
/external/clang/lib/Analysis/ |
D | CFG.cpp | 3585 QualType DTy = DE->getDestroyedType(); in VisitCXXDeleteExpr() local 3586 DTy = DTy.getNonReferenceType(); in VisitCXXDeleteExpr() 3587 CXXRecordDecl *RD = Context->getBaseElementType(DTy)->getAsCXXRecordDecl(); in VisitCXXDeleteExpr() 3916 QualType DTy = DE->getDestroyedType(); in getDestructorDecl() local 3917 DTy = DTy.getNonReferenceType(); in getDestructorDecl() 3919 astContext.getBaseElementType(DTy)->getAsCXXRecordDecl(); in getDestructorDecl()
|
/external/llvm-project/clang/lib/Analysis/ |
D | CFG.cpp | 4578 QualType DTy = DE->getDestroyedType(); in VisitCXXDeleteExpr() local 4579 if (!DTy.isNull()) { in VisitCXXDeleteExpr() 4580 DTy = DTy.getNonReferenceType(); in VisitCXXDeleteExpr() 4581 CXXRecordDecl *RD = Context->getBaseElementType(DTy)->getAsCXXRecordDecl(); in VisitCXXDeleteExpr() 5040 QualType DTy = DE->getDestroyedType(); in getDestructorDecl() local 5041 DTy = DTy.getNonReferenceType(); in getDestructorDecl() 5043 astContext.getBaseElementType(DTy)->getAsCXXRecordDecl(); in getDestructorDecl()
|
/external/llvm-project/clang/lib/StaticAnalyzer/Core/ |
D | ExprEngine.cpp | 992 QualType DTy = DE->getDestroyedType(); in ProcessDeleteDtor() local 998 QualType BTy = getContext().getBaseElementType(DTy); in ProcessDeleteDtor() 1016 while (const auto *AT = getContext().getAsArrayType(DTy)) in ProcessDeleteDtor() 1017 DTy = AT->getElementType(); in ProcessDeleteDtor() 1019 ArgR = getStoreManager().GetElementZeroRegion(cast<SubRegion>(ArgR), DTy); in ProcessDeleteDtor() 1022 VisitCXXDestructor(DTy, ArgR, DE, /*IsBase=*/false, Pred, Dst, CallOpts); in ProcessDeleteDtor()
|