oota-llvm.git
20 years agoThe PowerPCInstrInfo class has gone away.
Misha Brukman [Tue, 17 Aug 2004 05:00:46 +0000 (05:00 +0000)]
The PowerPCInstrInfo class has gone away.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15853 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoPowerPCInstrInfo has gone away, PPC32 and PPC64 share opcodes.
Misha Brukman [Tue, 17 Aug 2004 04:58:50 +0000 (04:58 +0000)]
PowerPCInstrInfo has gone away, PPC32 and PPC64 share opcodes.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15852 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoPowerPC 32-/64-bit split: Part II, 64-bit customizations on PowerPC
Misha Brukman [Tue, 17 Aug 2004 04:57:37 +0000 (04:57 +0000)]
PowerPC 32-/64-bit split: Part II, 64-bit customizations on PowerPC

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15851 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoPowerPC 32-/64-bit split: Part I, PPC32* bit files, adapted from former PowerPC*
Misha Brukman [Tue, 17 Aug 2004 04:55:41 +0000 (04:55 +0000)]
PowerPC 32-/64-bit split: Part I, PPC32* bit files, adapted from former PowerPC*

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15850 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoDo not #include files into the llvm namespace
Chris Lattner [Tue, 17 Aug 2004 03:08:28 +0000 (03:08 +0000)]
Do not #include files into the llvm namespace

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15849 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoCorrect the comments in the symbol table writer to reflect reality.
Reid Spencer [Tue, 17 Aug 2004 02:59:02 +0000 (02:59 +0000)]
Correct the comments in the symbol table writer to reflect reality.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15848 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoPrint float constants as 4 byte values.
Chris Lattner [Tue, 17 Aug 2004 02:48:44 +0000 (02:48 +0000)]
Print float constants as 4 byte values.
Also, fix endianness problems when cross compiling from little-endian host.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15847 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoMake sure to put an _ prefix on all identifiers!
Chris Lattner [Tue, 17 Aug 2004 02:29:00 +0000 (02:29 +0000)]
Make sure to put an _ prefix on all identifiers!

Also, add some (currently disabled) code to print float's as 32-bits.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15846 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoSome asmwriters want an _ prefix
Chris Lattner [Tue, 17 Aug 2004 02:28:26 +0000 (02:28 +0000)]
Some asmwriters want an _ prefix

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15845 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoSome asmweriters want an _ prefix
Chris Lattner [Tue, 17 Aug 2004 02:28:12 +0000 (02:28 +0000)]
Some asmweriters want an _ prefix

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15844 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoTechnical Corrections (thanks to Robert Mykland):
Reid Spencer [Tue, 17 Aug 2004 00:49:03 +0000 (00:49 +0000)]
Technical Corrections (thanks to Robert Mykland):
- Define the "opcode" data type and reference the Instruction.def file
- Clean up the definition of symtab by indicating that it is composed of
  two llists.
