Home
last modified time | relevance | path

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

12

/freebsd/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.cpp262 while (const ConstantArrayType *AT = Context.getAsConstantArrayType(FT)) { in isEmptyField()
392 while (const ConstantArrayType *AT = Context.getAsConstantArrayType(FT)) { in isSingleElementStruct()
H A DCGExprConstant.cpp660 auto CAT = Emitter.CGM.getContext().getAsConstantArrayType(Type); in EmitDesignatedInitUpdater()
1291 auto *CAT = CGM.getContext().getAsConstantArrayType(ILE->getType()); in EmitArrayInitialization()
1465 const ConstantArrayType *CAT = CGM.getContext().getAsConstantArrayType(T); in VisitObjCEncodeExpr()
2619 if (const ConstantArrayType *CAT = Context.getAsConstantArrayType(T)) { in EmitNullConstant()
H A DCGExprCXX.cpp687 assert(!getContext().getAsConstantArrayType(E->getType()) in EmitSynthesizedCXXCopyCtor()
750 = CGF.getContext().getAsConstantArrayType(type)) { in EmitCXXNewAllocSize()
2123 = getContext().getAsConstantArrayType(DeleteTy)) { in EmitCXXDeleteExpr()
H A DSwiftCallingConv.cpp76 auto arrayType = CGM.getContext().getAsConstantArrayType(type); in addTypedData()
H A DCGCall.cpp940 if (const ConstantArrayType *AT = Context.getAsConstantArrayType(Ty)) { in getTypeExpansion()
3065 getContext().getAsConstantArrayType(OTy)) { in EmitFunctionProlog()
3701 if (const auto *ATy = Context.getAsConstantArrayType(QTy)) in setUsedBits()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DCastSizeChecker.cpp67 Ctx.getAsConstantArrayType(Last->getType())) { in evenFlexibleArraySize()
/freebsd/contrib/llvm-project/clang/lib/Sema/
H A DSemaSYCL.cpp42 if (const auto *CAT = S.getASTContext().getAsConstantArrayType(Ty)) in isZeroSizedArray()
H A DSemaHLSL.cpp64 } else if (const ConstantArrayType *AT = Context.getAsConstantArrayType(T)) { in calculateLegacyCbufferSize()
H A DSemaOpenACC.cpp1535 const auto *ArrayTy = Context.getAsConstantArrayType(OriginalBaseTy); in ActOnArraySectionExpr()
H A DSemaExprCXX.cpp2147 = Context.getAsConstantArrayType(AllocType)) { in BuildCXXNew()
2484 auto *CAT = Context.getAsConstantArrayType(Initializer->getType()); in BuildCXXNew()
5225 if (const auto *CAT = C.getAsConstantArrayType(T)) in EvaluateUnaryTypeTrait()
5233 if (const auto *CAT = C.getAsConstantArrayType(T)) in EvaluateUnaryTypeTrait()
6229 if (const ConstantArrayType *CAT = Self.Context.getAsConstantArrayType(T)) in EvaluateArrayTypeTrait()
/freebsd/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()
1988 if (const ConstantArrayType *AT = getContext().getAsConstantArrayType(Ty)) { in classify()
2314 if (const ConstantArrayType *AT = Context.getAsConstantArrayType(Ty)) { in BitsContainNoUserData()
2878 if (const auto *AT = getContext().getAsConstantArrayType(MTy)) in classifyRegCallStructTypeImpl()
H A DARM.cpp677 if (const ConstantArrayType *AT = getContext().getAsConstantArrayType(Ty)) { in containsAnyFP16Vectors()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DScanfFormatString.cpp448 if (const ConstantArrayType *CAT = Ctx.getAsConstantArrayType(RawQT)) { in fixType()
H A DExprConstant.cpp3477 Info.Ctx.getAsConstantArrayType(S->getType()); in extractStringLiteralCharacter()
3495 const ConstantArrayType *CAT = Info.Ctx.getAsConstantArrayType( in expandStringLiteral()
3804 const ConstantArrayType *CAT = Info.Ctx.getAsConstantArrayType(ObjType); in findSubobject()
6619 if (const ConstantArrayType *CAT = Info.Ctx.getAsConstantArrayType(T)) { in HandleDestructionImpl()
9990 auto *CAT = Info.Ctx.getAsConstantArrayType(Init->getType()); in VisitCXXNewExpr()
10452 if (auto *CAT = Info.Ctx.getAsConstantArrayType(Init->getType())) { in VisitCXXParenListOrInitListExpr()
10555 Info.Ctx.getAsConstantArrayType(E->getSubExpr()->getType()); in VisitCXXStdInitializerListExpr()
11134 Info.Ctx.getAsConstantArrayType(E->getType()); in ZeroInitialization()
11233 const ConstantArrayType *CAT = Info.Ctx.getAsConstantArrayType( in VisitInitListExpr()
11260 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.cpp441 const auto *CAT = Ctx.getAsConstantArrayType(Ty); in isFlexibleArrayMemberLike()
H A DMicrosoftMangle.cpp3183 getASTContext().getAsConstantArrayType(ElementTy); in mangleArrayType()
4178 getASTContext().getAsConstantArrayType(SL->getType())->getZExtSize(); in mangleStringLiteral()
H A DDecl.cpp2832 auto InitTy = Ctx.getAsConstantArrayType(FlexibleInit->getType()); in hasFlexibleArrayInit()
2847 auto InitTy = Ctx.getAsConstantArrayType(FlexibleInit->getType()); in getFlexibleArrayInitChars()
/freebsd/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DRegionStore.cpp1752 const ConstantArrayType *CAT = Ctx.getAsConstantArrayType(VD->getType()); in getConstantValFromConstArrayInitializer()
2314 assert(Ctx.getAsConstantArrayType(R->getValueType()) && in getBindingForArray()
2586 Ctx.getConstantArrayElementCount(Ctx.getAsConstantArrayType(Ty)) == 0) in tryBindSmallStruct()
H A DExprEngineCXX.cpp1212 getContext().getAsConstantArrayType(FTy)) == 0) in VisitLambdaExpr()
/freebsd/contrib/llvm-project/clang/lib/AST/Interp/
H A DCompiler.cpp1463 Ctx.getASTContext().getAsConstantArrayType(QT); in visitInitList()
1893 Ctx.getASTContext().getAsConstantArrayType(E->getType()); in VisitStringLiteral()
2547 Ctx.getASTContext().getAsConstantArrayType(E->getType()); in VisitCXXConstructExpr()
3154 Ctx.getASTContext().getAsConstantArrayType(SubExpr->getType()); in VisitCXXStdInitializerListExpr()
/freebsd/contrib/llvm-project/clang/lib/Analysis/
H A DUnsafeBufferUsage.cpp429 const auto *CATy = Finder->getASTContext().getAsConstantArrayType( in AST_MATCHER()
2259 } else if (Ctx.getAsConstantArrayType(Init->IgnoreImpCasts()->getType())) { in FixVarInitializerWithSpan()

12