oota-llvm.git
22 years agoAdded virtual function to generate an instruction sequence to
Vikram S. Adve [Thu, 18 Oct 2001 00:02:06 +0000 (00:02 +0000)]
Added virtual function to generate an instruction sequence to
load a constant into a register.

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

22 years agoMoved implementation of class UltraSparcInstrInfo here.
Vikram S. Adve [Thu, 18 Oct 2001 00:01:48 +0000 (00:01 +0000)]
Moved implementation of class UltraSparcInstrInfo here.

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

22 years ago1. Add a bottom-up pass on BURG trees that is used to fix constant operands.
Vikram S. Adve [Wed, 17 Oct 2001 23:59:09 +0000 (23:59 +0000)]
1. Add a bottom-up pass on BURG trees that is used to fix constant operands.
  Needs to be bottom up because constant values may be forward-substituted
   to their uses (i.e., into the parent in the BURG tree).
2. Move most of the constant-fixup code into machine-indepedent file
   InstrSelectionSupport.cpp.

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

22 years ago1. Add a bottom-up pass on BURG trees that is used to fix constant operands.
Vikram S. Adve [Wed, 17 Oct 2001 23:57:50 +0000 (23:57 +0000)]
1. Add a bottom-up pass on BURG trees that is used to fix constant operands.
   Needs to be bottom up because constant values may be forward-substituted
   to their uses (i.e., into the parent in the BURG tree).
2. Move most of the constant-fixup code into machine-indepedent file
   InstrSelectionSupport.cpp.

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

22 years agoSeparate VM instruction that generates the instructions that compute a value
Vikram S. Adve [Wed, 17 Oct 2001 23:55:16 +0000 (23:55 +0000)]
Separate VM instruction that generates the instructions that compute a value
from the value itself (the one causing an edge) because the latter may be
a temporary used within the instruction sequence for the VM instruction.

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

22 years ago*** empty log message ***
Vikram S. Adve [Wed, 17 Oct 2001 23:53:16 +0000 (23:53 +0000)]
*** empty log message ***

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

22 years agoRemove extra assert in dyn_cast_or_null.
Vikram S. Adve [Wed, 17 Oct 2001 22:39:50 +0000 (22:39 +0000)]
Remove extra assert in dyn_cast_or_null.

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

22 years agoDisable codgen test for calltest.ll.
Vikram S. Adve [Wed, 17 Oct 2001 20:14:34 +0000 (20:14 +0000)]
Disable codgen test for calltest.ll.

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

22 years agoOnly list automatically generated .cpp files.
Vikram S. Adve [Wed, 17 Oct 2001 12:34:26 +0000 (12:34 +0000)]
Only list automatically generated .cpp files.

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

22 years agoAllow only extra Source files to be listed in a local Makefile.
Vikram S. Adve [Wed, 17 Oct 2001 12:33:55 +0000 (12:33 +0000)]
Allow only extra Source files to be listed in a local Makefile.
Needed for automatically generated .cpp files.

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

22 years agoSimplify some code
Chris Lattner [Tue, 16 Oct 2001 19:54:17 +0000 (19:54 +0000)]
Simplify some code
Remove Method special case
Fix bug exposed by this testcase:

implementation

void "PtrFunc2"()
begin
bb1:
        %reg = add int(int)* null, null
        add int (int)* %reg, null
        ret void
end

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

22 years agoadded initializing regNum to -1 in both constructors of MachineOperand
Ruchira Sasanka [Tue, 16 Oct 2001 16:36:34 +0000 (16:36 +0000)]
added initializing regNum to -1 in both constructors of MachineOperand

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

22 years agochanged debugg message printing - no change to useful code
Ruchira Sasanka [Tue, 16 Oct 2001 16:34:44 +0000 (16:34 +0000)]
changed debugg message printing - no change to useful code

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

22 years agoNo major change - commented some debug code
Ruchira Sasanka [Tue, 16 Oct 2001 01:33:55 +0000 (01:33 +0000)]
No major change - commented some debug code

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

22 years agoNo major change - added some comments
Ruchira Sasanka [Tue, 16 Oct 2001 01:25:05 +0000 (01:25 +0000)]
No major change - added some comments

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

22 years agoAdded support for caller saving
Ruchira Sasanka [Tue, 16 Oct 2001 01:23:19 +0000 (01:23 +0000)]
Added support for caller saving

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

22 years agoAdd rule to build executables
Chris Lattner [Mon, 15 Oct 2001 20:08:19 +0000 (20:08 +0000)]
Add rule to build executables

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

