summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Refine the change in r52258 for avoiding use-before-def conditionsDan Gohman2008-06-163-12/+43
| | | | | | | | | when changing the stride of a comparison so that it's slightly more precise, by having it scan the instruction list to determine if there is a use of the condition after the point where the condition will be inserted. llvm-svn: 52371
* Latest release is checker-37.Ted Kremenek2008-06-161-1/+4
| | | | llvm-svn: 52370
* Re-enable the analyzer.Ted Kremenek2008-06-161-1/+1
| | | | llvm-svn: 52367
* Remove Analysis-Apple.Ted Kremenek2008-06-161-1/+1
| | | | llvm-svn: 52366
* switch TypeHasCycleThroughItself from using an std::set to using a SmallPtrSet,Chris Lattner2008-06-161-5/+5
| | | | | | this speeds up the linking testcase in PR1860 by 44% (.379 -> 0.263) llvm-svn: 52365
* stop making PATypeHolder's so crazily.Chris Lattner2008-06-161-33/+33
| | | | llvm-svn: 52364
* Horizontal-add instructions are not commutative.Evan Cheng2008-06-162-12/+15
| | | | llvm-svn: 52363
* Move test case "uninit-msg-expr.m" from Analysis-Apple to Analysis (now ↵Ted Kremenek2008-06-162-20/+56
| | | | | | works on all platforms). llvm-svn: 52362
* Switch over to SetVector to ensure same order of iterations do not vary ↵Evan Cheng2008-06-161-8/+9
| | | | | | across runs. llvm-svn: 52361
* Move some documentation from the header file into ProgrammersManual. About ↵Gabor Greif2008-06-162-169/+183
| | | | | | to improve. llvm-svn: 52360
* Moved test case NoReturn.m from Analysis-Apple to Analysis (now works on all ↵Ted Kremenek2008-06-162-36/+78
| | | | | | platforms). llvm-svn: 52359
* use a real associative container for type association instead of usingChris Lattner2008-06-161-8/+94
| | | | | | | a vector with a linear search. This speeds up the linking testcase in PR1860 from 0.965s to 0.385s on my system. llvm-svn: 52357
* Move NSString.m test case from Analysis-Apple to Analysis. The test case ↵Ted Kremenek2008-06-162-111/+180
| | | | | | now works on all platforms. llvm-svn: 52354
* - Add "Commutative" property to intrinsics. This allows tblgen to generate ↵Evan Cheng2008-06-167-92/+189
| | | | | | | | the commuted variants for dagisel matching code. - Mark lots of X86 intrinsics as "Commutative" to allow load folding. llvm-svn: 52353
* mpsadbw is commutable.Evan Cheng2008-06-161-1/+1
| | | | llvm-svn: 52352
* bail out sooner if we have two concrete but different types.Chris Lattner2008-06-161-0/+4
| | | | llvm-svn: 52351
* simplify some code.Chris Lattner2008-06-161-24/+21
| | | | llvm-svn: 52350
* Update test case to use -pedantic (makes the test case more clear).Ted Kremenek2008-06-161-2/+13
| | | | llvm-svn: 52349
* Fix misspelling of "svelte".Ted Kremenek2008-06-163-3/+3
| | | | llvm-svn: 52348
* Apply a patch from Nathan Keynes, which speeds up llvm-link onChris Lattner2008-06-161-1/+0
| | | | | | | the testcases in PR1860 from taking more than 1 hour (when I killed it) to taking 1s. llvm-svn: 52347
* Move Analysis-Apple/CFString.c to Analysis (the test case now works on all ↵Ted Kremenek2008-06-162-30/+49
| | | | | | platforms). llvm-svn: 52346
* Remove special case handling of empty MBBs now that we assign indices to them.Owen Anderson2008-06-161-8/+5
| | | | llvm-svn: 52345
* Move CFDateGC.m test case from Analysis-Apple to Analysis (it now runs on ↵Ted Kremenek2008-06-162-17/+39
| | | | | | all platforms). llvm-svn: 52344
* Moved CFDate.m from test/Analysis-Apple to test/Analysis, and added the ↵Ted Kremenek2008-06-161-13/+39
| | | | | | necessary declarations from Foundation.h to CFDate.m so that the test case can be exercised on all platforms. llvm-svn: 52343
* handle vectors. Any integers that got here would necessarily be different ↵Chris Lattner2008-06-161-8/+11
| | | | | | already. llvm-svn: 52341
* Simplify ResolveTypes by pulling the null case out into the one Chris Lattner2008-06-161-42/+30
| | | | | | | | | client that cares and simplifying its control flow. Remove the DestST argument to ResolveTypes and RecursiveResolveTypes* which are dead now. llvm-svn: 52340
* Iterating over SmallPtrSet is not deterministic.Evan Cheng2008-06-161-6/+6
| | | | llvm-svn: 52339
* simplify RecursiveResolveTypes and ResolveTypes by pulling the naming out ofChris Lattner2008-06-161-23/+20
| | | | | | ResolveTypes into the one place that needs it. llvm-svn: 52338
* Add test case for NSString format-string checking.Ted Kremenek2008-06-161-0/+36
| | | | llvm-svn: 52337
* Introduce preliminary support for NSString format-string checking.Ted Kremenek2008-06-164-2/+38
| | | | | | Patch by Nikita Zhuk! llvm-svn: 52336
* Add a new flag that disables symbol lookup with dlsym when set. This allowsChris Lattner2008-06-162-36/+48
| | | | | | | a JIT client to completely control symbol lookup with the LazyFunctionCreator interface. llvm-svn: 52335
* force size of alloca to i32, which is currently required by LLVM IR.Chris Lattner2008-06-161-3/+6
| | | | | | This fixes use of alloca on 64-bit systems. llvm-svn: 52334
* Add support for icache invalidation on non-darwin ppc systems.Chris Lattner2008-06-161-2/+19
| | | | | | Patch by Gary Benson! llvm-svn: 52332
* Re-enable empty block indexing by default, since it doesn't seem to have anyOwen Anderson2008-06-161-21/+9
| | | | | | impact on code quality or compile time. llvm-svn: 52329
* Make BuildSubAggregate use FindInsertedElement again to prevent it fromMatthijs Kooijman2008-06-161-20/+48
| | | | | | | | inserting extractvalues. In particular, this prevents the insertion of extractvalues that can't be folded away later. Also add an example of when this stuff is needed. llvm-svn: 52328
* Make the InsertBefore argument to FindInsertedValue optional, so you can ↵Matthijs Kooijman2008-06-162-4/+12
| | | | | | find an inserted value without modifying the code. llvm-svn: 52319
* Pass around Instruction* instead of Instruction& in FindInsertedValue and ↵Matthijs Kooijman2008-06-163-7/+7
| | | | | | friends. llvm-svn: 52318
* Make testcase check for extractvalue instead of extractelement.Matthijs Kooijman2008-06-161-1/+1
| | | | llvm-svn: 52317
* 80 column fixes.Matthijs Kooijman2008-06-162-16/+33
| | | | llvm-svn: 52316
* Move FindScalarValue from InstructionCombining.cpp to ValueTracking.cpp. WhileMatthijs Kooijman2008-06-163-147/+138
| | | | | | | | | | I'm at it, rename it to FindInsertedValue. The only functional change is that newly created instructions are no longer added to instcombine's worklist, but that is not really necessary anyway (and I'll commit some improvements next that will completely remove the need). llvm-svn: 52315
* Store the result of multiple identical run lines in a temporary file.Matthijs Kooijman2008-06-161-5/+6
| | | | llvm-svn: 52314
* Add comment.Matthijs Kooijman2008-06-161-0/+3
| | | | llvm-svn: 52313
* Minor comment fix.Argyrios Kyrtzidis2008-06-161-1/+1
| | | | llvm-svn: 52312
* Fix PR numbers, I accidentally switched two digits.Matthijs Kooijman2008-06-165-5/+5
| | | | llvm-svn: 52311
* Allow these transforms for types like i256 whileDuncan Sands2008-06-162-8/+12
| | | | | | | | still excluding types like i1 (not byte sized) and i120 (loading an i120 requires loading an i64, an i32, an i16 and an i8, which is expensive). llvm-svn: 52310
* Fix read after free found by valgrind.Evan Cheng2008-06-161-15/+10
| | | | llvm-svn: 52309
* Add option to commuteInstruction() which forces it to create a new ↵Evan Cheng2008-06-166-13/+51
| | | | | | (commuted) instruction. llvm-svn: 52308
* Make indexing empty basic blocks an option for the moment.Owen Anderson2008-06-161-9/+21
| | | | llvm-svn: 52306
* add a const version of stripPointerCastsChris Lattner2008-06-161-0/+3
| | | | llvm-svn: 52305
* simplify some code by using a helper function. This really reallyChris Lattner2008-06-161-22/+16
| | | | | | wants a 'nocapture' predicate. llvm-svn: 52304
OpenPOWER on IntegriCloud