Lines Matching refs:Alignment

28     assert(isAligned(Field.Alignment, Field.Offset) &&  in checkValidLayout()
33 assert(Field.Alignment <= MaxAlign && in checkValidLayout()
35 ComputedMaxAlign = std::max(Field.Alignment, MaxAlign); in checkValidLayout()
72 MaxAlign = std::max(MaxAlign, FirstFlexible->Alignment); in performOptimizedStructLayout()
97 MaxAlign = std::max(MaxAlign, I->Alignment); in performOptimizedStructLayout()
109 if (lhs->Alignment != rhs->Alignment) in performOptimizedStructLayout()
110 return (lhs->Alignment < rhs->Alignment ? 1 : -1); in performOptimizedStructLayout()
152 auto Offset = alignTo(LastEnd, I->Alignment); in performOptimizedStructLayout()
248 Align Alignment; in performOptimizedStructLayout() member
257 auto Alignment = I->Alignment; in performOptimizedStructLayout() local
261 for (++I; I != E && I->Alignment == Alignment; ++I) { in performOptimizedStructLayout()
268 FlexibleFieldsByAlignment.push_back({MinSize, Head, Alignment}); in performOptimizedStructLayout()
277 assert((FirstQueue || Queue.Alignment < LastQueueAlignment) && in performOptimizedStructLayout()
279 LastQueueAlignment = Queue.Alignment; in performOptimizedStructLayout()
285 assert(I->Alignment == Queue.Alignment && "bad field in queue"); in performOptimizedStructLayout()
332 assert(Offset == alignTo(LastEnd, Cur->Alignment)); in performOptimizedStructLayout()
352 assert(StartOffset == alignTo(LastEnd, Queue->Alignment)); in performOptimizedStructLayout()
385 if (isAligned(FirstQueueToSearch->Alignment, LastEnd)) in performOptimizedStructLayout()
412 Offset = alignTo(LastEnd, FirstQueueToSearch->Alignment); in performOptimizedStructLayout()
416 Offset == alignTo(LastEnd, FirstQueueToSearch[-1].Alignment)) in performOptimizedStructLayout()