Lines Matching refs:SizeInBytes
666 uint64_t SizeInBytes = in getAllocaSizeInBytes() local
668 return SizeInBytes * ArraySize; in getAllocaSizeInBytes()
834 uint64_t getRedzoneSizeForGlobal(uint64_t SizeInBytes) const;
2258 const uint64_t SizeInBytes = DL.getTypeAllocSize(Ty); in InstrumentGlobals() local
2259 const uint64_t RightRedzoneSize = getRedzoneSizeForGlobal(SizeInBytes); in InstrumentGlobals()
2339 ConstantInt::get(IntptrTy, SizeInBytes), in InstrumentGlobals()
2340 ConstantInt::get(IntptrTy, SizeInBytes + RightRedzoneSize), in InstrumentGlobals()
2389 ModuleAddressSanitizer::getRedzoneSizeForGlobal(uint64_t SizeInBytes) const { in getRedzoneSizeForGlobal()
2394 if (SizeInBytes <= MinRZ / 2) { in getRedzoneSizeForGlobal()
2398 RZ = MinRZ - SizeInBytes; in getRedzoneSizeForGlobal()
2401 RZ = std::max(MinRZ, std::min(kMaxRZ, (SizeInBytes / MinRZ / 4) * MinRZ)); in getRedzoneSizeForGlobal()
2404 if (SizeInBytes % MinRZ) in getRedzoneSizeForGlobal()
2405 RZ += MinRZ - (SizeInBytes % MinRZ); in getRedzoneSizeForGlobal()
2408 assert((RZ + SizeInBytes) % MinRZ == 0); in getRedzoneSizeForGlobal()