/freebsd/contrib/llvm-project/llvm/lib/Target/BPF/ |
H A D | BTFDebug.cpp | 48 BTFTypeDerived::BTFTypeDerived(const DIDerivedType *DTy, unsigned Tag, in BTFTypeDerived() argument 50 : DTy(DTy), NeedsFixup(NeedsFixup), Name(DTy->getName()) { in BTFTypeDerived() 76 : DTy(nullptr), NeedsFixup(false), Name(Name) { in BTFTypeDerived() 89 if (NeedsFixup || !DTy) in completeType() 93 const DIType *ResolvedType = DTy->getBaseType(); in completeType() 468 : DTy(nullptr), Tag(Tag) { in BTFTypeTypeTag() 474 BTFTypeTypeTag::BTFTypeTypeTag(const DIDerivedType *DTy, StringRef Tag) in BTFTypeTypeTag() argument 475 : DTy(DTy), Tag(Tag) { in BTFTypeTypeTag() 485 if (DTy) { in completeType() 486 const DIType *ResolvedType = DTy->getBaseType(); in completeType() [all …]
|
H A D | BPFAbstractMemberAccess.cpp | 159 void CheckDerivedType(DIDerivedType *ParentTy, DIDerivedType *DTy); 252 DIDerivedType *DTy) { in CheckDerivedType() argument 253 DIType *BaseType = DTy->getBaseType(); in CheckDerivedType() 257 unsigned Tag = DTy->getTag(); in CheckDerivedType() 261 CheckAnonRecordType(DTy, BaseType); in CheckDerivedType() 273 else if (auto *DTy = dyn_cast<DIDerivedType>(Ty)) in CheckAnonRecordType() local 274 return CheckDerivedType(ParentTy, DTy); in CheckAnonRecordType() 289 while (auto *DTy = dyn_cast<DIDerivedType>(Ty)) { in stripQualifiers() local 290 if (!SkipDIDerivedTag(DTy->getTag(), skipTypedef)) in stripQualifiers() 292 Ty = DTy->getBaseType(); in stripQualifiers() [all …]
|
H A D | BPFPreserveDIType.cpp | 91 while (auto *DTy = dyn_cast<DIDerivedType>(Ty)) { in BPFPreserveDITypeImpl() local 92 unsigned Tag = DTy->getTag(); in BPFPreserveDITypeImpl() 95 Ty = DTy->getBaseType(); in BPFPreserveDITypeImpl()
|
H A D | BTFDebug.h | 65 const DIDerivedType *DTy; variable 236 const DIDerivedType *DTy; variable 241 BTFTypeTypeTag(const DIDerivedType *DTy, StringRef Tag); 336 void visitDerivedType(const DIDerivedType *DTy, uint32_t &TypeId, 375 int genBTFTypeTags(const DIDerivedType *DTy, int BaseTypeId);
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/ |
H A D | DwarfUnit.cpp | 773 void DwarfUnit::constructTypeDIE(DIE &Buffer, const DIDerivedType *DTy) { in constructTypeDIE() argument 775 StringRef Name = DTy->getName(); in constructTypeDIE() 776 uint64_t Size = DTy->getSizeInBits() >> 3; in constructTypeDIE() 780 const DIType *FromTy = DTy->getBaseType(); in constructTypeDIE() 788 addAnnotation(Buffer, DTy->getAnnotations()); in constructTypeDIE() 793 uint32_t AlignInBytes = DTy->getAlignInBytes(); in constructTypeDIE() 808 *getOrCreateTypeDIE(cast<DIDerivedType>(DTy)->getClassType())); in constructTypeDIE() 810 addAccess(Buffer, DTy->getFlags()); in constructTypeDIE() 813 if (!DTy->isForwardDecl()) in constructTypeDIE() 814 addSourceLine(Buffer, DTy); in constructTypeDIE() [all …]
|
H A D | DebugHandlerBase.cpp | 202 if (auto *DTy = dyn_cast<DIDerivedType>(Ty)) { in isUnsignedDIType() local 219 assert(DTy->getBaseType() && "Expected valid base type"); in isUnsignedDIType() 220 return isUnsignedDIType(DTy->getBaseType()); in isUnsignedDIType()
|
H A D | CodeViewDebug.cpp | 3351 void CodeViewDebug::emitConstantSymbolRecord(const DIType *DTy, APSInt &Value, in emitStaticConstMemberList() local 3355 OS.emitInt32(getTypeIndex(DTy).getIndex()); in emitStaticConstMemberList() 3373 for (const DIDerivedType *DTy : StaticConstMembers) { in isFloatDIType() 3374 const DIScope *Scope = DTy->getScope(); in isFloatDIType() local 3378 dyn_cast_or_null<ConstantInt>(DTy->getConstant())) in isFloatDIType() 3380 DebugHandlerBase::isUnsignedDIType(DTy->getBaseType())); in isFloatDIType() 3382 dyn_cast_or_null<ConstantFP>(DTy->getConstant())) in isFloatDIType() 3387 emitConstantSymbolRecord(DTy->getBaseType(), Value, in isFloatDIType() 3388 getFullyQualifiedName(Scope, DTy->getName())); 3396 if (auto *DTy in emitDebugInfoForGlobal() 3329 emitConstantSymbolRecord(const DIType * DTy,APSInt & Value,const std::string & QualifiedName) emitConstantSymbolRecord() argument [all...] |
H A D | DwarfUnit.h | 334 void constructTypeDIE(DIE &Buffer, const DIDerivedType *DTy);
|
H A D | CodeViewDebug.h | 354 void emitConstantSymbolRecord(const DIType *DTy, APSInt &Value,
|
/freebsd/contrib/llvm-project/llvm/lib/Linker/ |
H A D | IRMover.cpp | 79 void finishType(StructType *DTy, StructType *STy, ArrayRef<Type *> ETypes); 228 void TypeMapTy::finishType(StructType *DTy, StructType *STy, in finishType() argument 230 DTy->setBody(ETypes, STy->isPacked()); in finishType() 236 DTy->setName(TmpName); in finishType() 239 DstStructTypesSet.addNonOpaque(DTy); in finishType() 265 StructType *DTy = StructType::create(Ty->getContext()); in get() local 266 return *Entry = DTy; in get() 290 if (auto *DTy = dyn_cast<StructType>(*Entry)) { in get() local 291 if (DTy->isOpaque()) { in get() 293 finishType(DTy, STy, ElementTypes); in get() [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | Debugify.cpp | 98 DIType *&DTy = TypeCache[Size]; in applyDebugifyMetadata() local 99 if (!DTy) { in applyDebugifyMetadata() 101 DTy = DIB.createBasicType(Name, Size, dwarf::DW_ATE_unsigned); in applyDebugifyMetadata() 103 return DTy; in applyDebugifyMetadata()
|
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/ |
H A D | ExprEngine.cpp | 1416 QualType DTy = DE->getDestroyedType(); in ProcessDeleteDtor() local 1422 QualType BTy = getContext().getBaseElementType(DTy); in ProcessDeleteDtor() 1432 auto getDtorDecl = [](const QualType &DTy) { in ProcessDeleteDtor() argument 1433 const CXXRecordDecl *RD = DTy->getAsCXXRecordDecl(); in ProcessDeleteDtor() 1444 while (const auto *AT = getContext().getAsArrayType(DTy)) in ProcessDeleteDtor() 1445 DTy = AT->getElementType(); in ProcessDeleteDtor() 1450 State, ArgR, DTy, LCtx, &ElementCount); in ProcessDeleteDtor() 1459 PostImplicitCall PP(getDtorDecl(DTy), DE->getBeginLoc(), LCtx, in ProcessDeleteDtor() 1466 ArgR = State->getLValue(DTy, svalBuilder.makeArrayIndex(Idx), ArgVal) in ProcessDeleteDtor() 1474 PreImplicitCall PP(getDtorDecl(DTy), DE->getBeginLoc(), LCtx, in ProcessDeleteDtor() [all …]
|
/freebsd/contrib/llvm-project/clang/lib/Sema/ |
H A D | SemaExceptionSpec.cpp | 1205 QualType DTy = DE->getDestroyedType(); in canThrow() local 1206 if (DTy.isNull() || DTy->isDependentType()) { in canThrow() 1210 if (const RecordType *RT = DTy->getAs<RecordType>()) { in canThrow()
|
H A D | SemaType.cpp | 6869 const Type *DTy = Ty->getUnqualifiedDesugaredType(); in FunctionTypeUnwrapper() local 6870 if (Ty == DTy) { in FunctionTypeUnwrapper() 6875 T = QualType(DTy, 0); in FunctionTypeUnwrapper()
|
/freebsd/contrib/llvm-project/clang/lib/Analysis/ |
H A D | CFG.cpp | 4868 QualType DTy = DE->getDestroyedType(); in VisitCXXDeleteExpr() local 4869 if (!DTy.isNull()) { in VisitCXXDeleteExpr() 4870 DTy = DTy.getNonReferenceType(); in VisitCXXDeleteExpr() 4871 CXXRecordDecl *RD = Context->getBaseElementType(DTy)->getAsCXXRecordDecl(); in VisitCXXDeleteExpr() 5330 QualType DTy = DE->getDestroyedType(); in getDestructorDecl() local 5331 DTy = DTy.getNonReferenceType(); in getDestructorDecl() 5333 astContext.getBaseElementType(DTy)->getAsCXXRecordDecl(); in getDestructorDecl()
|
/freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CGDebugInfo.cpp | 2232 llvm::DIType *DTy = DBuilder.createInheritance(RecordTy, BaseTy, BaseOffset, in CollectCXXBasesAux() local 2234 EltTys.push_back(DTy); in CollectCXXBasesAux()
|
H A D | CGBuiltin.cpp | 8001 llvm::FixedVectorType *DTy = in EmitCommonNeonBuiltinExpr() local 8003 Ops[0] = Builder.CreateBitCast(Ops[0], DTy); in EmitCommonNeonBuiltinExpr()
|
/freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | ScalarEvolution.cpp | 12500 auto *DTy = Denominator->getType(); in isImpliedViaOperations() local 12502 if (DTy->isPointerTy() != FRHSTy->isPointerTy()) in isImpliedViaOperations() 12511 auto *WTy = getWiderType(DTy, FRHSTy); in isImpliedViaOperations()
|