• Home
  • Raw
  • Download

Lines Matching refs:Alignment

27     assert(isAligned(Field.Alignment, Field.Offset) &&  in checkValidLayout()
32 assert(Field.Alignment <= MaxAlign && in checkValidLayout()
34 ComputedMaxAlign = std::max(Field.Alignment, MaxAlign); in checkValidLayout()
71 MaxAlign = std::max(MaxAlign, FirstFlexible->Alignment); in performOptimizedStructLayout()
96 MaxAlign = std::max(MaxAlign, I->Alignment); in performOptimizedStructLayout()
108 if (lhs->Alignment != rhs->Alignment) in performOptimizedStructLayout()
109 return (lhs->Alignment < rhs->Alignment ? 1 : -1); in performOptimizedStructLayout()
151 auto Offset = alignTo(LastEnd, I->Alignment); in performOptimizedStructLayout()
247 Align Alignment; in performOptimizedStructLayout() member
256 auto Alignment = I->Alignment; in performOptimizedStructLayout() local
260 for (++I; I != E && I->Alignment == Alignment; ++I) { in performOptimizedStructLayout()
267 FlexibleFieldsByAlignment.push_back({MinSize, Head, Alignment}); in performOptimizedStructLayout()
276 assert((FirstQueue || Queue.Alignment < LastQueueAlignment) && in performOptimizedStructLayout()
278 LastQueueAlignment = Queue.Alignment; in performOptimizedStructLayout()
284 assert(I->Alignment == Queue.Alignment && "bad field in queue"); in performOptimizedStructLayout()
331 assert(Offset == alignTo(LastEnd, Cur->Alignment)); in performOptimizedStructLayout()
352 assert(StartOffset == alignTo(LastEnd, Queue->Alignment)); in performOptimizedStructLayout()
382 if (isAligned(FirstQueueToSearch->Alignment, LastEnd)) in performOptimizedStructLayout()
408 Offset = alignTo(LastEnd, FirstQueueToSearch->Alignment); in performOptimizedStructLayout()
410 Offset == alignTo(LastEnd, FirstQueueToSearch[-1].Alignment)) in performOptimizedStructLayout()