/openbsd/gnu/llvm/clang/lib/CodeGen/ |
H A D | CodeGenFunction.cpp | 2077 const ArrayType *arrayType = origArrayType; in emitArrayLength() local 2082 if (isa<VariableArrayType>(arrayType)) { in emitArrayLength() 2092 if (!arrayType) { in emitArrayLength() 2096 } while (isa<VariableArrayType>(arrayType)); in emitArrayLength() 2117 assert(isa<ConstantArrayType>(arrayType)); in emitArrayLength() 2123 eltType = arrayType->getElementType(); in emitArrayLength() 2127 arrayType = getContext().getAsArrayType(arrayType->getElementType()); in emitArrayLength() 2128 assert((!llvmArrayType || arrayType) && in emitArrayLength() 2132 if (arrayType) { in emitArrayLength() 2136 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 | 2199 const ArrayType *arrayType = getContext().getAsArrayType(type); in emitDestroy() local 2200 if (!arrayType) in emitDestroy() 2203 llvm::Value *length = emitArrayLength(arrayType, type, addr); in emitDestroy() 2299 while (const ArrayType *arrayType = CGF.getContext().getAsArrayType(type)) { in emitPartialArrayDestroy() local 2301 if (!isa<VariableArrayType>(arrayType)) in emitPartialArrayDestroy() 2303 type = arrayType->getElementType(); in emitPartialArrayDestroy()
|
H A D | CGExprCXX.cpp | 630 if (const ArrayType *arrayType in EmitCXXConstructExpr() local 632 EmitCXXAggrConstructorCall(CD, arrayType, Dest.getAddress(), E, in EmitCXXConstructExpr()
|
H A D | CGExpr.cpp | 3728 QualType *arrayType = nullptr, in emitArraySubscriptGEP() argument 3760 if (arrayType) in emitArraySubscriptGEP() 3761 DbgInfo = CGF.getDebugInfo()->getOrCreateStandaloneType(*arrayType, loc); in emitArraySubscriptGEP() 3903 QualType arrayType = Array->getType(); in EmitArraySubscriptExpr() local 3907 E->getExprLoc(), &arrayType, E->getBase()); in EmitArraySubscriptExpr()
|
H A D | CGObjCMac.cpp | 5356 if (auto arrayType = CGM.getContext().getAsIncompleteArrayType(fieldType)) { in visitField() local 5358 fieldType = arrayType->getElementType(); in visitField() 5361 while (auto arrayType = CGM.getContext().getAsConstantArrayType(fieldType)) { in visitField() local 5362 numElts *= arrayType->getSize().getZExtValue(); in visitField() 5363 fieldType = arrayType->getElementType(); in visitField()
|
H A D | CGClass.cpp | 1984 const CXXConstructorDecl *ctor, const ArrayType *arrayType, in EmitCXXAggrConstructorCall() argument 1989 emitArrayLength(arrayType, elementType, arrayBegin); in EmitCXXAggrConstructorCall()
|
H A D | CodeGenFunction.h | 2772 llvm::Value *emitArrayLength(const ArrayType *arrayType,
|
/openbsd/gnu/llvm/clang/lib/AST/ |
H A D | TemplateBase.cpp | 141 while (const auto *arrayType = type->getAsArrayTypeUnsafe()) { in getArrayDepth() local 143 type = arrayType->getElementType(); in getArrayDepth()
|
H A D | ASTContext.cpp | 1752 if (const ArrayType *arrayType = getAsArrayType(T)) { in getDeclAlign() local 1755 if (isa<VariableArrayType>(arrayType)) in getDeclAlign() 1757 else if (isa<ConstantArrayType>(arrayType) && in getDeclAlign() 1758 MinWidth <= getTypeSize(cast<ConstantArrayType>(arrayType))) in getDeclAlign()
|
/openbsd/gnu/llvm/clang/lib/Analysis/ |
H A D | UnsafeBufferUsage.cpp | 138 return hasType(hasCanonicalType(arrayType())); in hasArrayType()
|
H A D | ExprMutationAnalyzer.cpp | 457 hasUnqualifiedDesugaredType(referenceType(pointee(arrayType()))))))); in findRangeLoopMutation()
|
H A D | CFG.cpp | 5310 while (const ArrayType *arrayType = astContext.getAsArrayType(ty)) { in getDestructorDecl() local 5311 ty = arrayType->getElementType(); in getDestructorDecl() 5340 while (const ArrayType *arrayType = astContext.getAsArrayType(ty)) { in getDestructorDecl() local 5341 ty = arrayType->getElementType(); in getDestructorDecl()
|
/openbsd/gnu/llvm/clang/lib/Sema/ |
H A D | SemaInit.cpp | 149 const ArrayType *arrayType = Context.getAsArrayType(declType); in IsStringInit() local 150 if (!arrayType) in IsStringInit() 152 return IsStringInit(init, arrayType, Context); in IsStringInit() 1433 } else if (const ArrayType *arrayType = in CheckSubElementType() local 1439 if (IsStringInit(expr, arrayType, SemaRef.Context) == SIF_None) { in CheckSubElementType() 1442 CheckStringInit(expr, ElemType, arrayType, SemaRef); in CheckSubElementType() 1877 const ArrayType *arrayType = SemaRef.Context.getAsArrayType(DeclType); in CheckArrayType() local 1880 if (checkDestructorReference(arrayType->getElementType(), in CheckArrayType() 1889 if (IsStringInit(IList->getInit(Index), arrayType, SemaRef.Context) == in CheckArrayType() 1898 CheckStringInit(IList->getInit(Index), DeclType, arrayType, SemaRef); in CheckArrayType() [all …]
|
/openbsd/gnu/llvm/clang/lib/ASTMatchers/Dynamic/ |
H A D | Registry.cpp | 139 REGISTER_MATCHER(arrayType); in RegistryMaps()
|
/openbsd/gnu/llvm/clang/lib/ASTMatchers/ |
H A D | ASTMatchersInternal.cpp | 1036 const AstTypeMatcher<ArrayType> arrayType; variable
|
/openbsd/gnu/llvm/clang/include/clang/AST/ |
H A D | Type.h | 7349 while (const ArrayType *arrayType = type->getAsArrayTypeUnsafe()) 7350 type = arrayType->getElementType().getTypePtr();
|
/openbsd/gnu/llvm/clang/include/clang/ASTMatchers/ |
H A D | ASTMatchers.h | 6762 extern const AstTypeMatcher<ArrayType> arrayType;
|