Commit Graph

71 Commits

Author SHA1 Message Date
Chris Lattner
b27c9e72d1 MethodTypes take an explicit isVarArg argument
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@782 91177308-0d34-0410-b5e6-96231b3b80d8
2001-10-13 07:07:28 +00:00
Chris Lattner
1d7b50b4f8 Fix comment flyer
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@781 91177308-0d34-0410-b5e6-96231b3b80d8
2001-10-13 07:06:57 +00:00
Chris Lattner
075a0b771e Add new linker
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@780 91177308-0d34-0410-b5e6-96231b3b80d8
2001-10-13 07:06:23 +00:00
Chris Lattner
38c13463f6 Build the new linker
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@779 91177308-0d34-0410-b5e6-96231b3b80d8
2001-10-13 07:06:06 +00:00
Vikram S. Adve
7b70f3f086 Repeat some libs due to circular dependences between Sparc and other
code gen libraries.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@722 91177308-0d34-0410-b5e6-96231b3b80d8
2001-10-10 20:58:57 +00:00
Chris Lattner
b79757c621 Add hack to get rid of malloc & free instructions for code generation
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@713 91177308-0d34-0410-b5e6-96231b3b80d8
2001-10-04 01:40:53 +00:00
Chris Lattner
3ff4387113 Pull iterators out of CFG.h and CFGdecls and put them in Support directory
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@664 91177308-0d34-0410-b5e6-96231b3b80d8
2001-09-28 22:56:31 +00:00
Chris Lattner
c4199ecf6e Add support to print a call graph, and also add support for module level interprocedural analyses
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@659 91177308-0d34-0410-b5e6-96231b3b80d8
2001-09-28 00:07:36 +00:00
Chris Lattner
78f7e1a9cd Add proper support to send output to the right place
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@649 91177308-0d34-0410-b5e6-96231b3b80d8
2001-09-19 16:52:09 +00:00
Chris Lattner
565046714e Emit assembly language from the target...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@640 91177308-0d34-0410-b5e6-96231b3b80d8
2001-09-19 13:56:47 +00:00
Chris Lattner
da784ee81f C++ gives us auto_ptr's, so we might as well use them. :)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@629 91177308-0d34-0410-b5e6-96231b3b80d8
2001-09-18 17:04:18 +00:00
Vikram S. Adve
805eb96727 Minor changes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@622 91177308-0d34-0410-b5e6-96231b3b80d8
2001-09-18 13:10:45 +00:00
Ruchira Sasanka
a5c5abc81b Added regalloc
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@584 91177308-0d34-0410-b5e6-96231b3b80d8
2001-09-15 00:28:37 +00:00
Chris Lattner
43c6dfea25 Oops, accidentally checked my debugging makefile
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@583 91177308-0d34-0410-b5e6-96231b3b80d8
2001-09-14 23:21:08 +00:00
Chris Lattner
b26bcc5087 Make a new llvm/Target #include directory.
Move files from lib/CodeGen/TargetMachine to lib/Target
Move TargetData.h and TargetMachine.h to Target/{Data.h|Machine.h}
Prepare to split TargetMachine.h into several smaller files


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@566 91177308-0d34-0410-b5e6-96231b3b80d8
2001-09-14 05:34:53 +00:00
Chris Lattner
f6e0e28135 Checkin changes to:
1. Clean up the TargetMachine structure.  No more wierd pointers that have to
   be cast around and taken care of by the target.
2. Instruction Scheduling now takes the schedinfo as an argument.  The same
   should be done with the instinfo, it just isn't now.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@565 91177308-0d34-0410-b5e6-96231b3b80d8
