summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix two typos that Duncan spotted in a comment.Dan Gohman2009-01-291-1/+1
| | | | llvm-svn: 63312
* In the case of an extractelement on an insertelement value,Dan Gohman2009-01-292-1/+30
| | | | | | | the element indices may be equal if either one is not a constant. llvm-svn: 63311
* Suppress a warningDouglas Gregor2009-01-291-2/+2
| | | | llvm-svn: 63310
* x86_64 ABI: Handle fields / complex components which straddleDaniel Dunbar2009-01-291-4/+15
| | | | | | | | eightbyte boundaries. - Getting harder to test now that we handle cases gcc & llvm-gcc get wrong ( { _Complex char; _Complex int; } is a good example). :) llvm-svn: 63305
* Add a always_inline test case.Evan Cheng2009-01-291-0/+12
| | | | llvm-svn: 63304
* Revert r63273. This was already implemented by Dale. There's no need for myBill Wendling2009-01-292-94/+135
| | | | | | change. llvm-svn: 63301
* Add a test case for Chris lvalue alignment fixes.Evan Cheng2009-01-291-0/+17
| | | | llvm-svn: 63300
* ABITest: Fix access to array test values.Daniel Dunbar2009-01-291-1/+4
| | | | llvm-svn: 63296
* x86_64 ABI: Tweak merging algorithm so that we always bail early whenDaniel Dunbar2009-01-291-2/+2
| | | | | | we see a Memory classification. llvm-svn: 63295
* ABI: When emitting calls which return an ignored argument, make sureDaniel Dunbar2009-01-291-1/+8
| | | | | | to still return an RValue of the correct type. llvm-svn: 63294
* Fix an issue where restores could be inserted after a terminator instruction,Owen Anderson2009-01-291-4/+12
| | | | | | | | and an iterator invalidation issue. FreeBench/pifft no longer miscompiles with these fixes! llvm-svn: 63293
* x86_64 ABI: Implement classification for records.Daniel Dunbar2009-01-291-0/+103
| | | | | | | - This is my best initial guess at what the "spec" means, although it is not particularly clear on a number of points. Will refine through testing. llvm-svn: 63292
* ABITest: Fix test value generation for unions.Daniel Dunbar2009-01-291-1/+8
| | | | llvm-svn: 63286
* x86_64: Support cases which map to returning multiple values in LLVMDaniel Dunbar2009-01-291-4/+5
| | | | | | (e.g., _Complex double -> { double, double } return). llvm-svn: 63285
* x86_64 ABI: Classify _Complex ints as integer.Daniel Dunbar2009-01-291-1/+7
| | | | llvm-svn: 63283
* Fix -Wimplicit-function-declaration, which required some refactoring andChris Lattner2009-01-299-35/+25
| | | | | | changes in various diagnostics code. llvm-svn: 63282
* Fix typoDaniel Dunbar2009-01-291-1/+1
| | | | llvm-svn: 63281
* Evaluate ==,!= for complex types.Daniel Dunbar2009-01-292-3/+72
| | | | llvm-svn: 63280
* Use xcc (instead of clang directly).Daniel Dunbar2009-01-291-6/+5
| | | | llvm-svn: 63279
* Evaluate casts to complex.Daniel Dunbar2009-01-291-30/+103
| | | | | | | | | - Lift (int,float) -> (int,float) conversion into separate routines. - Fix handling of, e.g., char -> _Complex int, which was producing a _Complex char value instead. llvm-svn: 63278
* ccc: Honor -ccc-clang for generic GCC toolchain.Daniel Dunbar2009-01-292-7/+24
| | | | llvm-svn: 63277
* Comments are good. :-)Owen Anderson2009-01-291-3/+30
| | | | llvm-svn: 63276
* update the project file for headers movingChris Lattner2009-01-291-12/+14
| | | | llvm-svn: 63275
* Add support for aggressive load-use-store folding. This takes care of the Owen Anderson2009-01-291-19/+85
| | | | | | vast majority of code size regressions introduced by pre-alloc-splitting. llvm-svn: 63274
* - Add DebugLoc to getTargetNode(). Bill Wendling2009-01-293-135/+97
| | | | | | | | | - Modify TableGen to add the DebugLoc when calling getTargetNode. (The light-weight wrappers are only temporary. The non-DebugLoc version will be removed once the whole debug info stuff is finished with.) llvm-svn: 63273
* Fix a wart that existed from before we had EXTWARN.Chris Lattner2009-01-292-11/+2
| | | | llvm-svn: 63272
* move library-specific diagnostic headers into library private dirs. ReduceChris Lattner2009-01-2949-110/+64
| | | | | | redundant #includes. Patch by Anders Johnsen! llvm-svn: 63271
* fix an absolutely inscrutible gcc 4.0 error:Chris Lattner2009-01-291-1/+5
| | | | | | | | | | | | llvm[0]: Compiling SemaInit.cpp for Debug build SemaInit.cpp:171: error: ‘InitListChecker’ has not been declared SemaInit.cpp:171: error: ISO C++ forbids declaration of ‘InitListChecker’ with no type SemaInit.cpp: In function ‘int InitListChecker(clang::Sema*, clang::InitListExpr*, clang::QualType&)’: SemaInit.cpp:172: error: ‘hadError’ was not declared in this scope SemaInit.cpp:173: error: ‘SemaRef’ was not declared in this scope SemaInit.cpp:177: error: ‘FullyStructuredList’ was not declared in this scope llvm-svn: 63270
* Fix PR3424, a static constructor ordering issue. Patch by Robert Schuster!Chris Lattner2009-01-291-4/+7
| | | | llvm-svn: 63269
* Exit with nice warnings when register allocator run out of registers.Evan Cheng2009-01-295-41/+124
| | | | llvm-svn: 63267
* Make x86's BT instruction matching more thorough, and add someDan Gohman2009-01-296-40/+562
| | | | | | | | | dagcombines that help it match in several more cases. Add several more cases to test/CodeGen/X86/bt.ll. This doesn't yet include matching for BT with an immediate operand, it just covers more register+register cases. llvm-svn: 63266
* Move the code that starts printing the Select_* functionsDan Gohman2009-01-291-3/+3
| | | | | | | | after the code that sorts the patterns. This doesn't affect the output, but it makes the code a little easier to follow. llvm-svn: 63265
* Add folding for complex mul and fix some major bugs in complex floatDaniel Dunbar2009-01-291-2/+37
| | | | | | | | evaluation (alternate part of real/imag init was being set to 3 not 0 because the wrong APFloat constructor was being called). - Test cases coming once some more support is in. llvm-svn: 63264
* A slight compile time optimization. If the caller knows there isn't a free ↵Evan Cheng2009-01-291-6/+6
| | | | | | register getReg() should not call getFreeReg(). llvm-svn: 63263
* Add another devilish testcase for designated initializersDouglas Gregor2009-01-291-1/+6
| | | | llvm-svn: 63262
* Better documentation for our initialization checkerDouglas Gregor2009-01-291-19/+48
| | | | llvm-svn: 63261
* Add DebugLoc-sensitive versions of many node creationDale Johannesen2009-01-292-0/+547
| | | | | | functions. Currently omitted: memcpy, memmove, memset. llvm-svn: 63259
* Move InitListChecker out of Sema.hDouglas Gregor2009-01-293-74/+80
| | | | llvm-svn: 63258
* Eliminate infinite looping in a wacky case with designated initializers. ↵Douglas Gregor2009-01-293-20/+35
| | | | | | Simplifies (somewhat) the actually checking of the initializer expression following the designators llvm-svn: 63257
* Refactor Sema::LookupDecl() into 2 functions: LookupDeclInScope() and ↵Steve Naroff2009-01-298-53/+73
| | | | | | | | | | LookupDeclInContext(). The previous interface was very confusing. This is much more explicit, which will be easier to understand/optimize/convert. The plan is to eventually deprecate both of these functions. For now, I'm focused on performance. llvm-svn: 63256
* Fix comment about removeRange.Evan Cheng2009-01-292-2/+2
| | | | llvm-svn: 63255
* Remove Expr::hasSideEffects. It doesn't work anywayDouglas Gregor2009-01-283-12/+2
| | | | llvm-svn: 63254
* Improvements to code-generation and semantic analysis of designatedDouglas Gregor2009-01-287-53/+106
| | | | | | | | | | | | initializers. - We now initialize unions properly when a member other than the first is named by a designated initializer. - We now provide proper semantic analysis and code generation for GNU array-range designators *except* that side effects will occur more than once. We warn about this. llvm-svn: 63253
* Fixed lowering of v816 shuffles.Mon P Wang2009-01-282-1/+15
| | | | llvm-svn: 63252
* Add setter/getter methods to the list of methodsFariborz Jahanian2009-01-281-0/+15
| | | | | | of class's meta-data (related to objc2 nonfragile abi). llvm-svn: 63251
* Remove '#if 0' code.Ted Kremenek2009-01-281-5/+0
| | | | llvm-svn: 63250
* Remove method 'AddNE' from the public interface of ConstraintManager.Ted Kremenek2009-01-284-13/+10
| | | | llvm-svn: 63249
* Implement basic _Complex integer constant folding.Daniel Dunbar2009-01-283-34/+81
| | | | | | | - Merged into single ComplexEvaluator, these share too much logic to be worth splitting for float/int (IMHO). Will split on request. llvm-svn: 63248
* Make test platform agnostic.Bill Wendling2009-01-281-3/+1
| | | | llvm-svn: 63247
* property metadata for objc2's nonfragile abiFariborz Jahanian2009-01-281-15/+30
| | | | llvm-svn: 63246
OpenPOWER on IntegriCloud