Searched refs:ArrayBound (Results 1 – 3 of 3) sorted by relevance
/freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CGExprConstant.cpp | 397 llvm::Type *CommonElementType, uint64_t ArrayBound, 970 llvm::Type *CommonElementType, uint64_t ArrayBound, in EmitArrayConstant() argument 974 uint64_t NonzeroLength = ArrayBound; in EmitArrayConstant() 986 uint64_t TrailingZeroes = ArrayBound - NonzeroLength; in EmitArrayConstant() 1008 } else if (Elements.size() != ArrayBound) { in EmitArrayConstant() 1010 Elements.resize(ArrayBound, Filler); in EmitArrayConstant() 1018 llvm::ArrayType::get(CommonElementType, ArrayBound), Elements); in EmitArrayConstant()
|
/freebsd/contrib/llvm-project/clang/lib/AST/ |
H A D | ExprConstant.cpp | 9951 llvm::APSInt ArrayBound; in VisitCXXNewExpr() local 9952 if (!EvaluateInteger(Stripped, ArrayBound, Info)) in VisitCXXNewExpr() 9959 if (ArrayBound.isSigned() && ArrayBound.isNegative()) { in VisitCXXNewExpr() 9964 << ArrayBound << (*ArraySize)->getSourceRange(); in VisitCXXNewExpr() 9972 Info.Ctx, AllocType, ArrayBound), in VisitCXXNewExpr() 9973 ArrayBound.getZExtValue(), /*Diag=*/!IsNothrow)) { in VisitCXXNewExpr() 9994 std::max(CAT->getSizeBitWidth(), ArrayBound.getBitWidth()); in VisitCXXNewExpr() 9996 llvm::APInt AllocBound = ArrayBound.zext(Bits); in VisitCXXNewExpr() 10014 AllocType = Info.Ctx.getConstantArrayType(AllocType, ArrayBound, nullptr, in VisitCXXNewExpr()
|
/freebsd/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Checkers/ |
H A D | Checkers.td | 1034 def ArrayBoundChecker : Checker<"ArrayBound">,
|