| /freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/ |
| H A D | CodeGenFunction.cpp | 1889 const ArrayType *arrayType = origArrayType; in emitArrayLength() local 1894 if (isa<VariableArrayType>(arrayType)) { in emitArrayLength() 1904 if (!arrayType) { in emitArrayLength() 1908 } while (isa<VariableArrayType>(arrayType)); in emitArrayLength() 1929 assert(isa<ConstantArrayType>(arrayType)); in emitArrayLength() 1935 eltType = arrayType->getElementType(); in emitArrayLength() 1939 arrayType = getContext().getAsArrayType(arrayType->getElementType()); in emitArrayLength() 1940 assert((!llvmArrayType || arrayType) && in emitArrayLength() 1944 if (arrayType) { in emitArrayLength() 1948 while (arrayType) { in emitArrayLength() [all …]
|
| H A D | SwiftCallingConv.cpp | 75 auto arrayType = CGM.getContext().getAsConstantArrayType(type); in addTypedData() local 76 if (!arrayType) return; in addTypedData() 78 QualType eltType = arrayType->getElementType(); in addTypedData() 80 for (uint64_t i = 0, e = arrayType->getSize().getZExtValue(); i != e; ++i) { in addTypedData()
|
| H A D | CGDecl.cpp | 2003 const ArrayType *arrayType = getContext().getAsArrayType(type); in emitDestroy() local 2004 if (!arrayType) in emitDestroy() 2007 llvm::Value *length = emitArrayLength(arrayType, type, addr); in emitDestroy() 2098 while (const ArrayType *arrayType = CGF.getContext().getAsArrayType(type)) { in emitPartialArrayDestroy() local 2100 if (!isa<VariableArrayType>(arrayType)) in emitPartialArrayDestroy() 2102 type = arrayType->getElementType(); in emitPartialArrayDestroy()
|
| H A D | CGExprCXX.cpp | 610 if (const ArrayType *arrayType in EmitCXXConstructExpr() local 612 EmitCXXAggrConstructorCall(CD, arrayType, Dest.getAddress(), E, in EmitCXXConstructExpr()
|
| H A D | CGClass.cpp | 1875 const CXXConstructorDecl *ctor, const ArrayType *arrayType, in EmitCXXAggrConstructorCall() argument 1880 emitArrayLength(arrayType, elementType, arrayBegin); in EmitCXXAggrConstructorCall()
|
| H A D | CGObjCMac.cpp | 5139 if (auto arrayType = CGM.getContext().getAsIncompleteArrayType(fieldType)) { in visitField() local 5141 fieldType = arrayType->getElementType(); in visitField() 5144 while (auto arrayType = CGM.getContext().getAsConstantArrayType(fieldType)) { in visitField() local 5145 numElts *= arrayType->getSize().getZExtValue(); in visitField() 5146 fieldType = arrayType->getElementType(); in visitField()
|
| H A D | CodeGenFunction.h | 2397 llvm::Value *emitArrayLength(const ArrayType *arrayType,
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/ |
| H A D | SemaInit.cpp | 137 const ArrayType *arrayType = Context.getAsArrayType(declType); in IsStringInit() local 138 if (!arrayType) in IsStringInit() 140 return IsStringInit(init, arrayType, Context); in IsStringInit() 1295 } else if (const ArrayType *arrayType = in CheckSubElementType() local 1301 if (IsStringInit(expr, arrayType, SemaRef.Context) == SIF_None) { in CheckSubElementType() 1303 CheckStringInit(expr, ElemType, arrayType, SemaRef); in CheckSubElementType() 1691 const ArrayType *arrayType = SemaRef.Context.getAsArrayType(DeclType); in CheckArrayType() local 1695 if (IsStringInit(IList->getInit(Index), arrayType, SemaRef.Context) == in CheckArrayType() 1703 CheckStringInit(IList->getInit(Index), DeclType, arrayType, SemaRef); in CheckArrayType() 1712 if (const VariableArrayType *VAT = dyn_cast<VariableArrayType>(arrayType)) { in CheckArrayType() [all …]
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/ASTMatchers/Dynamic/ |
| H A D | Registry.cpp | 132 REGISTER_MATCHER(arrayType); in RegistryMaps()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/ASTMatchers/ |
| H A D | ASTMatchersInternal.cpp | 808 const AstTypeMatcher<ArrayType> arrayType; variable
|
| /freebsd-12.1/contrib/llvm/tools/clang/include/clang/ASTMatchers/ |
| H A D | ASTMatchers.h | 5176 extern const AstTypeMatcher<ArrayType> arrayType;
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/AST/ |
| H A D | ASTContext.cpp | 1599 if (const ArrayType *arrayType = getAsArrayType(T)) { in getDeclAlign() local 1602 if (isa<VariableArrayType>(arrayType)) in getDeclAlign() 1604 else if (isa<ConstantArrayType>(arrayType) && in getDeclAlign() 1605 MinWidth <= getTypeSize(cast<ConstantArrayType>(arrayType))) in getDeclAlign()
|
| /freebsd-12.1/contrib/llvm/tools/clang/include/clang/AST/ |
| H A D | Type.h | 6690 while (const ArrayType *arrayType = type->getAsArrayTypeUnsafe()) 6691 type = arrayType->getElementType().getTypePtr();
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Analysis/ |
| H A D | CFG.cpp | 4699 while (const ArrayType *arrayType = astContext.getAsArrayType(ty)) { in getDestructorDecl() local 4700 ty = arrayType->getElementType(); in getDestructorDecl()
|