aboutsummaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Add definitions for function headers from MRegisterInfo.h:Misha Brukman2002-11-203-0/+188
| | | | | | | | | Some functions are in X86RegisterInfo.cpp, others, because of the data they need, are in X86RegisterClasses.cpp, which also defines some register classes: byte, short, and int. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4784 91177308-0d34-0410-b5e6-96231b3b80d8
* Check not only for MO_VirtualRegister, but MO_MachineRegister as well whenMisha Brukman2002-11-202-14/+28
| | | | | | | printing out assembly. After all, we want the real thing too. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4783 91177308-0d34-0410-b5e6-96231b3b80d8
* Initialize the SSARegMap.Misha Brukman2002-11-201-0/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4782 91177308-0d34-0410-b5e6-96231b3b80d8
* Don't build X86 target yetChris Lattner2002-11-201-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4780 91177308-0d34-0410-b5e6-96231b3b80d8
* - Eliminated the deferred symbol table stuff in Module & Function, it reallyChris Lattner2002-11-2024-196/+149
| | | | | | | wasn't an optimization and it was causing lots of bugs. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4779 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix minor bugsChris Lattner2002-11-201-2/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4778 91177308-0d34-0410-b5e6-96231b3b80d8
* Eliminate the concept of a deferred symbol table. The optimization really ↵Chris Lattner2002-11-201-22/+1
| | | | | | | | | isn't, and it causes obscure bugs to show up in passes. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4777 91177308-0d34-0410-b5e6-96231b3b80d8
* Add mapping in MachineFunction from SSA regs to Register Classes. Also,Misha Brukman2002-11-202-2/+22
| | | | | | | | uncovered a bug where registers were not being put in a map if they were not found... git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4776 91177308-0d34-0410-b5e6-96231b3b80d8
* Sigh. Fixed some speling.Misha Brukman2002-11-201-3/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4775 91177308-0d34-0410-b5e6-96231b3b80d8
* Thanks to the R8, R16, and R32 macros, I can now deal with registers thatMisha Brukman2002-11-201-27/+40
| | | | | | | belong to different register classes easier. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4773 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove unneccesary #includeChris Lattner2002-11-191-1/+0
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4772 91177308-0d34-0410-b5e6-96231b3b80d8
* Implement the CloneFunction functionChris Lattner2002-11-191-0/+40
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4771 91177308-0d34-0410-b5e6-96231b3b80d8
* Minor changes to cloning interfaceChris Lattner2002-11-192-18/+14
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4770 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix two fixmes: integrate with inlining, and documentChris Lattner2002-11-191-6/+7
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4769 91177308-0d34-0410-b5e6-96231b3b80d8
* Rework inline pass to use cloning infrastructure to do the dirty workChris Lattner2002-11-192-119/+52
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4766 91177308-0d34-0410-b5e6-96231b3b80d8
* Start using the new function cloning headerChris Lattner2002-11-192-4/+5
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4764 91177308-0d34-0410-b5e6-96231b3b80d8
* Move MutatStructTypes.h out of IPOChris Lattner2002-11-192-2/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4762 91177308-0d34-0410-b5e6-96231b3b80d8
* Rename CloneFunction.h to Cloning.hChris Lattner2002-11-191-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4760 91177308-0d34-0410-b5e6-96231b3b80d8
* Move the function extractor pass from tools/extract into lib/Xform/IPOChris Lattner2002-11-191-0/+83
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4759 91177308-0d34-0410-b5e6-96231b3b80d8
* Add a new Module::getNamedFunction methodChris Lattner2002-11-191-3/+12
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4758 91177308-0d34-0410-b5e6-96231b3b80d8
* Brian Gaeke says:Brian Gaeke2002-11-193-12/+43
| | | | | | | | | lib/Target/X86/InstSelectSimple.cpp: Add a little something to visitBranchInst which supports conditional branches. lib/Target/X86/X86InstrInfo.def: Add defs of JNE, JE, CMPri8 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4755 91177308-0d34-0410-b5e6-96231b3b80d8
* *** empty log message ***Nick Hildenbrandt2002-11-182-8/+16
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4754 91177308-0d34-0410-b5e6-96231b3b80d8
* Add peak memory usage measurement capabilityChris Lattner2002-11-181-8/+121
| | | | | | | Add (currently disabled) faciility to try to filter out pool allocation overhead from memory usage stats git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4753 91177308-0d34-0410-b5e6-96231b3b80d8
* Add peak memory usage measurement stuffChris Lattner2002-11-181-40/+64
| | | | | | | Add structure padding optimizations git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4749 91177308-0d34-0410-b5e6-96231b3b80d8
* Add peak memory usage supportChris Lattner2002-11-181-1/+4
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4748 91177308-0d34-0410-b5e6-96231b3b80d8
* Add statsChris Lattner2002-11-181-4/+15
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4747 91177308-0d34-0410-b5e6-96231b3b80d8
* *** empty log message ***Nick Hildenbrandt2002-11-182-84/+92
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4745 91177308-0d34-0410-b5e6-96231b3b80d8
* Start trying to print instructions more correctly. For now we also print ↵Chris Lattner2002-11-182-4/+182
| | | | | | out the opcode for each instruction as well. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4743 91177308-0d34-0410-b5e6-96231b3b80d8
* Expose base opcodeChris Lattner2002-11-182-0/+20
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4742 91177308-0d34-0410-b5e6-96231b3b80d8
* Start to add more information to instr.defChris Lattner2002-11-184-94/+136
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4741 91177308-0d34-0410-b5e6-96231b3b80d8
* Add instruction annotation about whether it has a 0x0F opcode prefixChris Lattner2002-11-182-17/+24
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4740 91177308-0d34-0410-b5e6-96231b3b80d8
* Add more void flagsChris Lattner2002-11-181-3/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4739 91177308-0d34-0410-b5e6-96231b3b80d8
* Set the void flag on instructions that should get itChris Lattner2002-11-181-11/+11
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4738 91177308-0d34-0410-b5e6-96231b3b80d8
* Print is const!Chris Lattner2002-11-171-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4737 91177308-0d34-0410-b5e6-96231b3b80d8
* Pass on a targetmachineChris Lattner2002-11-171-2/+3
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4736 91177308-0d34-0410-b5e6-96231b3b80d8
* Arrange to have a TargetMachine available in X86InstrInfo::printChris Lattner2002-11-173-7/+10
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4734 91177308-0d34-0410-b5e6-96231b3b80d8
* Wow, I'm incapable of the simplest things today...Chris Lattner2002-11-171-1/+1
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4732 91177308-0d34-0410-b5e6-96231b3b80d8
* Rename registers to follow the intel style of all capsChris Lattner2002-11-171-27/+29
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4731 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix misleading indentationChris Lattner2002-11-171-3/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4730 91177308-0d34-0410-b5e6-96231b3b80d8
* Reorganize printing interface a bitChris Lattner2002-11-174-27/+35
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4728 91177308-0d34-0410-b5e6-96231b3b80d8
* Add default implementation of printing interfaceChris Lattner2002-11-171-3/+5
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4727 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix minor detailChris Lattner2002-11-172-2/+2
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4725 91177308-0d34-0410-b5e6-96231b3b80d8
* Add hack to only consider indirect calls indirect if they do more than castChris Lattner2002-11-171-6/+14
| | | | | | | their source function git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4723 91177308-0d34-0410-b5e6-96231b3b80d8
* Add MaxSCC statisticsChris Lattner2002-11-171-6/+25
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4722 91177308-0d34-0410-b5e6-96231b3b80d8
* Count CallInsts correctly, remove unneccesary initializersChris Lattner2002-11-171-37/+3
| | | | | | | S: ---------------------------------------------------------------------- git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4721 91177308-0d34-0410-b5e6-96231b3b80d8
* Remove only uses of markDef/markDefAndUse methodsChris Lattner2002-11-171-6/+9
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4719 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix Mul/Div clobbersChris Lattner2002-11-172-24/+46
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4718 91177308-0d34-0410-b5e6-96231b3b80d8
* Fix a few typos, implement load/storeChris Lattner2002-11-172-24/+90
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4716 91177308-0d34-0410-b5e6-96231b3b80d8
* Add functions to buld X86 specific constructsChris Lattner2002-11-171-0/+28
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4714 91177308-0d34-0410-b5e6-96231b3b80d8
* Add information about memory index representationChris Lattner2002-11-171-1/+26
| | | | git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4712 91177308-0d34-0410-b5e6-96231b3b80d8