22 years agoEmit the proper .type declarations to tell the debugger what a function is
Chris Lattner [Mon, 15 Oct 2001 19:34:17 +0000 (19:34 +0000)]
Emit the proper .type declarations to tell the debugger what a function is

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

22 years agoHandle abnormal jmpl syntax correctly
Chris Lattner [Mon, 15 Oct 2001 19:21:31 +0000 (19:21 +0000)]
Handle abnormal jmpl syntax correctly

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

22 years agoImplement ulong & long support
Chris Lattner [Mon, 15 Oct 2001 19:18:26 +0000 (19:18 +0000)]
Implement ulong & long support

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

22 years agoMake main do some simple work without requiring main arguments to be happy
Chris Lattner [Mon, 15 Oct 2001 19:18:01 +0000 (19:18 +0000)]
Make main do some simple work without requiring main arguments to be happy

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

22 years agoPrint Debug Code to stderr instead of stdout so that it doesn't mess up the assembly...
Chris Lattner [Mon, 15 Oct 2001 18:30:06 +0000 (18:30 +0000)]
Print Debug Code to stderr instead of stdout so that it doesn't mess up the assembly output

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

22 years agoOutput to cerr rather than cout so that debug info doesn't mess up assembly generation
Chris Lattner [Mon, 15 Oct 2001 18:15:27 +0000 (18:15 +0000)]
Output to cerr rather than cout so that debug info doesn't mess up assembly generation

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

22 years agoCompile with v9 extensions
Chris Lattner [Mon, 15 Oct 2001 17:55:35 +0000 (17:55 +0000)]
Compile with v9 extensions

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

22 years agoConcretePass should not be a templated class!
Chris Lattner [Mon, 15 Oct 2001 17:47:13 +0000 (17:47 +0000)]
ConcretePass should not be a templated class!

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

22 years agoMinor cleanups
Chris Lattner [Mon, 15 Oct 2001 17:41:24 +0000 (17:41 +0000)]
Minor cleanups

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

22 years agoAdd new Pass infrastructure and some examples
Chris Lattner [Mon, 15 Oct 2001 17:31:51 +0000 (17:31 +0000)]
Add new Pass infrastructure and some examples

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

22 years agoUse the new Pass infrastructure to clean up llc
Chris Lattner [Mon, 15 Oct 2001 17:30:47 +0000 (17:30 +0000)]
Use the new Pass infrastructure to clean up llc

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

22 years agoConvert to use Pass infrastructure
Chris Lattner [Mon, 15 Oct 2001 17:30:18 +0000 (17:30 +0000)]
Convert to use Pass infrastructure

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

22 years agoFile moved to: llvm/Transforms/HoistPHIConstants.h
Chris Lattner [Mon, 15 Oct 2001 17:30:06 +0000 (17:30 +0000)]
File moved to: llvm/Transforms/HoistPHIConstants.h

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

22 years ago--added support for implicit operands
Ruchira Sasanka [Mon, 15 Oct 2001 16:58:50 +0000 (16:58 +0000)]
--added support for implicit operands

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

22 years agoupdated suggesting/coloring of call & return args & implicit operands.
Ruchira Sasanka [Mon, 15 Oct 2001 16:26:38 +0000 (16:26 +0000)]
updated suggesting/coloring of call & return args & implicit operands.
Changed added instr to a deque (from a vector)

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

22 years agoupdated suggesting/coloring of call & return args & implicit operands
Ruchira Sasanka [Mon, 15 Oct 2001 16:25:28 +0000 (16:25 +0000)]
updated suggesting/coloring of call & return args & implicit operands

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

22 years ago--changed Sugesting colors for method calls/return values etc.
Ruchira Sasanka [Mon, 15 Oct 2001 16:23:48 +0000 (16:23 +0000)]
--changed Sugesting colors for method calls/return values etc.

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

22 years agofixed a coalscing bug
Ruchira Sasanka [Mon, 15 Oct 2001 16:22:44 +0000 (16:22 +0000)]
fixed a coalscing bug

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

22 years agoAdd library
Chris Lattner [Mon, 15 Oct 2001 15:55:15 +0000 (15:55 +0000)]
Add library

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

22 years agoBe const correct
Chris Lattner [Mon, 15 Oct 2001 15:54:43 +0000 (15:54 +0000)]
Be const correct

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

22 years agoMinor code cleanups
Chris Lattner [Mon, 15 Oct 2001 13:47:13 +0000 (13:47 +0000)]
Minor code cleanups

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

