Home
last modified time | relevance | path

Searched refs:ObjectSize (Results 1 – 10 of 10) sorted by relevance

/external/llvm/lib/Support/
DStreamingMemoryObject.cpp75 if (ObjectSize && address < ObjectSize) return true; in isValidAddress()
80 if (ObjectSize) return ObjectSize; in getExtent()
84 return ObjectSize; in getExtent()
94 (ObjectSize && ObjectSize < BytesRead) ? ObjectSize : BytesRead; in readBytes()
115 ObjectSize = size; in setKnownObjectSize()
117 if (ObjectSize <= BytesRead) in setKnownObjectSize()
129 BytesSkipped(0), ObjectSize(0), EOFReached(false) { in StreamingMemoryObject()
/external/llvm/include/llvm/Support/
DStreamingMemoryObject.h61 mutable size_t ObjectSize; // 0 if unknown, set if wrapper seen or EOF reached variable
79 if (ObjectSize == 0) in fetchToPos()
80 ObjectSize = BytesRead; in fetchToPos()
84 return !ObjectSize || Pos < ObjectSize; in fetchToPos()
/external/clang/include/clang/Basic/
DSanitizers.def67 SANITIZER("object-size", ObjectSize)
103 Null | ObjectSize | Return | ReturnsNonnullAttribute |
/external/llvm/lib/Transforms/Scalar/
DDeadStoreElimination.cpp382 uint64_t ObjectSize = getPointerSize(UO2, DL, TLI); in isOverwrite() local
383 if (ObjectSize != MemoryLocation::UnknownSize) in isOverwrite()
384 if (ObjectSize == Later.Size && ObjectSize >= Earlier.Size) in isOverwrite()
DSeparateConstOffsetFromGEP.cpp1258 uint64_t ObjectSize; in swapGEPOperand() local
1259 if (!getObjectSize(NewBase, ObjectSize, DAL, TLI) || in swapGEPOperand()
1260 Offset.ugt(ObjectSize)) { in swapGEPOperand()
/external/llvm/lib/Analysis/
DBasicAliasAnalysis.cpp155 uint64_t ObjectSize = getObjectSize(V, DL, TLI, /*RoundToAlign*/ true); in isObjectSmallerThan() local
157 return ObjectSize != MemoryLocation::UnknownSize && ObjectSize < Size; in isObjectSmallerThan()
163 uint64_t ObjectSize = getObjectSize(V, DL, TLI); in isObjectSize() local
164 return ObjectSize != MemoryLocation::UnknownSize && ObjectSize == Size; in isObjectSize()
/external/clang/lib/CodeGen/
DCGExpr.cpp503 SanOpts.has(SanitizerKind::ObjectSize) | in sanitizePerformTypeCheck()
543 if (SanOpts.has(SanitizerKind::ObjectSize) && !Ty->isIncompleteType()) { in EmitTypeCheck()
557 Checks.push_back(std::make_pair(LargeEnough, SanitizerKind::ObjectSize)); in EmitTypeCheck()
DCGBuiltin.cpp362 uint64_t ObjectSize; in evaluateOrEmitBuiltinObjectSize() local
363 if (!E->tryEvaluateObjectSize(ObjectSize, getContext(), Type)) in evaluateOrEmitBuiltinObjectSize()
365 return ConstantInt::get(ResType, ObjectSize, /*isSigned=*/true); in evaluateOrEmitBuiltinObjectSize()
/external/libmtp/src/
Dptp.h985 uint32_t ObjectSize; member
Dptp-pack.c1154 fe->ObjectSize=dtoh32a((unsigned char*)&data[PTP_cfe_ObjectSize]); in ptp_unpack_Canon_FE()