Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Make -fdump-vtable-layouts also dump vtable indices for all virtual member ↵ | Anders Carlsson | 2011-04-10 | 1 | -0/+42 | |
| | | | | | | functions in the class. llvm-svn: 129250 | |||||
* | [Reapply r128776, modified so that it does not break debug info.] | Ken Dyck | 2011-04-07 | 1 | -5/+6 | |
| | | | | | | | Change the return type of CodeGenVTables::getVirtualBaseOffsetOffset() to CharUnits. No change in functionality intended. llvm-svn: 129072 | |||||
* | [Reapply r128773. This is not the source of the issues Devang was seeing | Ken Dyck | 2011-04-07 | 1 | -4/+4 | |
| | | | | | | | | | with debug info.] Use CharUnits for the offsets in the VirtualBaseClassOffsetOffsetsMapTy. No change in functionality intended. llvm-svn: 129048 | |||||
* | [Reapply r128771. It wasn't the source of the issues Devang saw with debug | Ken Dyck | 2011-04-07 | 1 | -4/+4 | |
| | | | | | | | | | info.] Use CharUnits for the offset type in the ClassNamesAndOffsets map in dumpLayout(). No change in functionality intended. llvm-svn: 129046 | |||||
* | Reapply r128770. It's not the cause of the issues Devang saw with debug info. | Ken Dyck | 2011-04-07 | 1 | -8/+11 | |
| | | | | | | | Use CharUnits for the offsets in the VBaseOffsetOffsetsMapTy types. No change in functionality intended. llvm-svn: 129043 | |||||
* | Revert r128770, r128771, r128773 and r128776 for now. It breaks debug info. | Devang Patel | 2011-04-04 | 1 | -18/+14 | |
| | | | | llvm-svn: 128842 | |||||
* | Change the return type of CodeGenVTables::getVirtualBaseOffsetOffset() to | Ken Dyck | 2011-04-02 | 1 | -5/+6 | |
| | | | | | | CharUnits. No change in functionality intended. llvm-svn: 128776 | |||||
* | Use CharUnits for the offsets in the VirtualBaseClassOffsetOffsetsMapTy. No | Ken Dyck | 2011-04-02 | 1 | -4/+4 | |
| | | | | | | change in functionality intended. llvm-svn: 128773 | |||||
* | Use CharUnits for the offset type in the ClassNamesAndOffsets map in | Ken Dyck | 2011-04-02 | 1 | -4/+4 | |
| | | | | | | dumpLayout(). No change in functionality intended. llvm-svn: 128771 | |||||
* | Use CharUnits for the offsets in the VBaseOffsetOffsetsMapTy types. No | Ken Dyck | 2011-04-02 | 1 | -8/+11 | |
| | | | | | | change in functionality intended. llvm-svn: 128770 | |||||
* | Convert BaseOffset::NonVirtualOffset to CharUnits. No change in | Ken Dyck | 2011-04-02 | 1 | -12/+12 | |
| | | | | | | functionality intended. llvm-svn: 128756 | |||||
* | Convert offset parameters and return values of VTableComponent methods to | Ken Dyck | 2011-04-02 | 1 | -20/+29 | |
| | | | | | | CharUnits. No change in functionality intended. llvm-svn: 128754 | |||||
* | Convert the offsets in VCallOffsetMap to CharUnits. No change in | Ken Dyck | 2011-04-02 | 1 | -8/+9 | |
| | | | | | | functionality intended. llvm-svn: 128753 | |||||
* | Convert offset parameters of VTableBuilder::IsOverriderUsed() to CharUnits. | Ken Dyck | 2011-04-02 | 1 | -7/+7 | |
| | | | | | | No change in functionality intended. llvm-svn: 128752 | |||||
* | Convert the return value of | Ken Dyck | 2011-03-31 | 1 | -11/+11 | |
| | | | | | | | VCallAndVBaseOffsetBuilder::getCurrentOffsetOffset() to CharUnits. No change in functionality intended. llvm-svn: 128603 | |||||
* | Convert the OffsetInLayoutClass parameter of | Ken Dyck | 2011-03-31 | 1 | -9/+10 | |
| | | | | | | | VCallAndVBaseOffsetBuilder::AddVBaseOffsets() to CharUnits. No change in functionality intended. llvm-svn: 128600 | |||||
* | Convert the OffsetInLayoutClass of the VCallAndVBaseOffsetBuilder | Ken Dyck | 2011-03-31 | 1 | -6/+6 | |
| | | | | | | constructor to CharUnits. No change in functionality intended. llvm-svn: 128598 | |||||
* | Convert the RealBaseOffset parameter of | Ken Dyck | 2011-03-31 | 1 | -5/+6 | |
| | | | | | | | VCallAndVBaseOffsetBuilder::AddVCallAndVBaseOffsets() to CharUnits. No change in functionality intended. llvm-svn: 128596 | |||||
* | Remove PHINode::reserveOperandSpace(). Instead, add a parameter to | Jay Foad | 2011-03-30 | 1 | -2/+1 | |
| | | | | | | PHINode::Create() giving the (known or expected) number of operands. llvm-svn: 128538 | |||||
* | Convert the offset parameter of | Ken Dyck | 2011-03-30 | 1 | -4/+4 | |
| | | | | | | | VCallAndVBaseOffsetBuilder::AddVCallOffsets() to CharUnits. No change in functionality intended. llvm-svn: 128531 | |||||
* | Convert local offset variable to CharUnits in AddVCallOffsets. No change in | Ken Dyck | 2011-03-30 | 1 | -4/+4 | |
| | | | | | | functionality intended. llvm-svn: 128522 | |||||
* | Convert a local offset variable to CharUnits. No change in functionality | Ken Dyck | 2011-03-30 | 1 | -3/+3 | |
| | | | | | | intended. llvm-svn: 128521 | |||||
* | Convert the OffsetInLayoutClass parameter of DeterminePrimaryVirtualBases() | Ken Dyck | 2011-03-30 | 1 | -9/+9 | |
| | | | | | | to CharUnits. No change in functionality intended. llvm-svn: 128520 | |||||
* | Convert the OffsetInLayoutClass parameter of LayoutSecondaryVTables to | Ken Dyck | 2011-03-30 | 1 | -8/+6 | |
| | | | | | | CharUnits. No change in functionality intended. llvm-svn: 128516 | |||||
* | Convert offset parameter in LayoutPrimaryAndSecondaryVTables() to CharUnits. | Ken Dyck | 2011-03-27 | 1 | -16/+16 | |
| | | | | | | No change in functionality intended. llvm-svn: 128393 | |||||
* | Convert VTableBuilder::MostDerivedClassOffset to CharUnits. No change in | Ken Dyck | 2011-03-27 | 1 | -16/+15 | |
| | | | | | | functionality intended. llvm-svn: 128392 | |||||
* | Convert FinalOverriders::MostDerivedClassOffset to CharUnits. No change in | Ken Dyck | 2011-03-27 | 1 | -5/+8 | |
| | | | | | | functionality intended. llvm-svn: 128391 | |||||
* | Remove a fixed FIXME comment (the base offset has already been converted to | Ken Dyck | 2011-03-27 | 1 | -1/+0 | |
| | | | | | | CharUnits). llvm-svn: 128386 | |||||
* | Convert the offset parameters of AddMethods() to CharUnits. No change in | Ken Dyck | 2011-03-27 | 1 | -17/+15 | |
| | | | | | | functionality intended. llvm-svn: 128385 | |||||
* | Convert the BaseOffsetInLayoutClass parameter of ComputeThisAdjustment() to | Ken Dyck | 2011-03-27 | 1 | -9/+8 | |
| | | | | | | CharUnits. No change in functionality intended. llvm-svn: 128384 | |||||
* | Convert offset members in MethodInfo to CharUnits. No change in | Ken Dyck | 2011-03-27 | 1 | -14/+17 | |
| | | | | | | functionality intended. llvm-svn: 128383 | |||||
* | We were emitting construction v-tables with internal linkage all the time. | John McCall | 2011-03-27 | 1 | -2/+6 | |
| | | | | | | | | | | | | | | | Emit them instead with the linkage of the VTT. I'm actually really ambivalent about this; it's what GCC does, but outside of improving code size (if the linkage is coalescing), I'm not sure it's at all relevant. Construction vtables are naturally referenced only by the VTT, which is itself only referenced by complete-object constructors and destructors; giving the construction vtables possibly-external linkage is important if you have an optimization that drills through the VTT to a reference to a particular construction vtable which it cannot just emit itself. llvm-svn: 128374 | |||||
* | On Mac OS X, the presence of an 'availability' attribute for that | Douglas Gregor | 2011-03-26 | 1 | -1/+1 | |
| | | | | | | | | | platform implies default visibility. To achieve these, refactor our lookup of explicit visibility so that we search for both an explicit VisibilityAttr and an appropriate AvailabilityAttr, favoring the VisibilityAttr if it is present. llvm-svn: 128336 | |||||
* | Convert the OffsetInLayoutClass parameter of | Ken Dyck | 2011-03-26 | 1 | -8/+8 | |
| | | | | | | | FinalOverriders::ComputeBaseOffsets() to CharUnits. No change in functionality intended. llvm-svn: 128323 | |||||
* | Convert FinalOverriders::Offset to CharUnits. No change in functionality | Ken Dyck | 2011-03-26 | 1 | -8/+8 | |
| | | | | | | intended. llvm-svn: 128321 | |||||
* | Convert offset in MethodBaseOffsetPairTy to CharUnits. No change in | Ken Dyck | 2011-03-26 | 1 | -9/+8 | |
| | | | | | | functionality intended. llvm-svn: 128318 | |||||
* | Convert the offsets in SubobjectOffsetMapTy to CharUnits. No change in | Ken Dyck | 2011-03-26 | 1 | -8/+8 | |
| | | | | | | functionality intended. llvm-svn: 128317 | |||||
* | Convert several local variables to CharUnits. No change in functionality | Ken Dyck | 2011-03-26 | 1 | -45/+39 | |
| | | | | | | intended. llvm-svn: 128315 | |||||
* | Convert the BaseOffset member of BaseSubobject to CharUnits from bits. No | Ken Dyck | 2011-03-24 | 1 | -51/+74 | |
| | | | | | | change in functionality intended. llvm-svn: 128190 | |||||
* | Use a slightly more semantic interface for emitting call arguments. | John McCall | 2011-03-11 | 1 | -5/+2 | |
| | | | | llvm-svn: 127494 | |||||
* | Tame this assert, hopefully fixing self-host. | John McCall | 2011-03-09 | 1 | -1/+20 | |
| | | | | llvm-svn: 127319 | |||||
* | Use the "undergoes default argument promotion" bit on parameters to | John McCall | 2011-03-09 | 1 | -8/+15 | |
| | | | | | | | | | | simplify the logic of initializing function parameters so that we don't need both a variable declaration and a type in FunctionArgList. This also means that we need to propagate the CGFunctionInfo down in a lot of places rather than recalculating it from the FAL. There's more we can do to eliminate redundancy here, and I've left FIXMEs behind to do it. llvm-svn: 127314 | |||||
* | Revert "Add CC_Win64ThisCall and set it in the necessary places." | Tilmann Scheller | 2011-03-02 | 1 | -12/+4 | |
| | | | | | | This reverts commit 126863. llvm-svn: 126886 | |||||
* | Revert "Add preliminary support for MSVC-style vtables." | Tilmann Scheller | 2011-03-02 | 1 | -61/+2 | |
| | | | | | | This reverts commit 126865. llvm-svn: 126876 | |||||
* | Add preliminary support for MSVC-style vtables. | Tilmann Scheller | 2011-03-02 | 1 | -2/+61 | |
| | | | | llvm-svn: 126865 | |||||
* | Add CC_Win64ThisCall and set it in the necessary places. | Tilmann Scheller | 2011-03-02 | 1 | -4/+12 | |
| | | | | llvm-svn: 126863 | |||||
* | For consistency, use llvm::raw_ostream in the rest of the mangle api. | Rafael Espindola | 2011-02-11 | 1 | -5/+11 | |
| | | | | llvm-svn: 125360 | |||||
* | Reorganize CodeGen{Function,Module} to eliminate the unfortunate | John McCall | 2011-02-08 | 1 | -1/+1 | |
| | | | | | | | | Block{Function,Module} base class. Minor other refactorings. Fixed a few address-space bugs while I was there. llvm-svn: 125085 | |||||
* | Fix self-host; if a thunk already exists and has available_externally ↵ | Anders Carlsson | 2011-02-06 | 1 | -2/+7 | |
| | | | | | | linkage, we should change its linkage instead of asserting. llvm-svn: 124986 | |||||
* | When building with optimizations, emit thunks with available_externally ↵ | Anders Carlsson | 2011-02-06 | 1 | -4/+34 | |
| | | | | | | linkage so devirtualized function calls can also be de-thunked. llvm-svn: 124984 |