Lines Matching defs:layout
85 /// natural layout), but need not. Gaps between elements are implicitly
96 /// non-packed LLVM struct will give the correct layout.
147 // Common case: appending to a layout.
382 // Drop undef; it doesn't contribute to the final layout.
466 // The natural layout would be too big; force use of a packed layout.
470 // The natural layout would be too small. Add padding to fix it. (This
471 // is ignored if we choose a packed layout.)
477 // If we don't have a natural layout, insert padding as necessary.
496 // If we're using the packed layout, pad it out to the desired size if
509 // Pick the type to use. If the type is layout identical to the desired
551 /*known to have natural layout=*/false, DesiredTy, false);
2508 const CGRecordLayout &layout = CGM.getTypes().getCGRecordLayout(record);
2510 (asCompleteObject ? layout.getLLVMType()
2511 : layout.getBaseSubobjectLLVMType());
2537 unsigned fieldIndex = layout.getNonVirtualBaseLLVMFieldNo(base);
2549 unsigned fieldIndex = layout.getLLVMFieldNo(Field);
2573 unsigned fieldIndex = layout.getVirtualBaseIndex(base);