Home | History | Annotate | Download | only in CodeGen

Lines Matching refs:Packed

79   /// Packed - Whether the resulting LLVM struct will be packed or not.
80 bool Packed;
119 /// Returns false if the operation failed because the struct is not packed.
152 /// because the current struct is not packed.
196 Packed(false), IsMsStruct(false),
207 Packed = D->hasAttr<PackedAttr>();
219 // We weren't able to layout the struct. Try again with a packed struct
220 Packed = true;
302 // the end of the structure. This can occur with packed structures and
426 // If the field is packed, then we need a packed struct.
427 if (!Packed && D->hasAttr<PackedAttr>())
431 // We must use packed structs for unnamed bit fields since they
433 if (!Packed && !D->getDeclName())
451 // a packed struct.
453 assert(!Packed && "Alignment is wrong even with packed struct!");
457 if (!Packed) {
481 assert(!Packed && "Could not place field even with packed struct!");
573 // We need a packed struct.
574 Packed = true;
777 assert(!Packed && "cannot layout even as packed struct");
788 FieldTypes, "", Packed);
826 assert(!Packed &&
827 "Could not layout fields even with a packed LLVM struct!");
836 assert(!Packed && "Could not layout even with a packed LLVM struct!");
897 // If we're not emitting a packed LLVM type, try to avoid adding
899 if (!Packed) {
951 if (Packed)
958 if (Packed)
997 Ty->setBody(Builder.FieldTypes, Builder.Packed);