Home
last modified time | relevance | path

Searched refs:getAsConstantArrayType (Results 1 – 25 of 44) sorted by relevance

12

/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/
H A DABIInfo.cpp63 if (const ConstantArrayType *AT = getContext().getAsConstantArrayType(Ty)) { in isHomogeneousAggregate()
100 getContext().getAsConstantArrayType(FT)) { in isHomogeneousAggregate()
H A DABIInfoImpl.cpp259 while (const ConstantArrayType *AT = Context.getAsConstantArrayType(FT)) { in isEmptyField()
354 while (const ConstantArrayType *AT = Context.getAsConstantArrayType(FT)) { in isSingleElementStruct()
H A DCGExprConstant.cpp642 auto CAT = Emitter.CGM.getContext().getAsConstantArrayType(Type); in EmitDesignatedInitUpdater()
1248 auto *CAT = CGM.getContext().getAsConstantArrayType(ILE->getType()); in EmitArrayInitialization()
1371 const ConstantArrayType *CAT = CGM.getContext().getAsConstantArrayType(T); in VisitObjCEncodeExpr()
2375 if (const ConstantArrayType *CAT = Context.getAsConstantArrayType(T)) { in EmitNullConstant()
H A DCGExprCXX.cpp684 assert(!getContext().getAsConstantArrayType(E->getType()) in EmitSynthesizedCXXCopyCtor()
747 = CGF.getContext().getAsConstantArrayType(type)) { in EmitCXXNewAllocSize()
2126 = getContext().getAsConstantArrayType(DeleteTy)) { in EmitCXXDeleteExpr()
H A DSwiftCallingConv.cpp76 auto arrayType = CGM.getContext().getAsConstantArrayType(type); in addTypedData()
H A DCGCall.cpp931 if (const ConstantArrayType *AT = Context.getAsConstantArrayType(Ty)) { in getTypeExpansion()
3082 getContext().getAsConstantArrayType(OTy)) { in EmitFunctionProlog()
3693 if (const auto *ATy = Context.getAsConstantArrayType(QTy)) in setUsedBits()
H A DCGExprAgg.cpp419 Ctx.getAsConstantArrayType(E->getSubExpr()->getType()); in VisitCXXStdInitializerListExpr()
/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DSemaSYCL.cpp37 if (const auto *CAT = SemaRef.getASTContext().getAsConstantArrayType(Ty)) in isZeroSizedArray()
/freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DCastSizeChecker.cpp67 Ctx.getAsConstantArrayType(Last->getType())) { in evenFlexibleArraySize()
/freebsd-14.2/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DDynamicExtent.cpp54 SVB.getContext().getAsConstantArrayType(TVR->getValueType())) in getConstantArrayElementCount()
H A DRegionStore.cpp1752 const ConstantArrayType *CAT = Ctx.getAsConstantArrayType(VD->getType()); in getConstantValFromConstArrayInitializer()
2314 assert(Ctx.getAsConstantArrayType(R->getValueType()) && in getBindingForArray()
2585 Ctx.getConstantArrayElementCount(Ctx.getAsConstantArrayType(Ty)) == 0) in tryBindSmallStruct()
H A DExprEngineCXX.cpp1212 getContext().getAsConstantArrayType(FTy)) == 0) in VisitLambdaExpr()
/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/Targets/
H A DLoongArch.cpp148 if (const ConstantArrayType *ATy = getContext().getAsConstantArrayType(Ty)) { in detectFARsEligibleStructHelper()
H A DRISCV.cpp154 if (const ConstantArrayType *ATy = getContext().getAsConstantArrayType(Ty)) { in detectFPCCEligibleStructHelper()
H A DX86.cpp364 if (const ConstantArrayType *AT = Context.getAsConstantArrayType(Ty)) in shouldReturnTypeInRegister()
1973 if (const ConstantArrayType *AT = getContext().getAsConstantArrayType(Ty)) { in classify()
2296 if (const ConstantArrayType *AT = Context.getAsConstantArrayType(Ty)) { in BitsContainNoUserData()
2861 if (const auto *AT = getContext().getAsConstantArrayType(MTy)) in classifyRegCallStructTypeImpl()
H A DARM.cpp679 if (const ConstantArrayType *AT = getContext().getAsConstantArrayType(Ty)) { in containsAnyFP16Vectors()
/freebsd-14.2/contrib/llvm-project/clang/lib/AST/
H A DScanfFormatString.cpp448 if (const ConstantArrayType *CAT = Ctx.getAsConstantArrayType(RawQT)) { in fixType()
H A DExprConstant.cpp3449 Info.Ctx.getAsConstantArrayType(S->getType()); in extractStringLiteralCharacter()
3467 const ConstantArrayType *CAT = Info.Ctx.getAsConstantArrayType( in expandStringLiteral()
3776 const ConstantArrayType *CAT = Info.Ctx.getAsConstantArrayType(ObjType); in findSubobject()
6558 if (const ConstantArrayType *CAT = Info.Ctx.getAsConstantArrayType(T)) { in HandleDestructionImpl()
9889 auto *CAT = Info.Ctx.getAsConstantArrayType(Init->getType()); in VisitCXXNewExpr()
10351 if (auto *CAT = Info.Ctx.getAsConstantArrayType(Init->getType())) { in VisitCXXParenListOrInitListExpr()
10454 Info.Ctx.getAsConstantArrayType(E->getSubExpr()->getType()); in VisitCXXStdInitializerListExpr()
10925 Info.Ctx.getAsConstantArrayType(E->getType()); in ZeroInitialization()
11025 const ConstantArrayType *CAT = Info.Ctx.getAsConstantArrayType( in VisitInitListExpr()
11052 const ConstantArrayType *CAT = Info.Ctx.getAsConstantArrayType( in VisitCXXParenListOrInitListExpr()
[all …]
H A DRecordLayoutBuilder.cpp442 if (const ConstantArrayType *AT = Context.getAsConstantArrayType(T)) { in CanPlaceFieldSubobjectAtOffset()
546 if (const ConstantArrayType *AT = Context.getAsConstantArrayType(T)) { in UpdateEmptyFieldSubobjects()
H A DDeclBase.cpp419 const auto *CAT = Ctx.getAsConstantArrayType(Ty); in isFlexibleArrayMemberLike()
H A DMicrosoftMangle.cpp3047 getASTContext().getAsConstantArrayType(ElementTy); in mangleArrayType()
4019 .getAsConstantArrayType(SL->getType()) in mangleStringLiteral()
H A DDecl.cpp2830 auto InitTy = Ctx.getAsConstantArrayType(FlexibleInit->getType()); in hasFlexibleArrayInit()
2845 auto InitTy = Ctx.getAsConstantArrayType(FlexibleInit->getType()); in getFlexibleArrayInitChars()
/freebsd-14.2/contrib/llvm-project/clang/lib/AST/Interp/
H A DByteCodeExprGen.cpp1166 Ctx.getASTContext().getAsConstantArrayType(E->getType()); in VisitStringLiteral()
1711 Ctx.getASTContext().getAsConstantArrayType(E->getType()); in VisitCXXConstructExpr()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/AST/
H A DASTContext.h2728 const ConstantArrayType *getAsConstantArrayType(QualType T) const { in getAsConstantArrayType() function
/freebsd-14.2/contrib/llvm-project/clang/lib/Analysis/
H A DCFG.cpp2044 while (const ConstantArrayType *AT = Context->getAsConstantArrayType(QT)) { in addImplicitDtorsForDestructor()
2138 while (const ConstantArrayType *AT = Context->getAsConstantArrayType(QT)) { in hasTrivialDestructor()

12