Lines Matching refs:MaxLoadSize
76 unsigned MaxLoadSize = 0; member in __anone23f4d030111::MemCmpExpansion
126 computeOverlappingLoadSequence(uint64_t Size, unsigned MaxLoadSize,
174 const unsigned MaxLoadSize, in computeOverlappingLoadSequence() argument
178 if (Size < 2 || MaxLoadSize < 2) in computeOverlappingLoadSequence()
183 const uint64_t NumNonOverlappingLoads = Size / MaxLoadSize; in computeOverlappingLoadSequence()
187 Size = Size - NumNonOverlappingLoads * MaxLoadSize; in computeOverlappingLoadSequence()
201 LoadSequence.push_back({MaxLoadSize, Offset}); in computeOverlappingLoadSequence()
202 Offset += MaxLoadSize; in computeOverlappingLoadSequence()
206 assert(Size > 0 && Size < MaxLoadSize && "broken invariant"); in computeOverlappingLoadSequence()
207 LoadSequence.push_back({MaxLoadSize, Offset - (MaxLoadSize - Size)}); in computeOverlappingLoadSequence()
235 MaxLoadSize = LoadSizes.front(); in MemCmpExpansion()
248 Size, MaxLoadSize, Options.MaxNumLoads, OverlappingNumLoadsNonOneByte); in MemCmpExpansion()
392 : IntegerType::get(CI->getContext(), MaxLoadSize * 8); in getCompareLoadPairs()
483 Type *MaxLoadType = IntegerType::get(CI->getContext(), MaxLoadSize * 8); in emitLoadCompareBlock()
484 assert(CurLoadEntry.LoadSize <= MaxLoadSize && "Unexpected load type"); in emitLoadCompareBlock()
556 Type *MaxLoadType = IntegerType::get(CI->getContext(), MaxLoadSize * 8); in setupResultBlockPHINodes()