| /freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CodeGenFunction.cpp | 1994 const ArrayType *arrayType = origArrayType; in emitArrayLength() local 1999 if (isa<VariableArrayType>(arrayType)) { in emitArrayLength() 2009 if (!arrayType) { in emitArrayLength() 2013 } while (isa<VariableArrayType>(arrayType)); in emitArrayLength() 2034 assert(isa<ConstantArrayType>(arrayType)); in emitArrayLength() 2040 eltType = arrayType->getElementType(); in emitArrayLength() 2044 arrayType = getContext().getAsArrayType(arrayType->getElementType()); in emitArrayLength() 2045 assert((!llvmArrayType || arrayType) && in emitArrayLength() 2049 if (arrayType) { in emitArrayLength() 2053 while (arrayType) { in emitArrayLength() [all …]
|
| H A D | SwiftCallingConv.cpp | 74 auto arrayType = CGM.getContext().getAsConstantArrayType(type); in addTypedData() local 75 if (!arrayType) return; in addTypedData() 77 QualType eltType = arrayType->getElementType(); in addTypedData() 79 for (uint64_t i = 0, e = arrayType->getSize().getZExtValue(); i != e; ++i) { in addTypedData()
|
| H A D | CGDecl.cpp | 2183 const ArrayType *arrayType = getContext().getAsArrayType(type); in emitDestroy() local 2184 if (!arrayType) in emitDestroy() 2187 llvm::Value *length = emitArrayLength(arrayType, type, addr); in emitDestroy() 2280 while (const ArrayType *arrayType = CGF.getContext().getAsArrayType(type)) { in emitPartialArrayDestroy() local 2282 if (!isa<VariableArrayType>(arrayType)) in emitPartialArrayDestroy() 2284 type = arrayType->getElementType(); in emitPartialArrayDestroy()
|
| H A D | CGExprCXX.cpp | 626 if (const ArrayType *arrayType in EmitCXXConstructExpr() local 628 EmitCXXAggrConstructorCall(CD, arrayType, Dest.getAddress(), E, in EmitCXXConstructExpr()
|
| H A D | CGExpr.cpp | 3663 QualType *arrayType = nullptr, in emitArraySubscriptGEP() argument 3695 if (arrayType) in emitArraySubscriptGEP() 3696 DbgInfo = CGF.getDebugInfo()->getOrCreateStandaloneType(*arrayType, loc); in emitArraySubscriptGEP() 3838 QualType arrayType = Array->getType(); in EmitArraySubscriptExpr() local 3842 E->getExprLoc(), &arrayType, E->getBase()); in EmitArraySubscriptExpr()
|
| H A D | CGClass.cpp | 1915 const CXXConstructorDecl *ctor, const ArrayType *arrayType, in EmitCXXAggrConstructorCall() argument 1920 emitArrayLength(arrayType, elementType, arrayBegin); in EmitCXXAggrConstructorCall()
|
| H A D | CGObjCMac.cpp | 5401 if (auto arrayType = CGM.getContext().getAsIncompleteArrayType(fieldType)) { in visitField() local 5403 fieldType = arrayType->getElementType(); in visitField() 5406 while (auto arrayType = CGM.getContext().getAsConstantArrayType(fieldType)) { in visitField() local 5407 numElts *= arrayType->getSize().getZExtValue(); in visitField() 5408 fieldType = arrayType->getElementType(); in visitField()
|
| H A D | CodeGenFunction.h | 2715 llvm::Value *emitArrayLength(const ArrayType *arrayType,
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/AST/ |
| H A D | TemplateBase.cpp | 139 while (const auto *arrayType = type->getAsArrayTypeUnsafe()) { in getArrayDepth() local 141 type = arrayType->getElementType(); in getArrayDepth()
|
| H A D | ASTContext.cpp | 1761 if (const ArrayType *arrayType = getAsArrayType(T)) { in getDeclAlign() local 1764 if (isa<VariableArrayType>(arrayType)) in getDeclAlign() 1766 else if (isa<ConstantArrayType>(arrayType) && in getDeclAlign() 1767 MinWidth <= getTypeSize(cast<ConstantArrayType>(arrayType))) in getDeclAlign()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaInit.cpp | 139 const ArrayType *arrayType = Context.getAsArrayType(declType); in IsStringInit() local 140 if (!arrayType) in IsStringInit() 142 return IsStringInit(init, arrayType, Context); in IsStringInit() 1419 } else if (const ArrayType *arrayType = in CheckSubElementType() local 1425 if (IsStringInit(expr, arrayType, SemaRef.Context) == SIF_None) { in CheckSubElementType() 1428 CheckStringInit(expr, ElemType, arrayType, SemaRef); in CheckSubElementType() 1863 const ArrayType *arrayType = SemaRef.Context.getAsArrayType(DeclType); in CheckArrayType() local 1866 if (checkDestructorReference(arrayType->getElementType(), in CheckArrayType() 1875 if (IsStringInit(IList->getInit(Index), arrayType, SemaRef.Context) == in CheckArrayType() 1884 CheckStringInit(IList->getInit(Index), DeclType, arrayType, SemaRef); in CheckArrayType() [all …]
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/Analysis/ |
| H A D | ExprMutationAnalyzer.cpp | 447 hasUnqualifiedDesugaredType(referenceType(pointee(arrayType()))))))); in findRangeLoopMutation()
|
| H A D | CFG.cpp | 5039 while (const ArrayType *arrayType = astContext.getAsArrayType(ty)) { in getDestructorDecl() local 5040 ty = arrayType->getElementType(); in getDestructorDecl()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/ASTMatchers/Dynamic/ |
| H A D | Registry.cpp | 140 REGISTER_MATCHER(arrayType); in RegistryMaps()
|
| /freebsd-13.1/contrib/llvm-project/clang/lib/ASTMatchers/ |
| H A D | ASTMatchersInternal.cpp | 1019 const AstTypeMatcher<ArrayType> arrayType; variable
|
| /freebsd-13.1/contrib/llvm-project/clang/include/clang/AST/ |
| H A D | Type.h | 7112 while (const ArrayType *arrayType = type->getAsArrayTypeUnsafe()) 7113 type = arrayType->getElementType().getTypePtr();
|
| /freebsd-13.1/contrib/llvm-project/clang/include/clang/ASTMatchers/ |
| H A D | ASTMatchers.h | 6387 extern const AstTypeMatcher<ArrayType> arrayType;
|