summaryrefslogtreecommitdiffstats
path: root/llvm
Commit message (Collapse)AuthorAgeFilesLines
* Enable div and mod testsChris Lattner2002-11-021-12/+12
| | | | llvm-svn: 4507
* Implement multiply operatorChris Lattner2002-11-022-1/+32
| | | | llvm-svn: 4506
* Enable multiply testsChris Lattner2002-11-021-3/+3
| | | | llvm-svn: 4505
* New testcase for arithmetic operationsChris Lattner2002-11-021-0/+28
| | | | llvm-svn: 4504
* * Implement subtractChris Lattner2002-11-022-29/+20
| | | | | | * Merge add code into logical code llvm-svn: 4503
* shuffle code around a bit, implement and, or, xorChris Lattner2002-11-022-33/+80
| | | | llvm-svn: 4502
* New testcase for logical operatorsChris Lattner2002-11-021-0/+16
| | | | llvm-svn: 4501
* Add PHI node support, add comment for branch functionChris Lattner2002-11-021-0/+21
| | | | llvm-svn: 4500
* Make phi test a bit more challengingChris Lattner2002-11-021-3/+6
| | | | llvm-svn: 4499
* Implement unconditional branching supportChris Lattner2002-11-022-1/+11
| | | | llvm-svn: 4498
* Only test that uncond branch worksChris Lattner2002-11-021-2/+2
| | | | llvm-svn: 4497
* * Fix nonconstant shift caseChris Lattner2002-11-021-54/+19
| | | | | | * Turn table into 2d table llvm-svn: 4496
* Expose a LJELLO variableChris Lattner2002-11-021-0/+1
| | | | llvm-svn: 4495
* Tests results are invalidated when jello is rebuiltChris Lattner2002-11-021-2/+2
| | | | llvm-svn: 4494
* Use a more table driven approach to handling types. Seems to simplify theChris Lattner2002-11-021-197/+112
| | | | | | code a bit llvm-svn: 4493
* Make switch statements denser, but only because of the follow-on patchChris Lattner2002-11-021-32/+46
| | | | llvm-svn: 4492
* * Remove dead variableChris Lattner2002-11-021-4/+6
| | | | | | * Shift amount is always guaranteed to be 8 bits llvm-svn: 4491
* Implement the "unknown flag" which mainly consists of aligning printing codeChris Lattner2002-11-023-18/+25
| | | | llvm-svn: 4490
* Oops, this was not meant to be checked inChris Lattner2002-11-021-2/+1
| | | | llvm-svn: 4489
* Stop representing scalars as explicit nodes in the graph. Now the onlyChris Lattner2002-11-024-170/+133
| | | | | | | | | nodes in the graph are memory objects, which is very nice. This also greatly reduces the size and memory footprint for DSGraphs. For example, the local DSGraph for llu went from 65 to 13 nodes with this change. As a side bonus, dot seems to lay out the graphs slightly better too. :) llvm-svn: 4488
* * Eliminate Scalar node type (renumber other node types)Chris Lattner2002-11-021-9/+11
| | | | | | * Allow DSNodeHandle::mergeWith to work if a node handle isn't pointing to a node yet llvm-svn: 4487
* Fixed bug in Regression/CBackend/2002-10-30-FunctionPointerAlloca.llNick Hildenbrandt2002-11-011-1/+1
| | | | llvm-svn: 4486
* Fix comments, steens is context sensitive, we just haven't implementedChris Lattner2002-11-011-3/+3
| | | | | | mod/ref apis yet llvm-svn: 4485
* Add a testcase cee should eventually passChris Lattner2002-11-011-0/+21
| | | | llvm-svn: 4484
* Use absolute path name for "analyze" since we are changing directories.Vikram S. Adve2002-11-011-1/+4
| | | | llvm-svn: 4483
* New iostream definitionsChris Lattner2002-11-011-0/+1
| | | | llvm-svn: 4482
* Make sure to include name information if we have itChris Lattner2002-11-011-1/+2
| | | | llvm-svn: 4481
* Fix burg build problem.Chris Lattner2002-11-011-0/+2
| | | | llvm-svn: 4480
* Add a fixmeChris Lattner2002-10-311-0/+2
| | | | llvm-svn: 4479
* A new test case that tries to generate all the different possible shiftBrian Gaeke2002-10-311-0/+27
| | | | | | opcodes. llvm-svn: 4478
* InstSelectSimple.cpp: Include llvm/iOther.h for ShiftInst.Brian Gaeke2002-10-312-4/+213
| | | | | | | | | Add ISel::visitShiftInst() to instruction select shift instructions. Add a comment in visitAdd about how to do 64 bit adds. X86InstrInfo.def: Add register-to-register move opcodes and shift opcodes. llvm-svn: 4477
* * Minor optimization: when merging nodes, merge the smaller one into theChris Lattner2002-10-311-3/+13
| | | | | | | larger one. * Handle the case where we are merging two nodes of different size better. llvm-svn: 4476
* Eliminate some unneccesary #includes and forward declsChris Lattner2002-10-312-28/+0
| | | | llvm-svn: 4475
* CBE doesn't alloc correctlyNick Hildenbrandt2002-10-312-2/+12
| | | | llvm-svn: 4474
* Reassociate pass now worksChris Lattner2002-10-311-1/+1
| | | | llvm-svn: 4473
* Reassociate now worksChris Lattner2002-10-311-3/+2
| | | | llvm-svn: 4472
* Fixes to the reassociate pass to make it respect dominance propertiesChris Lattner2002-10-311-57/+54
| | | | | | | Huge thanks go to Casey Carter for writing this fix, reassociate is now reoperational! llvm-svn: 4471
* Fix nasty bug in ::isNeg()Chris Lattner2002-10-311-1/+1
| | | | llvm-svn: 4470
* Restore support for indirect function calls (which briefly wasn't workingVikram S. Adve2002-10-311-4/+10
| | | | | | after I removed annotations on MachineInstr for the CallDescriptor). llvm-svn: 4469
* Do not print "NEW FILES AND DIRECTORIES" unless requested separatelyVikram S. Adve2002-10-311-6/+13
| | | | | | | | | | because this is usually such a long list that it makes the output useless anyway. Disable checking exit status until we can find something more precise. The exit status is too coarse-grain to be useful. llvm-svn: 4468
* Remove dead codeChris Lattner2002-10-311-31/+12
| | | | llvm-svn: 4467
* Refactored DSGraph.h:Misha Brukman2002-10-313-485/+536
| | | | | | | | * DSGraph.h contains DSGraph * DSNode.h contains DSNode (soon UDSNode and MDSNode) * DSSupport.h contains DSCallsite, DSTypeRec, and DSNodeHandler llvm-svn: 4466
* This fixes all kinds of problems with array handling. There are still bugs toChris Lattner2002-10-313-105/+304
| | | | | | | | | | | | | | | | be fixed, but we are getting much closer now. * Make DSNode::TypeRec a full fledged DSTypeRec type. * Add methods used to update and access the typerecords elements * Add methods to query if and to cause a node to be completely folded * DSGraph construction doesn't use the allocation type for anything at all, now nodes get their type information based on how they are used. * Fixed a bug with global value handling introduced in the last checkin * GEP support is now much better, arrays are handled correctly. The array flag is now updated in type records. There are still cases that are not handled yet (we do not detect pessimizations), but getting much closer. llvm-svn: 4465
* New testcasesChris Lattner2002-10-312-0/+84
| | | | llvm-svn: 4464
* Tell cvs to ignore *.dot and *.ps files in this directoryChris Lattner2002-10-311-0/+2
| | | | llvm-svn: 4463
* New testcase for the possible array merging scenariosChris Lattner2002-10-311-0/+38
| | | | llvm-svn: 4462
* Can simplify code now with the isCommutative() method.Chris Lattner2002-10-311-13/+5
| | | | llvm-svn: 4461
* Use new isCommutative interface, which gives us SetEQ and SetNE for free.Chris Lattner2002-10-311-7/+3
| | | | | | Thanks fly out to Casey Carter for this fix. llvm-svn: 4460
* New isAssociative/isCommutative inspection methods, graciously contributed byChris Lattner2002-10-312-0/+60
| | | | | | Casey Carter. llvm-svn: 4459
* Statistic class should return const reference to *this, not a reference toChris Lattner2002-10-311-6/+6
| | | | | | the data type. llvm-svn: 4458
OpenPOWER on IntegriCloud