aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* New testcase for logical operatorsChris Lattner2002-11-021-0/+16
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4501 91177308-0d34-0410-b5e6-96231b3b80d8
* Add PHI node support, add comment for branch functionChris Lattner2002-11-022-0/+42
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4500 91177308-0d34-0410-b5e6-96231b3b80d8
* Make phi test a bit more challengingChris Lattner2002-11-021-3/+6
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4499 91177308-0d34-0410-b5e6-96231b3b80d8
* Implement unconditional branching supportChris Lattner2002-11-023-1/+20
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4498 91177308-0d34-0410-b5e6-96231b3b80d8
* Only test that uncond branch worksChris Lattner2002-11-021-2/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4497 91177308-0d34-0410-b5e6-96231b3b80d8
* * Fix nonconstant shift caseChris Lattner2002-11-022-108/+38
| | | | | | | * Turn table into 2d table git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4496 91177308-0d34-0410-b5e6-96231b3b80d8
* Expose a LJELLO variableChris Lattner2002-11-021-0/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4495 91177308-0d34-0410-b5e6-96231b3b80d8
* Tests results are invalidated when jello is rebuiltChris Lattner2002-11-021-2/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4494 91177308-0d34-0410-b5e6-96231b3b80d8
* Use a more table driven approach to handling types. Seems to simplify theChris Lattner2002-11-022-394/+224
| | | | | | | code a bit git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4493 91177308-0d34-0410-b5e6-96231b3b80d8
* Make switch statements denser, but only because of the follow-on patchChris Lattner2002-11-022-64/+92
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4492 91177308-0d34-0410-b5e6-96231b3b80d8
* * Remove dead variableChris Lattner2002-11-022-8/+12
| | | | | | | * Shift amount is always guaranteed to be 8 bits git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4491 91177308-0d34-0410-b5e6-96231b3b80d8
* Implement the "unknown flag" which mainly consists of aligning printing codeChris Lattner2002-11-024-25/+33
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4490 91177308-0d34-0410-b5e6-96231b3b80d8
* Oops, this was not meant to be checked inChris Lattner2002-11-021-2/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4489 91177308-0d34-0410-b5e6-96231b3b80d8
* 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. :) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4488 91177308-0d34-0410-b5e6-96231b3b80d8
* * Eliminate Scalar node type (renumber other node types)Chris Lattner2002-11-022-18/+22
| | | | | | | * Allow DSNodeHandle::mergeWith to work if a node handle isn't pointing to a node yet git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4487 91177308-0d34-0410-b5e6-96231b3b80d8
* Fixed bug in Regression/CBackend/2002-10-30-FunctionPointerAlloca.llNick Hildenbrandt2002-11-012-2/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4486 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix comments, steens is context sensitive, we just haven't implementedChris Lattner2002-11-011-3/+3
| | | | | | | mod/ref apis yet git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4485 91177308-0d34-0410-b5e6-96231b3b80d8
* Add a testcase cee should eventually passChris Lattner2002-11-011-0/+21
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4484 91177308-0d34-0410-b5e6-96231b3b80d8
* Use absolute path name for "analyze" since we are changing directories.Vikram S. Adve2002-11-011-1/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4483 91177308-0d34-0410-b5e6-96231b3b80d8
* New iostream definitionsChris Lattner2002-11-012-0/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4482 91177308-0d34-0410-b5e6-96231b3b80d8
* Make sure to include name information if we have itChris Lattner2002-11-011-1/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4481 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix burg build problem.Chris Lattner2002-11-012-0/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4480 91177308-0d34-0410-b5e6-96231b3b80d8
* Add a fixmeChris Lattner2002-10-311-0/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4479 91177308-0d34-0410-b5e6-96231b3b80d8
* A new test case that tries to generate all the different possible shiftBrian Gaeke2002-10-311-0/+27
| | | | | | | opcodes. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4478 91177308-0d34-0410-b5e6-96231b3b80d8
* InstSelectSimple.cpp: Include llvm/iOther.h for ShiftInst.Brian Gaeke2002-10-313-5/+401
| | | | | | | | | | 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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4477 91177308-0d34-0410-b5e6-96231b3b80d8
* * 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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4476 91177308-0d34-0410-b5e6-96231b3b80d8
* Eliminate some unneccesary #includes and forward declsChris Lattner2002-10-314-56/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4475 91177308-0d34-0410-b5e6-96231b3b80d8
* CBE doesn't alloc correctlyNick Hildenbrandt2002-10-313-2/+22
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4474 91177308-0d34-0410-b5e6-96231b3b80d8
* Reassociate pass now worksChris Lattner2002-10-311-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4473 91177308-0d34-0410-b5e6-96231b3b80d8
* Reassociate now worksChris Lattner2002-10-311-3/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4472 91177308-0d34-0410-b5e6-96231b3b80d8
* 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! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4471 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix nasty bug in ::isNeg()Chris Lattner2002-10-311-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4470 91177308-0d34-0410-b5e6-96231b3b80d8
* 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). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4469 91177308-0d34-0410-b5e6-96231b3b80d8
* 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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4468 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove dead codeChris Lattner2002-10-311-31/+12
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4467 91177308-0d34-0410-b5e6-96231b3b80d8
* Refactored DSGraph.h:Misha Brukman2002-10-316-970/+1072
| | | | | | | | | * DSGraph.h contains DSGraph * DSNode.h contains DSNode (soon UDSNode and MDSNode) * DSSupport.h contains DSCallsite, DSTypeRec, and DSNodeHandler git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4466 91177308-0d34-0410-b5e6-96231b3b80d8
* This fixes all kinds of problems with array handling. There are still bugs toChris Lattner2002-10-314-127/+364
| | | | | | | | | | | | | | | | | 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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4465 91177308-0d34-0410-b5e6-96231b3b80d8
* New testcasesChris Lattner2002-10-312-0/+84
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4464 91177308-0d34-0410-b5e6-96231b3b80d8
* Tell cvs to ignore *.dot and *.ps files in this directoryChris Lattner2002-10-311-0/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4463 91177308-0d34-0410-b5e6-96231b3b80d8
* New testcase for the possible array merging scenariosChris Lattner2002-10-311-0/+38
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4462 91177308-0d34-0410-b5e6-96231b3b80d8
* Can simplify code now with the isCommutative() method.Chris Lattner2002-10-311-13/+5
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4461 91177308-0d34-0410-b5e6-96231b3b80d8
* 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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4460 91177308-0d34-0410-b5e6-96231b3b80d8
* New isAssociative/isCommutative inspection methods, graciously contributed byChris Lattner2002-10-312-0/+60
| | | | | | | Casey Carter. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4459 91177308-0d34-0410-b5e6-96231b3b80d8
* Statistic class should return const reference to *this, not a reference toChris Lattner2002-10-312-12/+12
| | | | | | | the data type. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4458 91177308-0d34-0410-b5e6-96231b3b80d8
* BreakCriticalEdges should update dominance frontier information as well asChris Lattner2002-10-312-4/+28
| | | | | | | other dominance stuff. Patch contributed by Casey Carter git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4457 91177308-0d34-0410-b5e6-96231b3b80d8
* Add interface to update domfrontier info, thanks to Casey Carter for implChris Lattner2002-10-311-3/+21
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4456 91177308-0d34-0410-b5e6-96231b3b80d8
* New testcasesChris Lattner2002-10-313-0/+65
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4455 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix two problems:Chris Lattner2002-10-301-31/+31
| | | | | | | | | | * Load Implementation can cause unaligned memory accesses, which caused problems for sparc. * cast from pointer to pointer would zero the upper 32 bits of the pointer which obviously causes problems on 64 bit hosts. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4454 91177308-0d34-0410-b5e6-96231b3b80d8
* Bug fix: need to initialize new CallArgsDescriptor pointer.Vikram S. Adve2002-10-302-2/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4453 91177308-0d34-0410-b5e6-96231b3b80d8
* Bug fix in setting an implicit ref.Vikram S. Adve2002-10-301-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4452 91177308-0d34-0410-b5e6-96231b3b80d8