Home
last modified time | relevance | path

Searched refs:ConstantArrayType (Results 1 – 25 of 53) sorted by relevance

123

/external/bcc/src/cc/
Djson_map_decl_visitor.cc81 if (const ConstantArrayType *T = dyn_cast<ConstantArrayType>(F->getType())) in genJSONForField()
/external/clang/lib/StaticAnalyzer/Checkers/
DPaddingChecker.cpp103 if (const ConstantArrayType *CArrTy = dyn_cast<ConstantArrayType>(ArrTy)) in visitVariable()
DCastSizeChecker.cpp65 if (const ConstantArrayType *ArrayTy = in evenFlexibleArraySize()
/external/clang/lib/CodeGen/
DCodeGenTypes.cpp540 const ConstantArrayType *A = cast<ConstantArrayType>(Ty); in ConvertType()
747 if (const auto *CAT = dyn_cast<ConstantArrayType>(AT)) in isZeroInitializable()
DCGExprCXX.cpp588 while (const ConstantArrayType *CAT in EmitCXXNewAllocSize()
861 if (const ConstantArrayType *CAT = dyn_cast_or_null<ConstantArrayType>( in EmitNewArrayInitializer()
1728 while (const ConstantArrayType *Arr in EmitCXXDeleteExpr()
DCGExprConstant.cpp977 const ConstantArrayType *CAT = cast<ConstantArrayType>(T); in VisitObjCEncodeExpr()
1607 if (const ConstantArrayType *CAT = Context.getAsConstantArrayType(T)) { in EmitNullConstant()
DCodeGenFunction.cpp1586 assert(isa<ConstantArrayType>(arrayType)); in emitArrayLength()
1587 assert(cast<ConstantArrayType>(arrayType)->getSize().getZExtValue() in emitArrayLength()
1607 cast<ConstantArrayType>(arrayType)->getSize().getZExtValue(); in emitArrayLength()
DTargetInfo.cpp420 while (const ConstantArrayType *AT = Context.getAsConstantArrayType(FT)) { in isEmptyField()
515 while (const ConstantArrayType *AT = Context.getAsConstantArrayType(FT)) { in isSingleElementStruct()
1127 if (const ConstantArrayType *AT = Context.getAsConstantArrayType(Ty)) in shouldReturnTypeInRegister()
2491 if (const ConstantArrayType *AT = getContext().getAsConstantArrayType(Ty)) { in classify()
2777 if (const ConstantArrayType *AT = Context.getAsConstantArrayType(Ty)) { in BitsContainNoUserData()
4085 if (const ConstantArrayType *AT = getContext().getAsConstantArrayType(Ty)) { in isHomogeneousAggregate()
4117 while (const ConstantArrayType *AT = in isHomogeneousAggregate()
7820 if (const ConstantArrayType *CAT = dyn_cast<ConstantArrayType>(AT)) in appendArrayType()
/external/clang/tools/libclang/
DCXType.cpp626 ET = cast<ConstantArrayType> (TP)->getElementType(); in clang_getElementType()
658 result = cast<ConstantArrayType> (TP)->getSize().getSExtValue(); in clang_getNumElements()
678 ET = cast<ConstantArrayType> (TP)->getElementType(); in clang_getArrayElementType()
704 result = cast<ConstantArrayType> (TP)->getSize().getSExtValue(); in clang_getArraySize()
/external/clang/lib/AST/
DASTContext.cpp1400 else if (isa<ConstantArrayType>(arrayType) && in getDeclAlign()
1401 MinWidth <= getTypeSize(cast<ConstantArrayType>(arrayType))) in getDeclAlign()
1469 const ConstantArrayType *CAT) { in getConstantArrayInfoInChars()
1487 if (const ConstantArrayType *CAT = dyn_cast<ConstantArrayType>(T)) in getTypeInfoInChars()
1554 const ConstantArrayType *CAT = cast<ConstantArrayType>(T); in getTypeInfoImpl()
2587 ConstantArrayType::Profile(ID, EltTy, ArySize, ASM, IndexTypeQuals); in getConstantArrayType()
2590 if (ConstantArrayType *ATP = in getConstantArrayType()
2604 ConstantArrayType *NewIP = in getConstantArrayType()
2609 ConstantArrayType *New = new(*this,TypeAlignment) in getConstantArrayType()
2610 ConstantArrayType(EltTy, Canon, ArySize, ASM, IndexTypeQuals); in getConstantArrayType()
[all …]
DExprConstant.cpp124 const ConstantArrayType *CAT = in findMostDerivedSubobject()
125 cast<ConstantArrayType>(Ctx.getAsArrayType(Type)); in findMostDerivedSubobject()
240 void addArrayUnchecked(const ConstantArrayType *CAT) { in addArrayUnchecked()
1137 void addArray(EvalInfo &Info, const Expr *E, const ConstantArrayType *CAT) { in addArray()
2219 const ConstantArrayType *CAT = in extractStringLiteralCharacter()
2236 const ConstantArrayType *CAT = in expandStringLiteral()
2414 const ConstantArrayType *CAT = Info.Ctx.getAsConstantArrayType(ObjType); in findSubobject()
5195 if (const ConstantArrayType *CAT in VisitCastExpr()
5718 const ConstantArrayType *ArrayType = in VisitCXXStdInitializerListExpr()
6029 const ConstantArrayType *CAT = in ZeroInitialization()
[all …]
DTypePrinter.cpp433 void TypePrinter::printConstantArrayBefore(const ConstantArrayType *T, in printConstantArrayBefore()
439 void TypePrinter::printConstantArrayAfter(const ConstantArrayType *T, in printConstantArrayAfter()
DASTImporter.cpp49 QualType VisitConstantArrayType(const ConstantArrayType *T);
562 const ConstantArrayType *Array1 = cast<ConstantArrayType>(T1); in IsStructurallyEquivalent()
563 const ConstantArrayType *Array2 = cast<ConstantArrayType>(T2); in IsStructurallyEquivalent()
1653 QualType ASTNodeImporter::VisitConstantArrayType(const ConstantArrayType *T) { in VisitConstantArrayType()
3398 isa<ConstantArrayType>(TArray)) { in VisitVarDecl()
3408 isa<ConstantArrayType>(FoundArray)) { in VisitVarDecl()
DType.cpp77 unsigned ConstantArrayType::getNumAddressingBits(const ASTContext &Context, in getNumAddressingBits()
112 unsigned ConstantArrayType::getMaxSizeBits(const ASTContext &Context) { in getMaxSizeBits()
752 QualType VisitConstantArrayType(const ConstantArrayType *T) { in VisitConstantArrayType()
DMicrosoftMangle.cpp2102 void MicrosoftCXXNameMangler::mangleType(const ConstantArrayType *T, Qualifiers, in mangleType()
2123 const ConstantArrayType *CAT = in mangleArrayType()
DRecordLayoutBuilder.cpp441 if (const ConstantArrayType *AT = Context.getAsConstantArrayType(T)) { in CanPlaceFieldSubobjectAtOffset()
538 if (const ConstantArrayType *AT = Context.getAsConstantArrayType(T)) { in UpdateEmptyFieldSubobjects()
/external/clang/unittests/AST/
DASTTypeTraitsTest.cpp123 VERIFY_NAME(ConstantArrayType); in TEST()
/external/clang/lib/Sema/
DSemaInit.cpp62 if (!isa<ConstantArrayType>(AT) && !isa<IncompleteArrayType>(AT)) in IsStringInit()
154 cast<ConstantArrayType>(Str->getType()->getAsArrayTypeUnsafe()); in CheckStringInit()
169 const ConstantArrayType *CAT = cast<ConstantArrayType>(AT); in CheckStringInit()
689 if (const ConstantArrayType *CAType = dyn_cast<ConstantArrayType>(AType)) in FillInEmptyInitializations()
795 if (const ConstantArrayType *CAT = in numArrayElements()
1614 if (const ConstantArrayType *CAT = dyn_cast<ConstantArrayType>(arrayType)) { in CheckArrayType()
2447 if (isa<ConstantArrayType>(AT)) { in CheckDesignatedInitializer()
2448 llvm::APSInt MaxElements(cast<ConstantArrayType>(AT)->getSize(), false); in CheckDesignatedInitializer()
2466 ConstantArrayType::getMaxSizeBits(SemaRef.Context); in CheckDesignatedInitializer()
2493 if (cast<ConstantArrayType>(AT)->getSize().ult(StrLen)) in CheckDesignatedInitializer()
[all …]
DSemaTemplateDeduction.cpp1303 const ConstantArrayType *ConstantArrayArg = in DeduceTemplateArgumentsByTypeMatch()
1308 const ConstantArrayType *ConstantArrayParm = in DeduceTemplateArgumentsByTypeMatch()
1348 if (const ConstantArrayType *ConstantArrayArg in DeduceTemplateArgumentsByTypeMatch()
1349 = dyn_cast<ConstantArrayType>(ArrayArg)) { in DeduceTemplateArgumentsByTypeMatch()
/external/clang/include/clang/AST/
DASTContext.h104 mutable llvm::FoldingSet<ConstantArrayType> ConstantArrayTypes;
2114 const ConstantArrayType *getAsConstantArrayType(QualType T) const { in getAsConstantArrayType()
2115 return dyn_cast_or_null<ConstantArrayType>(getAsArrayType(T)); in getAsConstantArrayType()
2138 uint64_t getConstantArrayElementCount(const ConstantArrayType *CA) const;
DCanonicalType.h443 template<> struct CanProxyAdaptor<ConstantArrayType>;
DType.h2512 class ConstantArrayType : public ArrayType {
2515 ConstantArrayType(QualType et, QualType can, const llvm::APInt &size,
2521 ConstantArrayType(TypeClass tc, QualType et, QualType can,
5528 return isa<ConstantArrayType>(CanonicalType);
/external/clang/lib/StaticAnalyzer/Core/
DRegionStore.cpp1096 if (const ConstantArrayType *CAT = dyn_cast<ConstantArrayType>(AT)) in VisitCluster()
2058 if (const ConstantArrayType* CAT = dyn_cast<ConstantArrayType>(AT)) in bindArray()
/external/clang/lib/Analysis/
DScanfFormatString.cpp437 if (const ConstantArrayType *CAT = Ctx.getAsConstantArrayType(RawQT)) { in fixType()
/external/clang/include/clang/ASTMatchers/
DASTMatchers.h4449 AST_TYPE_MATCHER(ConstantArrayType, constantArrayType);
4467 AST_POLYMORPHIC_SUPPORTED_TYPES(ConstantArrayType, in AST_POLYMORPHIC_MATCHER_P() argument

123