Searched refs:ArrayBound (Results 1 – 8 of 8) sorted by relevance
| /freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGExprConstant.cpp | 404 llvm::Type *CommonElementType, uint64_t ArrayBound, 1056 llvm::Type *CommonElementType, uint64_t ArrayBound, in EmitArrayConstant() argument 1060 uint64_t NonzeroLength = ArrayBound; in EmitArrayConstant() 1072 uint64_t TrailingZeroes = ArrayBound - NonzeroLength; in EmitArrayConstant() 1094 } else if (Elements.size() != ArrayBound) { in EmitArrayConstant() 1096 Elements.resize(ArrayBound, Filler); in EmitArrayConstant() 1104 llvm::ArrayType::get(CommonElementType, ArrayBound), Elements); in EmitArrayConstant()
|
| /freebsd/contrib/llvm-project/clang/lib/Sema/ |
| H A D | SemaTemplateVariadic.cpp | 1229 IndexExpr, Context.getSizeType(), Value, CCEKind::ArrayBound); in BuildPackIndexingExpr()
|
| H A D | SemaType.cpp | 1997 ArraySize, S.Context.getSizeType(), SizeVal, CCEKind::ArrayBound); in checkArraySize() 9798 IndexExpr, Context.getSizeType(), Value, CCEKind::ArrayBound); in BuildPackIndexingType()
|
| H A D | SemaExprCXX.cpp | 2048 Value, CCEKind::ArrayBound) in ActOnCXXNew()
|
| H A D | SemaOverload.cpp | 6377 if (CCE == CCEKind::ArrayBound && in BuildConvertedConstantExpression()
|
| /freebsd/contrib/llvm-project/clang/lib/AST/ |
| H A D | ExprConstant.cpp | 10380 llvm::APSInt ArrayBound; in VisitCXXNewExpr() local 10381 if (!EvaluateInteger(Stripped, ArrayBound, Info)) in VisitCXXNewExpr() 10388 if (ArrayBound.isSigned() && ArrayBound.isNegative()) { in VisitCXXNewExpr() 10393 << ArrayBound << (*ArraySize)->getSourceRange(); in VisitCXXNewExpr() 10401 Info.Ctx, AllocType, ArrayBound), in VisitCXXNewExpr() 10402 ArrayBound.getZExtValue(), /*Diag=*/!IsNothrow)) { in VisitCXXNewExpr() 10423 std::max(CAT->getSizeBitWidth(), ArrayBound.getBitWidth()); in VisitCXXNewExpr() 10425 llvm::APInt AllocBound = ArrayBound.zext(Bits); in VisitCXXNewExpr() 10443 AllocType = Info.Ctx.getConstantArrayType(AllocType, ArrayBound, nullptr, in VisitCXXNewExpr()
|
| /freebsd/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Checkers/ |
| H A D | Checkers.td | 977 def ArrayBoundChecker : Checker<"ArrayBound">,
|
| /freebsd/contrib/llvm-project/clang/include/clang/Sema/ |
| H A D | Sema.h | 828 ArrayBound, ///< Array bound in array declarator or new-expression. enumerator
|