summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix a bug that David Greene found in the DAGCombiner's logicDan Gohman2009-02-201-2/+2
| | | | | | | that checks whether it's safe to transform a store of a bitcast value into a store of the original value. llvm-svn: 65201
* We must always mangle attribute overloadable functions; even if in aDaniel Dunbar2009-02-202-5/+14
| | | | | | | system header. - Prevents a codegen crash when anything used anything in tgmath! :) llvm-svn: 65200
* Removed trailing whitespace.Misha Brukman2009-02-2010-314/+314
| | | | llvm-svn: 65199
* Fix <rdar://problem/6500554> missing objc error message.Steve Naroff2009-02-206-21/+44
| | | | llvm-svn: 65198
* Removed trailing whitespace.Misha Brukman2009-02-202-2/+2
| | | | llvm-svn: 65197
* Removed trailing whitespace.Misha Brukman2009-02-2022-202/+202
| | | | llvm-svn: 65196
* switch the macroinfo argument lists from being allocated off the heapChris Lattner2009-02-203-11/+13
| | | | | | | | | to being allocated from the same bumpptr that the MacroInfo objects themselves are. This speeds up -Eonly cocoa.h pth by ~4%, fsyntax-only is barely measurable. llvm-svn: 65195
* detemplatify setArgumentList and some other cleanups.Chris Lattner2009-02-203-17/+24
| | | | llvm-svn: 65187
* Keep the newline character at the end of the lines whose trailing whitespace weMisha Brukman2009-02-201-1/+1
| | | | | | are deleting; otherwise, everything ends up on a single line. llvm-svn: 65185
* Only strip the newline character at the end of the lines that we're consideringMisha Brukman2009-02-201-2/+2
| | | | | | | for length and for trailing whitespace; otherwise, the whitespace themselves will also be removed. llvm-svn: 65182
* Fixed lint errors:Misha Brukman2009-02-2015-23/+30
| | | | | | | | * Alphabetized #includes * Removed trailing whitespace * Wrapped or shortened lines over 80 chars llvm-svn: 65181
* We have logic in there to emit a default debugging label at the beginning of aBill Wendling2009-02-201-4/+3
| | | | | | | | | function. Emitting another label after the prologue messes up the debugging. We are doing that because the first DebugLoc object it sees is different from the previous, which was nothing. Check for this situation, and don't emit one if it's the first. llvm-svn: 65180
* require the MAcroInfo objects are explcitly destroyed.Chris Lattner2009-02-204-6/+18
| | | | llvm-svn: 65179
* Fix strange logic in CollectIVUsers used to determine whether all uses areEvan Cheng2009-02-202-1/+52
| | | | | | | addresses, part 1. This fixes an obvious logic bug. Previously if the only in-loop use is a PHI, it would return AllUsesAreAddresses as true. llvm-svn: 65178
* Make 'RangeConstraintManager' the default ConstraintManager.Ted Kremenek2009-02-204-6/+7
| | | | llvm-svn: 65173
* allocate and dellocate objc decl list through AST Context instead ofChris Lattner2009-02-201-2/+3
| | | | | | | | | with new/delete. With disable-free, this reduces the number of 4/8 byte mallocs from 4793/1541 to 865/456 and also drops other sizes as well. This is a very small perf win, nothing major. llvm-svn: 65171
* fix indentationChris Lattner2009-02-201-3/+3
| | | | llvm-svn: 65170
* silence some warnings in no asserts mode.Chris Lattner2009-02-201-5/+4
| | | | llvm-svn: 65169
* add plumbing to get ASTContext& down to allocation/deallocation points in ↵Chris Lattner2009-02-204-59/+70
| | | | | | | | ObjCList, but don't start using it yet. Renamed some methods to be more consistent. llvm-svn: 65168
* Simplify code and reduce indentation. No functionality change.Dan Gohman2009-02-201-80/+70
| | | | llvm-svn: 65167
* newly factored, we can now move the set and destroy methods out of line.Chris Lattner2009-02-202-13/+22
| | | | llvm-svn: 65166
* factor a bunch of common code out of the ObjCList template classChris Lattner2009-02-201-26/+35
| | | | | | into a new shared ObjCListBase class. llvm-svn: 65164
* Greatly simplify the logic in ExplodedGraphImpl::TrimGraph. Now we just do aTed Kremenek2009-02-201-111/+42
| | | | | | | | | vanilla reverse-BFS followed by a forward-DFS instead of resulting to strange histrionics (whose purpose I can no longer remember) in the reverse-BFS stage. This fixes an assertion failure in BugReporter due to edge cases where no root was being hit in the reverse-BFS phase. llvm-svn: 65160
* Fix 80-column violations.Dan Gohman2009-02-201-4/+5
| | | | llvm-svn: 65159
* prune #includesChris Lattner2009-02-203-11/+2
| | | | llvm-svn: 65158
* It's not necessary to check if Base is null here.Dan Gohman2009-02-201-2/+1
| | | | llvm-svn: 65157
* rename ObjCList::clear() -> ObjCList::Destroy(). Require that destroy is calledChris Lattner2009-02-202-8/+9
| | | | | | before the dtor. llvm-svn: 65156
* rearrange the contents of DeclObjC to be by-class. Fix some 80 column issuesChris Lattner2009-02-201-328/+367
| | | | | | and other non-semantic changes. llvm-svn: 65155
* Unbreak Darwin PIC handling; my refactoring yesterday was bogus.Daniel Dunbar2009-02-203-12/+29
| | | | llvm-svn: 65154
* more random cleanups, add some fixme's. ObjCCategoryImplDecl really Chris Lattner2009-02-201-7/+12
| | | | | | shouldn't be a NamedDecl. llvm-svn: 65153
* Support return of MMX values in 64-bit mode.Evan Cheng2009-02-202-3/+28
| | | | llvm-svn: 65152
* destroy should forward to base class.Chris Lattner2009-02-201-0/+1
| | | | llvm-svn: 65151
* move the @implementation ivar list to being an ObjCList, which preventsChris Lattner2009-02-203-33/+25
| | | | | | it from being leaked, among other things. llvm-svn: 65150
* - Early exit a nested block.Bill Wendling2009-02-201-23/+27
| | | | | | | - Correct comment. - Whitespace changes. llvm-svn: 65149
* PTH generation: Clear the cleaning bit for literals (whose spellings are ↵Ted Kremenek2009-02-201-2/+6
| | | | | | cached). llvm-svn: 65148
* Add a comment about how Imm can be used for loop-variant values.Dan Gohman2009-02-201-1/+2
| | | | llvm-svn: 65147
* Add some IRgen improvement notes.Daniel Dunbar2009-02-201-0/+17
| | | | llvm-svn: 65146
* Shorten; no functionality change.Daniel Dunbar2009-02-201-8/+6
| | | | llvm-svn: 65145
* remove dead list.Chris Lattner2009-02-201-6/+1
| | | | llvm-svn: 65142
* Take advantage of noreturn attribute to add unreachable instruction &Daniel Dunbar2009-02-201-0/+12
| | | | | | | clear insertion point. The rest of IRgen should theoretically take advantage of this to avoid emitting dead code. Theory != Practice. llvm-svn: 65141
* Always try to fold array sizes, and warn if we could fold something that ↵Anders Carlsson2009-02-203-48/+17
| | | | | | isn't an ICE. This makes us compatible with GCC. llvm-svn: 65140
* Fix test case.Daniel Dunbar2009-02-201-1/+1
| | | | llvm-svn: 65139
* remove some more methods from objc decls, using the iteratorChris Lattner2009-02-209-73/+60
| | | | | | interfaces more consistently. llvm-svn: 65138
* add note about sinTorok Edwin2009-02-201-0/+15
| | | | llvm-svn: 65137
* Factor address mode matcher out of codegen prepare to make it available to ↵Evan Cheng2009-02-203-643/+696
| | | | | | other passes, e.g. loop strength reduction. llvm-svn: 65134
* Handle constant int -> ptr casts of lvalue results.Daniel Dunbar2009-02-202-8/+20
| | | | | | - PR3463 (again). llvm-svn: 65133
* remove some slow O(n) methods.Chris Lattner2009-02-203-36/+11
| | | | llvm-svn: 65132
* Change ObjCForwardProtocolDecl to use an ObjCList.Chris Lattner2009-02-203-42/+18
| | | | llvm-svn: 65131
* Set call attribute for direct calls (i.e. noreturn).Daniel Dunbar2009-02-204-27/+38
| | | | | | - Remove an unused variant of EmitCallExpr overload. llvm-svn: 65130
* move the interace list of @class to use ObjCList.Chris Lattner2009-02-204-43/+19
| | | | llvm-svn: 65129
OpenPOWER on IntegriCloud