Searched refs:sizeTy (Results 1 – 3 of 3) sorted by relevance
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | CStringChecker.cpp | 365 QualType sizeTy = Size->getType(); in CheckBufferAccess() local 387 NonLoc One = svalBuilder.makeIntVal(1, sizeTy).castAs<NonLoc>(); in CheckBufferAccess() 389 .evalBinOpNN(state, BO_Sub, *Length, One, sizeTy).castAs<NonLoc>(); in CheckBufferAccess() 573 QualType sizeTy = svalBuilder.getContext().getSizeType(); in checkAdditionOverflow() local 574 const llvm::APSInt &maxValInt = BVF.getMaxValue(sizeTy); in checkAdditionOverflow() 580 sizeTy); in checkAdditionOverflow() 585 sizeTy); in checkAdditionOverflow() 686 QualType sizeTy = svalBuilder.getContext().getSizeType(); in getCStringLengthForRegion() local 688 MR, Ex, sizeTy, in getCStringLengthForRegion() 695 const llvm::APSInt &maxValInt = BVF.getMaxValue(sizeTy); in getCStringLengthForRegion() [all …]
|
/external/spirv-llvm/lib/SPIRV/ |
D | SPIRVToOCL20.cpp | 311 Type * sizeTy = Type::getIntNTy(*Ctx, M->getDataLayout().getPointerSizeInBits(0)); in visitCallSPRIVImageQuerySize() local 313 addCallInst(M, kOCLBuiltinName::GetImageArraySize, sizeTy, in visitCallSPRIVImageQuerySize()
|
/external/clang/lib/StaticAnalyzer/Core/ |
D | MemRegion.cpp | 189 QualType sizeTy = svalBuilder.getArrayIndexType(); in getExtent() local 190 return svalBuilder.makeIntVal(size.getQuantity(), sizeTy); in getExtent()
|