Lines Matching refs:MaxLoadSize
73 unsigned MaxLoadSize; member in __anon80e401870111::MemCmpExpansion
123 computeOverlappingLoadSequence(uint64_t Size, unsigned MaxLoadSize,
171 const unsigned MaxLoadSize, in computeOverlappingLoadSequence() argument
175 if (Size < 2 || MaxLoadSize < 2) in computeOverlappingLoadSequence()
180 const uint64_t NumNonOverlappingLoads = Size / MaxLoadSize; in computeOverlappingLoadSequence()
184 Size = Size - NumNonOverlappingLoads * MaxLoadSize; in computeOverlappingLoadSequence()
198 LoadSequence.push_back({MaxLoadSize, Offset}); in computeOverlappingLoadSequence()
199 Offset += MaxLoadSize; in computeOverlappingLoadSequence()
203 assert(Size > 0 && Size < MaxLoadSize && "broken invariant"); in computeOverlappingLoadSequence()
204 LoadSequence.push_back({MaxLoadSize, Offset - (MaxLoadSize - Size)}); in computeOverlappingLoadSequence()
222 : CI(CI), Size(Size), MaxLoadSize(0), NumLoadsNonOneByte(0), in MemCmpExpansion()
233 MaxLoadSize = LoadSizes.front(); in MemCmpExpansion()
246 Size, MaxLoadSize, Options.MaxNumLoads, OverlappingNumLoadsNonOneByte); in MemCmpExpansion()
390 : IntegerType::get(CI->getContext(), MaxLoadSize * 8); in getCompareLoadPairs()
481 Type *MaxLoadType = IntegerType::get(CI->getContext(), MaxLoadSize * 8); in emitLoadCompareBlock()
482 assert(CurLoadEntry.LoadSize <= MaxLoadSize && "Unexpected load type"); in emitLoadCompareBlock()
554 Type *MaxLoadType = IntegerType::get(CI->getContext(), MaxLoadSize * 8); in setupResultBlockPHINodes()