- Nov 06, 2009
-
-
Chris Lattner authored
llvm-svn: 86256
-
Anders Carlsson authored
If a member variable of reference type is bound to a temporary in its member initializer it needs to be destroyed at the end of the constructor. llvm-svn: 86230
-
Anders Carlsson authored
llvm-svn: 86222
-
- Nov 04, 2009
-
-
Fariborz Jahanian authored
of array objects on block exit. Patch is by Anders Calrsson. llvm-svn: 86032
-
- Oct 29, 2009
-
-
Chris Lattner authored
using the new LLVM support for this. This is temporarily hiding behind horrible and ugly #ifdefs until the time when the optimizer is stable (hopefully a week or so). Until then, lets make it "opt in" :) llvm-svn: 85446
-
- Oct 28, 2009
-
-
Chris Lattner authored
llvm-svn: 85422
-
- Oct 23, 2009
-
-
Mike Stump authored
llvm-svn: 84922
-
- Oct 13, 2009
-
-
Chris Lattner authored
1. CGF now has fewer bytes of state (one pointer instead of a vector). 2. The generated code is determinstic, instead of getting labels in 'map order' based on pointer addresses. 3. Clang now emits one 'indirect goto switch' for each function, instead of one for each indirect goto. This fixes an M*N = N^2 IR size issue when there are lots of address-taken labels and lots of indirect gotos. 4. This also makes the default cause do something useful, reducing the size of the jump table needed (by one). llvm-svn: 83952
-
Chris Lattner authored
for a null pointer. In other words, "&&foo != NULL" will always work out to true. llvm-svn: 83948
-
Chris Lattner authored
more places in clang codegen now. llvm-svn: 83947
-
- Oct 06, 2009
-
-
Anders Carlsson authored
Emit the destructor epilogue in a cleanup block so a return from a destructor body still calls the epilogue. llvm-svn: 83397
-
- Oct 01, 2009
-
-
Douglas Gregor authored
functions when they are explicitly declared, e.g., via a function template specialization or explicit template instantiation declaration. Don't try to synthesize bodies for the special member functions in this case; rather, check whether we have an implicit declaration and, if so, synthesize the appropriate function body. Fixes PR5084. llvm-svn: 83212
-
- Sep 29, 2009
-
-
Anders Carlsson authored
llvm-svn: 83039
-
Anders Carlsson authored
llvm-svn: 83037
-
- Sep 25, 2009
-
-
Mike Stump authored
llvm-svn: 82782
-
- Sep 22, 2009
-
-
John McCall authored
Several of the existing methods were identical to their respective specializations, and so have been removed entirely. Several more 'leaf' optimizations were introduced. The getAsFoo() methods which imposed extra conditions, like getAsObjCInterfacePointerType(), have been left in place. llvm-svn: 82501
-
- Sep 14, 2009
-
-
Anders Carlsson authored
llvm-svn: 81759
-
- Sep 11, 2009
-
-
Anders Carlsson authored
llvm-svn: 81486
-
Anders Carlsson authored
llvm-svn: 81485
-
- Sep 09, 2009
-
-
Anders Carlsson authored
If a cast expression needs either a conversion function or a constructor to be called, generate implicit child expressions that call them. llvm-svn: 81383
-
Mike Stump authored
llvm-svn: 81346
-
- Aug 29, 2009
-
-
Fariborz Jahanian authored
[12.3.2-p3] llvm-svn: 80436
-
- Aug 27, 2009
-
-
Mike Stump authored
llvm-svn: 80163
-
- Aug 24, 2009
-
-
Anders Carlsson authored
llvm-svn: 79921
-
- Aug 17, 2009
-
-
Fariborz Jahanian authored
one is not provided by user. 2) More complete emission of ctor prologue when it has no initializer list or when it is synthesized. llvm-svn: 79269
-
- Aug 15, 2009
-
-
Eli Friedman authored
consistent model for handling size expressions for VLAs. The model is essentially as follows: VLA types own their associated expression. In some cases, we need to create multiple VLA types to represent a given VLA (for canonical types, or qualifiers on array types, or type merging). If we need to create multiple types based off of the same VLA declaration, we use the new refcounting functionality so they can all own the expression. The VLASizeMap in CodeGenFunction then uses the size expression to identify the group of VLA types based off of the same original declaration. I'm not particularly attached to the VLA types owning the expression, but we're stuck with at least until someone comes up with a way to walk the VLA expressions for a declaration. I did the parallel fix in ASTContext for DependentSizedArrayType, but I haven't really looked closely at it, so there might still be issues there. I'll clean up the code duplication in ASTContext in a followup commit. llvm-svn: 79071
-
Chris Lattner authored
llvm-svn: 79059
-
- Aug 13, 2009
-
-
Owen Anderson authored
llvm-svn: 78946
-
- Aug 12, 2009
-
-
Fariborz Jahanian authored
WIP. llvm-svn: 78841
-
- Aug 10, 2009
-
-
Fariborz Jahanian authored
llvm-svn: 78582
-
- Aug 09, 2009
-
-
Anders Carlsson authored
llvm-svn: 78536
-
Anders Carlsson authored
llvm-svn: 78515
-
- Aug 08, 2009
-
-
Fariborz Jahanian authored
llvm-svn: 78489
-
Fariborz Jahanian authored
copying non-virtual base classes which have non-trivial constructor. Work in progress. llvm-svn: 78436
-
- Aug 07, 2009
-
-
Fariborz Jahanian authored
llvm-svn: 78402
-
Fariborz Jahanian authored
Work in progress. llvm-svn: 78355
-
- Jul 31, 2009
-
-
Owen Anderson authored
llvm-svn: 77722
-
Fariborz Jahanian authored
been declared as needed. llvm-svn: 77641
-
Owen Anderson authored
llvm-svn: 77638
-
- Jul 30, 2009
-
-
Fariborz Jahanian authored
llvm-svn: 77608
-