- Fix some broken links.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15843 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoMore changes to make PPC32 and X86 more similar
Chris Lattner [Mon, 16 Aug 2004 23:38:36 +0000 (23:38 +0000)]
More changes to make PPC32 and X86 more similar

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15842 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoMinor changes to make the diff be nothing against the X86 version
Chris Lattner [Mon, 16 Aug 2004 23:30:16 +0000 (23:30 +0000)]
Minor changes to make the diff be nothing against the X86 version

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15841 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoFinegrainify namespacification
Chris Lattner [Mon, 16 Aug 2004 23:25:21 +0000 (23:25 +0000)]
Finegrainify namespacification
Start using the AsmPrinter base class to factor out a bunch of code

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15840 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoStart using the AsmPrinter to emit our first class constants. This also
Chris Lattner [Mon, 16 Aug 2004 23:16:06 +0000 (23:16 +0000)]
Start using the AsmPrinter to emit our first class constants.  This also
drops our half-assed support for cygwin, which noone uses and doesn't work
anyway.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15839 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoInitial implementation of the asmprinter base class
Chris Lattner [Mon, 16 Aug 2004 23:15:22 +0000 (23:15 +0000)]
Initial implementation of the asmprinter base class

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15838 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoMoved this file out of lib/CodeGen
Chris Lattner [Mon, 16 Aug 2004 22:38:02 +0000 (22:38 +0000)]
Moved this file out of lib/CodeGen

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15837 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoHacks to make the MachineFunction class be able to delete the MFI object
Chris Lattner [Mon, 16 Aug 2004 22:37:18 +0000 (22:37 +0000)]
Hacks to make the MachineFunction class be able to delete the MFI object
without knowing anything about it.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15836 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoCode moved out of lib/CodeGen/MachineFunction.cpp
Chris Lattner [Mon, 16 Aug 2004 22:36:54 +0000 (22:36 +0000)]
Code moved out of lib/CodeGen/MachineFunction.cpp

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15835 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoMove this code to lib/Target/SparcV9/MachineFunctionInfo.cpp
Chris Lattner [Mon, 16 Aug 2004 22:36:34 +0000 (22:36 +0000)]
Move this code to lib/Target/SparcV9/MachineFunctionInfo.cpp

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15834 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoThis file is moving to lib/Target/SparcV9
Chris Lattner [Mon, 16 Aug 2004 22:36:10 +0000 (22:36 +0000)]
This file is moving to lib/Target/SparcV9

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15833 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoFit into 80 lines, add a gross hack for MachineFunctionInfo
Chris Lattner [Mon, 16 Aug 2004 22:35:26 +0000 (22:35 +0000)]
Fit into 80 lines, add a gross hack for MachineFunctionInfo

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15832 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoThese files now live in lib/Target/SparcV9
Chris Lattner [Mon, 16 Aug 2004 21:56:15 +0000 (21:56 +0000)]
These files now live in lib/Target/SparcV9

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15831 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoMove MachineCodeForInstruction.h and MachineFunctionInfo.h into lib/Target/SparcV9
Chris Lattner [Mon, 16 Aug 2004 21:55:02 +0000 (21:55 +0000)]
Move MachineCodeForInstruction.h and MachineFunctionInfo.h into lib/Target/SparcV9

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15830 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoNuke this file
Chris Lattner [Mon, 16 Aug 2004 21:36:40 +0000 (21:36 +0000)]
Nuke this file

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15829 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoFold MachineInstrAnnot.cpp into this file
Chris Lattner [Mon, 16 Aug 2004 21:36:31 +0000 (21:36 +0000)]
Fold MachineInstrAnnot.cpp into this file

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15828 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoSpaces arg!
Chris Lattner [Mon, 16 Aug 2004 20:20:46 +0000 (20:20 +0000)]
Spaces arg!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15827 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoCorrect the documentation for the module block header which uses the long
Reid Spencer [Mon, 16 Aug 2004 19:24:36 +0000 (19:24 +0000)]
Correct the documentation for the module block header which uses the long
format instead of the short format used in other blocks.