22 years agoAdd cast_or_null & dyn_cast_or_null
Chris Lattner [Mon, 15 Oct 2001 13:41:37 +0000 (13:41 +0000)]
Add cast_or_null & dyn_cast_or_null

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

22 years agoImplement initializers for structs and pointers
Chris Lattner [Mon, 15 Oct 2001 13:25:40 +0000 (13:25 +0000)]
Implement initializers for structs and pointers

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

22 years agoRename ConstPoolPointerReference to ConstPoolPointerRef - My fingers get tired typing...
Chris Lattner [Mon, 15 Oct 2001 13:21:42 +0000 (13:21 +0000)]
Rename ConstPoolPointerReference to ConstPoolPointerRef - My fingers get tired typing that much

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

22 years agoImprove error messages on assertion failure.
Chris Lattner [Mon, 15 Oct 2001 13:13:32 +0000 (13:13 +0000)]
Improve error messages on assertion failure.

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

22 years ago* getExitNode() doesn't exist in method anymore
Chris Lattner [Mon, 15 Oct 2001 13:07:21 +0000 (13:07 +0000)]
* getExitNode() doesn't exist in method anymore
* Make local functions static

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

22 years agoAdded Instrumentation subdirectory.
Vikram S. Adve [Mon, 15 Oct 2001 12:01:05 +0000 (12:01 +0000)]
Added Instrumentation subdirectory.

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

22 years agoImplement global variables. Struct and Pointer initializers are not implemented...
Chris Lattner [Mon, 15 Oct 2001 05:51:48 +0000 (05:51 +0000)]
Implement global variables.  Struct and Pointer initializers are not implemented yet though

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

22 years agoImplement linking of global variable constant references
Chris Lattner [Mon, 15 Oct 2001 03:12:52 +0000 (03:12 +0000)]
Implement linking of global variable constant references

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

22 years agoAdd some more interesting test cases for the linker
Chris Lattner [Mon, 15 Oct 2001 03:11:58 +0000 (03:11 +0000)]
Add some more interesting test cases for the linker

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

22 years agoOops, didn't handle hex values correctly. :(
Chris Lattner [Mon, 15 Oct 2001 00:05:03 +0000 (00:05 +0000)]
Oops, didn't handle hex values correctly.  :(

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

22 years ago* Fix the constpoolarray -> c"" printing routines to escape things properly
Chris Lattner [Sun, 14 Oct 2001 23:54:12 +0000 (23:54 +0000)]
* Fix the constpoolarray -> c"" printing routines to escape things properly
* Fix slightly broken sharing problems
* Do not escape the literal string passed in

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

22 years ago*** empty log message ***
Chris Lattner [Sun, 14 Oct 2001 23:34:12 +0000 (23:34 +0000)]
*** empty log message ***

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

22 years agoMinor cleanup
Chris Lattner [Sun, 14 Oct 2001 23:29:30 +0000 (23:29 +0000)]
Minor cleanup

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

22 years ago*** empty log message ***
Vikram S. Adve [Sun, 14 Oct 2001 23:29:28 +0000 (23:29 +0000)]
*** empty log message ***

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

22 years agoImplement linker. It's 95% working now.
Chris Lattner [Sun, 14 Oct 2001 23:29:15 +0000 (23:29 +0000)]
Implement linker.  It's 95% working now.

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

22 years agoMore interesting testcase
Chris Lattner [Sun, 14 Oct 2001 23:28:56 +0000 (23:28 +0000)]
More interesting testcase

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

22 years agoForward operands into implicit uses as well as explicit ones.
Vikram S. Adve [Sun, 14 Oct 2001 23:28:43 +0000 (23:28 +0000)]
Forward operands into implicit uses as well as explicit ones.

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

22 years agoExternal methods shouldn't have argument lists
Chris Lattner [Sun, 14 Oct 2001 23:28:41 +0000 (23:28 +0000)]
External methods shouldn't have argument lists

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

22 years agoUpdate comment, remove misleading method
Chris Lattner [Sun, 14 Oct 2001 23:26:24 +0000 (23:26 +0000)]
Update comment, remove misleading method

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

22 years agoInitializers are not const even if the GV is.
Chris Lattner [Sun, 14 Oct 2001 23:24:46 +0000 (23:24 +0000)]
Initializers are not const even if the GV is.

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

