summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* 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
* Add DebugLoc to the getNode() methods.Bill Wendling2009-01-282-51/+177
| | | | llvm-svn: 63245
* Give this test an explicit target, to make it host-independent.Dan Gohman2009-01-281-1/+1
| | | | llvm-svn: 63244
* Add some comments to GRStateManager. No functionality change.Ted Kremenek2009-01-281-0/+52
| | | | llvm-svn: 63243
* Code generation support for C99 designated initializers.Douglas Gregor2009-01-2817-179/+620
| | | | | | | | | | | | | | | | | | | | The approach I've taken in this patch is relatively straightforward, although the code itself is non-trivial. Essentially, as we process an initializer list we build up a fully-explicit representation of the initializer list, where each of the subobject initializations occurs in order. Designators serve to "fill in" subobject initializations in a non-linear way. The fully-explicit representation makes initializer lists (both with and without designators) easy to grok for codegen and later semantic analyses. We keep the syntactic form of the initializer list linked into the AST for those clients interested in exactly what the user wrote. Known limitations: - Designating a member of a union that isn't the first member may result in bogus initialization (we warn about this) - GNU array-range designators are not supported (we warn about this) llvm-svn: 63242
* retain/release checker: Always generate an "autorelease" summary for an ↵Ted Kremenek2009-01-282-9/+90
| | | | | | "autorelease" message, and have the summary processing logic treat it as a no-op in GC mode. This change is motivated to encode more of the semantics in the summaries themselves for eventual better diagnostics. llvm-svn: 63241
* SDOperand has been renamed to SDValue. SDNode::Val is nowDan Gohman2009-01-281-14/+14
| | | | | | accessed via SDNode::getNode. llvm-svn: 63240
* Add more comments describing SDNode operator codes.Dan Gohman2009-01-281-8/+12
| | | | llvm-svn: 63239
* Handle complex types in ASTContext::mergeTypesDaniel Dunbar2009-01-282-0/+12
| | | | llvm-svn: 63238
* Add autorelease test case.Ted Kremenek2009-01-281-0/+7
| | | | llvm-svn: 63237
* Add DebugLoc-aware constructors for SDNode derivedDale Johannesen2009-01-282-0/+107
| | | | | | | classes (those that reasonably have a DebugLoc associated with them). llvm-svn: 63236
* Add some comments on ISD::NodeType.Dan Gohman2009-01-281-0/+7
| | | | llvm-svn: 63234
* Do not forget to derived type while constructing an array type.Devang Patel2009-01-282-0/+95
| | | | llvm-svn: 63233
* Add more PTH diagnostics for invalid PTH files, etc.Ted Kremenek2009-01-281-11/+29
| | | | llvm-svn: 63232
* Enhance PTHManager::Create() to take an optional Diagnostic* argument that ↵Ted Kremenek2009-01-283-4/+12
| | | | | | can be used to report issues such as a missing PTH file. llvm-svn: 63231
* Fix TextDiagnosticPrinter::HandleDiagnostic to handle invalid FullSourceLocs ↵Ted Kremenek2009-01-281-15/+7
| | | | | | that do not have a SourceManager. llvm-svn: 63230
* Add method FullSourceLoc::getBufferData().Ted Kremenek2009-01-282-1/+12
| | | | llvm-svn: 63229
OpenPOWER on IntegriCloud