Lines Matching refs:LastEnd

23   uint64_t LastEnd = 0;  in checkValidLayout()  local
30 assert(Field.Offset >= LastEnd && in checkValidLayout()
32 LastEnd = Field.getEndOffset(); in checkValidLayout()
37 assert(LastEnd == Size && "didn't compute LastEnd correctly"); in checkValidLayout()
48 size_t LastEnd = 0; in performOptimizedStructLayout() local
54 assert(LastEnd <= Field.Offset && in performOptimizedStructLayout()
56 LastEnd = Field.getEndOffset(); in performOptimizedStructLayout()
57 assert(LastEnd > Field.Offset && in performOptimizedStructLayout()
133 uint64_t LastEnd = 0; in performOptimizedStructLayout() local
138 if (LastEnd != I->Offset) { in performOptimizedStructLayout()
142 LastEnd = I->getEndOffset(); in performOptimizedStructLayout()
152 auto Offset = alignTo(LastEnd, I->Alignment); in performOptimizedStructLayout()
153 if (LastEnd != Offset) { in performOptimizedStructLayout()
158 LastEnd = I->getEndOffset(); in performOptimizedStructLayout()
165 checkValidLayout(Fields, LastEnd, MaxAlign); in performOptimizedStructLayout()
167 return std::make_pair(LastEnd, MaxAlign); in performOptimizedStructLayout()
326 uint64_t LastEnd = 0; in performOptimizedStructLayout() local
332 assert(Offset == alignTo(LastEnd, Cur->Alignment)); in performOptimizedStructLayout()
340 LastEnd = Layout.back().getEndOffset(); in performOptimizedStructLayout()
352 assert(StartOffset == alignTo(LastEnd, Queue->Alignment)); in performOptimizedStructLayout()
377 assert(!BeforeOffset || LastEnd < *BeforeOffset); in performOptimizedStructLayout()
385 if (isAligned(FirstQueueToSearch->Alignment, LastEnd)) in performOptimizedStructLayout()
389 uint64_t Offset = LastEnd; in performOptimizedStructLayout()
412 Offset = alignTo(LastEnd, FirstQueueToSearch->Alignment); in performOptimizedStructLayout()
416 Offset == alignTo(LastEnd, FirstQueueToSearch[-1].Alignment)) in performOptimizedStructLayout()
424 assert(LastEnd <= I->Offset); in performOptimizedStructLayout()
425 while (LastEnd != I->Offset) { in performOptimizedStructLayout()
430 LastEnd = I->getEndOffset(); in performOptimizedStructLayout()
452 checkValidLayout(Fields, LastEnd, MaxAlign); in performOptimizedStructLayout()
455 return std::make_pair(LastEnd, MaxAlign); in performOptimizedStructLayout()