Lines Matching refs:AllocSize
382 AllocSize(TD.getTypeAllocSize(AI.getAllocatedType())),
389 const uint64_t AllocSize;
516 (Offset >= 0 && (uint64_t)Offset >= AllocSize) ||
519 << " which starts past the end of the " << AllocSize
540 assert(AllocSize >= BeginOffset); // Established above.
541 if (Size > AllocSize - BeginOffset) {
543 << " to remain within the " << AllocSize << " byte alloca:\n"
546 EndOffset = AllocSize;
571 if (Offset < 0 || (uint64_t)Offset >= AllocSize ||
572 Size > (AllocSize - (uint64_t)Offset)) {
575 << " which extends past the end of the " << AllocSize
620 uint64_t Size = Length ? Length->getZExtValue() : AllocSize - Offset;
627 uint64_t Size = Length ? Length->getZExtValue() : AllocSize - Offset;
676 uint64_t Size = std::min(AllocSize - Offset, Length->getLimitedValue());
825 if (Size == 0 || (uint64_t)Offset >= AllocSize ||
839 assert(AllocSize >= BeginOffset); // Established above.
840 if (Size > AllocSize - BeginOffset)
841 EndOffset = AllocSize;
865 if (Offset < 0 || (uint64_t)Offset >= AllocSize ||
866 Size > (AllocSize - (uint64_t)Offset))
900 uint64_t Size = Length ? Length->getZExtValue() : AllocSize - Offset;
906 uint64_t Size = Length ? Length->getZExtValue() : AllocSize - Offset;
916 std::min(AllocSize - Offset, Length->getLimitedValue()));
926 if (Offset >= AllocSize) {