summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CGExprScalar.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Support for code generation of Objective-C top-level language constructs.Anton Korobeynikov2008-06-011-1/+1
| | | | | | Implemented by David Chisnall! llvm-svn: 51835
* Fix an extremely subtle bug with pointer comparisons: they have to be Eli Friedman2008-05-291-4/+4
| | | | | | | unsigned because it's possible (at least in theory) to have have both positive and negative pointers pointing to the same object. llvm-svn: 51681
* Fix for PR2001. I'm not really fond of it, but it is correct (unless Eli Friedman2008-05-251-1/+10
| | | | | | | | someone tries to make a bitfield volatile?). Not sure how to write a test; any suggestions? llvm-svn: 51558
* Backout of codegen-based fix to PR2334; this has been fixed differently Eli Friedman2008-05-161-4/+2
| | | | | | at the Sema layer. llvm-svn: 51203
* Patch for PR2334, and a similar ObjC bug.Eli Friedman2008-05-161-2/+4
| | | | llvm-svn: 51193
* Implementation of __builtin_shufflevector, a portable builtin capable of Eli Friedman2008-05-141-0/+12
| | | | | | | | | expressing the full flexibility of the LLVM shufflevector instruction. The expected immediate usage is in *mmintrin.h, so that they don't depend on the mess of gcc-inherited (and not completely implemented) shuffle builtins. llvm-svn: 51113
* Add codegen support for block-level compound literals.Eli Friedman2008-05-131-4/+1
| | | | llvm-svn: 51081
* implement a fixme, add support for ++/-- on long double.Chris Lattner2008-04-201-5/+6
| | | | llvm-svn: 49980
* use simplified ConstantFP:get method.Chris Lattner2008-04-201-5/+3
| | | | llvm-svn: 49979
* OCUVector -> ExtVector, shorthand for extended vector, per feedback from Chris.Nate Begeman2008-04-181-3/+3
| | | | llvm-svn: 49942
* update to follow mainline llvm API change.Chris Lattner2008-04-131-1/+1
| | | | llvm-svn: 49607
* Add support for C++ default arguments, and rework Parse-Sema Chris Lattner2008-04-081-1/+4
| | | | | | | | interaction for function parameters, fixing PR2046. Patch by Doug Gregor! llvm-svn: 49369
* tracking API changes arising from r49277Gabor Greif2008-04-061-7/+7
| | | | llvm-svn: 49279
* Since isComplexType() no longer returns true for _Complex integers, the codeChris Lattner2008-04-041-6/+6
| | | | | | generator needs to call isAnyComplexType(). This fixes PR1960. llvm-svn: 49220
* Codegen assignment to self correctly, patch by David Chisnall!Chris Lattner2008-04-041-2/+1
| | | | llvm-svn: 49201
* add a common base class "PointerLikeType" for PointerType and ReferenceType,Chris Lattner2008-04-021-2/+2
| | | | | | | allowing them to be treated the same in some contexts. A suggestion for a better name is welcome :) llvm-svn: 49100
* some cleanups on top of David's patch. There are still twoChris Lattner2008-03-301-17/+9
| | | | | | | | | | | | | remaining open issues I've communicated to him: 1) self can be assigned to, and his patch didn't handle it correctly. 2) CollectObjCIvarTypes is N^2 (because each subclass reprocesses all parent class ivars) and flattens classes. If A derives from B, and both have an int, I'd expect to get { {i32}, i32}, not { i32, i32}. David, please review. llvm-svn: 48970
* Add initial support for objc codegen for methods, ivars, and theChris Lattner2008-03-301-2/+10
| | | | | | etoile runtime, patch by David Chisnall! llvm-svn: 48969
* simplify the clang codegen by using the new Builder.CreateStructGEP method.Chris Lattner2008-03-191-5/+2
| | | | llvm-svn: 48534
* Make a major restructuring of the clang tree: introduce a top-levelChris Lattner2008-03-151-0/+1185
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
OpenPOWER on IntegriCloud