Lines Matching refs:Fields
20 static void checkValidLayout(ArrayRef<Field> Fields, uint64_t Size, in checkValidLayout() argument
24 for (auto &Field : Fields) { in checkValidLayout()
42 llvm::performOptimizedStructLayout(MutableArrayRef<Field> Fields) { in performOptimizedStructLayout() argument
48 for (auto &Field : Fields) { in performOptimizedStructLayout()
69 auto FirstFlexible = Fields.begin(), E = Fields.end(); in performOptimizedStructLayout()
78 if (!Fields.empty()) in performOptimizedStructLayout()
79 Size = Fields.back().getEndOffset(); in performOptimizedStructLayout()
82 checkValidLayout(Fields, Size, MaxAlign); in performOptimizedStructLayout()
135 for (auto I = Fields.begin(); I != FirstFlexible; ++I) { in performOptimizedStructLayout()
164 checkValidLayout(Fields, LastEnd, MaxAlign); in performOptimizedStructLayout()
322 Layout.reserve(Fields.size()); in performOptimizedStructLayout()
417 for (auto I = Fields.begin(); I != FirstFlexible; ++I) { in performOptimizedStructLayout()
439 assert(Layout.size() == Fields.size()); in performOptimizedStructLayout()
440 memcpy(Fields.data(), Layout.data(), in performOptimizedStructLayout()
441 Fields.size() * sizeof(OptimizedStructLayoutField)); in performOptimizedStructLayout()
445 checkValidLayout(Fields, LastEnd, MaxAlign); in performOptimizedStructLayout()