summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Remove only uses of markDef/markDefAndUse methodsChris Lattner2002-11-171-6/+9
| | | | llvm-svn: 4719
* Fix Mul/Div clobbersChris Lattner2002-11-171-12/+23
| | | | llvm-svn: 4718
* Convert to use an enum to access def/use/use&def information. These makeChris Lattner2002-11-172-22/+54
| | | | | | | reading code much easier than just seeing "true, false" especially when default parameters default one but not both arguments. llvm-svn: 4717
* Fix a few typos, implement load/storeChris Lattner2002-11-171-12/+45
| | | | llvm-svn: 4716
* New testcase for loads and storesChris Lattner2002-11-171-0/+12
| | | | llvm-svn: 4715
* Add functions to buld X86 specific constructsChris Lattner2002-11-171-0/+28
| | | | llvm-svn: 4714
* Return const refefrences to enable default constructionChris Lattner2002-11-171-7/+8
| | | | llvm-svn: 4713
* Add information about memory index representationChris Lattner2002-11-171-1/+26
| | | | llvm-svn: 4712
* Add load/store instructionsChris Lattner2002-11-171-1/+9
| | | | llvm-svn: 4711
* Switch visitRet to use getClass()Chris Lattner2002-11-171-73/+66
| | | | llvm-svn: 4710
* UpdatesNick Hildenbrandt2002-11-151-3/+3
| | | | llvm-svn: 4709
* Fix warningChris Lattner2002-11-151-3/+1
| | | | llvm-svn: 4708
* include/llvm/CodeGen/MachineInstrBuilder.h: Add addClobber() inlineBrian Gaeke2002-11-145-44/+83
| | | | | | | | | | | | | | | | | | convenience method. Fix typo in comment. lib/Target/X86/InstSelectSimple.cpp: Explicitly specify some implicit uses. Use MOVZX/MOVSX instead of MOV instructions with sign extend instructions. Take out LEAVE instructions. 32-bit IDIV and DIV use CDQ, not CWQ (CWQ is a typo). Fix typo in comment and remove some FIXME comments. lib/Target/X86/Printer.cpp: Include X86InstrInfo.h and llvm/Function.h. Add some simple code to Printer::runOnFunction to iterate over MachineBasicBlocks and call X86InstrInfo::print(). lib/Target/X86/X86InstrInfo.def: Make some more instructions with implicit defs "Void". Add more sign/zero extending "move" insns (movsx, movzx). lib/Target/X86/X86RegisterInfo.def: Add EFLAGS as a register. llvm-svn: 4707
* Gives the count for various instructions.Dinakar Dhurjati2002-11-131-0/+189
| | | | llvm-svn: 4706
* Pass to compute various statisics related to DSGraphs.Vikram S. Adve2002-11-131-0/+86
| | | | | | | | For now, this just computes the #indirect call sites and the avg. #callees per indirect call site (actually it prints both totals and the average is their ratio). llvm-svn: 4705
* Fix bug: 2002-11-13-PointerFunction.llChris Lattner2002-11-131-1/+40
| | | | | | This should fix codegen on vortex to work much better llvm-svn: 4704
* New testcaseChris Lattner2002-11-131-0/+13
| | | | llvm-svn: 4703
* Add new numbersChris Lattner2002-11-121-7/+69
| | | | llvm-svn: 4702
* Inline graphs from outside the SCC into the SCC before SCC resolution startsChris Lattner2002-11-121-4/+104
| | | | llvm-svn: 4701
* Remove dead method, add new methodChris Lattner2002-11-121-7/+9
| | | | llvm-svn: 4700
* Fix two bugs:Chris Lattner2002-11-121-27/+27
| | | | | | | | | | * The globals vector was getting broken and unsorted, this caused vortex to get badly pessimized * Node offset handling was being handled really poorly, and in particular we were not merging types with offsets right. This causes several graphs to be non-merged. llvm-svn: 4699
* Add new numbersChris Lattner2002-11-121-1/+58
| | | | llvm-svn: 4698
* Fix bugChris Lattner2002-11-111-3/+2
| | | | llvm-svn: 4697
* Handle a mismatch between # function args and call site argsChris Lattner2002-11-111-1/+2
| | | | llvm-svn: 4696
* Elimiante calls to a node with nothing in it.Chris Lattner2002-11-111-36/+45
| | | | llvm-svn: 4695
* Complete rewrite of BU code to use Tarjan's SCC finding algorithm to driveChris Lattner2002-11-111-265/+351
| | | | | | the algorithm instead of hand coded depth first iteration llvm-svn: 4694
* Almost complete rewrite of BU closure codeChris Lattner2002-11-111-1/+15
| | | | llvm-svn: 4693
* More numbersChris Lattner2002-11-111-1/+120
| | | | llvm-svn: 4692
* InstSelectSimple.cpp: (visitReturnInst) Add return instructions with returnBrian Gaeke2002-11-112-9/+65
| | | | | | | values. X86InstrInfo.def: add LEAVE instruction. llvm-svn: 4691
* Mark stuff reachable by _AUX_ calls as incomplete in the BU graphChris Lattner2002-11-111-9/+15
| | | | llvm-svn: 4690
* Fix infinite loop in the BU algorithm. Unfortunately this dies a seriousChris Lattner2002-11-111-30/+177
| | | | | | death when handling moderately sized SCC's, but what can you do llvm-svn: 4689
* Print the right call set sizeChris Lattner2002-11-111-1/+3
| | | | llvm-svn: 4688
* Use call site mergeWith method to simplify codeChris Lattner2002-11-111-5/+1
| | | | llvm-svn: 4687
* add methodChris Lattner2002-11-101-0/+3
| | | | llvm-svn: 4686
* Add code to be able to merge two call sitesChris Lattner2002-11-101-0/+11
| | | | llvm-svn: 4685
* Add tarj_end() methodChris Lattner2002-11-101-0/+5
| | | | llvm-svn: 4684
* Fix a bug that could trigger when varargs call sites had non-matching number ↵Chris Lattner2002-11-101-2/+9
| | | | | | of arguments llvm-svn: 4683
* Add more infoChris Lattner2002-11-101-1/+65
| | | | llvm-svn: 4682
* * Dramatically rework liveness evaluation.Chris Lattner2002-11-101-172/+167
| | | | | | | | | * Implement the first step of the Globals graph: Deleting nodes from function graphs. In practice, these nodes need to be moved to the globals graph, but this will be taken care of later. Note that the graphs computed right now are not strictly correct! llvm-svn: 4681
* Add more numbersChris Lattner2002-11-101-1/+54
| | | | llvm-svn: 4680
* Add a timer to evaluate bytecode load time and space requirementsChris Lattner2002-11-101-0/+4
| | | | llvm-svn: 4679
* Honor the shouldPrintAuxCalls flagChris Lattner2002-11-101-4/+9
| | | | llvm-svn: 4678
* Initialize PrintAuxCalls memberChris Lattner2002-11-101-0/+1
| | | | llvm-svn: 4677
* Add hasGraph() methods to all of the passes for the printerChris Lattner2002-11-101-1/+13
| | | | llvm-svn: 4676
* * Bottom-Up graphs print the Aux call vectorChris Lattner2002-11-101-16/+42
| | | | | | | | | | * Significantly improve DEBUG output * Aggressively fold calls together if we inlined a graph that provides call nodes. * Add a bailout if the current graph has over 200 call nodes in it, this is a really whacky case that should never happen. llvm-svn: 4675
* Implement swappingChris Lattner2002-11-101-0/+15
| | | | llvm-svn: 4674
* Implement support for swapping. Callsites now sort by calleeChris Lattner2002-11-101-2/+16
| | | | llvm-svn: 4673
* Add capability to set a preference of what call vector is printed to dot filesChris Lattner2002-11-101-0/+11
| | | | llvm-svn: 4672
* Fix a problem where bad graphs could be generatedChris Lattner2002-11-101-1/+3
| | | | llvm-svn: 4671
* Run local, bu, & td analysesChris Lattner2002-11-101-1/+1
| | | | llvm-svn: 4670
OpenPOWER on IntegriCloud