Searched refs:ArrayBound (Results 1 – 3 of 3) sorted by relevance
| /freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CGExprConstant.cpp | 396 llvm::Type *CommonElementType, unsigned ArrayBound, 950 llvm::Type *CommonElementType, unsigned ArrayBound, in EmitArrayConstant() argument 954 unsigned NonzeroLength = ArrayBound; in EmitArrayConstant() 966 unsigned TrailingZeroes = ArrayBound - NonzeroLength; in EmitArrayConstant() 988 } else if (Elements.size() != ArrayBound) { in EmitArrayConstant() 990 Elements.resize(ArrayBound, Filler); in EmitArrayConstant() 998 llvm::ArrayType::get(CommonElementType, ArrayBound), Elements); in EmitArrayConstant()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/AST/ |
| H A D | ExprConstant.cpp | 9850 llvm::APSInt ArrayBound; in VisitCXXNewExpr() local 9851 if (!EvaluateInteger(Stripped, ArrayBound, Info)) in VisitCXXNewExpr() 9858 if (ArrayBound.isSigned() && ArrayBound.isNegative()) { in VisitCXXNewExpr() 9863 << ArrayBound << (*ArraySize)->getSourceRange(); in VisitCXXNewExpr() 9871 Info.Ctx, AllocType, ArrayBound), in VisitCXXNewExpr() 9872 ArrayBound.getZExtValue(), /*Diag=*/!IsNothrow)) { in VisitCXXNewExpr() 9893 std::max(CAT->getSize().getBitWidth(), ArrayBound.getBitWidth()); in VisitCXXNewExpr() 9895 llvm::APInt AllocBound = ArrayBound.zext(Bits); in VisitCXXNewExpr() 9913 AllocType = Info.Ctx.getConstantArrayType(AllocType, ArrayBound, nullptr, in VisitCXXNewExpr()
|
| /freebsd-14.2/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Checkers/ |
| H A D | Checkers.td | 1035 def ArrayBoundChecker : Checker<"ArrayBound">,
|