22 years agoAdd a new -d argument to dump the internal rep as assembly.
Chris Lattner [Sun, 14 Oct 2001 23:23:33 +0000 (23:23 +0000)]
Add a new -d argument to dump the internal rep as assembly.

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

22 years agoCast NULL when requested.
Vikram S. Adve [Sun, 14 Oct 2001 23:21:06 +0000 (23:21 +0000)]
Cast NULL when requested.

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

22 years agoAdded getEntryNode() and getExitNode() functions.
Vikram S. Adve [Sun, 14 Oct 2001 23:20:44 +0000 (23:20 +0000)]
Added getEntryNode() and getExitNode() functions.
The latter are actually bogus and will be fixed by me soon.

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

22 years agoInsert code to trace values at basic block and method exits.
Vikram S. Adve [Sun, 14 Oct 2001 23:19:02 +0000 (23:19 +0000)]
Insert code to trace values at basic block and method exits.

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

22 years agoInsert code to trace values at basic block and method exits.
Vikram S. Adve [Sun, 14 Oct 2001 23:18:45 +0000 (23:18 +0000)]
Insert code to trace values at basic block and method exits.
Current version does not check for liveness.

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

22 years agoAdded routine to create a char array for a string.
Vikram S. Adve [Sun, 14 Oct 2001 23:17:20 +0000 (23:17 +0000)]
Added routine to create a char array for a string.
Also, print char arrays as strings.

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

22 years agoAdded routine to create a char array for a string.
Vikram S. Adve [Sun, 14 Oct 2001 23:16:27 +0000 (23:16 +0000)]
Added routine to create a char array for a string.

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

22 years agoEnable most tests.
Vikram S. Adve [Sun, 14 Oct 2001 23:15:42 +0000 (23:15 +0000)]
Enable most tests.

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

22 years agoAdded a string global variable.
Vikram S. Adve [Sun, 14 Oct 2001 23:13:45 +0000 (23:13 +0000)]
Added a string global variable.

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

22 years agoTwo bug fixes that were suppressing some "load-constant-into-register" instrs.
Vikram S. Adve [Sun, 14 Oct 2001 18:10:33 +0000 (18:10 +0000)]
Two bug fixes that were suppressing some "load-constant-into-register" instrs.

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

22 years agoMove the burg file to here. Add .in suffix to indicate that it gets
Chris Lattner [Sun, 14 Oct 2001 17:26:21 +0000 (17:26 +0000)]
Move the burg file to here.  Add .in suffix to indicate that it gets
preprocessed before burg gets to it

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

22 years agoMake the sparc.burg file be a little more flexible and rubust in the fact of
Chris Lattner [Sun, 14 Oct 2001 17:25:31 +0000 (17:25 +0000)]
Make the sparc.burg file be a little more flexible and rubust in the fact of
renumbering of instructions.  It is still horribly broken and grossly dependant on the number of instructions, but now it is a least a little better.

Oh yeah it also works now.

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

22 years agoUse the instruction.def file to remain up to date with future instruction
Chris Lattner [Sun, 14 Oct 2001 17:24:50 +0000 (17:24 +0000)]
Use the instruction.def file to remain up to date with future instruction
changes

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

22 years agoNew file to define instructions...
Chris Lattner [Sun, 14 Oct 2001 17:24:33 +0000 (17:24 +0000)]
New file to define instructions...

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

22 years agoBurg files should come out of the Debug Directory for temporary files
Chris Lattner [Sun, 14 Oct 2001 17:23:55 +0000 (17:23 +0000)]
Burg files should come out of the Debug Directory for temporary files

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

22 years agoNew module linking functionality prototype
Chris Lattner [Sat, 13 Oct 2001 16:57:49 +0000 (16:57 +0000)]
New module linking functionality prototype

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

22 years agoCheck in makefile
Chris Lattner [Sat, 13 Oct 2001 16:57:03 +0000 (16:57 +0000)]
Check in makefile

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

22 years agoFixed tags target so it only happens at root level.
Vikram S. Adve [Sat, 13 Oct 2001 12:26:59 +0000 (12:26 +0000)]
Fixed tags target so it only happens at root level.

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

22 years agoAdd C source for testmisc.ll
Chris Lattner [Sat, 13 Oct 2001 07:32:16 +0000 (07:32 +0000)]
Add C source for testmisc.ll

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

22 years agoDang, I screwed up the merge. This should be better
Chris Lattner [Sat, 13 Oct 2001 07:18:40 +0000 (07:18 +0000)]
Dang, I screwed up the merge.  This should be better

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

