summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target
Commit message (Collapse)AuthorAgeFilesLines
* Fix handling of function calls that return voidChris Lattner2002-12-041-9/+11
| | | | llvm-svn: 4925
* Implement initial support for return values from call instructionsChris Lattner2002-12-041-0/+14
| | | | llvm-svn: 4924
* Adjust the stack pointer after a function call, proportional to the number ofMisha Brukman2002-12-041-0/+9
| | | | | | arguments pushed onto the stack. llvm-svn: 4922
* Added instructions to add/subtract imm32 to/from a reg32.Misha Brukman2002-12-041-0/+2
| | | | llvm-svn: 4921
* Fix bogus assertion failuresChris Lattner2002-12-043-3/+3
| | | | llvm-svn: 4919
* Avoid bad assertionChris Lattner2002-12-041-1/+1
| | | | llvm-svn: 4918
* Remove think-o assertionChris Lattner2002-12-041-2/+0
| | | | llvm-svn: 4917
* Avoid crashing on Arguments, just silently miscompileChris Lattner2002-12-041-0/+2
| | | | llvm-svn: 4916
* storeReg2RegOffset() and loadRegOffset2Reg() now take the iterator by valueMisha Brukman2002-12-042-4/+4
| | | | | | instead of by reference, since they return the modified iterator. llvm-svn: 4914
* Moved buildReg2RegClassMap() into from X86RegisterInfo to MRegisterInfo, sinceMisha Brukman2002-12-042-15/+0
| | | | | | it is target-independent. llvm-svn: 4911
* Add a "Lazy Function Resolution in Jello" sectionChris Lattner2002-12-041-14/+40
| | | | | | Remove some todo's llvm-svn: 4910
* Fix a bug I introduced in a previous changeChris Lattner2002-12-041-2/+4
| | | | llvm-svn: 4909
* Add support for referencing global variables/functionsChris Lattner2002-12-044-5/+31
| | | | llvm-svn: 4907
* Added support for callee- and caller-save registers.Misha Brukman2002-12-032-0/+30
| | | | llvm-svn: 4897
* Fix broken ret opcode, grr...Chris Lattner2002-12-031-1/+1
| | | | llvm-svn: 4895
* Fix instsel for callsChris Lattner2002-12-031-3/+2
| | | | llvm-svn: 4891
* Fix the buildChris Lattner2002-12-031-2/+2
| | | | llvm-svn: 4884
* brgBrian Gaeke2002-12-031-3/+14
| | | | | | Add support for cast ... to bool in visitCastInst (it's a start, anyways...) llvm-svn: 4883
* Split the machine code emitter completely out of the printerChris Lattner2002-12-033-203/+381
| | | | llvm-svn: 4882
* * Move information about Implicit Defs/Uses into X86InstrInfo.def.Chris Lattner2002-12-035-207/+131
| | | | | | | * Expose information about implicit defs/uses of register through the MachineInstrInfo.h file. llvm-svn: 4877
* Initialize implicit uses/defs fields for sparc backend to empty listChris Lattner2002-12-031-1/+3
| | | | llvm-svn: 4876
* brgBrian Gaeke2002-12-033-1/+108
| | | | | | | X86Implicit.cpp, X86Implicit.h: New files. InstSelectSimple.cpp: Add some clarifications in visitCallInst comments. llvm-svn: 4874
* More support for machine code emission: raw instructionsChris Lattner2002-12-022-12/+30
| | | | llvm-svn: 4872
* Expose explicit typeChris Lattner2002-12-021-1/+1
| | | | llvm-svn: 4871
* Start implementing MachineCodeEmitterChris Lattner2002-12-022-6/+72
| | | | llvm-svn: 4870
* Eliminate OtherFrmChris Lattner2002-12-021-10/+6
| | | | llvm-svn: 4868
* Remove commentChris Lattner2002-12-021-7/+0
| | | | | | Remove handling of OtherFrm llvm-svn: 4867
* Initial support for machine code emissionChris Lattner2002-12-023-0/+81
| | | | llvm-svn: 4866
* Fix order of operands on a store from reg to [reg+offset].Misha Brukman2002-12-021-2/+2
| | | | llvm-svn: 4857
* Add rawfrm flagsChris Lattner2002-12-012-7/+26
| | | | llvm-svn: 4841
* Don't add implicit regsChris Lattner2002-12-011-1/+1
| | | | llvm-svn: 4840
* brgBrian Gaeke2002-11-301-49/+74
| | | | | | | | InstSelectSimple.cpp: Refactor out conversion of byte, short -> int from visitReturnInst() to new method, promote32(). Use it in both visitReturnInst() and visitCallInst(). llvm-svn: 4839
* brgBrian Gaeke2002-11-292-4/+27
| | | | | | | | | InstSelectSimple.cpp: First draft of visitCallInst method, handling int/float args. X86InstrInfo.def: Add entries for CALL with 32-bit pc relative arg, and PUSH with 32-bit reg arg. llvm-svn: 4838
* brgBrian Gaeke2002-11-261-3/+33
| | | | | | | InstSelectSimple.cpp: Add some comments that say what I'm going to do for calls and casts. llvm-svn: 4832
* Oops. Got the MOVrm and MOVmr mixed up. Fixed. We can now print outMisha Brukman2002-11-221-2/+2
| | | | | | instructions correctly. llvm-svn: 4830
* Enable the register allocator pass.Misha Brukman2002-11-221-1/+5
| | | | llvm-svn: 4829
* Added methods to read/write values to stack in .h, fixed implementation inMisha Brukman2002-11-222-21/+39
| | | | | | .cpp to return the iterator correctly. llvm-svn: 4827
* Added -*- C++ -*- mode to the comments.Misha Brukman2002-11-221-1/+1
| | | | llvm-svn: 4826
* Add a simple way to add memory locations of format [reg+offset]Misha Brukman2002-11-221-0/+9
| | | | llvm-svn: 4825
* lib/Target/X86/InstSelectSimple.cpp: Add visitCallInst, visitCastInst.Brian Gaeke2002-11-221-0/+14
| | | | llvm-svn: 4821
* Handle cmp Reg, 0 correctlyChris Lattner2002-11-211-10/+13
| | | | llvm-svn: 4819
* Printing support for more stuffChris Lattner2002-11-211-20/+20
| | | | llvm-svn: 4818
* Don't add implicit operandsChris Lattner2002-11-211-5/+5
| | | | llvm-svn: 4817
* Fix off by one bugChris Lattner2002-11-211-1/+1
| | | | llvm-svn: 4816
* Add fixmeChris Lattner2002-11-211-0/+3
| | | | llvm-svn: 4815
* Minor code cleanupsChris Lattner2002-11-211-2/+1
| | | | llvm-svn: 4814
* Implement printing of store instructionsChris Lattner2002-11-211-5/+20
| | | | llvm-svn: 4813
* The big change here is to handle printing/emission of X86II::MRMSrcMemChris Lattner2002-11-211-23/+184
| | | | | | | instructions. Right now the only users are load instructions, and Misha's spill code llvm-svn: 4812
* Remove implicit information from instruction selectorChris Lattner2002-11-211-6/+2
| | | | llvm-svn: 4811
* Add printing information for MUL and DIVChris Lattner2002-11-211-12/+15
| | | | llvm-svn: 4810
OpenPOWER on IntegriCloud