summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* RegionViewMap factory is actually not used. All GDMs should use factories fromZhongxing Xu2008-11-271-2/+0
| | | | | | GDMContext. llvm-svn: 60150
* Removing redundant semicolons. No functionality change.Sanjiv Gupta2008-11-271-2/+2
| | | | llvm-svn: 60149
* Make jump threading substantially more powerful, in the following ways:Chris Lattner2008-11-272-0/+307
| | | | | | | | | | | | | | | | | 1. Make it fold blocks separated by an unconditional branch. This enables jump threading to see a broader scope. 2. Make jump threading able to eliminate locally redundant loads when they feed the branch condition of a block. This frequently occurs due to reg2mem running. 3. Make jump threading able to eliminate *partially redundant* loads when they feed the branch condition of a block. This is common in code with lots of loads and stores like C++ code and 255.vortex. This implements thread-loads.ll and rdar://6402033. Per the fixme's, several pieces of this should be moved into Transforms/Utils. llvm-svn: 60148
* Test commit.Daniel Dunbar2008-11-271-0/+1
| | | | llvm-svn: 60147
* Add comments.Zhongxing Xu2008-11-271-0/+2
| | | | llvm-svn: 60146
* Eliminate a compile time warning.Evan Cheng2008-11-271-1/+1
| | | | llvm-svn: 60145
* Add license comments.Zhongxing Xu2008-11-272-0/+26
| | | | llvm-svn: 60144
* Add support for pluggable components of static analyzer.Zhongxing Xu2008-11-276-20/+101
| | | | | | | | | | - Creator function pointers are saved in ManagerRegistry. - The Register* class is used to notify ManagerRegistry new module is available. - AnalysisManager queries ManagerRegistry for configurable module. Then it passes them to GRExprEngine, in turn to GRStateManager. llvm-svn: 60143
* Add implicit conversions for Objective-C qualified ids, e.g.,Douglas Gregor2008-11-272-3/+38
| | | | | | | | | | | | id<P0> The intended overloading behavior of these entities isn't entirely clear, and GCC seems to have some strange limitations (e.g., the inability to overload on id<P0> vs. id<P1>). We'll want to revisit these semantics and determine just how Objective-C++ overloading should really work. llvm-svn: 60142
* Avoid inserting noop's in the middle of a loop.Evan Cheng2008-11-272-1/+39
| | | | llvm-svn: 60141
* Cleanup formattingDouglas Gregor2008-11-271-4/+8
| | | | llvm-svn: 60140
* On x86 favors folding short immediate into some arithmetic operations (e.g. ↵Evan Cheng2008-11-275-11/+62
| | | | | | | | | | | | | | | add, and, xor, etc.) because materializing an immediate in a register is expensive in turns of code size. e.g. movl 4(%esp), %eax addl $4, %eax is 2 bytes shorter than movl $4, %eax addl 4(%esp), %eax llvm-svn: 60139
* Don't complain about block pointer to void* conversionsDouglas Gregor2008-11-272-10/+3
| | | | llvm-svn: 60138
* 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
OpenPOWER on IntegriCloud