22 years agoNew testcase for testing constant pointers to globals
Chris Lattner [Sat, 13 Oct 2001 07:16:11 +0000 (07:16 +0000)]
New testcase for testing constant pointers to globals

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

22 years agoTest files for linker
Chris Lattner [Sat, 13 Oct 2001 07:15:38 +0000 (07:15 +0000)]
Test files for linker

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

22 years agoMethodTypes take an explicit isVarArg argument
Chris Lattner [Sat, 13 Oct 2001 07:07:28 +0000 (07:07 +0000)]
MethodTypes take an explicit isVarArg argument

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

22 years agoFix comment flyer
Chris Lattner [Sat, 13 Oct 2001 07:06:57 +0000 (07:06 +0000)]
Fix comment flyer

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

22 years agoAdd new linker
Chris Lattner [Sat, 13 Oct 2001 07:06:23 +0000 (07:06 +0000)]
Add new linker

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

22 years agoBuild the new linker
Chris Lattner [Sat, 13 Oct 2001 07:06:06 +0000 (07:06 +0000)]
Build the new linker

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

22 years agoUse null keyword instead of kludge
Chris Lattner [Sat, 13 Oct 2001 07:05:51 +0000 (07:05 +0000)]
Use null keyword instead of kludge

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

22 years agoAdd more function call and prototype specific tests
Chris Lattner [Sat, 13 Oct 2001 07:05:07 +0000 (07:05 +0000)]
Add more function call and prototype specific tests

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

22 years agoCompile the transforms directory
Chris Lattner [Sat, 13 Oct 2001 07:04:00 +0000 (07:04 +0000)]
Compile the transforms directory

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

22 years agoStart of a linker
Chris Lattner [Sat, 13 Oct 2001 07:03:50 +0000 (07:03 +0000)]
Start of a linker

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

22 years agoImplement the invoke instruction
Chris Lattner [Sat, 13 Oct 2001 07:01:45 +0000 (07:01 +0000)]
Implement the invoke instruction

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

22 years ago* Fix a nefarious bugs: TypesEqual was wrong for varargs methods
Chris Lattner [Sat, 13 Oct 2001 07:01:33 +0000 (07:01 +0000)]
* Fix a nefarious bugs: TypesEqual was wrong for varargs methods
* MethodType::get now takes a literal isVarArg method argument
* Use new style casts

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

22 years agoConvert a runtime check into an assertion
Chris Lattner [Sat, 13 Oct 2001 06:58:56 +0000 (06:58 +0000)]
Convert a runtime check into an assertion

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

22 years ago* Add support for Module specific constants
Chris Lattner [Sat, 13 Oct 2001 06:58:40 +0000 (06:58 +0000)]
* Add support for Module specific constants
* Add proper support for ConstPoolPointerReference's

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

22 years agoAdd new TerminatorInst ctor for invoke
Chris Lattner [Sat, 13 Oct 2001 06:57:47 +0000 (06:57 +0000)]
Add new TerminatorInst ctor for invoke

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

22 years ago* Fix TODO
Chris Lattner [Sat, 13 Oct 2001 06:57:33 +0000 (06:57 +0000)]
* Fix TODO
* Support ConstPoolPOinterReferences correctly
* New constPoolPointerNull subclass
* Add classof support for more classes
* Add proper support for ConstPoolPointerReference::getStrValue()

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

22 years agoFix broken #endif
Chris Lattner [Sat, 13 Oct 2001 06:54:54 +0000 (06:54 +0000)]
Fix broken #endif

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

22 years ago* Add #include
Chris Lattner [Sat, 13 Oct 2001 06:54:30 +0000 (06:54 +0000)]
* Add #include
* Fix #endif problems
* Change to getCalledValue instead of getCalledMethod

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

22 years agoAdd StringList support
Chris Lattner [Sat, 13 Oct 2001 06:53:19 +0000 (06:53 +0000)]
Add StringList support

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

22 years agoSupport the invoke instruction
Chris Lattner [Sat, 13 Oct 2001 06:52:41 +0000 (06:52 +0000)]
Support the invoke instruction

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

22 years agoSupport indirect calls
Chris Lattner [Sat, 13 Oct 2001 06:52:31 +0000 (06:52 +0000)]
Support indirect calls

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

22 years agonot is a keyword in ansi C++, avoid it
Chris Lattner [Sat, 13 Oct 2001 06:51:26 +0000 (06:51 +0000)]
not is a keyword in ansi C++, avoid it

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