Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add peak memory usage measurement stuff | Chris Lattner | 2002-11-18 | 1 | -40/+64 |
| | | | | | | Add structure padding optimizations llvm-svn: 4749 | ||||
* | Add peak memory usage support | Chris Lattner | 2002-11-18 | 1 | -1/+4 |
| | | | | llvm-svn: 4748 | ||||
* | Add stats | Chris Lattner | 2002-11-18 | 1 | -4/+15 |
| | | | | llvm-svn: 4747 | ||||
* | *** empty log message *** | Nick Hildenbrandt | 2002-11-18 | 1 | -42/+46 |
| | | | | llvm-svn: 4745 | ||||
* | Start trying to print instructions more correctly. For now we also print ↵ | Chris Lattner | 2002-11-18 | 1 | -2/+91 |
| | | | | | | out the opcode for each instruction as well. llvm-svn: 4743 | ||||
* | Expose base opcode | Chris Lattner | 2002-11-18 | 2 | -0/+20 |
| | | | | llvm-svn: 4742 | ||||
* | Start to add more information to instr.def | Chris Lattner | 2002-11-18 | 4 | -94/+136 |
| | | | | llvm-svn: 4741 | ||||
* | Add instruction annotation about whether it has a 0x0F opcode prefix | Chris Lattner | 2002-11-18 | 2 | -17/+24 |
| | | | | llvm-svn: 4740 | ||||
* | Add more void flags | Chris Lattner | 2002-11-18 | 1 | -3/+3 |
| | | | | llvm-svn: 4739 | ||||
* | Set the void flag on instructions that should get it | Chris Lattner | 2002-11-18 | 1 | -11/+11 |
| | | | | llvm-svn: 4738 | ||||
* | Print is const! | Chris Lattner | 2002-11-17 | 1 | -1/+1 |
| | | | | llvm-svn: 4737 | ||||
* | Pass on a targetmachine | Chris Lattner | 2002-11-17 | 1 | -2/+3 |
| | | | | llvm-svn: 4736 | ||||
* | Arrange to have a TargetMachine available in X86InstrInfo::print | Chris Lattner | 2002-11-17 | 2 | -4/+6 |
| | | | | llvm-svn: 4734 | ||||
* | Wow, I'm incapable of the simplest things today... | Chris Lattner | 2002-11-17 | 1 | -1/+1 |
| | | | | llvm-svn: 4732 | ||||
* | Rename registers to follow the intel style of all caps | Chris Lattner | 2002-11-17 | 1 | -27/+29 |
| | | | | llvm-svn: 4731 | ||||
* | Fix misleading indentation | Chris Lattner | 2002-11-17 | 1 | -3/+2 |
| | | | | llvm-svn: 4730 | ||||
* | Reorganize printing interface a bit | Chris Lattner | 2002-11-17 | 3 | -17/+18 |
| | | | | llvm-svn: 4728 | ||||
* | Add default implementation of printing interface | Chris Lattner | 2002-11-17 | 1 | -3/+5 |
| | | | | llvm-svn: 4727 | ||||
* | Fix minor detail | Chris Lattner | 2002-11-17 | 1 | -1/+1 |
| | | | | llvm-svn: 4725 | ||||
* | Add hack to only consider indirect calls indirect if they do more than cast | Chris Lattner | 2002-11-17 | 1 | -6/+14 |
| | | | | | | their source function llvm-svn: 4723 | ||||
* | Add MaxSCC statistics | Chris Lattner | 2002-11-17 | 1 | -6/+25 |
| | | | | llvm-svn: 4722 | ||||
* | Count CallInsts correctly, remove unneccesary initializers | Chris Lattner | 2002-11-17 | 1 | -37/+3 |
| | | | | | | S: ---------------------------------------------------------------------- llvm-svn: 4721 | ||||
* | Remove only uses of markDef/markDefAndUse methods | Chris Lattner | 2002-11-17 | 1 | -6/+9 |
| | | | | llvm-svn: 4719 | ||||
* | Fix Mul/Div clobbers | Chris Lattner | 2002-11-17 | 1 | -12/+23 |
| | | | | llvm-svn: 4718 | ||||
* | Fix a few typos, implement load/store | Chris Lattner | 2002-11-17 | 1 | -12/+45 |
| | | | | llvm-svn: 4716 | ||||
* | Add functions to buld X86 specific constructs | Chris Lattner | 2002-11-17 | 1 | -0/+28 |
| | | | | llvm-svn: 4714 | ||||
* | Add information about memory index representation | Chris Lattner | 2002-11-17 | 1 | -1/+26 |
| | | | | llvm-svn: 4712 | ||||
* | Add load/store instructions | Chris Lattner | 2002-11-17 | 1 | -1/+9 |
| | | | | llvm-svn: 4711 | ||||
* | Switch visitRet to use getClass() | Chris Lattner | 2002-11-17 | 1 | -73/+66 |
| | | | | llvm-svn: 4710 | ||||
* | include/llvm/CodeGen/MachineInstrBuilder.h: Add addClobber() inline | Brian Gaeke | 2002-11-14 | 4 | -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 Dhurjati | 2002-11-13 | 1 | -0/+189 |
| | | | | llvm-svn: 4706 | ||||
* | Pass to compute various statisics related to DSGraphs. | Vikram S. Adve | 2002-11-13 | 1 | -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.ll | Chris Lattner | 2002-11-13 | 1 | -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 starts | Chris Lattner | 2002-11-12 | 1 | -4/+104 |
| | | | | llvm-svn: 4701 | ||||
* | Fix two bugs: | Chris Lattner | 2002-11-12 | 1 | -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 bug | Chris Lattner | 2002-11-11 | 1 | -3/+2 |
| | | | | llvm-svn: 4697 | ||||
* | Handle a mismatch between # function args and call site args | Chris Lattner | 2002-11-11 | 1 | -1/+2 |
| | | | | llvm-svn: 4696 | ||||
* | Elimiante calls to a node with nothing in it. | Chris Lattner | 2002-11-11 | 1 | -36/+45 |
| | | | | llvm-svn: 4695 | ||||
* | Complete rewrite of BU code to use Tarjan's SCC finding algorithm to drive | Chris Lattner | 2002-11-11 | 1 | -265/+351 |
| | | | | | | the algorithm instead of hand coded depth first iteration llvm-svn: 4694 | ||||
* | InstSelectSimple.cpp: (visitReturnInst) Add return instructions with return | Brian Gaeke | 2002-11-11 | 2 | -9/+65 |
| | | | | | | | values. X86InstrInfo.def: add LEAVE instruction. llvm-svn: 4691 | ||||
* | Mark stuff reachable by _AUX_ calls as incomplete in the BU graph | Chris Lattner | 2002-11-11 | 1 | -9/+15 |
| | | | | llvm-svn: 4690 | ||||
* | Fix infinite loop in the BU algorithm. Unfortunately this dies a serious | Chris Lattner | 2002-11-11 | 1 | -30/+177 |
| | | | | | | death when handling moderately sized SCC's, but what can you do llvm-svn: 4689 | ||||
* | Print the right call set size | Chris Lattner | 2002-11-11 | 1 | -1/+3 |
| | | | | llvm-svn: 4688 | ||||
* | Use call site mergeWith method to simplify code | Chris Lattner | 2002-11-11 | 1 | -5/+1 |
| | | | | llvm-svn: 4687 | ||||
* | Fix a bug that could trigger when varargs call sites had non-matching number ↵ | Chris Lattner | 2002-11-10 | 1 | -2/+9 |
| | | | | | | of arguments llvm-svn: 4683 | ||||
* | * Dramatically rework liveness evaluation. | Chris Lattner | 2002-11-10 | 1 | -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 flag | Chris Lattner | 2002-11-10 | 1 | -4/+9 |
| | | | | llvm-svn: 4678 | ||||
* | Initialize PrintAuxCalls member | Chris Lattner | 2002-11-10 | 1 | -0/+1 |
| | | | | llvm-svn: 4677 | ||||
* | * Bottom-Up graphs print the Aux call vector | Chris Lattner | 2002-11-10 | 1 | -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.ll | Chris Lattner | 2002-11-10 | 1 | -19/+37 |
| | | | | llvm-svn: 4668 |