summaryrefslogtreecommitdiff
path: root/lib/CodeGen/CGRecordLayoutBuilder.cpp
Commit message (Collapse)AuthorAge
...
* More CGRecordLayoutBuilder cleanup.Anders Carlsson2009-07-28
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@77335 91177308-0d34-0410-b5e6-96231b3b80d8
* Some minor changes toward support of dataFariborz Jahanian2009-07-27
| | | | | | | member access in the presense of non-virtual bases. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@77246 91177308-0d34-0410-b5e6-96231b3b80d8
* Enable the new struct type builder now that the constant struct builder ↵Anders Carlsson2009-07-27
| | | | | | works. (The old code will still be there until we know that everything works well. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@77190 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix a tail padding bug in the record layout builder code. The bug was found ↵Anders Carlsson2009-07-27
| | | | | | by an existing test. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@77189 91177308-0d34-0410-b5e6-96231b3b80d8
* Check in a half finished new constant struct builder (Obviously not used yet).Anders Carlsson2009-07-24
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@76969 91177308-0d34-0410-b5e6-96231b3b80d8
* Get rid of the size parameter to AppendField. No functionality change.Anders Carlsson2009-07-24
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@76931 91177308-0d34-0410-b5e6-96231b3b80d8
* Don't just store the field/bit field info one field, do it for all fields in ↵Anders Carlsson2009-07-23
| | | | | | the union. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@76907 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix another thinko.Anders Carlsson2009-07-23
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@76903 91177308-0d34-0410-b5e6-96231b3b80d8
* Correct a thinko in bitfield layout code. Fixes PR4611.Anders Carlsson2009-07-23
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@76898 91177308-0d34-0410-b5e6-96231b3b80d8
* We don't need to keep track of the packed alignment, just whether the struct ↵Anders Carlsson2009-07-23
| | | | | | is packed or not. Fixes PR4610. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@76884 91177308-0d34-0410-b5e6-96231b3b80d8
* Move the LLVM field number for bit fields into the BitFieldInfo structure, ↵Anders Carlsson2009-07-23
| | | | | | since it's meaning is completely different than for non-bit fields. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@76882 91177308-0d34-0410-b5e6-96231b3b80d8
* Set field info for unions.Anders Carlsson2009-07-23
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@76856 91177308-0d34-0410-b5e6-96231b3b80d8
* Handle zero width bit fields in unions correctly (by ignoring them).Anders Carlsson2009-07-23
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@76847 91177308-0d34-0410-b5e6-96231b3b80d8
* Implement union layout support.Anders Carlsson2009-07-23
| | | | git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@76846 91177308-0d34-0410-b5e6-96231b3b80d8
* Check in CGRecordLayoutBuilder which is a reimplementation of the record ↵Anders Carlsson2009-07-23
layout code. (Yay, no more packed structs unless absolutely necessary). We currently don't use the layouts being built but that will change when the new code is mature enough :) git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@76845 91177308-0d34-0410-b5e6-96231b3b80d8