summaryrefslogtreecommitdiffstats
path: root/llvm
Commit message (Collapse)AuthorAgeFilesLines
* Original patch by Talin.Misha Brukman2009-01-017-2/+261
| | | | | | | | * Added the first LLVM unittest -- DenseMap. * Updated mkpatch utility to include llvm/unittests dir * Added top-level target "unittests" to run all unittests llvm-svn: 61541
* * Removed gtest-all.cc; .cc files including other .cc files is weirdMisha Brukman2009-01-018-85/+16
| | | | | | | | | | | | | * Removed gtest_main.cc: we have our own main() elsewhere * Simplified the Makefile as we don't need SOURCES * Moved the internal header to gtest/internal/ * Simplified the Makefile to remove -I param to CPP.Flags * Updated README.LLVM with all the steps I took to massage GTest to work in LLVM so far llvm-svn: 61540
* Moved Google Test code up one directory so that we can use a standard LLVMMisha Brukman2009-01-0113-3/+36
| | | | | | | | | Makefile with it, without resorting to the use of VPATH. Also added Makefiles at every level of the directory tree to properly recurse to Google Test and build it as a library (original Makefiles by Talin). llvm-svn: 61539
* Fix comment.Bill Wendling2009-01-011-1/+1
| | | | llvm-svn: 61538
* Add transformation:Bill Wendling2009-01-012-1/+43
| | | | | | | | xor (or (icmp, icmp), true) -> and(icmp, icmp) This is possible because of De Morgan's law. llvm-svn: 61537
* Some compilers are picky about accessing the first element of a std::vector ifBill Wendling2009-01-011-2/+5
| | | | | | there's nothing in the vector. Pacify them. llvm-svn: 61536
* Look through phi nodes and select instructions whenDuncan Sands2008-12-312-18/+30
| | | | | | calculating nocapture attributes. llvm-svn: 61535
* This is not failing on Darwin for some reason. XFAIL for other platforms.Bill Wendling2008-12-311-1/+1
| | | | llvm-svn: 61533
* Don't analyze arguments already marked 'nocapture'.Duncan Sands2008-12-313-1/+13
| | | | llvm-svn: 61532
* Fixed grammar and capitalization.Misha Brukman2008-12-311-5/+4
| | | | llvm-svn: 61531
* Add spacing between type and variable name.Misha Brukman2008-12-311-1/+1
| | | | llvm-svn: 61530
* Comment headers should extend to 80 chars.Misha Brukman2008-12-311-1/+1
| | | | llvm-svn: 61529
* Fix spacing to be uniform for parameters.Misha Brukman2008-12-311-2/+2
| | | | llvm-svn: 61528
* Removed extra spaces.Misha Brukman2008-12-311-2/+2
| | | | llvm-svn: 61527
* Import of Google Test 1.2.1, with the non-essential bits removed.Misha Brukman2008-12-3130-2/+22432
| | | | | | | Added a README.LLVM file to indicate which files and directories were removed from the original source tarball. llvm-svn: 61526
* Rename AddReadAttrs to FunctionAttrs, and teach it howDuncan Sands2008-12-3114-25/+175
| | | | | | | | to work out (in a very simplistic way) which function arguments (pointer arguments only) are only dereferenced and so do not escape. Mark such arguments 'nocapture'. llvm-svn: 61525
* CMake: Added some VC++ specific info to CMake.html.Oscar Fuentes2008-12-311-3/+41
| | | | llvm-svn: 61521
* Add a new Attribute::getAlignmentFromAttrs method.Chris Lattner2008-12-311-5/+11
| | | | llvm-svn: 61517
* XFAIL test caused by r61493. Apparently, this is expected?Bill Wendling2008-12-311-0/+4
| | | | llvm-svn: 61516
* Get live interval reconstruction several steps closer to working.Owen Anderson2008-12-311-66/+86
| | | | llvm-svn: 61514
* add a noteChris Lattner2008-12-311-0/+9
| | | | llvm-svn: 61513
* XFAIL this for now until I can figure out what's going on.Scott Michel2008-12-311-1/+3
| | | | llvm-svn: 61512
* Fix test erratum (which is wierd: works locally for me?)Scott Michel2008-12-301-1/+1
| | | | llvm-svn: 61511
* - Start moving target-dependent nodes that could be represented by anScott Michel2008-12-3015-632/+734
| | | | | | | | | | | | | instruction sequence and cannot ordinarily be simplified by DAGcombine into the various target description files or SPUDAGToDAGISel.cpp. This makes some 64-bit operations legal. - Eliminate target-dependent ISD enums. - Update tests. llvm-svn: 61508
* Linux wants the FDE initial location and address range to be forced to 32-bit.Bill Wendling2008-12-294-2/+14
| | | | | | Darwin doesn't. Make this optional for platforms. llvm-svn: 61484
* The FDE initial location and address range data should be free to be 64-bitBill Wendling2008-12-291-2/+2
| | | | | | (quad) on a 64-bit platform. This fixes a problem with EH frames on Darwin. llvm-svn: 61483
* * Updated TOC and fixed named anchorsMisha Brukman2008-12-291-14/+10
| | | | | | * Simplified section header marking llvm-svn: 61482
* Minimize the width of the notes region: it will end where the text ends, if theMisha Brukman2008-12-291-1/+1
| | | | | | | line of text is short enough, instead of stretching all the way to the right margin. llvm-svn: 61481
* Simplified marking code regions with a single <pre> rather thanMisha Brukman2008-12-291-50/+46
| | | | | | a (<div>, <pre>) combo. llvm-svn: 61480
* Make stripPointerCasts and getUnderlyingObjectDuncan Sands2008-12-291-26/+39
| | | | | | non-recursive. llvm-svn: 61479
* Experiments show that looking through phi nodesDuncan Sands2008-12-291-0/+2
| | | | | | | | | | and select instructions doesn't buy anything here except extra complexity: the only difference in the entire testsuite was that a readonly function became readnone in MiBench/consumer-typeset. Add a comment about this. llvm-svn: 61478
* Fixed spelling, removed trailing whitespace.Misha Brukman2008-12-291-2/+2
| | | | llvm-svn: 61477
* Center the legal note to give it even padding on left and right, and make itMisha Brukman2008-12-291-3/+3
| | | | | | stand out better. llvm-svn: 61475
* Cleanup: clarify llvm-gcc version and package name.Misha Brukman2008-12-291-7/+7
| | | | llvm-svn: 61474
* Clarify a bit. Based on feedback by Talin.Duncan Sands2008-12-291-20/+21
| | | | llvm-svn: 61470
* Allow readnone functions to read (and write!) globalDuncan Sands2008-12-292-4/+27
| | | | | | | | | | | | | | | | constants, since doing so is irrelevant for aliasing purposes. While this doesn't increase the total number of functions marked readonly or readnone in MultiSource/ Applications (3089), it does result in 12 functions being marked readnone rather than readonly. Before: readnone: 820 readonly: 2269 After: readnone: 832 readonly: 2257 llvm-svn: 61469
* Add braces, as suggested by a gcc warning.Duncan Sands2008-12-291-4/+6
| | | | llvm-svn: 61465
* - Various '#if 0' cleanups.Scott Michel2008-12-293-156/+174
| | | | | | | | | - Move v4i32, i32 mul into SPUInstrInfo.td, with a few more instruction cleanups there as well. - Make SMUL_LOHI, UMUL_LOHI competely illegal for Cell SPU, to better assist Chris to see the problem in bug 3101. llvm-svn: 61464
* Teach LeaglizeDAG that i64 mul can be a libcall.Scott Michel2008-12-291-0/+2
| | | | llvm-svn: 61463
* select constant exprs should have the same constraints as select instructions,Chris Lattner2008-12-291-3/+1
| | | | | | notably, they should support vectors and aggregates. llvm-svn: 61462
* move select validation logic into a shared place where the select ctor,Chris Lattner2008-12-293-17/+36
| | | | | | verifier, asm parser, etc can share it. llvm-svn: 61461
* Fix up kill/dead marking in the new live interval reconstruction code.Owen Anderson2008-12-281-6/+18
| | | | llvm-svn: 61460
* Forgot to commit this file.Owen Anderson2008-12-281-0/+10
| | | | | | Add a clear() method to remove all ranges and value numbers for a live interval. llvm-svn: 61459
* Add prototype code for recomputing a live interval's ranges and valnos ↵Owen Anderson2008-12-281-1/+260
| | | | | | through recursive phi construction. llvm-svn: 61458
* Check that the function prototypes are correct before assuming that the Nick Lewycky2008-12-272-18/+47
| | | | | | parameters are pointers. llvm-svn: 61451
* add testcase for type parsing.Chris Lattner2008-12-271-0/+21
| | | | llvm-svn: 61449
* implement simplify_type for PATypeHolder so that isa<FooType>(PATypeHolder)Chris Lattner2008-12-271-0/+16
| | | | | | works. llvm-svn: 61448
* - Remove Tilmann's custom truncate lowering: it completely hosed overScott Michel2008-12-2719-653/+1509
| | | | | | | | | | | | | | | | | | | | | | | | DAGcombine's ability to find reasons to remove truncates when they were not needed. Consequently, the CellSPU backend would produce correct, but _really slow and horrible_, code. Replaced with instruction sequences that do the equivalent truncation in SPUInstrInfo.td. - Re-examine how unaligned loads and stores work. Generated unaligned load code has been tested on the CellSPU hardware; see the i32operations.c and i64operations.c in CodeGen/CellSPU/useful-harnesses. (While they may be toy test code, it does prove that some real world code does compile correctly.) - Fix truncating stores in bug 3193 (note: unpack_df.ll will still make llc fault because i64 ult is not yet implemented.) - Added i64 eq and neq for setcc and select/setcc; started new instruction information file for them in SPU64InstrInfo.td. Additional i64 operations should be added to this file and not to SPUInstrInfo.td. llvm-svn: 61447
* add PR #Chris Lattner2008-12-251-0/+1
| | | | llvm-svn: 61427
* Add a simple pattern for matching 'bt'.Chris Lattner2008-12-252-10/+66
| | | | llvm-svn: 61426
OpenPOWER on IntegriCloud