Home
last modified time | relevance | path

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

/openbsd/gnu/llvm/llvm/lib/Target/BPF/
H A DBTFDebug.cpp48 : DTy(DTy), NeedsFixup(NeedsFixup), Name(DTy->getName()) { in BTFTypeDerived()
87 if (NeedsFixup || !DTy) in completeType()
466 : DTy(nullptr), Tag(Tag) { in BTFTypeTypeTag()
473 : DTy(DTy), Tag(Tag) { in BTFTypeTypeTag()
483 if (DTy) { in completeType()
799 unsigned Tag = DTy->getTag(); in visitDerivedType()
808 const DIType *Base = DTy->getBaseType(); in visitDerivedType()
824 int TmpTypeId = genBTFTypeTags(DTy, -1); in visitDerivedType()
896 while (DTy) { in visitTypeEntry()
947 auto Tag = DTy->getTag(); in visitMapDefType()
[all …]
H A DBPFAbstractMemberAccess.cpp281 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
320 Ty = DTy->getBaseType(); in stripQualifiers()
326 while (auto *DTy = dyn_cast<DIDerivedType>(Ty)) { in stripQualifiers() local
327 if (!SkipDIDerivedTag(DTy->getTag(), true)) in stripQualifiers()
329 Ty = DTy->getBaseType(); in stripQualifiers()
[all …]
H A 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()
H A 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/gnu/llvm/llvm/lib/CodeGen/AsmPrinter/
H A DDwarfUnit.cpp758 StringRef Name = DTy->getName(); in constructTypeDIE()
759 uint64_t Size = DTy->getSizeInBits() >> 3; in constructTypeDIE()
793 addAccess(Buffer, DTy->getFlags()); in constructTypeDIE()
796 if (!DTy->isForwardDecl()) in constructTypeDIE()
797 addSourceLine(Buffer, DTy); in constructTypeDIE()
802 if (DTy->getDWARFAddressSpace()) in constructTypeDIE()
804 *DTy->getDWARFAddressSpace()); in constructTypeDIE()
1550 const DIType *DTy = CTy->getBaseType(); in constructEnumTypeDIE() local
1551 bool IsUnsigned = DTy && DD->isUnsignedDIType(DTy); in constructEnumTypeDIE()
1552 if (DTy) { in constructEnumTypeDIE()
[all …]
H A 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()
H A DCodeViewDebug.cpp3318 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
3366 assert(DTy->getBaseType() && "Expected valid base type"); in isFloatDIType()
[all …]
H A DDwarfUnit.h320 void constructTypeDIE(DIE &Buffer, const DIDerivedType *DTy);
H A DCodeViewDebug.h335 void emitConstantSymbolRecord(const DIType *DTy, APSInt &Value,
/openbsd/gnu/llvm/llvm/lib/Linker/
H A DIRMover.cpp227 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()
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()
344 StructType *DTy = StructType::create(Ty->getContext()); in get() local
345 finishType(DTy, STy, ElementTypes); in get()
[all …]
/openbsd/gnu/llvm/llvm/lib/Transforms/Utils/
H A 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/gnu/llvm/clang/lib/StaticAnalyzer/Core/
H A 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/gnu/llvm/clang/lib/Sema/
H A 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()
H A DSemaType.cpp7127 const Type *DTy = Ty->getUnqualifiedDesugaredType(); in FunctionTypeUnwrapper() local
7128 if (Ty == DTy) { in FunctionTypeUnwrapper()
7133 T = QualType(DTy, 0); in FunctionTypeUnwrapper()
/openbsd/gnu/llvm/clang/lib/Analysis/
H A 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/gnu/llvm/clang/lib/CodeGen/
H A DCGDebugInfo.cpp1997 llvm::DIType *DTy = DBuilder.createInheritance(RecordTy, BaseTy, BaseOffset, in CollectCXXBasesAux() local
1999 EltTys.push_back(DTy); in CollectCXXBasesAux()
H A DCGBuiltin.cpp7147 llvm::FixedVectorType *DTy = in EmitCommonNeonBuiltinExpr() local
7149 Ops[0] = Builder.CreateBitCast(Ops[0], DTy); in EmitCommonNeonBuiltinExpr()
/openbsd/gnu/llvm/llvm/lib/Analysis/
H A 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()