| /freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CodeGenFunction.cpp | 2141 const ArrayType *arrayType = origArrayType; in emitArrayLength() local 2146 if (isa<VariableArrayType>(arrayType)) { in emitArrayLength() 2156 if (!arrayType) { in emitArrayLength() 2160 } while (isa<VariableArrayType>(arrayType)); in emitArrayLength() 2181 assert(isa<ConstantArrayType>(arrayType)); in emitArrayLength() 2187 eltType = arrayType->getElementType(); in emitArrayLength() 2191 arrayType = getContext().getAsArrayType(arrayType->getElementType()); in emitArrayLength() 2192 assert((!llvmArrayType || arrayType) && in emitArrayLength() 2196 if (arrayType) { in emitArrayLength() 2200 while (arrayType) { in emitArrayLength() [all …]
|
| H A D | SwiftCallingConv.cpp | 76 auto arrayType = CGM.getContext().getAsConstantArrayType(type); in addTypedData() local 77 if (!arrayType) return; in addTypedData() 79 QualType eltType = arrayType->getElementType(); in addTypedData() 81 for (uint64_t i = 0, e = arrayType->getSize().getZExtValue(); i != e; ++i) { in addTypedData()
|
| H A D | CGDecl.cpp | 2265 const ArrayType *arrayType = getContext().getAsArrayType(type); in emitDestroy() local 2266 if (!arrayType) in emitDestroy() 2269 llvm::Value *length = emitArrayLength(arrayType, type, addr); in emitDestroy() 2365 while (const ArrayType *arrayType = CGF.getContext().getAsArrayType(type)) { in emitPartialArrayDestroy() local 2367 if (!isa<VariableArrayType>(arrayType)) in emitPartialArrayDestroy() 2369 type = arrayType->getElementType(); in emitPartialArrayDestroy()
|
| H A D | CGExprCXX.cpp | 634 if (const ArrayType *arrayType in EmitCXXConstructExpr() local 636 EmitCXXAggrConstructorCall(CD, arrayType, Dest.getAddress(), E, in EmitCXXConstructExpr()
|
| H A D | CGExpr.cpp | 4018 QualType *arrayType = nullptr, in emitArraySubscriptGEP() argument 4053 if (arrayType) in emitArraySubscriptGEP() 4054 DbgInfo = CGF.getDebugInfo()->getOrCreateStandaloneType(*arrayType, loc); in emitArraySubscriptGEP() 4288 QualType arrayType = Array->getType(); in EmitArraySubscriptExpr() local 4292 E->getExprLoc(), &arrayType, E->getBase()); in EmitArraySubscriptExpr()
|
| H A D | CGObjCMac.cpp | 5317 if (auto arrayType = CGM.getContext().getAsIncompleteArrayType(fieldType)) { in visitField() local 5319 fieldType = arrayType->getElementType(); in visitField() 5322 while (auto arrayType = CGM.getContext().getAsConstantArrayType(fieldType)) { in visitField() local 5323 numElts *= arrayType->getSize().getZExtValue(); in visitField() 5324 fieldType = arrayType->getElementType(); in visitField()
|
| H A D | CGClass.cpp | 1975 const CXXConstructorDecl *ctor, const ArrayType *arrayType, in EmitCXXAggrConstructorCall() argument 1980 emitArrayLength(arrayType, elementType, arrayBegin); in EmitCXXAggrConstructorCall()
|
| H A D | CodeGenFunction.h | 2837 llvm::Value *emitArrayLength(const ArrayType *arrayType,
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/AST/ |
| H A D | TemplateBase.cpp | 142 while (const auto *arrayType = type->getAsArrayTypeUnsafe()) { in getArrayDepth() local 144 type = arrayType->getElementType(); in getArrayDepth()
|
| H A D | ASTContext.cpp | 1675 if (const ArrayType *arrayType = getAsArrayType(T)) { in getDeclAlign() local 1678 if (isa<VariableArrayType>(arrayType)) in getDeclAlign() 1680 else if (isa<ConstantArrayType>(arrayType) && in getDeclAlign() 1681 MinWidth <= getTypeSize(cast<ConstantArrayType>(arrayType))) in getDeclAlign()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaInit.cpp | 160 const ArrayType *arrayType = Context.getAsArrayType(declType); in IsStringInit() local 161 if (!arrayType) in IsStringInit() 163 return IsStringInit(init, arrayType, Context); in IsStringInit() 1470 } else if (const ArrayType *arrayType = in CheckSubElementType() local 1476 if (IsStringInit(expr, arrayType, SemaRef.Context) == SIF_None) { in CheckSubElementType() 1479 CheckStringInit(expr, ElemType, arrayType, SemaRef); in CheckSubElementType() 1923 const ArrayType *arrayType = SemaRef.Context.getAsArrayType(DeclType); in CheckArrayType() local 1926 if (checkDestructorReference(arrayType->getElementType(), in CheckArrayType() 1935 if (IsStringInit(IList->getInit(Index), arrayType, SemaRef.Context) == in CheckArrayType() 1944 CheckStringInit(IList->getInit(Index), DeclType, arrayType, SemaRef); in CheckArrayType() [all …]
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/Analysis/ |
| H A D | ExprMutationAnalyzer.cpp | 515 hasUnqualifiedDesugaredType(referenceType(pointee(arrayType()))))))); in findRangeLoopMutation()
|
| H A D | CFG.cpp | 5319 while (const ArrayType *arrayType = astContext.getAsArrayType(ty)) { in getDestructorDecl() local 5320 ty = arrayType->getElementType(); in getDestructorDecl() 5349 while (const ArrayType *arrayType = astContext.getAsArrayType(ty)) { in getDestructorDecl() local 5350 ty = arrayType->getElementType(); in getDestructorDecl()
|
| H A D | UnsafeBufferUsage.cpp | 212 return hasType(hasCanonicalType(arrayType())); in hasArrayType()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/ASTMatchers/Dynamic/ |
| H A D | Registry.cpp | 142 REGISTER_MATCHER(arrayType); in RegistryMaps()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/ASTMatchers/ |
| H A D | ASTMatchersInternal.cpp | 1046 const AstTypeMatcher<ArrayType> arrayType; variable
|
| /freebsd-14.2/contrib/llvm-project/clang/include/clang/AST/ |
| H A D | Type.h | 7531 while (const ArrayType *arrayType = type->getAsArrayTypeUnsafe()) 7532 type = arrayType->getElementType().getTypePtr();
|
| /freebsd-14.2/contrib/llvm-project/clang/include/clang/ASTMatchers/ |
| H A D | ASTMatchers.h | 7011 extern const AstTypeMatcher<ArrayType> arrayType;
|