Lines Matching refs:LastEnd
22 uint64_t LastEnd = 0; in checkValidLayout() local
29 assert(Field.Offset >= LastEnd && in checkValidLayout()
31 LastEnd = Field.getEndOffset(); in checkValidLayout()
36 assert(LastEnd == Size && "didn't compute LastEnd correctly"); in checkValidLayout()
47 size_t LastEnd = 0; in performOptimizedStructLayout() local
53 assert(LastEnd <= Field.Offset && in performOptimizedStructLayout()
55 LastEnd = Field.getEndOffset(); in performOptimizedStructLayout()
56 assert(LastEnd > Field.Offset && in performOptimizedStructLayout()
132 uint64_t LastEnd = 0; in performOptimizedStructLayout() local
137 if (LastEnd != I->Offset) { in performOptimizedStructLayout()
141 LastEnd = I->getEndOffset(); in performOptimizedStructLayout()
151 auto Offset = alignTo(LastEnd, I->Alignment); in performOptimizedStructLayout()
152 if (LastEnd != Offset) { in performOptimizedStructLayout()
157 LastEnd = I->getEndOffset(); in performOptimizedStructLayout()
164 checkValidLayout(Fields, LastEnd, MaxAlign); in performOptimizedStructLayout()
166 return std::make_pair(LastEnd, MaxAlign); in performOptimizedStructLayout()
325 uint64_t LastEnd = 0; in performOptimizedStructLayout() local
331 assert(Offset == alignTo(LastEnd, Cur->Alignment)); in performOptimizedStructLayout()
339 LastEnd = Layout.back().getEndOffset(); in performOptimizedStructLayout()
352 assert(StartOffset == alignTo(LastEnd, Queue->Alignment)); in performOptimizedStructLayout()
382 if (isAligned(FirstQueueToSearch->Alignment, LastEnd)) in performOptimizedStructLayout()
386 uint64_t Offset = LastEnd; in performOptimizedStructLayout()
408 Offset = alignTo(LastEnd, FirstQueueToSearch->Alignment); in performOptimizedStructLayout()
410 Offset == alignTo(LastEnd, FirstQueueToSearch[-1].Alignment)) in performOptimizedStructLayout()
418 while (LastEnd != I->Offset) { in performOptimizedStructLayout()
423 LastEnd = I->getEndOffset(); in performOptimizedStructLayout()
445 checkValidLayout(Fields, LastEnd, MaxAlign); in performOptimizedStructLayout()
448 return std::make_pair(LastEnd, MaxAlign); in performOptimizedStructLayout()