Home
last modified time | relevance | path

Searched refs:DTy (Results 1 – 18 of 18) sorted by relevance

/openbsd/src/gnu/llvm/llvm/lib/Target/BPF/
DBTFDebug.cpp46 BTFTypeDerived::BTFTypeDerived(const DIDerivedType *DTy, unsigned Tag, in BTFTypeDerived() argument
48 : DTy(DTy), NeedsFixup(NeedsFixup), Name(DTy->getName()) { in BTFTypeDerived()
74 : DTy(nullptr), NeedsFixup(false), Name(Name) { in BTFTypeDerived()
87 if (NeedsFixup || !DTy) in completeType()
91 const DIType *ResolvedType = DTy->getBaseType(); in completeType()
466 : DTy(nullptr), Tag(Tag) { in BTFTypeTypeTag()
472 BTFTypeTypeTag::BTFTypeTypeTag(const DIDerivedType *DTy, StringRef Tag) in BTFTypeTypeTag() argument
473 : DTy(DTy), Tag(Tag) { in BTFTypeTypeTag()
483 if (DTy) { in completeType()
484 const DIType *ResolvedType = DTy->getBaseType(); in completeType()
[all …]
DBPFAbstractMemberAccess.cpp157 void CheckDerivedType(DIDerivedType *ParentTy, DIDerivedType *DTy);
280 DIDerivedType *DTy) { in CheckDerivedType() argument
281 DIType *BaseType = DTy->getBaseType(); in CheckDerivedType()
285 unsigned Tag = DTy->getTag(); in CheckDerivedType()
289 CheckAnonRecordType(DTy, BaseType); in CheckDerivedType()
301 else if (auto *DTy = dyn_cast<DIDerivedType>(Ty)) in CheckAnonRecordType() local
302 return CheckDerivedType(ParentTy, DTy); in CheckAnonRecordType()
317 while (auto *DTy = dyn_cast<DIDerivedType>(Ty)) { in stripQualifiers() local
318 if (!SkipDIDerivedTag(DTy->getTag(), skipTypedef)) in stripQualifiers()
320 Ty = DTy->getBaseType(); in stripQualifiers()
[all …]
DBPFPreserveDIType.cpp89 while (auto *DTy = dyn_cast<DIDerivedType>(Ty)) { in BPFPreserveDITypeImpl() local
90 unsigned Tag = DTy->getTag(); in BPFPreserveDITypeImpl()
94 Ty = DTy->getBaseType(); in BPFPreserveDITypeImpl()
DBTFDebug.h65 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,
371 int genBTFTypeTags(const DIDerivedType *DTy, int BaseTypeId);
/openbsd/src/gnu/llvm/llvm/lib/CodeGen/AsmPrinter/
DDwarfUnit.cpp756 void DwarfUnit::constructTypeDIE(DIE &Buffer, const DIDerivedType *DTy) { in constructTypeDIE() argument
758 StringRef Name = DTy->getName(); in constructTypeDIE()
759 uint64_t Size = DTy->getSizeInBits() >> 3; in constructTypeDIE()
763 const DIType *FromTy = DTy->getBaseType(); in constructTypeDIE()
771 addAnnotation(Buffer, DTy->getAnnotations()); in constructTypeDIE()
776 uint32_t AlignInBytes = DTy->getAlignInBytes(); in constructTypeDIE()
791 *getOrCreateTypeDIE(cast<DIDerivedType>(DTy)->getClassType())); in constructTypeDIE()
793 addAccess(Buffer, DTy->getFlags()); in constructTypeDIE()
796 if (!DTy->isForwardDecl()) in constructTypeDIE()
797 addSourceLine(Buffer, DTy); in constructTypeDIE()
[all …]
DDebugHandlerBase.cpp198 if (auto *DTy = dyn_cast<DIDerivedType>(Ty)) { in isUnsignedDIType() local
214 assert(DTy->getBaseType() && "Expected valid base type"); in isUnsignedDIType()
215 return isUnsignedDIType(DTy->getBaseType()); in isUnsignedDIType()
DCodeViewDebug.cpp3314 void CodeViewDebug::emitConstantSymbolRecord(const DIType *DTy, APSInt &Value, in emitConstantSymbolRecord() argument
3318 OS.emitInt32(getTypeIndex(DTy).getIndex()); in emitConstantSymbolRecord()
3336 for (const DIDerivedType *DTy : StaticConstMembers) { in emitStaticConstMemberList() local
3337 const DIScope *Scope = DTy->getScope(); in emitStaticConstMemberList()
3341 dyn_cast_or_null<ConstantInt>(DTy->getConstant())) in emitStaticConstMemberList()
3343 DebugHandlerBase::isUnsignedDIType(DTy->getBaseType())); in emitStaticConstMemberList()
3345 dyn_cast_or_null<ConstantFP>(DTy->getConstant())) in emitStaticConstMemberList()
3350 emitConstantSymbolRecord(DTy->getBaseType(), Value, in emitStaticConstMemberList()
3351 getFullyQualifiedName(Scope, DTy->getName())); in emitStaticConstMemberList()
3359 if (auto *DTy = dyn_cast<DIDerivedType>(Ty)) { in isFloatDIType() local
[all …]
DDwarfUnit.h320 void constructTypeDIE(DIE &Buffer, const DIDerivedType *DTy);
DCodeViewDebug.h335 void emitConstantSymbolRecord(const DIType *DTy, APSInt &Value,
/openbsd/src/gnu/llvm/llvm/lib/Linker/
DIRMover.cpp78 void finishType(StructType *DTy, StructType *STy, ArrayRef<Type *> ETypes);
227 void TypeMapTy::finishType(StructType *DTy, StructType *STy, in finishType() argument
229 DTy->setBody(ETypes, STy->isPacked()); in finishType()
235 DTy->setName(TmpName); in finishType()
238 DstStructTypesSet.addNonOpaque(DTy); in finishType()
264 StructType *DTy = StructType::create(Ty->getContext()); in get() local
265 return *Entry = DTy; in get()
289 if (auto *DTy = dyn_cast<StructType>(*Entry)) { in get() local
290 if (DTy->isOpaque()) { in get()
292 finishType(DTy, STy, ElementTypes); in get()
[all …]
/openbsd/src/gnu/llvm/llvm/lib/Transforms/Utils/
DDebugify.cpp98 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()
/openbsd/src/gnu/llvm/clang/lib/StaticAnalyzer/Core/
DExprEngine.cpp1399 QualType DTy = DE->getDestroyedType(); in ProcessDeleteDtor() local
1405 QualType BTy = getContext().getBaseElementType(DTy); in ProcessDeleteDtor()
1415 auto getDtorDecl = [](const QualType &DTy) { in ProcessDeleteDtor() argument
1416 const CXXRecordDecl *RD = DTy->getAsCXXRecordDecl(); in ProcessDeleteDtor()
1427 while (const auto *AT = getContext().getAsArrayType(DTy)) in ProcessDeleteDtor()
1428 DTy = AT->getElementType(); in ProcessDeleteDtor()
1433 State, ArgR, DTy, LCtx, &ElementCount); in ProcessDeleteDtor()
1442 PostImplicitCall PP(getDtorDecl(DTy), DE->getBeginLoc(), LCtx, &PT); in ProcessDeleteDtor()
1448 ArgR = State->getLValue(DTy, svalBuilder.makeArrayIndex(Idx), ArgVal) in ProcessDeleteDtor()
1456 PreImplicitCall PP(getDtorDecl(DTy), DE->getBeginLoc(), LCtx, &PT); in ProcessDeleteDtor()
[all …]
/openbsd/src/gnu/llvm/clang/lib/Sema/
DSemaExceptionSpec.cpp1218 QualType DTy = DE->getDestroyedType(); in canThrow() local
1219 if (DTy.isNull() || DTy->isDependentType()) { in canThrow()
1223 if (const RecordType *RT = DTy->getAs<RecordType>()) { in canThrow()
DSemaType.cpp7127 const Type *DTy = Ty->getUnqualifiedDesugaredType(); in FunctionTypeUnwrapper() local
7128 if (Ty == DTy) { in FunctionTypeUnwrapper()
7133 T = QualType(DTy, 0); in FunctionTypeUnwrapper()
/openbsd/src/gnu/llvm/clang/lib/Analysis/
DCFG.cpp4862 QualType DTy = DE->getDestroyedType(); in VisitCXXDeleteExpr() local
4863 if (!DTy.isNull()) { in VisitCXXDeleteExpr()
4864 DTy = DTy.getNonReferenceType(); in VisitCXXDeleteExpr()
4865 CXXRecordDecl *RD = Context->getBaseElementType(DTy)->getAsCXXRecordDecl(); in VisitCXXDeleteExpr()
5324 QualType DTy = DE->getDestroyedType(); in getDestructorDecl() local
5325 DTy = DTy.getNonReferenceType(); in getDestructorDecl()
5327 astContext.getBaseElementType(DTy)->getAsCXXRecordDecl(); in getDestructorDecl()
/openbsd/src/gnu/llvm/clang/lib/CodeGen/
DCGDebugInfo.cpp1997 llvm::DIType *DTy = DBuilder.createInheritance(RecordTy, BaseTy, BaseOffset, in CollectCXXBasesAux() local
1999 EltTys.push_back(DTy); in CollectCXXBasesAux()
DCGBuiltin.cpp7147 llvm::FixedVectorType *DTy = in EmitCommonNeonBuiltinExpr() local
7149 Ops[0] = Builder.CreateBitCast(Ops[0], DTy); in EmitCommonNeonBuiltinExpr()
/openbsd/src/gnu/llvm/llvm/lib/Analysis/
DScalarEvolution.cpp12459 auto *DTy = Denominator->getType(); in isImpliedViaOperations() local
12461 if (DTy->isPointerTy() != FRHSTy->isPointerTy()) in isImpliedViaOperations()
12470 auto *WTy = getWiderType(DTy, FRHSTy); in isImpliedViaOperations()