Home
last modified time | relevance | path

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

/external/llvm-project/clang/lib/CodeGen/
DCGExprConstant.cpp394 llvm::Type *CommonElementType, unsigned ArrayBound,
929 llvm::Type *CommonElementType, unsigned ArrayBound, in EmitArrayConstant() argument
933 unsigned NonzeroLength = ArrayBound; in EmitArrayConstant()
945 unsigned TrailingZeroes = ArrayBound - NonzeroLength; in EmitArrayConstant()
967 } else if (Elements.size() != ArrayBound) { in EmitArrayConstant()
969 Elements.resize(ArrayBound, Filler); in EmitArrayConstant()
977 llvm::ArrayType::get(CommonElementType, ArrayBound), Elements); in EmitArrayConstant()
/external/clang/test/Analysis/
Dmisc-ps-region-store.m1 …e,alpha.core.CastToStruct,alpha.security.ReturnPtrRange,alpha.security.ArrayBound -analyzer-store=…
2 …e,alpha.core.CastToStruct,alpha.security.ReturnPtrRange,alpha.security.ArrayBound -analyzer-store=…
/external/llvm-project/clang/test/Analysis/
Dmisc-ps-region-store.m1 …e,alpha.core.CastToStruct,alpha.security.ReturnPtrRange,alpha.security.ArrayBound -analyzer-store=…
2 …e,alpha.core.CastToStruct,alpha.security.ReturnPtrRange,alpha.security.ArrayBound -analyzer-store=…
/external/llvm-project/polly/lib/CodeGen/
DPPCGCodeGeneration.cpp1102 isl::multi_pw_aff ArrayBound = isl::manage_copy(Array->bound); in getArraySize() local
1104 isl::pw_aff OffsetDimZero = ArrayBound.get_pw_aff(0); in getArraySize()
1108 isl::pw_aff Bound_I = ArrayBound.get_pw_aff(i); in getArraySize()
/external/clang/include/clang/StaticAnalyzer/Checkers/
DCheckers.td329 def ArrayBoundChecker : Checker<"ArrayBound">,
/external/llvm-project/clang/lib/AST/
DExprConstant.cpp9373 llvm::APSInt ArrayBound; in VisitCXXNewExpr() local
9374 if (!EvaluateInteger(Stripped, ArrayBound, Info)) in VisitCXXNewExpr()
9381 if (ArrayBound.isSigned() && ArrayBound.isNegative()) { in VisitCXXNewExpr()
9386 << ArrayBound << (*ArraySize)->getSourceRange(); in VisitCXXNewExpr()
9393 ArrayBound) > in VisitCXXNewExpr()
9399 << ArrayBound << (*ArraySize)->getSourceRange(); in VisitCXXNewExpr()
9418 std::max(CAT->getSize().getBitWidth(), ArrayBound.getBitWidth()); in VisitCXXNewExpr()
9420 llvm::APInt AllocBound = ArrayBound.zextOrSelf(Bits); in VisitCXXNewExpr()
9438 AllocType = Info.Ctx.getConstantArrayType(AllocType, ArrayBound, nullptr, in VisitCXXNewExpr()
/external/llvm-project/clang/docs/analyzer/
Dcheckers.rst2081 .. _alpha-security-ArrayBound:
2083 alpha.security.ArrayBound (C)
/external/llvm-project/clang/include/clang/StaticAnalyzer/Checkers/
DCheckers.td942 def ArrayBoundChecker : Checker<"ArrayBound">,