summaryrefslogtreecommitdiffstats
path: root/llvm
Commit message (Collapse)AuthorAgeFilesLines
* Set the void flag on instructions that should get itChris Lattner2002-11-181-11/+11
| | | | llvm-svn: 4738
* Print is const!Chris Lattner2002-11-172-2/+2
| | | | llvm-svn: 4737
* Pass on a targetmachineChris Lattner2002-11-171-2/+3
| | | | llvm-svn: 4736
* Make sure that print gets a targetmachineChris Lattner2002-11-172-2/+4
| | | | | | CVS: ---------------------------------------------------------------------- llvm-svn: 4735
* Arrange to have a TargetMachine available in X86InstrInfo::printChris Lattner2002-11-172-4/+6
| | | | llvm-svn: 4734
* Omit the indirect node when printing call graphsChris Lattner2002-11-171-1/+3
| | | | llvm-svn: 4733
* Wow, I'm incapable of the simplest things today...Chris Lattner2002-11-171-1/+1
| | | | llvm-svn: 4732
* Rename registers to follow the intel style of all capsChris Lattner2002-11-171-27/+29
| | | | llvm-svn: 4731
* Fix misleading indentationChris Lattner2002-11-171-3/+2
| | | | llvm-svn: 4730
* Add machine independant printer interfaceChris Lattner2002-11-172-0/+12
| | | | llvm-svn: 4729
* Reorganize printing interface a bitChris Lattner2002-11-173-17/+18
| | | | llvm-svn: 4728
* Add default implementation of printing interfaceChris Lattner2002-11-171-3/+5
| | | | llvm-svn: 4727
* Finish enumating codeChris Lattner2002-11-171-3/+22
| | | | llvm-svn: 4726
* Fix minor detailChris Lattner2002-11-171-1/+1
| | | | llvm-svn: 4725
* Add more numbersChris Lattner2002-11-171-1/+170
| | | | llvm-svn: 4724
* Add hack to only consider indirect calls indirect if they do more than castChris Lattner2002-11-171-6/+14
| | | | | | their source function llvm-svn: 4723
* Add MaxSCC statisticsChris Lattner2002-11-171-6/+25
| | | | llvm-svn: 4722
* Count CallInsts correctly, remove unneccesary initializersChris Lattner2002-11-171-37/+3
| | | | | | S: ---------------------------------------------------------------------- llvm-svn: 4721
* Remove unused methodsChris Lattner2002-11-171-2/+0
| | | | llvm-svn: 4720
* 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
OpenPOWER on IntegriCloud