| /freebsd/contrib/llvm-project/clang/include/clang/AST/ |
| H A D | TypeLoc.h | 137 const Type *getTypePtr() const { in getTypePtr() function 138 return QualType::getFromOpaquePtr(Ty).getTypePtr(); in getTypePtr() 269 const Type *getTypePtr() const { in getTypePtr() function 274 return (TypeLocClass) getTypePtr()->getTypeClass(); in getTypeLocClass() 296 TypeLoc::getLocalAlignmentForType(QualType(getTypePtr(), 0)); in getUnqualifiedLoc() 299 return UnqualTypeLoc(getTypePtr(), reinterpret_cast<void*>(dataInt)); in getUnqualifiedLoc() 383 Derived::classofType(TL.getTypePtr()); in isKind() 423 const TypeClass *getTypePtr() const { in getTypePtr() function 424 return cast<TypeClass>(Base::getTypePtr()); in getTypePtr() 509 Derived::classofType(TL.getTypePtr()); in isKind() [all …]
|
| H A D | CanonicalType.h | 84 const T *getTypePtr() const { return cast<T>(Stored.getTypePtr()); } in getTypePtr() function 231 return CanQualType::CreateUnsafe(this->getTypePtr()->Accessor()); \ 235 Type Accessor() const { return this->getTypePtr()->Accessor(); } 246 const T *getTypePtr() const { return Stored.getTypePtr(); } in getTypePtr() function 374 return Val.getTypePtr(); 513 return CanQualType::CreateUnsafe(this->getTypePtr()->getParamType(i)); 523 return param_type_iterator(this->getTypePtr()->param_type_begin()); 527 return param_type_iterator(this->getTypePtr()->param_type_end()); 647 assert((Other.isNull() || isa<T>(Other.getTypePtr())) && 663 if (isa<U>(Stored.getTypePtr())) [all …]
|
| H A D | RecursiveASTVisitor.h | 710 static_cast<CLASS##Type *>(const_cast<Type *>(T.getTypePtr()))); 1195 if (T->getBaseType().getTypePtr() != T) 1228 TRY_TO(WalkUpFrom##TYPE(const_cast<TYPE *>(TL.getTypePtr()))); \ 1234 TRY_TO(WalkUpFrom##TYPE(const_cast<TYPE *>(TL.getTypePtr()))); \ 1264 TRY_TO(TraverseType(TL.getTypePtr()->getElementType())); 1285 TRY_TO(TraverseNestedNameSpecifier(TL.getTypePtr()->getQualifier())); 1328 TRY_TO(TraverseStmt(TL.getTypePtr()->getAddrSpaceExpr())); 1329 TRY_TO(TraverseType(TL.getTypePtr()->getPointeeType())); 1335 if (TL.getTypePtr()->getSizeExpr()) 1336 TRY_TO(TraverseStmt(TL.getTypePtr()->getSizeExpr())); [all …]
|
| /freebsd/contrib/llvm-project/clang/lib/AST/ |
| H A D | QualTypeNames.cpp | 147 return QT.getTypePtr(); in getFullyQualifiedTemplateType() 179 return QT.getTypePtr(); in getFullyQualifiedTemplateType() 378 if (isa<PointerType>(QT.getTypePtr())) { in getFullyQualifiedType() 388 if (auto *MPT = dyn_cast<MemberPointerType>(QT.getTypePtr())) { in getFullyQualifiedType() 404 if (isa<ReferenceType>(QT.getTypePtr())) { in getFullyQualifiedType() 406 bool IsLValueRefTy = isa<LValueReferenceType>(QT.getTypePtr()); in getFullyQualifiedType() 421 if (auto *AT = dyn_cast<AttributedType>(QT.getTypePtr())) { in getFullyQualifiedType() 436 while (isa<SubstTemplateTypeParmType>(QT.getTypePtr())) { in getFullyQualifiedType() 440 QT = cast<SubstTemplateTypeParmType>(QT.getTypePtr())->desugar(); in getFullyQualifiedType() 451 QT = QualType(QT.getTypePtr(), 0); in getFullyQualifiedType() [all …]
|
| H A D | StmtIterator.cpp | 30 t = vt->getElementType().getTypePtr(); in FindVA() 40 p = FindVA(p->getElementType().getTypePtr()); in NextVA() 75 if (const VariableArrayType* VAPtr = FindVA(VD->getType().getTypePtr())) { in HandleDecl() 85 FindVA(TD->getUnderlyingType().getTypePtr())) { in HandleDecl()
|
| H A D | TypeLoc.cpp | 208 if (Cur.castAs<FunctionProtoTypeLoc>().getTypePtr() in getBeginLoc() 256 if (Cur.castAs<FunctionProtoTypeLoc>().getTypePtr()->hasTrailingReturn()) in getEndLoc() 336 switch (getTypePtr()->getKind()) { in getWrittenTypeSpec() 504 getTypePtr()->getTypeArgsAsWritten()[i], Loc)); in initializeLocal() 547 Context.getTrivialTypeSourceInfo(getTypePtr()->getBaseType(), Loc)); in initializeLocal() 552 T.setElaboratedKeywordLoc(T.getTypePtr()->getKeyword() != in initializeElaboratedKeyword() 574 initializeQualifier(Context, getTypePtr()->getQualifier(), Loc)); in initializeLocal() 581 initializeQualifier(Context, getTypePtr()->getQualifier(), Loc)); in initializeLocal() 590 Context, getTypePtr()->getDependentTemplateName().getQualifier(), Loc)); in initializeLocal() 596 Context, getTypePtr()->template_arguments(), getArgInfos(), Loc); in initializeLocal() [all …]
|
| H A D | Linkage.h | 157 return computeTypeLinkageInfo(T.getTypePtr()); in computeTypeLinkageInfo() 164 return getTypeLinkageAndVisibility(T.getTypePtr()); in getTypeLinkageAndVisibility()
|
| H A D | Type.cpp | 110 const Type *ty = getTypePtr(); in getBaseTypeIdentifier() 131 const auto *ClassDecl = getTypePtr()->getPointeeCXXRecordDecl(); in mayBeDynamicClass() 136 const auto *ClassDecl = getTypePtr()->getPointeeCXXRecordDecl(); in mayBeNotDynamicClass() 474 return ATy->getElementType().getTypePtr(); in getArrayElementTypeNoTypeQual() 484 .getTypePtr(); in getArrayElementTypeNoTypeQual() 618 Cur = Ty->desugar().getTypePtr(); \ in getAsSugar() 664 Cur = Ty->desugar().getTypePtr(); \ in getUnqualifiedDesugaredType() 1565 const auto *newAttrType = dyn_cast<AttributedType>(newType.getTypePtr()); in VisitAttributedType() 1618 const BuiltinType *BT = getTypePtr()->getAs<BuiltinType>(); in UseExcessPrecision() 1620 const VectorType *VT = getTypePtr()->getAs<VectorType>(); in UseExcessPrecision() [all …]
|
| H A D | NestedNameSpecifier.cpp | 256 .getTypePtr(); in translateToType() 268 .getTypePtr(); in translateToType() 279 .getTypePtr(); in translateToType() 552 NestedNameSpecifier::Create(Context, Representation, TL.getTypePtr()); in Extend()
|
| /freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | DynamicTypeChecker.cpp | 69 QualType::print(DynamicType.getTypePtr(), Qualifiers(), OS, C.getLangOpts(), in reportTypeError() 72 QualType::print(StaticType.getTypePtr(), Qualifiers(), OS, C.getLangOpts(), in reportTypeError() 107 QualType::print(TrackedType.getType().getTypePtr(), Qualifiers(), OS, in VisitNode() 113 QualType::print(ExplicitCast->getSubExpr()->getType().getTypePtr(), in VisitNode() 116 QualType::print(ExplicitCast->getType().getTypePtr(), Qualifiers(), OS, in VisitNode() 121 QualType::print(ImplicitCast->getSubExpr()->getType().getTypePtr(), in VisitNode() 124 QualType::print(ImplicitCast->getType().getTypePtr(), Qualifiers(), OS, in VisitNode()
|
| H A D | CastToStructChecker.cpp | 45 const PointerType *OrigPTy = dyn_cast<PointerType>(OrigTy.getTypePtr()); in VisitCastExpr() 46 const PointerType *ToPTy = dyn_cast<PointerType>(ToTy.getTypePtr()); in VisitCastExpr()
|
| H A D | ObjCContainersASTChecker.cpp | 48 const Type *TP = T.getTypePtr(); in hasPointerToPointerSizedType() 59 return isPointerSize(PointeeT.getTypePtr()); in hasPointerToPointerSizedType()
|
| H A D | StdVariantChecker.cpp | 210 ThisSVal.getType(C.getASTContext())->getPointeeType().getTypePtr(), 0); in handleDefaultConstructor() 225 .getTypePtr(); in handleStdGetCall()
|
| H A D | MallocSizeofChecker.cpp | 149 if (A.getTypePtr() == B.getTypePtr()) in typesCompatible()
|
| H A D | TaggedUnionModeling.h | 87 const Type *ArgTypePtr = ArgQType.getTypePtr(); in handleConstructorAndAssignment()
|
| /freebsd/contrib/llvm-project/clang/lib/CodeGen/Targets/ |
| H A D | SystemZ.cpp | 91 handleExternallyVisibleObjABI(VD->getType().getTypePtr(), M, in setTargetAttributes() 96 handleExternallyVisibleObjABI(FD->getType().getTypePtr(), M, in setTargetAttributes() 284 SZCGI.handleExternallyVisibleObjABI(Ty.getTypePtr(), CGT.getCGM(), in EmitVAArg() 496 SZCGI.handleExternallyVisibleObjABI(I.type.getTypePtr(), CGT.getCGM(), in computeInfo() 513 .getTypePtr(); in isVectorTypeBased() 533 if (isVectorTypeBased(I.getType().getTypePtr(), /*IsParam*/false)) in isVectorTypeBased() 536 if (isVectorTypeBased(FD->getType().getTypePtr(), /*IsParam*/false)) in isVectorTypeBased() 541 if (isVectorTypeBased(FT->getReturnType().getTypePtr(), /*IsParam*/true)) in isVectorTypeBased() 545 if (isVectorTypeBased(ParamType.getTypePtr(), /*IsParam*/true)) in isVectorTypeBased()
|
| /freebsd/contrib/llvm-project/clang/lib/Index/ |
| H A D | IndexTypeSourceInfo.cpp | 166 auto *T = TL.getTypePtr(); in VisitTemplateSpecializationTypeLoc() 178 if (!TraverseTemplateName(TL.getTypePtr()->getTemplateName())) in TraverseTemplateSpecializationTypeLoc() 196 auto *T = TL.getTypePtr(); in VisitDeducedTemplateSpecializationTypeLoc() 212 IndexCtx.getResolver()->resolveDependentNameType(TL.getTypePtr()); in VisitDependentNameTypeLoc()
|
| /freebsd/contrib/llvm-project/clang/lib/AST/ByteCode/ |
| H A D | Program.cpp | 178 Desc = createDescriptor(D, QT.getTypePtr(), std::nullopt, in getOrCreateDummy() 257 Desc = createDescriptor(D, Ty.getTypePtr(), Descriptor::GlobalMD, IsConst, in createGlobal() 380 Desc = createDescriptor(FD, FT.getTypePtr(), std::nullopt, IsConst, in getOrCreateRecord() 427 D, ElemTy.getTypePtr(), std::nullopt, IsConst, IsTemporary); in createDescriptor() 447 D, ElemTy.getTypePtr(), std::nullopt, IsConst, IsTemporary); in createDescriptor() 458 const Type *InnerTy = AT->getValueType().getTypePtr(); in createDescriptor()
|
| /freebsd/contrib/llvm-project/clang/lib/CIR/CodeGen/ |
| H A D | CIRGenTypes.cpp | 67 const FunctionType *ft = cast<FunctionType>(qft.getTypePtr()); in convertFunctionTypeInternal() 141 const Type *key = cgt.getASTContext().getTagDeclType(rd).getTypePtr(); in isSafeToConvert() 213 const Type *key = astContext.getTagDeclType(rd).getTypePtr(); in convertRecordDeclType() 274 const Type *ty = type.getTypePtr(); in convertType() 519 const auto *key = astContext.getTagDeclType(rd).getTypePtr(); in getCIRGenRecordLayout() 642 if (recordDeclTypes.count(astContext.getTagDeclType(rd).getTypePtr())) in updateCompletedType()
|
| /freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | ObjectFilePCHContainerWriter.cpp | 88 if (!QualTy.isNull() && CanRepresent(QualTy.getTypePtr())) in VisitTypeDecl() 95 if (!QualTy.isNull() && CanRepresent(QualTy.getTypePtr())) in VisitObjCInterfaceDecl() 116 if (CanRepresent(FnTy.getTypePtr())) in VisitFunctionDecl() 135 if (CanRepresent(FnTy.getTypePtr())) in VisitObjCMethodDecl()
|
| H A D | CodeGenTypes.cpp | 105 const Type *Ty = Context.getCanonicalType(T).getTypePtr(); in ConvertTypeForMem() 258 if (RecordDeclTypes.count(Context.getTagDeclType(RD).getTypePtr())) in UpdateCompletedType() 271 const Type *Ty = T.getTypePtr(); in RefreshTypeCacheForClass() 304 const FunctionType *FT = cast<FunctionType>(QFT.getTypePtr()); in ConvertFunctionTypeInternal() 358 const Type *Ty = T.getTypePtr(); in ConvertType() 792 const Type *Key = Context.getTagDeclType(RD).getTypePtr(); in ConvertRecordDeclType() 833 const Type *Key = Context.getTagDeclType(RD).getTypePtr(); in getCGRecordLayout()
|
| H A D | ABIInfo.cpp | 141 const Type *TyPtr = Ty.getTypePtr(); in isHomogeneousAggregate() 152 .getTypePtr(); in isHomogeneousAggregate()
|
| /freebsd/contrib/llvm-project/lldb/source/Plugins/TypeSystem/Clang/ |
| H A D | TypeSystemClang.cpp | 2107 llvm::dyn_cast<clang::FunctionProtoType>(method_qual_type.getTypePtr()); in GetDeclarationName() 2589 return llvm::cast<clang::ObjCObjectType>(qual_type.getTypePtr()) in GetDeclContextForType() 2593 llvm::cast<clang::ObjCObjectPointerType>(qual_type.getTypePtr()) in GetDeclContextForType() 2615 const auto *tag_type = llvm::cast<clang::RecordType>(qual_type.getTypePtr()); in GetCompleteRecordType() 2663 llvm::cast<clang::EnumType>(qual_type.getTypePtr()); in GetCompleteEnumType() 2738 llvm::dyn_cast<clang::ArrayType>(qual_type.getTypePtr()); in GetCompleteQualType() 2776 auto *MPT = qual_type.getTypePtr()->castAs<clang::MemberPointerType>(); in GetCompleteQualType() 2781 return !qual_type.getTypePtr()->isIncompleteType(); in GetCompleteQualType() 2813 return !type || llvm::isa<clang::Type>(GetQualType(type).getTypePtr()); in Verify() 3019 GetCanonicalQualType(type).getTypePtr()) in IsCStringType() [all …]
|
| /freebsd/contrib/llvm-project/clang/lib/Analysis/ |
| H A D | IssueHash.cpp | 56 llvm::dyn_cast_or_null<FunctionType>(Target->getType().getTypePtr()); in GetSignature() 69 dyn_cast_or_null<FunctionProtoType>(Target->getType().getTypePtr())) { in GetSignature()
|
| /freebsd/contrib/llvm-project/clang/lib/Interpreter/ |
| H A D | Value.cpp | 136 llvm::dyn_cast<ConstantArrayType>(DtorTy.getTypePtr())) { in Value() 142 ArrTy->getElementType().getTypePtr()); in Value()
|