Searched refs:LengthVal (Results 1 – 7 of 7) sorted by relevance
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | CStringChecker.cpp | 381 SVal LengthVal = state->getSVal(Size, LCtx); in CheckBufferAccess() local 382 Optional<NonLoc> Length = LengthVal.getAs<NonLoc>(); in CheckBufferAccess() 496 SVal LengthVal = state->getSVal(Size, LCtx); in CheckOverlap() local 497 Optional<NonLoc> Length = LengthVal.getAs<NonLoc>(); in CheckOverlap() 847 SVal LengthVal = state->getSVal(Size, LCtx); in IsFirstBufInBound() local 848 Optional<NonLoc> Length = LengthVal.getAs<NonLoc>(); in IsFirstBufInBound()
|
/external/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
D | CStringChecker.cpp | 403 SVal LengthVal = C.getSVal(Size.Expression); in CheckBufferAccess() local 404 Optional<NonLoc> Length = LengthVal.getAs<NonLoc>(); in CheckBufferAccess() 503 SVal LengthVal = state->getSVal(Size.Expression, LCtx); in CheckOverlap() local 504 Optional<NonLoc> Length = LengthVal.getAs<NonLoc>(); in CheckOverlap() 889 SVal LengthVal = state->getSVal(Size, LCtx); in IsFirstBufInBound() local 890 Optional<NonLoc> Length = LengthVal.getAs<NonLoc>(); in IsFirstBufInBound()
|
/external/llvm-project/polly/lib/Analysis/ |
D | ScopBuilder.cpp | 1733 auto *LengthVal = SE.getSCEVAtScope(MemIntr->getLength(), L); in buildAccessMemIntrinsic() local 1734 assert(LengthVal); in buildAccessMemIntrinsic() 1742 LengthVal, SE, &AccessILS); in buildAccessMemIntrinsic() 1747 LengthVal = nullptr; in buildAccessMemIntrinsic() 1767 LengthIsAffine, {DestAccFunc, LengthVal}, {nullptr}, in buildAccessMemIntrinsic() 1789 LengthIsAffine, {SrcAccFunc, LengthVal}, {nullptr}, in buildAccessMemIntrinsic()
|
/external/clang/lib/CodeGen/ |
D | CGExpr.cpp | 3088 auto *LengthVal = in EmitOMPArraySectionExpr() local 3094 Idx = Builder.CreateAdd(LowerBoundVal, LengthVal, "lb_add_len", in EmitOMPArraySectionExpr() 3118 auto *LengthVal = Builder.CreateIntCast( in EmitOMPArraySectionExpr() local 3122 LengthVal, llvm::ConstantInt::get(IntPtrTy, /*V=*/1), "len_sub_1", in EmitOMPArraySectionExpr()
|
D | CGOpenMPRuntime.cpp | 5038 auto *LengthVal = CGF.EmitScalarExpr(OAE->getLength()); in getExprTypeSize() local 5039 LengthVal = in getExprTypeSize() 5040 CGF.Builder.CreateIntCast(LengthVal, CGF.SizeTy, /*isSigned=*/false); in getExprTypeSize() 5041 return CGF.Builder.CreateNUWMul(LengthVal, ElemSize); in getExprTypeSize()
|
/external/llvm-project/clang/lib/CodeGen/ |
D | CGExpr.cpp | 3964 auto *LengthVal = in EmitOMPArraySectionExpr() local 3970 Idx = Builder.CreateAdd(LowerBoundVal, LengthVal, "lb_add_len", in EmitOMPArraySectionExpr() 3996 auto *LengthVal = Builder.CreateIntCast( in EmitOMPArraySectionExpr() local 4000 LengthVal, llvm::ConstantInt::get(IntPtrTy, /*V=*/1), "len_sub_1", in EmitOMPArraySectionExpr()
|
D | CGOpenMPRuntime.cpp | 7266 llvm::Value *LengthVal = CGF.EmitScalarExpr(LenExpr); in getExprTypeSize() local 7267 LengthVal = CGF.EmitScalarConversion(LengthVal, LenExpr->getType(), in getExprTypeSize() 7270 return CGF.Builder.CreateNUWMul(LengthVal, ElemSize); in getExprTypeSize() 7275 llvm::Value *LengthVal = CGF.getTypeSize(BaseTy); in getExprTypeSize() local 7281 llvm::Value *Cmp = CGF.Builder.CreateICmpUGT(LengthVal, LBVal); in getExprTypeSize() 7282 llvm::Value *TrueVal = CGF.Builder.CreateNUWSub(LengthVal, LBVal); in getExprTypeSize() 7283 LengthVal = CGF.Builder.CreateSelect( in getExprTypeSize() 7285 return LengthVal; in getExprTypeSize()
|