summaryrefslogtreecommitdiffstats
path: root/llvm/lib
Commit message (Collapse)AuthorAgeFilesLines
* Add peak memory usage measurement stuffChris Lattner2002-11-181-40/+64
| | | | | | Add structure padding optimizations llvm-svn: 4749
* Add peak memory usage supportChris Lattner2002-11-181-1/+4
| | | | llvm-svn: 4748
* Add statsChris Lattner2002-11-181-4/+15
| | | | llvm-svn: 4747
* *** empty log message ***Nick Hildenbrandt2002-11-181-42/+46
| | | | llvm-svn: 4745
* Start trying to print instructions more correctly. For now we also print ↵Chris Lattner2002-11-181-2/+91
| | | | | | out the opcode for each instruction as well. llvm-svn: 4743
* Expose base opcodeChris Lattner2002-11-182-0/+20
| | | | llvm-svn: 4742
* Start to add more information to instr.defChris Lattner2002-11-184-94/+136
| | | | llvm-svn: 4741
* Add instruction annotation about whether it has a 0x0F opcode prefixChris Lattner2002-11-182-17/+24
| | | | llvm-svn: 4740
* Add more void flagsChris Lattner2002-11-181-3/+3
| | | | llvm-svn: 4739
* Set the void flag on instructions that should get itChris Lattner2002-11-181-11/+11
| | | | llvm-svn: 4738
* Print is const!Chris Lattner2002-11-171-1/+1
| | | | llvm-svn: 4737
* Pass on a targetmachineChris Lattner2002-11-171-2/+3
| | | | llvm-svn: 4736
* Arrange to have a TargetMachine available in X86InstrInfo::printChris Lattner2002-11-172-4/+6
| | | | llvm-svn: 4734
* 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
* 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
* Fix minor detailChris Lattner2002-11-171-1/+1
| | | | llvm-svn: 4725
* 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 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
* Fix a few typos, implement load/storeChris Lattner2002-11-171-12/+45
| | | | llvm-svn: 4716
* Add functions to buld X86 specific constructsChris Lattner2002-11-171-0/+28
| | | | llvm-svn: 4714
* 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
* include/llvm/CodeGen/MachineInstrBuilder.h: Add addClobber() inlineBrian Gaeke2002-11-144-43/+73
| | | | | | | | | | | | | | | | | | 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
* Inline graphs from outside the SCC into the SCC before SCC resolution startsChris Lattner2002-11-121-4/+104
| | | | llvm-svn: 4701
* 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
* 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
* 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
* 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
* * 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
* Honor the shouldPrintAuxCalls flagChris Lattner2002-11-101-4/+9
| | | | llvm-svn: 4678
* Initialize PrintAuxCalls memberChris Lattner2002-11-101-0/+1
| | | | llvm-svn: 4677
* * 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
* Fix testcase: FunctionResolve/2002-11-09-ExternFn.llChris Lattner2002-11-101-19/+37
| | | | llvm-svn: 4668
OpenPOWER on IntegriCloud