| /minix3/external/bsd/llvm/dist/clang/lib/CodeGen/ |
| H A D | CodeGenFunction.cpp | 1357 const ArrayType *arrayType = origArrayType; in emitArrayLength() local 1362 if (isa<VariableArrayType>(arrayType)) { in emitArrayLength() 1363 numVLAElements = getVLASize(cast<VariableArrayType>(arrayType)).first; in emitArrayLength() 1368 QualType elementType = arrayType->getElementType(); in emitArrayLength() 1369 arrayType = getContext().getAsArrayType(elementType); in emitArrayLength() 1372 if (!arrayType) { in emitArrayLength() 1376 } while (isa<VariableArrayType>(arrayType)); in emitArrayLength() 1398 assert(isa<ConstantArrayType>(arrayType)); in emitArrayLength() 1399 assert(cast<ConstantArrayType>(arrayType)->getSize().getZExtValue() in emitArrayLength() 1404 eltType = arrayType->getElementType(); in emitArrayLength() [all …]
|
| H A D | CGDecl.cpp | 1416 const ArrayType *arrayType = getContext().getAsArrayType(type); in emitDestroy() local 1417 if (!arrayType) in emitDestroy() 1421 llvm::Value *length = emitArrayLength(arrayType, type, begin); in emitDestroy() 1505 while (const ArrayType *arrayType = CGF.getContext().getAsArrayType(type)) { in emitPartialArrayDestroy() local 1507 if (!isa<VariableArrayType>(arrayType)) in emitPartialArrayDestroy() 1509 type = arrayType->getElementType(); in emitPartialArrayDestroy()
|
| H A D | CGExprCXX.cpp | 425 if (const ConstantArrayType *arrayType in EmitCXXConstructExpr() local 427 EmitCXXAggrConstructorCall(CD, arrayType, Dest.getAddr(), E); in EmitCXXConstructExpr()
|
| H A D | CGClass.cpp | 1614 const CXXConstructorDecl *ctor, const ConstantArrayType *arrayType, in EmitCXXAggrConstructorCall() argument 1618 emitArrayLength(arrayType, elementType, arrayBegin); in EmitCXXAggrConstructorCall()
|
| H A D | CodeGenFunction.h | 1619 llvm::Value *emitArrayLength(const ArrayType *arrayType,
|
| /minix3/external/bsd/llvm/dist/clang/test/CodeGen/ |
| H A D | xcore-stringtype.c | 95 RetType* arrayType(int A1[], int const volatile A2[2], int A3[][2], in arrayType() function
|
| /minix3/external/bsd/llvm/dist/clang/unittests/ASTMatchers/ |
| H A D | ASTMatchersTest.cpp | 3866 EXPECT_TRUE(matches("int a[] = {2,3};", arrayType())); in TEST() 3867 EXPECT_TRUE(matches("int a[42];", arrayType())); in TEST() 3868 EXPECT_TRUE(matches("void f(int b) { int a[b]; }", arrayType())); in TEST() 3871 arrayType(hasElementType(builtinType())))); in TEST() 3875 qualType(arrayType(hasElementType(builtinType()))))); in TEST() 3878 qualType(isConstQualified(), arrayType(hasElementType(builtinType()))))); in TEST() 3881 qualType(isConstQualified(), arrayType()))); in TEST() 3885 qualType(isConstQualified(), arrayType(hasElementType(builtinType()))))); in TEST() 3888 qualType(arrayType(hasElementType(isConstQualified(), builtinType()))))); in TEST() 3891 qualType(arrayType(hasElementType(builtinType())), in TEST()
|
| /minix3/external/bsd/llvm/dist/clang/lib/Sema/ |
| H A D | SemaInit.cpp | 125 const ArrayType *arrayType = Context.getAsArrayType(declType); in IsStringInit() local 126 if (!arrayType) in IsStringInit() 128 return IsStringInit(init, arrayType, Context); in IsStringInit() 940 if (const ArrayType *arrayType = SemaRef.Context.getAsArrayType(ElemType)) { in CheckSubElementType() local 945 if (IsStringInit(expr, arrayType, SemaRef.Context) == SIF_None) { in CheckSubElementType() 947 CheckStringInit(expr, ElemType, arrayType, SemaRef); in CheckSubElementType() 1363 const ArrayType *arrayType = SemaRef.Context.getAsArrayType(DeclType); in CheckArrayType() local 1367 if (IsStringInit(IList->getInit(Index), arrayType, SemaRef.Context) == in CheckArrayType() 1375 CheckStringInit(IList->getInit(Index), DeclType, arrayType, SemaRef); in CheckArrayType() 1384 if (const VariableArrayType *VAT = dyn_cast<VariableArrayType>(arrayType)) { in CheckArrayType() [all …]
|
| /minix3/external/bsd/llvm/dist/clang/lib/ASTMatchers/Dynamic/ |
| H A D | Registry.cpp | 103 REGISTER_MATCHER(arrayType); in RegistryMaps()
|
| /minix3/external/bsd/llvm/dist/clang/include/clang/ASTMatchers/ |
| H A D | ASTMatchers.h | 3250 AST_TYPE_MATCHER(ArrayType, arrayType);
|
| /minix3/external/bsd/llvm/dist/clang/include/clang/AST/ |
| H A D | Type.h | 5222 while (const ArrayType *arrayType = type->getAsArrayTypeUnsafe()) 5223 type = arrayType->getElementType().getTypePtr();
|
| /minix3/external/bsd/llvm/dist/clang/lib/AST/ |
| H A D | ASTContext.cpp | 1317 if (const ArrayType *arrayType = getAsArrayType(T)) { in getDeclAlign() local 1320 if (isa<VariableArrayType>(arrayType)) in getDeclAlign() 1322 else if (isa<ConstantArrayType>(arrayType) && in getDeclAlign() 1323 MinWidth <= getTypeSize(cast<ConstantArrayType>(arrayType))) in getDeclAlign()
|
| /minix3/external/bsd/llvm/dist/clang/lib/Analysis/ |
| H A D | CFG.cpp | 3797 while (const ArrayType *arrayType = astContext.getAsArrayType(ty)) { in getDestructorDecl() local 3798 ty = arrayType->getElementType(); in getDestructorDecl()
|