Home
last modified time | relevance | path

Searched refs:SizeRange (Results 1 – 5 of 5) sorted by relevance

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Instrumentation/
DBoundsChecking.cpp79 auto SizeRange = SE.getUnsignedRange(SE.getSCEV(Size)); in getBoundsCheckCond() local
91 Value *Cmp2 = SizeRange.getUnsignedMin().uge(OffsetRange.getUnsignedMax()) in getBoundsCheckCond()
94 Value *Cmp3 = SizeRange.sub(OffsetRange) in getBoundsCheckCond()
101 !SizeRange.getSignedMin().isNonNegative()) { in getBoundsCheckCond()
/external/llvm/lib/CodeGen/
DSafeStack.cpp231 ConstantRange SizeRange = in IsAccessSafe() local
233 ConstantRange AccessRange = AccessStartRange.add(SizeRange); in IsAccessSafe()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DSafeStack.cpp238 ConstantRange SizeRange = in IsAccessSafe() local
240 ConstantRange AccessRange = AccessStartRange.add(SizeRange); in IsAccessSafe()
/external/clang/lib/Sema/
DSemaChecking.cpp6048 SourceRange SizeRange = Size->getSourceRange(); in CheckMemorySizeofForComparison() local
6050 << SizeRange << FnName; in CheckMemorySizeofForComparison()
6055 S.Diag(SizeRange.getBegin(), diag::note_memsize_comparison_cast_silence) in CheckMemorySizeofForComparison()
6056 << FixItHint::CreateInsertion(SizeRange.getBegin(), "(size_t)(") in CheckMemorySizeofForComparison()
6057 << FixItHint::CreateInsertion(S.getLocForEndOfToken(SizeRange.getEnd()), in CheckMemorySizeofForComparison()
DSemaDecl.cpp6906 SourceRange SizeRange = VAT->getSizeExpr()->getSourceRange(); in CheckVariableDeclarationType() local
6910 << SizeRange; in CheckVariableDeclarationType()
6913 << SizeRange; in CheckVariableDeclarationType()
6916 << SizeRange; in CheckVariableDeclarationType()