Home
last modified time | relevance | path

Searched refs:SizeOffset (Results 1 – 2 of 2) sorted by relevance

/external/llvm/include/llvm/Analysis/
DMemoryBuiltins.h177 bool knownSize(SizeOffsetType &SizeOffset) { in knownSize() argument
178 return SizeOffset.first.getBitWidth() > 1; in knownSize()
181 bool knownOffset(SizeOffsetType &SizeOffset) { in knownOffset() argument
182 return SizeOffset.second.getBitWidth() > 1; in knownOffset()
185 bool bothKnown(SizeOffsetType &SizeOffset) { in bothKnown() argument
186 return knownSize(SizeOffset) && knownOffset(SizeOffset); in bothKnown()
238 bool knownSize(SizeOffsetEvalType SizeOffset) { in knownSize() argument
239 return SizeOffset.first; in knownSize()
242 bool knownOffset(SizeOffsetEvalType SizeOffset) { in knownOffset() argument
243 return SizeOffset.second; in knownOffset()
[all …]
/external/llvm/lib/Transforms/Instrumentation/
DBoundsChecking.cpp135 SizeOffsetEvalType SizeOffset = ObjSizeEval->compute(Ptr); in instrument() local
137 if (!ObjSizeEval->bothKnown(SizeOffset)) { in instrument()
142 Value *Size = SizeOffset.first; in instrument()
143 Value *Offset = SizeOffset.second; in instrument()