aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/CGRecordLayoutBuilder.cpp
AgeCommit message (Expand)Author
2011-04-27Some refactoring of my ms_struct patch.Fariborz Jahanian
2011-04-26With ms_struct attribut, Zero-length bitfields following Fariborz Jahanian
2011-04-24Simplify AppendTailPadding() by converting its parameter to CharUnits. NoKen Dyck
2011-04-24Eliminate literal 8s from LayoutUnionField by converting NumBytesToAppend toKen Dyck
2011-04-24Eliminate literal 8s from LayoutBitField(), converting variables toKen Dyck
2011-04-24Convert AccessInfo::AccessAlignment to CharUnits. No change in functionalityKen Dyck
2011-04-24Convert CGBitFieldInfo::FieldByteOffset to CharUnits. No change inKen Dyck
2011-04-17When laying out bases in, always try the "base subobject" LLVM type. If itAnders Carlsson
2011-04-17Use a SmallVector for field types in CGRecordLayoutBuilder now that llvm::Str...Anders Carlsson
2011-03-22Fix typo in comment.Nick Lewycky
2011-02-26A much-delayed response to Ken Dyck's review: make this somewhat moreJohn McCall
2011-02-17improve support for big endian targets, fixing PR8171, patchChris Lattner
2011-02-15Refactor CGRecordLayoutBuilder to use CharUnits more consistently.John McCall
2011-02-15Perform zero-initialization of virtual base classes when emitting John McCall
2011-02-15Convert RecordLayout::Alignment to CharUnits from bit units. No change inKen Dyck
2011-02-11Add a helper function, ASTContext::toBits(), that converts sizes inKen Dyck
2011-02-10Drop the 'InBits' part from the name of RecordSizeInBits as the value is inKen Dyck
2011-02-10Eliminate some signed-to-unsigned comparision warnings introduced inKen Dyck
2011-02-09Convert RecordLayout::Size to CharUnits from bits. No changes toKen Dyck
2011-02-08Convert RecordLayout::NonVirtualAlign to CharUnits. No change inKen Dyck
2011-02-01Convert RecordLayout::NonVirtualSize from bit units to CharUnits.Ken Dyck
2010-12-10Fix another obscure corner layout case.Argyrios Kyrtzidis
2010-12-04Add a LayoutBase member function. No functionality change.Anders Carlsson
2010-12-04Replace calls to AppendBytes with calls to AppendPadding when the bytes appen...Anders Carlsson
2010-11-30CGRecordLayoutBuilder does not need to be exported from this module.John McCall
2010-11-28Don't store the maximum alignment, we can trivially compute it.Anders Carlsson
2010-11-28More work on laying out virtual bases.Anders Carlsson
2010-11-25Begin work on actually laying out virtual bases.Anders Carlsson
2010-11-24Rename RecordLayout::getPrimaryBaseWasVirtual to isPrimaryBaseVirtual.Anders Carlsson
2010-11-24Add CXXRecordDecl::getIndirectPrimaryBases.Anders Carlsson
2010-11-24Simplify code.Anders Carlsson
2010-11-24CGRecordLayout types are always struct types.Anders Carlsson
2010-11-22Remove FIXME; we don't ever want to lay out empty bases.Anders Carlsson
2010-11-21Rename BaseLLVMType to NonVirtualBaseLLVMType.Anders Carlsson
2010-11-21Add getCGRecordLayout helper function. No functionality change.Anders Carlsson
2010-11-09Remove debugging printf.Nick Lewycky
2010-11-09Introduce the concept of a non-virtual base type to CGRecordLayoutBuilder as ...Anders Carlsson
2010-10-31Rename getBaseClassOffset to getBaseClassOffsetInBits and introduce a getBase...Anders Carlsson
2010-09-02IRgen: Move CGBitFieldInfo strategy computation helpers to static memberDaniel Dunbar
2010-08-22Go back to asking CodeGenTypes whether a type is zero-initializable.John McCall
2010-05-27AST: Rename PragmaPackAttr to MaxFieldAlignmentAttr, which is more accurate.Daniel Dunbar
2010-05-18Correctly initialize bases with member pointers. This should fix PR6441 but t...Anders Carlsson
2010-05-18Keep track of the LLVM field numbers for non-virtual bases.Anders Carlsson
2010-05-18Start laying out bases as individual fields. We still use ugly i8 arrays but ...Anders Carlsson
2010-05-05Use a more appropriate LLVM type for the vtable pointer.Anders Carlsson
2010-04-22IRgen: Fix another case where we generated an invalid access component when weDaniel Dunbar
2010-04-22IRgen: Fix case where we might generate an access component with width == 0, ifDaniel Dunbar
2010-04-22IRgen: Set alignment correctly on bit-field accesses.Daniel Dunbar
2010-04-22IRgen: Rewrite bit-field access policy to not access data beyond the bounds o...Daniel Dunbar
2010-04-22IRgen: Fix CGRecordLayout::print to print the bit-field infos in a consistent...Daniel Dunbar