Home
last modified time | relevance | path

Searched refs:arrayType (Results 1 – 11 of 11) sorted by relevance

/NextBSD/contrib/llvm/tools/clang/lib/CodeGen/
HDCodeGenFunction.cpp1395 const ArrayType *arrayType = origArrayType; in emitArrayLength() local
1400 if (isa<VariableArrayType>(arrayType)) { in emitArrayLength()
1401 numVLAElements = getVLASize(cast<VariableArrayType>(arrayType)).first; in emitArrayLength()
1406 QualType elementType = arrayType->getElementType(); in emitArrayLength()
1407 arrayType = getContext().getAsArrayType(elementType); in emitArrayLength()
1410 if (!arrayType) { in emitArrayLength()
1414 } while (isa<VariableArrayType>(arrayType)); in emitArrayLength()
1436 assert(isa<ConstantArrayType>(arrayType)); in emitArrayLength()
1437 assert(cast<ConstantArrayType>(arrayType)->getSize().getZExtValue() in emitArrayLength()
1442 eltType = arrayType->getElementType(); in emitArrayLength()
[all …]
HDCGDecl.cpp1435 const ArrayType *arrayType = getContext().getAsArrayType(type); in emitDestroy() local
1436 if (!arrayType) in emitDestroy()
1440 llvm::Value *length = emitArrayLength(arrayType, type, begin); in emitDestroy()
1524 while (const ArrayType *arrayType = CGF.getContext().getAsArrayType(type)) { in emitPartialArrayDestroy() local
1526 if (!isa<VariableArrayType>(arrayType)) in emitPartialArrayDestroy()
1528 type = arrayType->getElementType(); in emitPartialArrayDestroy()
HDCGExprCXX.cpp432 if (const ConstantArrayType *arrayType in EmitCXXConstructExpr() local
434 EmitCXXAggrConstructorCall(CD, arrayType, Dest.getAddr(), E); in EmitCXXConstructExpr()
HDCGClass.cpp1657 const CXXConstructorDecl *ctor, const ConstantArrayType *arrayType, in EmitCXXAggrConstructorCall() argument
1661 emitArrayLength(arrayType, elementType, arrayBegin); in EmitCXXAggrConstructorCall()
HDCodeGenFunction.h1674 llvm::Value *emitArrayLength(const ArrayType *arrayType,
/NextBSD/contrib/llvm/tools/clang/lib/Sema/
HDSemaInit.cpp125 const ArrayType *arrayType = Context.getAsArrayType(declType); in IsStringInit() local
126 if (!arrayType) in IsStringInit()
128 return IsStringInit(init, arrayType, Context); in IsStringInit()
1111 } else if (const ArrayType *arrayType = in CheckSubElementType() local
1117 if (IsStringInit(expr, arrayType, SemaRef.Context) == SIF_None) { in CheckSubElementType()
1119 CheckStringInit(expr, ElemType, arrayType, SemaRef); in CheckSubElementType()
1509 const ArrayType *arrayType = SemaRef.Context.getAsArrayType(DeclType); in CheckArrayType() local
1513 if (IsStringInit(IList->getInit(Index), arrayType, SemaRef.Context) == in CheckArrayType()
1521 CheckStringInit(IList->getInit(Index), DeclType, arrayType, SemaRef); in CheckArrayType()
1530 if (const VariableArrayType *VAT = dyn_cast<VariableArrayType>(arrayType)) { in CheckArrayType()
[all …]
/NextBSD/contrib/llvm/tools/clang/lib/ASTMatchers/Dynamic/
HDRegistry.cpp103 REGISTER_MATCHER(arrayType); in RegistryMaps()
/NextBSD/contrib/llvm/tools/clang/include/clang/ASTMatchers/
HDASTMatchers.h3447 AST_TYPE_MATCHER(ArrayType, arrayType);
/NextBSD/contrib/llvm/tools/clang/include/clang/AST/
HDType.h5522 while (const ArrayType *arrayType = type->getAsArrayTypeUnsafe())
5523 type = arrayType->getElementType().getTypePtr();
/NextBSD/contrib/llvm/tools/clang/lib/AST/
HDASTContext.cpp1351 if (const ArrayType *arrayType = getAsArrayType(T)) { in getDeclAlign() local
1354 if (isa<VariableArrayType>(arrayType)) in getDeclAlign()
1356 else if (isa<ConstantArrayType>(arrayType) && in getDeclAlign()
1357 MinWidth <= getTypeSize(cast<ConstantArrayType>(arrayType))) in getDeclAlign()
/NextBSD/contrib/llvm/tools/clang/lib/Analysis/
HDCFG.cpp3808 while (const ArrayType *arrayType = astContext.getAsArrayType(ty)) { in getDestructorDecl() local
3809 ty = arrayType->getElementType(); in getDestructorDecl()