- Feb 09, 2009
-
-
Anders Carlsson authored
llvm-svn: 64156
-
- Feb 08, 2009
-
-
Anders Carlsson authored
llvm-svn: 64100
-
Anders Carlsson authored
llvm-svn: 64099
-
Anders Carlsson authored
llvm-svn: 64096
-
Anders Carlsson authored
llvm-svn: 64072
-
Anders Carlsson authored
llvm-svn: 64069
-
Anders Carlsson authored
llvm-svn: 64068
-
Anders Carlsson authored
llvm-svn: 64064
-
Anders Carlsson authored
llvm-svn: 64059
-
Anders Carlsson authored
llvm-svn: 64053
-
Anders Carlsson authored
Add support for emitting cleanup blocks. Make EmitCompoundStatement emit cleanup blocks if necessary llvm-svn: 64051
-
- Feb 07, 2009
-
-
Anders Carlsson authored
llvm-svn: 64043
-
Mike Stump authored
llvm-svn: 64014
-
- Feb 05, 2009
-
-
Anders Carlsson authored
llvm-svn: 63879
-
- Feb 04, 2009
-
-
Daniel Dunbar authored
llvm-svn: 63678
-
- Feb 03, 2009
-
-
Daniel Dunbar authored
- Inefficient & leaks memory currently, will be cleaned up subsequently. llvm-svn: 63567
-
- Feb 02, 2009
-
-
Daniel Dunbar authored
- Lift CGFunctionInfo creation above ReturnTypeUsesSret and EmitFunction{Epi,Pro}log. llvm-svn: 63553
-
- Jan 27, 2009
-
-
Daniel Dunbar authored
case correctly. llvm-svn: 63068
-
- Jan 26, 2009
-
-
Daniel Dunbar authored
a unified return). llvm-svn: 63038
-
- Jan 20, 2009
-
-
Eli Friedman authored
struct. llvm-svn: 62585
-
- Jan 09, 2009
-
-
Daniel Dunbar authored
llvm-svn: 61973
-
- Dec 20, 2008
-
-
Anders Carlsson authored
llvm-svn: 61290
-
Anders Carlsson authored
llvm-svn: 61288
-
Anders Carlsson authored
Emit the size even if the declared type is a variably modified type. This lets us handle void f(int n) { int (*a)[n]; printf("size: %d\n", sizeof(*a)); } llvm-svn: 61285
-
Anders Carlsson authored
llvm-svn: 61284
-
- Dec 12, 2008
-
-
Anders Carlsson authored
llvm-svn: 60939
-
- Dec 01, 2008
-
-
Anders Carlsson authored
llvm-svn: 60324
-
- Nov 24, 2008
-
-
Chris Lattner authored
assert if the name is not an identifier. Update callers to do the right thing and avoid this method in unsafe cases. This also fixes an objc warning that was missing a space, and migrates a couple more to taking IdentifierInfo and QualTypes instead of std::strings. llvm-svn: 59936
-
- Nov 22, 2008
-
-
Anders Carlsson authored
llvm-svn: 59887
-
- Nov 17, 2008
-
-
Douglas Gregor authored
representing the names of declarations in the C family of languages. DeclarationName is used in NamedDecl to store the name of the declaration (naturally), and ObjCMethodDecl is now a NamedDecl. llvm-svn: 59441
-
- Nov 16, 2008
-
-
Chris Lattner authored
llvm-svn: 59426
-
- Nov 13, 2008
-
-
Daniel Dunbar authored
- Use dotted notation for blocks related to a particular statement type. - Use .end for landing pads. No functionality change in NDEBUG mode. :) llvm-svn: 59210
-
- Nov 12, 2008
-
-
Daniel Dunbar authored
something that is not an int. - Ignore these cases for now, added FIXME that we should also boolize them. llvm-svn: 59184
-
Daniel Dunbar authored
llvm-svn: 59129
-
Chris Lattner authored
codegen stuff like "if (!(X && Y))" llvm-svn: 59115
-
Chris Lattner authored
CodeGenFunction.cpp. Change VisitConditionalOperator to use constant fold instead of codegen'ing a constant conditional. Change ForStmt to use EmitBranchOnBoolExpr, this shrinks expr.c very slightly to 40239 lines. llvm-svn: 59113
-
Daniel Dunbar authored
- EmitStmt is no longer required to finish with a current insertion point defined (i.e. it does not need to make dummy blocks). Instead, it can clear the insertion point in the builder which indicates that the current insertion point is unreachable. - CodeGenFunction provides HaveInsertPoint and EnsureInsertPoint which respectively test if there is an insert point and ensure an insertion point exists (by making a dummy block). - Clearly mark functions in CodeGenFunction which can be called with no insertion point defined. Currently this is a limited set, and EmitStmt simply EnsureInsertPoint()s before emitting subsequent IR. Remove EmitDummyBlock, which is no longer needed. Clients who haven't already cleared the insertion point (typically via EmitBranch) can do so by hand. Remove isDummyBlock, which has effectively been renamed to HaveInsertPoint. The main thrust of this change is that we no longer have create dummy blocks just to destroy them a short time later in EmitBlock in the common case that there is no unreachable code following something like a goto. Additionally, this means that we are not using the hokey condition in isDummyBlock that a block without a name is a dummy block. Guess how well that works when we never emit block names! llvm-svn: 59089
-
- Nov 11, 2008
-
-
Daniel Dunbar authored
llvm-svn: 59081
-
Chris Lattner authored
the size of the -O0 output on some cases. For example, on expr.c from 176.gcc, it shrinks the .ll file from 43164 to 42835 lines, and removed references to two external symbols. llvm-svn: 59034
-
Daniel Dunbar authored
- Was confusing and only used in one small part of the code. llvm-svn: 59020
-