| /freebsd/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaBoundsSafety.cpp | 20 static CountAttributedType::DynamicCountPointerKind 23 return OrNull ? CountAttributedType::SizedByOrNull in getCountAttrKind() 24 : CountAttributedType::SizedBy; in getCountAttrKind() 25 return OrNull ? CountAttributedType::CountedByOrNull in getCountAttrKind() 26 : CountAttributedType::CountedBy; in getCountAttrKind() 221 const CountAttributedType *CATy, in EmitIncompleteCountedByPointeeNotes() 258 static std::tuple<const CountAttributedType *, QualType> 260 auto *CATy = Ty->getAs<CountAttributedType>(); in GetCountedByAttrOnIncompletePointee()
|
| H A D | SemaChecking.cpp | 5988 ME->getMemberDecl()->getType()->getAs<CountAttributedType>(); in BuiltinCountedByRef() 5989 CATy && CATy->getKind() == CountAttributedType::CountedBy) { in BuiltinCountedByRef()
|
| H A D | TreeTransform.h | 7628 const CountAttributedType *OldTy = TL.getTypePtr(); in TransformCountAttributedType()
|
| /freebsd/contrib/llvm-project/clang/include/clang/Basic/ |
| H A D | TypeNodes.td | 115 def CountAttributedType : TypeNode<BoundsAttributedType>, NeverCanonical;
|
| /freebsd/contrib/llvm-project/clang/lib/AST/ |
| H A D | Type.cpp | 455 void CountAttributedType::Profile(llvm::FoldingSetNodeID &ID, in Profile() 646 template <> const CountAttributedType *Type::getAs() const { in getAs() 647 return getAsSugar<CountAttributedType>(this); in getAs() 744 return getAs<CountAttributedType>(); in isCountAttributedType() 3996 CountAttributedType::CountAttributedType( in CountAttributedType() function in CountAttributedType 4009 StringRef CountAttributedType::getAttributeName(bool WithMacroPrefix) const { in getAttributeName()
|
| H A D | TypePrinter.cpp | 1821 static void printCountAttributedImpl(const CountAttributedType *T, in printCountAttributedImpl() 1838 void TypePrinter::printCountAttributedBefore(const CountAttributedType *T, in printCountAttributedBefore() 1845 void TypePrinter::printCountAttributedAfter(const CountAttributedType *T, in printCountAttributedAfter()
|
| H A D | ASTStructuralEquivalence.cpp | 1158 cast<CountAttributedType>(T1)->desugar(), in IsStructurallyEquivalent() 1159 cast<CountAttributedType>(T2)->desugar())) in IsStructurallyEquivalent()
|
| H A D | ASTContext.cpp | 2555 return getTypeInfo(cast<CountAttributedType>(T)->desugar().getTypePtr()); in getTypeInfoImpl() 3703 CountAttributedType::Profile(ID, WrappedTy, CountExpr, CountInBytes, OrNull); in getCountAttributedType() 3706 CountAttributedType *CATy = in getCountAttributedType() 3712 size_t Size = CountAttributedType::totalSizeToAlloc<TypeCoupledDeclRefInfo>( in getCountAttributedType() 3714 CATy = (CountAttributedType *)Allocate(Size, TypeAlignment); in getCountAttributedType() 3715 new (CATy) CountAttributedType(WrappedTy, CanonTy, CountExpr, CountInBytes, in getCountAttributedType() 14518 const auto *DX = cast<CountAttributedType>(X), in getCommonSugarTypeNode() 14519 *DY = cast<CountAttributedType>(Y); in getCommonSugarTypeNode()
|
| H A D | Decl.cpp | 4786 const auto *CAT = getType()->getAs<CountAttributedType>(); in findCountedByField()
|
| H A D | ASTImporter.cpp | 1777 ASTNodeImporter::VisitCountAttributedType(const CountAttributedType *T) { in VisitCountAttributedType()
|
| /freebsd/contrib/llvm-project/clang/include/clang/AST/ |
| H A D | Type.h | 2262 friend class CountAttributedType; 3076 template <> const CountAttributedType *Type::getAs() const; 3361 class CountAttributedType final 3363 public llvm::TrailingObjects<CountAttributedType, 3374 CountAttributedType(QualType Wrapped, QualType Canon, Expr *CountExpr,
|
| H A D | TypeProperties.td | 28 let Class = CountAttributedType in {
|
| H A D | RecursiveASTVisitor.h | 1145 DEF_TRAVERSE_TYPE(CountAttributedType, { 1459 DEF_TRAVERSE_TYPELOC(CountAttributedType,
|
| H A D | TypeLoc.h | 1192 CountAttributedType> {
|
| H A D | ASTContext.h | 265 mutable llvm::FoldingSet<CountAttributedType> CountAttributedTypes;
|
| /freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGBuiltin.cpp | 1213 auto *CAT = ElementTy->getAs<CountAttributedType>(); in emitCountedByPointerSize() 1214 if (!CAT || (CAT->getKind() != CountAttributedType::SizedBy && in emitCountedByPointerSize() 1215 CAT->getKind() != CountAttributedType::SizedByOrNull)) in emitCountedByPointerSize() 3694 ME->getMemberDecl()->getType()->getAs<CountAttributedType>(); in EmitBuiltinExpr() 3695 CATy && CATy->getKind() == CountAttributedType::CountedBy) { in EmitBuiltinExpr()
|
| H A D | CGDebugInfo.cpp | 3854 T = cast<CountAttributedType>(T)->desugar(); in UnwrapTypeForDebugInfo()
|
| /freebsd/contrib/llvm-project/clang/lib/Parse/ |
| H A D | ParseDecl.cpp | 4666 auto *CAT = VD->getType()->getAs<CountAttributedType>(); in DiagnoseCountAttributedTypeInUnnamedAnon()
|