- Feb 15, 2011
-
-
John McCall authored
a zero constant for a complete class. rdar://problem/8424975 To make this happen, track the field indexes for virtual bases in the complete object. I'm curious whether we might be better off making CGRecordLayoutBuilder *much* more reliant on ASTRecordLayout; we're currently duplicating an awful lot of the ABI layout logic. llvm-svn: 125555
-
Ken Dyck authored
functionality intended. llvm-svn: 125549
-
Chris Lattner authored
llvm-svn: 125538
-
- Feb 14, 2011
-
-
Chris Lattner authored
builders unhappy. llvm-svn: 125505
-
Chris Lattner authored
llvm-svn: 125488
-
Peter Collingbourne authored
FP_CONTRACT pragmas. Patch originally by ARM. llvm-svn: 125475
-
- Feb 13, 2011
-
-
John McCall authored
Stmt::const_child_range, then make a bunch of places use them instead of the individual iterator accessors. llvm-svn: 125450
-
John McCall authored
destruction in the destructor-aliases logic. Fixes PR 9197. llvm-svn: 125447
-
- Feb 12, 2011
-
-
Jeffrey Yasskin authored
I also sorted the tools/driver dependencies since their order no longer matters. llvm-svn: 125417
-
- Feb 11, 2011
-
-
Rafael Espindola authored
llvm-svn: 125360
-
Ken Dyck authored
unnecessary calls to RoundUpToAlignment. No changes to functionality intended. llvm-svn: 125356
-
Ken Dyck authored
CharUnits to sizes in bits, and use it to tidy up the places where the conversion was done explicitly. llvm-svn: 125332
-
Rafael Espindola authored
llvm-svn: 125321
-
- Feb 10, 2011
-
-
Daniel Dunbar authored
llvm-svn: 125293
-
Daniel Dunbar authored
llvm-svn: 125289
-
Roman Divacky authored
llvm-svn: 125282
-
Ken Dyck authored
character units. llvm-svn: 125281
-
Ken Dyck authored
r125156. llvm-svn: 125280
-
NAKAMURA Takumi authored
llvm-svn: 125275
-
Devang Patel authored
llvm-svn: 125249
-
- Feb 09, 2011
-
-
Devang Patel authored
llvm-svn: 125210
-
Daniel Dunbar authored
llvm-svn: 125201
-
John McCall authored
there were only three virtual methods of any significance. The primary way to grab child iterators now is with Stmt::child_range children(); Stmt::const_child_range children() const; where a child_range is just a std::pair of iterators suitable for being llvm::tie'd to some locals. I've left the old child_begin() and child_end() accessors in place, but it's probably a substantial penalty to grab the iterators individually now, since the switch-based dispatch is kindof inherently slower than vtable dispatch. Grabbing them together is probably a slight win over the status quo, although of course we could've achieved that with vtables, too. I also reclassified SwitchCase (correctly) as an abstract Stmt class, which (as the first such class that wasn't an Expr subclass) required some fiddling in a few places. There are somewhat gross metaprogramming hooks in place to ensure that new statements/expressions continue to implement getSourceRange() and children(). I had to work around a recent clang bug; dgregor actually fixed it already, but I didn't want to introduce a selfhosting dependency on ToT. llvm-svn: 125183
-
Devang Patel authored
llvm-svn: 125163
-
Douglas Gregor authored
and we later find the definition, make sure that we add the definition (not the declaration) to the list of deferred definitions to emit. Fixes PR8864. Thanks to Nick Lewycky for testing this patch out llvm-svn: 125157
-
Ken Dyck authored
functionality intended. llvm-svn: 125156
-
Devang Patel authored
destructor or copy constructor than let debug info know about it. Radar 8945514. llvm-svn: 125142
-
- Feb 08, 2011
-
-
Fariborz Jahanian authored
setter and getter types mismatch. // rdar://8966864 llvm-svn: 125125
-
John McCall authored
Block{Function,Module} base class. Minor other refactorings. Fixed a few address-space bugs while I was there. llvm-svn: 125085
-
John McCall authored
mutable fields and with trivial destructors and copy constructors. llvm-svn: 125073
-
Ken Dyck authored
functionality intended. llvm-svn: 125069
-
- Feb 07, 2011
-
-
John McCall authored
llvm-svn: 125021
-
John McCall authored
- BlockDeclRefExprs always store VarDecls - BDREs no longer store copy expressions - BlockDecls now store a list of captured variables, information about how they're captured, and a copy expression if necessary With that in hand, change IR generation to use the captures data in blocks instead of walking the block independently. Additionally, optimize block layout by emitting fields in descending alignment order, with a heuristic for filling in words when alignment of the end of the block header is insufficient for the most aligned field. llvm-svn: 125005
-
Anton Yartsev authored
llvm-svn: 125000
-
- Feb 06, 2011
-
-
Anders Carlsson authored
Fix self-host; if a thunk already exists and has available_externally linkage, we should change its linkage instead of asserting. llvm-svn: 124986
-
Anders Carlsson authored
When building with optimizations, emit thunks with available_externally linkage so devirtualized function calls can also be de-thunked. llvm-svn: 124984
-
Anders Carlsson authored
llvm-svn: 124983
-
- Feb 05, 2011
-
-
Anders Carlsson authored
won't assert when building a thunk for an implicit virtual member function that is not marked used. llvm-svn: 124967
-
Anders Carlsson authored
We now emit everything except unused implicit virtual member functions when building the vtable. llvm-svn: 124935
-
- Feb 04, 2011
-
-
Fariborz Jahanian authored
llvm-svn: 124837
-