summaryrefslogtreecommitdiffstats
path: root/llvm
Commit message (Collapse)AuthorAgeFilesLines
* Added support for decomposing constant expressions containing shr and shlJohn Criswell2005-05-111-0/+24
| | | | | | | instructions. Review of this commit would be greatly appreciated. llvm-svn: 21876
* Fix lowering of ctlz, so now UnitTests/2005-05-11-Popcount-ffs-fls passesChris Lattner2005-05-111-40/+26
| | | | | | with the CBE llvm-svn: 21875
* Fix lowering of cttz to work with signed valuesChris Lattner2005-05-111-5/+4
| | | | llvm-svn: 21874
* fix and concisify intinsic lowering for ctpop. Unfortunately, this codeChris Lattner2005-05-111-167/+61
| | | | | | looks completely untested. :( llvm-svn: 21873
* Fix the last remaining bug preventing us from switching the X86 BE overChris Lattner2005-05-111-30/+68
| | | | | | | | | from the simple isel to the pattern isel. This forces inserted libcalls to serialize against other function calls, which was breaking UnitTests/2005-05-12-Int64ToFP. Hopefully this will fix issues on other targets as well. llvm-svn: 21872
* Do not memoize ADJCALLSTACKDOWN nodes, provide a method to hack on them.Chris Lattner2005-05-111-3/+24
| | | | llvm-svn: 21871
* wrap long lineChris Lattner2005-05-111-1/+2
| | | | llvm-svn: 21870
* new methodChris Lattner2005-05-111-0/+4
| | | | llvm-svn: 21869
* Make sure to legalize generated ctpop nodes, convert tabs to spacesChris Lattner2005-05-111-18/+18
| | | | llvm-svn: 21868
* Legalize for CTLZ generates a ctpop, but this ctpop is not expanded.Andrew Lenharth2005-05-111-0/+12
| | | | | | | This is bad. It is generated if you are ctlz a type that is not legal for the arch (aka ctlz of bytes on alpha legalize fine). llvm-svn: 21867
* expand count-leading/trailing-zeros; the test 2005-05-11-Popcount-ffs-fls.cDuraid Madina2005-05-111-19/+32
| | | | | | should now pass (the "LLVM" and "REF" results should be identical) llvm-svn: 21866
* include the other bit count intrinsicsChris Lattner2005-05-111-0/+38
| | | | llvm-svn: 21863
* Add some notes for expanding clz/ctzChris Lattner2005-05-111-4/+21
| | | | llvm-svn: 21862
* Simplify this code, use the proper shift amountChris Lattner2005-05-111-11/+10
| | | | llvm-svn: 21861
* add the popcount instruction and support this in the iselDuraid Madina2005-05-112-1/+8
| | | | | | | the primary user of this will probably end up being find-first-set-bit/find- last-set-bit, which i'll get around to... llvm-svn: 21860
* Legalize this correctlyChris Lattner2005-05-111-1/+3
| | | | llvm-svn: 21859
* No really IA*64* :)Chris Lattner2005-05-111-3/+3
| | | | llvm-svn: 21858
* X86 has more than just 32-bit registersChris Lattner2005-05-111-0/+6
| | | | llvm-svn: 21857
* implement expansion of ctpop nodes, implementing ↵Chris Lattner2005-05-111-5/+16
| | | | | | CodeGen/Generic/llvm-ct-intrinsics.ll llvm-svn: 21856
* Print bit count nodes correctlyChris Lattner2005-05-111-0/+6
| | | | llvm-svn: 21855
* new testcaseChris Lattner2005-05-111-0/+21
| | | | llvm-svn: 21854
* update this to reflect the new selection daggy worldChris Lattner2005-05-111-11/+53
| | | | llvm-svn: 21853
* don't duplicate information, particularly when it's out of date!Chris Lattner2005-05-111-6/+2
| | | | llvm-svn: 21852
* Do not use "" as a sentinal for a missing argument! This fixes PR560.Chris Lattner2005-05-101-11/+12
| | | | llvm-svn: 21850
* new testcase for PR562Chris Lattner2005-05-101-0/+6
| | | | llvm-svn: 21849
* Remove vim modeline; this should go into ~/.vimrcMisha Brukman2005-05-101-2/+0
| | | | llvm-svn: 21848
* Remove vim modeline, this belongs in ~/.vimrcMisha Brukman2005-05-101-2/+0
| | | | llvm-svn: 21847
* Consistently surround `cl::' code structures with <b> and <tt> to make themMisha Brukman2005-05-101-12/+14
| | | | | | stand out as code llvm-svn: 21846
* Why output multiple strings, let the compiler concatenate them for us for freeMisha Brukman2005-05-101-3/+3
| | | | llvm-svn: 21845
* * Convert tabs to spaces, fix code alignmentMisha Brukman2005-05-102-77/+75
| | | | | | | * Remove trailing whitespace * Wrap long lines llvm-svn: 21844
* note HP-UX supportDuraid Madina2005-05-101-0/+5
| | | | llvm-svn: 21841
* Convert feature of the simple isel over for the pattern isel to use.Chris Lattner2005-05-101-5/+28
| | | | llvm-svn: 21840
* Fix Reassociate/shifttest.llChris Lattner2005-05-101-6/+7
| | | | llvm-svn: 21839
* Silence some VC++ warningsJeff Cohen2005-05-102-3/+2
| | | | llvm-svn: 21838
* new testcaseChris Lattner2005-05-101-0/+11
| | | | llvm-svn: 21837
* If a function contains no allocas, all of the calls in it are triviallyChris Lattner2005-05-091-3/+45
| | | | | | suitable for tail calls. llvm-svn: 21836
* The semantics of cast X to bool are a comparison against zero, not a truncation!Chris Lattner2005-05-091-0/+5
| | | | llvm-svn: 21833
* testcase I've had in my treeChris Lattner2005-05-091-0/+17
| | | | llvm-svn: 21832
* Implement READPORT/WRITEPORT, implementing the last X86 regression testsChris Lattner2005-05-091-2/+102
| | | | | | | | that were failing with the pattern selector. Note that the support that existed in the simple selector was clearly broken in several ways though (which has also been fixed). llvm-svn: 21831
* do not emit illegal instructionsChris Lattner2005-05-091-2/+2
| | | | llvm-svn: 21830
* Fix the syntax of the i/o instructions, these are obviously unused.Chris Lattner2005-05-091-12/+12
| | | | llvm-svn: 21829
* legalize readio/writeio into load/stores, fixing CodeGen/X86/io.llx withChris Lattner2005-05-091-0/+9
| | | | | | the pattern isel. llvm-svn: 21828
* legalize readio/writeio into a load/store if requestedChris Lattner2005-05-091-5/+55
| | | | llvm-svn: 21827
* legalize READPORT, WRITEPORT, READIO, WRITEIO, at least in the basic casesChris Lattner2005-05-091-9/+43
| | | | | | | where they are directly supported by the architecture. Wrap a bunch of long lines :( llvm-svn: 21826
* Add support for matching the READPORT, WRITEPORT, READIO, WRITEIO intrinsicsChris Lattner2005-05-091-14/+28
| | | | llvm-svn: 21825
* Add support for READPORT, WRITEPORT, READIO, WRITEIOChris Lattner2005-05-091-1/+10
| | | | llvm-svn: 21824
* Add READPORT, WRITEPORT, READIO, WRITEIO nodes, wrap long linesChris Lattner2005-05-092-6/+14
| | | | llvm-svn: 21823
* Tell tblgen exactly where to find the include file.John Criswell2005-05-091-1/+1
| | | | llvm-svn: 21822
* restore some non-dead code I removed last night breaking double casts toChris Lattner2005-05-091-1/+3
| | | | | | uint llvm-svn: 21821
* fold and (shl X, C1), C2 -> rlwinm when possible. Many other cases are ↵Chris Lattner2005-05-091-1/+20
| | | | | | | | possible, include and (srl) and the inverses (shl and) etc. llvm-svn: 21820
OpenPOWER on IntegriCloud