- Jul 30, 2008
-
-
Daniel Dunbar authored
<rdar://problem/6113085> llvm-svn: 54237
-
- Jul 27, 2008
-
-
Chris Lattner authored
llvm-svn: 54107
-
- Jun 24, 2008
-
-
Chris Lattner authored
"Support for Objective-C message sends which return structures. Also includes a small fix for constant string handling that should have been in the last patch (sorry!) and a hook for generating selectors (rest of this implementation to follow in the next patch)." Patch by David Chisnall! llvm-svn: 52681
-
- Jun 17, 2008
-
-
Ted Kremenek authored
clang as a Release build. The big change is that all AST nodes (subclasses of Stmt) whose children are Expr* store their children as Stmt* or arrays of Stmt*. This is to remove strict-aliasing warnings when using StmtIterator. None of the interfaces of any of the classes have changed (except those with arg_iterators, see below), as the accessor methods introduce the needed casts (via cast<>). While this extra casting may seem cumbersome, it actually adds some important sanity checks throughout the codebase, as clients using StmtIterator can potentially overwrite children that are expected to be Expr* with Stmt* (that aren't Expr*). The casts provide extra sanity checks that are operational in debug builds to catch invariant violations such as these. For classes that have arg_iterators (e.g., CallExpr), the definition of arg_iterator has been replaced. Instead of it being Expr**, it is an actual class (called ExprIterator) that wraps a Stmt**, and provides the necessary operators for iteration. The nice thing about this class is that it also uses cast<> to type-checking, which introduces extra sanity checks throughout the codebase that are useful for debugging. A few of the CodeGen functions that use arg_iterator (especially from OverloadExpr) have been modified to take begin and end iterators instead of a base Expr** and the number of arguments. This matches more with the abstraction of iteration. This still needs to be cleaned up a little bit, as clients expect that ExprIterator is a RandomAccessIterator (which we may or may not wish to allow for efficiency of representation). This is a fairly large patch. It passes the tests (except CodeGen/bitfield.c, which was already broken) on both a Debug and Release build, but it should obviously be reviewed. llvm-svn: 52378
-
- Jun 14, 2008
-
-
Eli Friedman authored
qualifier in the lvalue, and changes lvalue loads/stores to honor the volatile flag. Places which need some further attention are marked with FIXMEs. Patch by Cédric Venet. llvm-svn: 52264
-
- May 27, 2008
-
-
Eli Friedman authored
llvm-svn: 51596
-
- May 26, 2008
-
-
Eli Friedman authored
required for correctness in cases of copying a struct to itself or to an overlapping struct (itself for cases like *a = *a, and overlapping is possible with unions). Hopefully, this won't end up being a perf issue; LLVM *should* be able to optimize memmove to memcpy in a lot of cases, and for small copies the generated code *should* be mostly comparable. (In reality, LLVM is currently horrible at optimizing memmove, but that's a bug, not a fundamental issue.) gcc currently generates wrong code; that's http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32667. llvm-svn: 51566
-
- May 23, 2008
-
-
Dan Gohman authored
llvm::Type::isSingleValueType. Currently these two functions have the same behavior, but soon isFirstClassType will return true for struct and array types. Clang may some day want to use of isFirstClassType for some of these some day as an optimization, but it'll require some consideration. llvm-svn: 51446
-
- May 20, 2008
-
-
Eli Friedman authored
llvm-svn: 51304
-
- May 19, 2008
-
-
Eli Friedman authored
they were causing bad code to be emitted. There are two fixes here: one makes sure we emit a string that is long enough, and one makes sure we properly handle string initialization in init lists. llvm-svn: 51259
-
- May 12, 2008
-
-
Eli Friedman authored
llvm-svn: 50966
-
- May 06, 2008
-
-
Chris Lattner authored
llvm-svn: 50694
-
- Apr 13, 2008
-
-
Chris Lattner authored
llvm-svn: 49607
-
- Apr 08, 2008
-
-
Chris Lattner authored
interaction for function parameters, fixing PR2046. Patch by Doug Gregor! llvm-svn: 49369
-
- Apr 06, 2008
-
-
Gabor Greif authored
llvm-svn: 49279
-
- Apr 04, 2008
-
-
Chris Lattner authored
code, but the codegen doesn't crash. I'll file a bugzilla for the AST being wrong. llvm-svn: 49226
-
Chris Lattner authored
generator needs to call isAnyComplexType(). This fixes PR1960. llvm-svn: 49220
-
- Mar 19, 2008
-
-
Chris Lattner authored
llvm-svn: 48534
-
- Mar 16, 2008
-
-
Chris Lattner authored
lib dir and move all the libraries into it. This follows the main llvm tree, and allows the libraries to be built in parallel. The top level now enforces that all the libs are built before Driver, but we don't care what order the libs are built in. This speeds up parallel builds, particularly incremental ones. llvm-svn: 48402
-
- Mar 05, 2008
-
-
Chris Lattner authored
llvm-svn: 47954
-
- Feb 19, 2008
-
-
Lauro Ramos Venancio authored
llvm-svn: 47347
-
Lauro Ramos Venancio authored
possible. Fix mediabench/mpeg2/mpeg2dec test. llvm-svn: 47336
-
- Feb 18, 2008
-
-
Lauro Ramos Venancio authored
Fix McCat/08-main test. llvm-svn: 47286
-
- Feb 11, 2008
-
-
Eli Friedman authored
edge cases. llvm-svn: 46944
-
- Jan 31, 2008
-
-
Nate Begeman authored
llvm-svn: 46601
-
- Jan 30, 2008
-
-
Chris Lattner authored
llvm-svn: 46547
-
- Jan 18, 2008
-
-
Anders Carlsson authored
Assert that the type of the cast is equal to the _unqualified_ type of the subexpression. Fixes a problem spotted by Nuno Lopes. llvm-svn: 46158
-
- Jan 14, 2008
-
-
Anders Carlsson authored
llvm-svn: 45954
-
- Dec 29, 2007
-
-
Chris Lattner authored
discussion of this change. llvm-svn: 45410
-
- Dec 23, 2007
-
-
Seo Sanghyeon authored
llvm-svn: 45330
-
- Dec 17, 2007
-
-
Christopher Lamb authored
llvm-svn: 45081
-
- Dec 14, 2007
-
-
Seo Sanghyeon authored
llvm-svn: 45023
-
Seo Sanghyeon authored
llvm-svn: 45020
-
- Dec 02, 2007
-
-
Chris Lattner authored
llvm-svn: 44503
-
- Nov 02, 2007
-
-
Anders Carlsson authored
llvm-svn: 43641
-
- Oct 31, 2007
-
-
Anders Carlsson authored
llvm-svn: 43581
-
- Oct 30, 2007
-
-
Devang Patel authored
llvm-svn: 43516
-
- Oct 29, 2007
-
-
Devang Patel authored
an unimplemented work and continue. llvm-svn: 43449
-
- Oct 26, 2007
-
-
Devang Patel authored
llvm-svn: 43385
-
- Oct 09, 2007
-
-
Devang Patel authored
llvm-svn: 42807
-