Discrepancy noted by Robert Mykland. Thanks Robert!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15826 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoMove these files (which are dependent on VMCore) into VMCore
Misha Brukman [Mon, 16 Aug 2004 19:04:36 +0000 (19:04 +0000)]
Move these files (which are dependent on VMCore) into VMCore

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15825 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoUpdate and consolidate comments. Remove some excess whitespace.
Brian Gaeke [Mon, 16 Aug 2004 18:27:25 +0000 (18:27 +0000)]
Update and consolidate comments.  Remove some excess whitespace.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15824 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoAdd a note that people shouldn't use MachineFunctionInfo.
Brian Gaeke [Mon, 16 Aug 2004 18:27:24 +0000 (18:27 +0000)]
Add a note that people shouldn't use MachineFunctionInfo.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15823 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoBug 422 fixed.
Reid Spencer [Mon, 16 Aug 2004 16:48:19 +0000 (16:48 +0000)]
Bug 422 fixed.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15822 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoMerged in RELEASE_13. This fixes the Command Guide link when browsing the
John Criswell [Mon, 16 Aug 2004 15:19:02 +0000 (15:19 +0000)]
Merged in RELEASE_13.  This fixes the Command Guide link when browsing the
files from a local filesystem.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15821 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoUpdated for 1.3.
John Criswell [Mon, 16 Aug 2004 15:17:40 +0000 (15:17 +0000)]
Updated for 1.3.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15820 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoMerged in release_13 branch.
John Criswell [Mon, 16 Aug 2004 14:51:33 +0000 (14:51 +0000)]
Merged in release_13 branch.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15819 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoFix PR422.
Reid Spencer [Mon, 16 Aug 2004 07:46:33 +0000 (07:46 +0000)]
Fix PR422.
Ouch! Changes in the lazy initialization code caused each incorporated
function to reprocess the entire function on every lookup of a value's
slot number. This caused a horrible slowdown in all functions. This
fix made llvm-dis go from "longer than I care to wait" (minutes) on a large
test case to 0.53 seconds.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15818 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoBack out include/llvm/System changes until a satisfactory solution can
Reid Spencer [Mon, 16 Aug 2004 07:10:09 +0000 (07:10 +0000)]
Back out include/llvm/System changes until a satisfactory solution can
be determined.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15817 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoRemove lib/System contents until a satisfactory solution can be
Reid Spencer [Mon, 16 Aug 2004 07:08:38 +0000 (07:08 +0000)]
Remove lib/System contents until a satisfactory solution can be
provided.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15816 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoBack out dependencies on lib/System/Path.h
Reid Spencer [Mon, 16 Aug 2004 07:06:38 +0000 (07:06 +0000)]
Back out dependencies on lib/System/Path.h

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15815 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoFix definitions to match tool's actual capabilities.
Reid Spencer [Mon, 16 Aug 2004 07:06:13 +0000 (07:06 +0000)]
Fix definitions to match tool's actual capabilities.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15814 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoBug fixed
Chris Lattner [Mon, 16 Aug 2004 05:46:57 +0000 (05:46 +0000)]
Bug fixed

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15813 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoBelieve it or not, this was broken in LLVM 1.3
Chris Lattner [Mon, 16 Aug 2004 05:39:19 +0000 (05:39 +0000)]
Believe it or not, this was broken in LLVM 1.3

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15812 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoFix a bug that caused the pass to go into infinite loops on trivial testcases.
Chris Lattner [Mon, 16 Aug 2004 05:38:02 +0000 (05:38 +0000)]
Fix a bug that caused the pass to go into infinite loops on trivial testcases.

