Home
last modified time | relevance | path

Searched refs:ArrayBound (Results 1 – 8 of 8) sorted by relevance

/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGExprConstant.cpp404 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 DSemaTemplateVariadic.cpp1229 IndexExpr, Context.getSizeType(), Value, CCEKind::ArrayBound); in BuildPackIndexingExpr()
H A DSemaType.cpp1997 ArraySize, S.Context.getSizeType(), SizeVal, CCEKind::ArrayBound); in checkArraySize()
9798 IndexExpr, Context.getSizeType(), Value, CCEKind::ArrayBound); in BuildPackIndexingType()
H A DSemaExprCXX.cpp2048 Value, CCEKind::ArrayBound) in ActOnCXXNew()
H A DSemaOverload.cpp6377 if (CCE == CCEKind::ArrayBound && in BuildConvertedConstantExpression()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DExprConstant.cpp10380 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 DCheckers.td977 def ArrayBoundChecker : Checker<"ArrayBound">,
/freebsd/contrib/llvm-project/clang/include/clang/Sema/
H A DSema.h828 ArrayBound, ///< Array bound in array declarator or new-expression. enumerator