summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add a missing case in visitADD.Dale Johannesen2008-11-271-0/+3
| | | | llvm-svn: 60137
* PTHLexer now owns the Token vector.Ted Kremenek2008-11-273-36/+27
| | | | llvm-svn: 60136
* Add -march=x86.Evan Cheng2008-11-271-1/+1
| | | | llvm-svn: 60135
* Add typedef to StringMapEntry.Ted Kremenek2008-11-271-2/+4
| | | | llvm-svn: 60134
* Support block pointer conversions in C++. I'm storing the test case locally ↵Douglas Gregor2008-11-271-0/+15
| | | | | | until we can enable blocks in C++ llvm-svn: 60133
* - Enhance PTH generation to write out IdentifierInfo table in two parts:Ted Kremenek2008-11-261-19/+59
| | | | | | | | - a table including the IdentifierInfo data - an index from persistent IdentifierInfo IDs to indices within this file. - Enhance PTH generation to write out file map information, mapping inodes to tokens. llvm-svn: 60132
* Test conversion from apointer to incomplete type to void* in C++Douglas Gregor2008-11-261-1/+4
| | | | llvm-svn: 60131
* Implement implicit conversions for Objective-C specific types, e.g., Douglas Gregor2008-11-263-47/+143
| | | | | | | | | | | | converting a pointer to one Objective-C interface into a pointer to another Objective-C interface, and conversions with 'id'. The semantics seems to match GCC, although they seem somewhat ad hoc. Fixed a few cases where we assumed the C++ definition of isObjectType, but were getting the C definition, causing failures in trouble with conversions to void pointers. llvm-svn: 60130
* Another test for property code gen.Fariborz Jahanian2008-11-261-0/+29
| | | | llvm-svn: 60128
* Disallow multiple edges.Mikhail Glushenkov2008-11-263-5/+26
| | | | llvm-svn: 60127
* Add x86-specific test for add-with-overflow intrinsics.Bill Wendling2008-11-261-0/+41
| | | | llvm-svn: 60125
* Attempt to unravel the if/else mess in Parser::ParseDirectDeclarator.Argyrios Kyrtzidis2008-11-261-44/+74
| | | | llvm-svn: 60124
* Generate something sensible for an [SU]ADDO op when the overflow/carry flag isBill Wendling2008-11-264-6/+40
| | | | | | | | | | | | | | | the conditional for the BRCOND statement. For instance, it will generate: addl %eax, %ecx jo LOF instead of addl %eax, %ecx ; About 10 instructions to compare the signs of LHS, RHS, and sum. jl LOF llvm-svn: 60123
* Code gen for aggregate-valued properties and a test case.Fariborz Jahanian2008-11-262-4/+57
| | | | llvm-svn: 60122
* Turn on my codegen prepare heuristic by default. It doesn't affect Chris Lattner2008-11-262-7/+3
| | | | | | | | | | performance in most cases on the Grawp tester, but does speed some things up (like shootout/hash by 15%). This also doesn't impact compile time in a noticable way on the Grawp tester. It also, of course, gets the testcase it was designed for right :) llvm-svn: 60120
* Add some comments.Argyrios Kyrtzidis2008-11-263-1/+18
| | | | llvm-svn: 60119
* Implement some suggestions by Daniel:Argyrios Kyrtzidis2008-11-265-35/+34
| | | | | | | | -Change Parser::ParseCXXScopeSpecifier to MaybeParseCXXScopeSpecifier -Remove Parser::isTokenCXXScopeSpecifier and fold it into MaybeParseCXXScopeSpecifier -Rename Parser::TryAnnotateScopeToken to TryAnnotateCXXScopeToken and only allow it to be called when in C++ llvm-svn: 60117
* Add an overload for operator<<(const DiagnosticBuilder &DB,bool I).Argyrios Kyrtzidis2008-11-261-0/+5
| | | | | | Fixes building error on MSVC where passing bool couldn't resolve to one of the overloads. llvm-svn: 60116
* Removed a FIXME. Added a test case for anonymous category.Fariborz Jahanian2008-11-262-4/+19
| | | | llvm-svn: 60115
* Set default property attributes on each property.Fariborz Jahanian2008-11-268-6/+129
| | | | | | | | Implemented anonymous category (also know as continuation class) used to override main class's property attribute. This is work in propgress. llvm-svn: 60114
* Small formatting change.Bill Wendling2008-11-261-4/+4
| | | | llvm-svn: 60113
* Update to explain how ssp and sspreq attributes override each other.Bill Wendling2008-11-261-5/+14
| | | | llvm-svn: 60112
* Fix typo.Devang Patel2008-11-261-1/+1
| | | | llvm-svn: 60111
* Cosmetic.Evan Cheng2008-11-261-2/+2
| | | | llvm-svn: 60110
* Convert incomplete array types before emitting debug info for them, fixes ↵Anders Carlsson2008-11-262-3/+18
| | | | | | PR3134. llvm-svn: 60109
* Check that running the DAG combiner between typeDuncan Sands2008-11-261-0/+1
| | | | | | and operation legalization does something useful. llvm-svn: 60108
* add missing RUN linesNuno Lopes2008-11-262-1/+3
| | | | llvm-svn: 60107
* Describe some more options in the man page.Mikhail Glushenkov2008-11-261-8/+62
| | | | llvm-svn: 60105
* ignore build dirs and generated filesNuno Lopes2008-11-260-0/+0
| | | | llvm-svn: 60104
* Allow custom lowering of ADDE/ADDC/SUBE/SUBC operations.Sanjiv Gupta2008-11-261-6/+36
| | | | llvm-svn: 60102
* Fix the -I option (llvmc -I dir1 -I dir2 didn't work).Mikhail Glushenkov2008-11-261-0/+2
| | | | llvm-svn: 60101
* Refactor Tools.td to remove repetition.Mikhail Glushenkov2008-11-261-68/+10
| | | | llvm-svn: 60100
* Small fix: the error message was incorrect in some cases.Mikhail Glushenkov2008-11-261-3/+3
| | | | llvm-svn: 60099
* Emit declaration for globals and externs.Sanjiv Gupta2008-11-265-38/+120
| | | | | | Custom lower AND, OR, XOR bitwise operations. llvm-svn: 60098
* Fix a minor typo in the handling of the conditional operator for Objective-C ↵Douglas Gregor2008-11-262-1/+5
| | | | | | interface pointers llvm-svn: 60096
* Fish kill flag annotations in PUSH instructions.Dan Gohman2008-11-262-3/+5
| | | | llvm-svn: 60095
* Tweak the new ResolveOverloadedCallFn to just return a FunctionDecl. It ↵Douglas Gregor2008-11-263-22/+22
| | | | | | makes ActOnCallExpr simpler llvm-svn: 60094
* Move the overloading logic of Sema::ActOnCallExpr to a separate functionDouglas Gregor2008-11-263-30/+56
| | | | llvm-svn: 60093
* LiveRanges are represented as half-open ranges. Fix the findLiveInMBBs codeDan Gohman2008-11-262-2/+2
| | | | | | | and the LiveInterval.h top-level comment and accordingly. This fixes blocks having spurious live-in registers in boundary cases. llvm-svn: 60092
* Add plugin loading for clang. This will be used to load alternative ↵Zhongxing Xu2008-11-261-0/+1
| | | | | | constraint manager for static analysis. llvm-svn: 60091
* Disable -loop-index-split for now.Devang Patel2008-11-261-1/+1
| | | | llvm-svn: 60089
* teach the new heuristic how to handle inline asm.Chris Lattner2008-11-261-7/+52
| | | | llvm-svn: 60088
* Disable -loop-index-split for now.Devang Patel2008-11-261-2/+2
| | | | llvm-svn: 60087
* Re-apply r60071 now that raw_fd_ostream::tell has been committed.Ted Kremenek2008-11-261-44/+91
| | | | llvm-svn: 60086
* Add 'tell' method to raw_fd_ostream that clients can use to query the ↵Ted Kremenek2008-11-262-1/+12
| | | | | | current location in the file the stream is writing to. llvm-svn: 60085
* Improve ValueAlreadyLiveAtInst with a cheap and dirty, but effectiveChris Lattner2008-11-261-12/+32
| | | | | | | | | | | | | | | heuristic: the value is already live at the new memory operation if it is used by some other instruction in the memop's block. This is cheap and simple to compute (moreso than full liveness). This improves the new heuristic even more. For example, it cuts two out of three new instructions out of 255.vortex:DbmFileInGrpHdr, which is one of the functions that the heuristic regressed. This overall eliminates another 40 instructions from 403.gcc and visibly reduces register pressure in 255.vortex (though this only actually ends up saving the 2 instructions from the whole program). llvm-svn: 60084
* __fastcall and __stdcall are mingw extensions to gcc for windows. Use theNick Lewycky2008-11-261-2/+2
| | | | | | __attribute__ notation which is supported on more platforms. llvm-svn: 60083
* Start rewroking a subpiece of the profitability heuristic to beChris Lattner2008-11-261-11/+56
| | | | | | | | | | phrased in terms of liveness instead of as a horrible hack. :) In pratice, this doesn't change the generated code for either 255.vortex or 403.gcc, but it could cause minor code changes in theory. This is framework for coming changes. llvm-svn: 60082
* Adjust indent.Zhongxing Xu2008-11-261-2/+2
| | | | llvm-svn: 60081
* add a long-overdue AllocaInst::isStaticAlloca method.Chris Lattner2008-11-262-0/+17
| | | | llvm-svn: 60080
OpenPOWER on IntegriCloud