This is fallout of the Bug 122 changes.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15811 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoThere is no need for a cast here
Chris Lattner [Mon, 16 Aug 2004 05:09:58 +0000 (05:09 +0000)]
There is no need for a cast here

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15810 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoUpdate the current state of the world
Nate Begeman [Mon, 16 Aug 2004 05:06:43 +0000 (05:06 +0000)]
Update the current state of the world

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15809 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoFix typo of the word 'implicit' I made resolving a CVS conflict. Whoops!
Nate Begeman [Mon, 16 Aug 2004 02:12:49 +0000 (02:12 +0000)]
Fix typo of the word 'implicit' I made resolving a CVS conflict.  Whoops!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15808 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoFix frame pointer handling:
Nate Begeman [Mon, 16 Aug 2004 01:52:12 +0000 (01:52 +0000)]
Fix frame pointer handling:
Reserve R0 in store/load from stack slot for building >32k offsets from SP
or FP.  This also requires we use R11 rather than R0 for holding the LR
value we want to save or restore.  Also, tell the register allocator not
to use R31 (our FP) in functions that have a frame pointer.  These changes
fix Burg.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15807 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoFix mismatched adjust down/up of SP in functions that contain variable
Nate Begeman [Mon, 16 Aug 2004 01:50:22 +0000 (01:50 +0000)]
Fix mismatched adjust down/up of SP in functions that contain variable
sized allocas.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15806 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoUse CodeGenRegister class to make reading in of register information more
Chris Lattner [Mon, 16 Aug 2004 01:10:21 +0000 (01:10 +0000)]
Use CodeGenRegister class to make reading in of register information more
systematic.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15805 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoAdd initial support for register and register class representation.
Chris Lattner [Mon, 16 Aug 2004 01:09:52 +0000 (01:09 +0000)]
Add initial support for register and register class representation.
Obviously this is not done.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15804 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoFlags and TSFlags were (thankfully) never used, so remove them. But wait,
Chris Lattner [Mon, 16 Aug 2004 01:07:53 +0000 (01:07 +0000)]
Flags and TSFlags were (thankfully) never used, so remove them.  But wait,
not so fast, add some fields for spill slot size and alignment

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15803 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoAdd a special case for argc,argv
Chris Lattner [Mon, 16 Aug 2004 01:07:04 +0000 (01:07 +0000)]
Add a special case for argc,argv

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15802 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoDon't pass too many arguments into runFunction
Chris Lattner [Mon, 16 Aug 2004 01:05:35 +0000 (01:05 +0000)]
Don't pass too many arguments into runFunction

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15801 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoScrub all LLVM 1.3 stuff, changing over to 1.4. Add info about PR419,
Chris Lattner [Mon, 16 Aug 2004 00:20:18 +0000 (00:20 +0000)]
Scrub all LLVM 1.3 stuff, changing over to 1.4.  Add info about PR419,
which is now fixed.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15800 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoFinally, add support for calling arbitrary non-varargs functions.
Chris Lattner [Mon, 16 Aug 2004 00:14:18 +0000 (00:14 +0000)]
Finally, add support for calling arbitrary non-varargs functions.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15799 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoHandle all nullary functions, of any valid return type.
Chris Lattner [Sun, 15 Aug 2004 23:53:06 +0000 (23:53 +0000)]
Handle all nullary functions, of any valid return type.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15798 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoFine, go all of the way and check that the argument types are correct as well.
Chris Lattner [Sun, 15 Aug 2004 23:39:59 +0000 (23:39 +0000)]
Fine, go all of the way and check that the argument types are correct as well.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15797 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoThese only really work if returning int or void
Chris Lattner [Sun, 15 Aug 2004 23:34:48 +0000 (23:34 +0000)]
These only really work if returning int or void

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15796 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoSwitch to using the JIT now that it can directly call zeroarg functions
Chris Lattner [Sun, 15 Aug 2004 23:31:57 +0000 (23:31 +0000)]
Switch to using the JIT now that it can directly call zeroarg functions

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15795 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoHandle zero arg function case
Chris Lattner [Sun, 15 Aug 2004 23:31:43 +0000 (23:31 +0000)]
Handle zero arg function case

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15794 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoSimplify code a bit, print error message always instead of asserting.
Chris Lattner [Sun, 15 Aug 2004 23:29:50 +0000 (23:29 +0000)]
Simplify code a bit, print error message always instead of asserting.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15793 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoSimplify code, make it print the constructed module before it is run.
Chris Lattner [Sun, 15 Aug 2004 23:21:54 +0000 (23:21 +0000)]
Simplify code, make it print the constructed module before it is run.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15792 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoV8 never used the instrselectorgenerator
Chris Lattner [Sun, 15 Aug 2004 23:07:40 +0000 (23:07 +0000)]
V8 never used the instrselectorgenerator

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15791 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoisdummyclass goes away
Chris Lattner [Sun, 15 Aug 2004 23:04:35 +0000 (23:04 +0000)]
isdummyclass goes away

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15790 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoRemove awareness of isDummyClass
Chris Lattner [Sun, 15 Aug 2004 23:04:13 +0000 (23:04 +0000)]
Remove awareness of isDummyClass

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15789 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agodisable all of the pattern isel stuff
Chris Lattner [Sun, 15 Aug 2004 23:02:34 +0000 (23:02 +0000)]
disable all of the pattern isel stuff

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15788 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoDisable the pattern isel
Chris Lattner [Sun, 15 Aug 2004 23:02:17 +0000 (23:02 +0000)]
Disable the pattern isel

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15787 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoInclude .td and .txt files in the greps. This will allow me to find symbols in
Chris Lattner [Sun, 15 Aug 2004 22:54:31 +0000 (22:54 +0000)]
Include .td and .txt files in the greps.  This will allow me to find symbols in
them, and also count them in the LOC of LLVM for the nightly tester.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15786 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoDocumentation like this doesn't belong here, and now we have the commandguide
Chris Lattner [Sun, 15 Aug 2004 22:53:20 +0000 (22:53 +0000)]
Documentation like this doesn't belong here, and now we have the commandguide

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15785 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoReduce usage of MRegisterInfo::getRegClass
Chris Lattner [Sun, 15 Aug 2004 22:23:09 +0000 (22:23 +0000)]
Reduce usage of MRegisterInfo::getRegClass

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15784 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoAdd new TargetRegisterClass::contains method
Chris Lattner [Sun, 15 Aug 2004 22:19:38 +0000 (22:19 +0000)]
Add new TargetRegisterClass::contains method

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15783 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoInsertion methods now return void instead of #instrs inserted. Also, use
Chris Lattner [Sun, 15 Aug 2004 22:15:56 +0000 (22:15 +0000)]
Insertion methods now return void instead of #instrs inserted.  Also, use
more powerful forms of BuildMI to concisify the code

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15782 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoCode insertion methods now return void instead of #instrs inserted
Chris Lattner [Sun, 15 Aug 2004 22:15:30 +0000 (22:15 +0000)]
Code insertion methods now return void instead of #instrs inserted

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15781 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoCode insertion methods now return void instead of an int.
Chris Lattner [Sun, 15 Aug 2004 22:15:11 +0000 (22:15 +0000)]
Code insertion methods now return void instead of an int.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15780 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoThe insertion method returns void now
Chris Lattner [Sun, 15 Aug 2004 22:14:31 +0000 (22:14 +0000)]
The insertion method returns void now

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15779 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoImplement a long overdue FIXME, by changing these methods to return void.
Chris Lattner [Sun, 15 Aug 2004 22:14:19 +0000 (22:14 +0000)]
Implement a long overdue FIXME, by changing these methods to return void.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15778 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoNuke ifdef'd out code
Chris Lattner [Sun, 15 Aug 2004 22:03:57 +0000 (22:03 +0000)]
Nuke ifdef'd out code

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15777 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoRemove helper method
Chris Lattner [Sun, 15 Aug 2004 22:02:36 +0000 (22:02 +0000)]
Remove helper method

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15776 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoStop using CreateStackObject(RegClass*)
Chris Lattner [Sun, 15 Aug 2004 22:02:22 +0000 (22:02 +0000)]
Stop using CreateStackObject(RegClass*)

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15775 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoThese methods no longer take a TargetRegisterClass* operand.
Chris Lattner [Sun, 15 Aug 2004 21:56:44 +0000 (21:56 +0000)]
These methods no longer take a TargetRegisterClass* operand.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15774 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoEliminate the RegisterClass argument, since it can easily be derived from
Chris Lattner [Sun, 15 Aug 2004 21:55:29 +0000 (21:55 +0000)]
Eliminate the RegisterClass argument, since it can easily be derived from
the regno

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15773 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoMake this compile on gc 3.4.1 (static_cast to non-const type was not
Alkis Evlogimenos [Sun, 15 Aug 2004 09:18:55 +0000 (09:18 +0000)]
Make this compile on gc 3.4.1 (static_cast to non-const type was not
allowed).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15766 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoMore Functionality:
Reid Spencer [Sun, 15 Aug 2004 08:19:46 +0000 (08:19 +0000)]
More Functionality:
- cleaned up lexical scanner
- added support for "lang.optN" configuration items
- added temporary file support (ala lib/System)
- corrected logic for deciding which phases to run
- consolidated the Action and ActionPattern classes

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15765 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoInitial configuration files (to be installed) for ll (LLVM Assembly) and
Reid Spencer [Sun, 15 Aug 2004 08:16:12 +0000 (08:16 +0000)]
Initial configuration files (to be installed) for ll (LLVM Assembly) and
st (Stacker) source files. These versions for testing/review only.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15764 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoInitial implementations of the ErrorCode and Path concepts for Linux.
Reid Spencer [Sun, 15 Aug 2004 08:14:33 +0000 (08:14 +0000)]
Initial implementations of the ErrorCode and Path concepts for Linux.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15763 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoFirst version of a class to represent the notion of an operating system
Reid Spencer [Sun, 15 Aug 2004 08:13:01 +0000 (08:13 +0000)]
First version of a class to represent the notion of an operating system
path to a file or directory and some rudimentary operations on them.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15762 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoFirst version of a class to represent operating system and lib/System
Reid Spencer [Sun, 15 Aug 2004 08:12:14 +0000 (08:12 +0000)]
First version of a class to represent operating system and lib/System
error codes in a platform independent way.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15761 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoAdd future optimization opportunity
Nate Begeman [Sun, 15 Aug 2004 06:43:10 +0000 (06:43 +0000)]
Add future optimization opportunity

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15760 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoFix float to int codepath by always allocating 8 bytes for the target of a double...
Nate Begeman [Sun, 15 Aug 2004 06:42:28 +0000 (06:42 +0000)]
Fix float to int codepath by always allocating 8 bytes for the target of a double store; optimize cmplwi generation.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15759 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoZimm16 is now dead. Its entry is not removed from the enum, to avoid having
Chris Lattner [Sun, 15 Aug 2004 05:48:47 +0000 (05:48 +0000)]
Zimm16 is now dead.  Its entry is not removed from the enum, to avoid having
to renumber everything.  Similar elimination should be applied to other
operand enum values that are only used to format printing in the .s file.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15755 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoConvert all of the DForm_6* operations, which makes all of the Zimm16 users
Chris Lattner [Sun, 15 Aug 2004 05:46:14 +0000 (05:46 +0000)]
Convert all of the DForm_6* operations, which makes all of the Zimm16 users
dead.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15754 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoAdd i1imm
Chris Lattner [Sun, 15 Aug 2004 05:37:00 +0000 (05:37 +0000)]
Add i1imm

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15753 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoReenable the CCRC
Chris Lattner [Sun, 15 Aug 2004 05:31:15 +0000 (05:31 +0000)]
Reenable the CCRC

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15752 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoConvert the DForm_4 over to the asmprintergen
Chris Lattner [Sun, 15 Aug 2004 05:20:16 +0000 (05:20 +0000)]
Convert the DForm_4 over to the asmprintergen

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15751 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoRemove dead code
Nate Begeman [Sun, 15 Aug 2004 00:31:02 +0000 (00:31 +0000)]
Remove dead code

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15750 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoPrint mflr using the asmwriter generator
Chris Lattner [Sat, 14 Aug 2004 23:27:29 +0000 (23:27 +0000)]
Print mflr using the asmwriter generator

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15749 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoUpdate to no longer take MF as an argument
Chris Lattner [Sat, 14 Aug 2004 22:57:22 +0000 (22:57 +0000)]
Update to no longer take MF as an argument

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15748 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoMake the AsmWriter a first-class tblgen object. Allow targets to specify
Chris Lattner [Sat, 14 Aug 2004 22:50:53 +0000 (22:50 +0000)]
Make the AsmWriter a first-class tblgen object.  Allow targets to specify
name of the generated asmwriter class, and the name of the format string.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15747 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoReplace PowerPCPEI.cpp with target independant PrologEpilogInserter
Nate Begeman [Sat, 14 Aug 2004 22:16:36 +0000 (22:16 +0000)]
Replace PowerPCPEI.cpp with target independant PrologEpilogInserter

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15746 91177308-0d34-0410-b5e6-96231b3b80d8

20 years agoAdd support for frame pointers, and large offsets from stack and frame pointers....
Nate Begeman [Sat, 14 Aug 2004 22:13:58 +0000 (22:13 +0000)]
Add support for frame pointers, and large offsets from stack and frame pointers.  Adopt elimination of MachineFunction& arg from eliminateFrameIndex.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15745 91177308-0d34-0410-b5e6-96231b3b80d8