2001-09-14 04:32:55 +00:00
Chris Lattner
0e6530ee1b This checkin represents some cleanup of the backend, implementing the following things:
1. The TargetMachine structure is free to decide the process a particular target uses to generate code.
2. All of the gooee details of the sparc backend are now localized in the lib/CodeGen/TargetMAchine/Sparc directory.  The Sparc.h file that is globally visible is just a stub.
3. The Sparc.h file that esxists now will dissapear entirely someday when we have multiple backends chosen by a factory of some sort.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@559 91177308-0d34-0410-b5e6-96231b3b80d8
2001-09-14 03:37:52 +00:00
Chris Lattner
b312259842 Export the instruction forest support from the analysis library
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@556 91177308-0d34-0410-b5e6-96231b3b80d8
2001-09-14 01:42:42 +00:00
Chris Lattner
365a76e46e Genericize support for calling functions a bit
Add external method support


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@528 91177308-0d34-0410-b5e6-96231b3b80d8
2001-09-10 04:49:44 +00:00
Chris Lattner
e4ca607ab0 iFix dependence order
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@517 91177308-0d34-0410-b5e6-96231b3b80d8
2001-09-09 21:03:12 +00:00
Chris Lattner
424b847f07 Remove extraneous space
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@509 91177308-0d34-0410-b5e6-96231b3b80d8
2001-09-09 19:35:33 +00:00
Chris Lattner
c9744e7f26 Make use of the new TOOLNAME/USEDLIBS options provided in Makefile.common
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@501 91177308-0d34-0410-b5e6-96231b3b80d8
2001-09-07 22:59:25 +00:00
Chris Lattner
195b539500 Remove old old file
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@497 91177308-0d34-0410-b5e6-96231b3b80d8
2001-09-07 22:52:07 +00:00
Chris Lattner
e737c7ac63 Convert llc driver to standard tool format
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@496 91177308-0d34-0410-b5e6-96231b3b80d8
2001-09-07 22:20:50 +00:00
Chris Lattner
a105022a78 Uhm... that was really bad
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@493 91177308-0d34-0410-b5e6-96231b3b80d8
2001-09-07 21:26:51 +00:00
Chris Lattner
46ac43c1bb Clean up driver
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@492 91177308-0d34-0410-b5e6-96231b3b80d8
2001-09-07 21:26:31 +00:00
Chris Lattner
6dcf92a150 Remove support for const pool merging, which is obsolete now.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@471 91177308-0d34-0410-b5e6-96231b3b80d8
2001-09-07 16:59:35 +00:00
Chris Lattner
e88df63b94 Build lli first
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@469 91177308-0d34-0410-b5e6-96231b3b80d8
2001-09-07 16:58:57 +00:00
Vikram S. Adve
c34b88fd13 Makefile for tools/tests/
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@409 91177308-0d34-0410-b5e6-96231b3b80d8
2001-08-28 23:28:25 +00:00
Vikram S. Adve
0eca9ed813 Driver to test IsPowerOf2. Could be extended for other library routines.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@408 91177308-0d34-0410-b5e6-96231b3b80d8
2001-08-28 23:28:10 +00:00
Vikram S. Adve
e595ba7631 Changed link line.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@405 91177308-0d34-0410-b5e6-96231b3b80d8
2001-08-28 23:23:35 +00:00
Vikram S. Adve
14335835f1 Add calls to NormalizeMethod() and to ScheduleInstructionsWithSSA().
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@404 91177308-0d34-0410-b5e6-96231b3b80d8
2001-08-28 23:23:14 +00:00
Chris Lattner
86660981e1 Lots of new functionality
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@372 91177308-0d34-0410-b5e6-96231b3b80d8
2001-08-27 05:16:50 +00:00
Vikram S. Adve
989bfcf387 Add dependence to libvmcore.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@370 91177308-0d34-0410-b5e6-96231b3b80d8
2001-08-25 12:43:25 +00:00
Chris Lattner
766403276f Compile LLI
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@368 91177308-0d34-0410-b5e6-96231b3b80d8
2001-08-23 17:09:06 +00:00
Chris Lattner
92101acd7f Initial checkin of interpreter
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@361 91177308-0d34-0410-b5e6-96231b3b80d8
2001-08-23 17:05:04 +00:00
Chris Lattner
0c4897e5c5 Add library dep
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@300 91177308-0d34-0410-b5e6-96231b3b80d8
2001-07-25 22:48:43 +00:00
Chris Lattner
da5cfa369f Parenthesize output for expranalyze so that pointer stuff being multiplied isn't confusing
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@299 91177308-0d34-0410-b5e6-96231b3b80d8
2001-07-25 22:48:37 +00:00
Chris Lattner
f3a5981663 Build as before dis
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@298 91177308-0d34-0410-b5e6-96231b3b80d8
2001-07-25 22:48:09 +00:00
Chris Lattner
afb0cbb9f8 Change option name slightly
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@287 91177308-0d34-0410-b5e6-96231b3b80d8
2001-07-23 23:02:51 +00:00
Chris Lattner
a8e1fd30ed Use the new Alias command line option
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@284 91177308-0d34-0410-b5e6-96231b3b80d8
2001-07-23 20:22:30 +00:00
Chris Lattner
1e78f36127 CommandLine library cleanup. No longer use getValue/setValue, instead, just treat the commandline
args as the objects they represent and the "right thing" will happen


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@283 91177308-0d34-0410-b5e6-96231b3b80d8
2001-07-23 19:27:24 +00:00
Chris Lattner
e2aad23855 -help is verbose enough that we don't need this anymore
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@281 91177308-0d34-0410-b5e6-96231b3b80d8
2001-07-23 18:31:02 +00:00
Chris Lattner
57dbb3ad63 Moved inline/llvm/Tools/* to include/llvm/Support/*
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@279 91177308-0d34-0410-b5e6-96231b3b80d8
2001-07-23 17:46:59 +00:00
Chris Lattner
6c5a32d545 Removal of the redundant CompileContext wrapper
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@274 91177308-0d34-0410-b5e6-96231b3b80d8
2001-07-23 03:09:03 +00:00
Chris Lattner
0f68368fd8 Verbosify descriptions
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@273 91177308-0d34-0410-b5e6-96231b3b80d8
2001-07-23 02:54:25 +00:00
Chris Lattner
8f367bd3c0 Large scale changes to implement new command line argument facility
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@272 91177308-0d34-0410-b5e6-96231b3b80d8
2001-07-23 02:35:57 +00:00
Chris Lattner
aceb9132b7 Privatize LLCOptions. It had no business being visible to the entire
program.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@267 91177308-0d34-0410-b5e6-96231b3b80d8
2001-07-22 04:40:02 +00:00
Chris Lattner
953e0d7076 Convert from using C style char*'s to strings.
Look ma, no strdups


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@265 91177308-0d34-0410-b5e6-96231b3b80d8
2001-07-22 03:57:31 +00:00
Chris Lattner
a99495ae53 Instructions for use
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@255 91177308-0d34-0410-b5e6-96231b3b80d8
2001-07-21 21:05:39 +00:00