Home
last modified time | relevance | path

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

/llvm-project-15.0.7/clang/test/SemaTemplate/
H A Dinstantiate-static-var.cpp139 namespace ArrayBound { namespace
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DCGExprConstant.cpp394 llvm::Type *CommonElementType, unsigned ArrayBound,
949 llvm::Type *CommonElementType, unsigned ArrayBound, in EmitArrayConstant() argument
953 unsigned NonzeroLength = ArrayBound; in EmitArrayConstant()
965 unsigned TrailingZeroes = ArrayBound - NonzeroLength; in EmitArrayConstant()
987 } else if (Elements.size() != ArrayBound) { in EmitArrayConstant()
989 Elements.resize(ArrayBound, Filler); in EmitArrayConstant()
997 llvm::ArrayType::get(CommonElementType, ArrayBound), Elements); in EmitArrayConstant()
/llvm-project-15.0.7/clang/test/Analysis/
H A Dmisc-ps-region-store.m1 …e,alpha.core.CastToStruct,alpha.security.ReturnPtrRange,alpha.security.ArrayBound -verify -fblocks…
2 …e,alpha.core.CastToStruct,alpha.security.ReturnPtrRange,alpha.security.ArrayBound -verify -fblocks…
/llvm-project-15.0.7/polly/lib/CodeGen/
H A DPPCGCodeGeneration.cpp1120 isl::multi_pw_aff ArrayBound = isl::manage_copy(Array->bound); in getArraySize() local
1122 isl::pw_aff OffsetDimZero = ArrayBound.at(0); in getArraySize()
1126 isl::pw_aff Bound_I = ArrayBound.at(i); in getArraySize()
/llvm-project-15.0.7/clang/lib/AST/
H A DExprConstant.cpp9538 llvm::APSInt ArrayBound; in VisitCXXNewExpr() local
9539 if (!EvaluateInteger(Stripped, ArrayBound, Info)) in VisitCXXNewExpr()
9546 if (ArrayBound.isSigned() && ArrayBound.isNegative()) { in VisitCXXNewExpr()
9551 << ArrayBound << (*ArraySize)->getSourceRange(); in VisitCXXNewExpr()
9558 ArrayBound) > in VisitCXXNewExpr()
9564 << ArrayBound << (*ArraySize)->getSourceRange(); in VisitCXXNewExpr()
9583 std::max(CAT->getSize().getBitWidth(), ArrayBound.getBitWidth()); in VisitCXXNewExpr()
9585 llvm::APInt AllocBound = ArrayBound.zext(Bits); in VisitCXXNewExpr()
9603 AllocType = Info.Ctx.getConstantArrayType(AllocType, ArrayBound, nullptr, in VisitCXXNewExpr()
/llvm-project-15.0.7/clang/docs/analyzer/
H A Dcheckers.rst2089 .. _alpha-security-ArrayBound:
2091 alpha.security.ArrayBound (C)
/llvm-project-15.0.7/clang/include/clang/StaticAnalyzer/Checkers/
H A DCheckers.td998 def ArrayBoundChecker : Checker<"ArrayBound">,