oota-llvm.git
21 years agoAdd debugtype, make output marginally more nice
Chris Lattner [Sun, 19 Oct 2003 02:27:40 +0000 (02:27 +0000)]
Add debugtype, make output marginally more nice

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

21 years agoFix PR #47
Chris Lattner [Sun, 19 Oct 2003 02:14:58 +0000 (02:14 +0000)]
Fix PR #47

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

21 years agoFix bug: Jello/2003-10-18-PHINode-ConstantExpr-CondCode-Failure.llx
Chris Lattner [Sun, 19 Oct 2003 00:26:11 +0000 (00:26 +0000)]
Fix bug: Jello/2003-10-18-PHINode-ConstantExpr-CondCode-Failure.llx
This also fixes miscompilation of 176.gcc.

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

21 years agoNew testcase, distilled from 176.gcc codegen failure
Chris Lattner [Sat, 18 Oct 2003 23:54:45 +0000 (23:54 +0000)]
New testcase, distilled from 176.gcc codegen failure

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

21 years agoUpdate compile information
Chris Lattner [Sat, 18 Oct 2003 21:55:47 +0000 (21:55 +0000)]
Update compile information

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

21 years agoAdd usage blurb
Chris Lattner [Sat, 18 Oct 2003 21:55:35 +0000 (21:55 +0000)]
Add usage blurb

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

21 years agoWithout this option, the -run-llc mode does not work with shared objects at
Chris Lattner [Sat, 18 Oct 2003 21:54:47 +0000 (21:54 +0000)]
Without this option, the -run-llc mode does not work with shared objects at
all, making it pointless for use with the code generator debugger.  With it,
it works like a charm.

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

21 years agoAdd bugpoint advice section
Chris Lattner [Sat, 18 Oct 2003 21:34:15 +0000 (21:34 +0000)]
Add bugpoint advice section

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

21 years agoPrint -fno-strict-aliasing as well
Chris Lattner [Sat, 18 Oct 2003 21:08:57 +0000 (21:08 +0000)]
Print -fno-strict-aliasing as well

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

21 years agoDon't leave a trail of bugpoint-execution-output-* breadcrumbs all over the place
Chris Lattner [Sat, 18 Oct 2003 21:02:51 +0000 (21:02 +0000)]
Don't leave a trail of bugpoint-execution-output-* breadcrumbs all over the place

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

21 years agoExpand the --args section
Chris Lattner [Sat, 18 Oct 2003 20:57:23 +0000 (20:57 +0000)]
Expand the --args section

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

21 years ago* Add the -additional-so option
Chris Lattner [Sat, 18 Oct 2003 20:54:37 +0000 (20:54 +0000)]
* Add the -additional-so option
* Add info about codegen and miscompilation mode

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

21 years agoBeef up the description of bugpoint a lot. Update for renamed options
Chris Lattner [Sat, 18 Oct 2003 20:36:15 +0000 (20:36 +0000)]
Beef up the description of bugpoint a lot.  Update for renamed options

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

21 years agoChange run-lli -> run-int
Chris Lattner [Sat, 18 Oct 2003 20:30:48 +0000 (20:30 +0000)]
Change run-lli -> run-int
Many people associate lli with the jit, so we don't want to suprise them

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

21 years agoDefault to using the CBE instead of the Interpreter if no -run-* option is specified
Chris Lattner [Sat, 18 Oct 2003 20:18:20 +0000 (20:18 +0000)]
Default to using the CBE instead of the Interpreter if no -run-* option is specified

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

21 years agoFix warning
Chris Lattner [Sat, 18 Oct 2003 19:48:10 +0000 (19:48 +0000)]
Fix warning

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

21 years agoPrint stuff to stdout if something changes.
Chris Lattner [Sat, 18 Oct 2003 19:31:39 +0000 (19:31 +0000)]
Print stuff to stdout if something changes.

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

21 years agoIf we detect a pass crash during miscompilation testing, immediately enter the
Chris Lattner [Sat, 18 Oct 2003 19:27:48 +0000 (19:27 +0000)]
If we detect a pass crash during miscompilation testing, immediately enter the
crash debugger

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

21 years agoadd support for new linkage types
Chris Lattner [Sat, 18 Oct 2003 06:30:21 +0000 (06:30 +0000)]
add support for new linkage types

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

21 years agoFix PR#50
Chris Lattner [Sat, 18 Oct 2003 06:14:59 +0000 (06:14 +0000)]
Fix PR#50

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

21 years agoAdd support for the new varargs intrinsics and instructions
Chris Lattner [Sat, 18 Oct 2003 05:57:43 +0000 (05:57 +0000)]
Add support for the new varargs intrinsics and instructions

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

21 years agoADd support for the new varargs instructions
Chris Lattner [Sat, 18 Oct 2003 05:56:52 +0000 (05:56 +0000)]
ADd support for the new varargs instructions

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

21 years agoAdd support for the new varargs intrinsics
Chris Lattner [Sat, 18 Oct 2003 05:56:40 +0000 (05:56 +0000)]
Add support for the new varargs intrinsics

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

21 years agoUpdate the sparc backend to at least compile correctly with the new varargs stuff...
Chris Lattner [Sat, 18 Oct 2003 05:55:58 +0000 (05:55 +0000)]
Update the sparc backend to at least compile correctly with the new varargs stuff even if it's not all implemented yet.

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

21 years agoInterpret the new varargs intrinsics correctly
Chris Lattner [Sat, 18 Oct 2003 05:55:25 +0000 (05:55 +0000)]
Interpret the new varargs intrinsics correctly

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

21 years agoUpdated to emit the final 1.0 bytecode format. This supports weak linkage,
Chris Lattner [Sat, 18 Oct 2003 05:54:48 +0000 (05:54 +0000)]
Updated to emit the final 1.0 bytecode format.  This supports weak linkage,
more efficient encoding of varargs calls, and the new varargs intrinsics.

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

21 years ago* New revised variable argument handling support
Chris Lattner [Sat, 18 Oct 2003 05:54:18 +0000 (05:54 +0000)]
* New revised variable argument handling support
* More dense bytecode encoding for varargs calls (like printf)
* Eliminated the extremely old bytecode format.  rev #0 is now 1.0

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

21 years agoNew revised variable argument handling support
Chris Lattner [Sat, 18 Oct 2003 05:53:13 +0000 (05:53 +0000)]
New revised variable argument handling support

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

21 years agoUpdate for new varargs support
Chris Lattner [Sat, 18 Oct 2003 05:51:36 +0000 (05:51 +0000)]
Update for new varargs support

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

21 years agoFix bug in my checkin
Chris Lattner [Sat, 18 Oct 2003 00:14:13 +0000 (00:14 +0000)]
Fix bug in my checkin

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

21 years agoAnother formatting fix
Chris Lattner [Sat, 18 Oct 2003 00:05:05 +0000 (00:05 +0000)]
Another formatting fix

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

21 years agoMore cleanups
Chris Lattner [Fri, 17 Oct 2003 23:07:47 +0000 (23:07 +0000)]
More cleanups

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

21 years agoBe more helpful if a pass fails while chasing down a miscompilation
Chris Lattner [Fri, 17 Oct 2003 23:03:16 +0000 (23:03 +0000)]
Be more helpful if a pass fails while chasing down a miscompilation

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

21 years ago* Align comments into 80 columns
Misha Brukman [Fri, 17 Oct 2003 23:00:03 +0000 (23:00 +0000)]
* Align comments into 80 columns
* Stop using full pathnames (we don't know where the source could be)
* Use only relative distance to the source, so a user can download the code and
  generate their own copy of the doxygen documentation easily
* Since `docs' has moved one level up, all relative path names lost a `..'

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

21 years agoChris says it's better to assert that TheModule is valid than silently return 0.
Misha Brukman [Fri, 17 Oct 2003 21:59:57 +0000 (21:59 +0000)]
Chris says it's better to assert that TheModule is valid than silently return 0.

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

21 years agoAdded additional information about linking dynamic libraries.
John Criswell [Fri, 17 Oct 2003 21:50:38 +0000 (21:50 +0000)]
Added additional information about linking dynamic libraries.

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

21 years agoYou can't just blat the address into memory, you have to blat its
Brian Gaeke [Fri, 17 Oct 2003 21:47:25 +0000 (21:47 +0000)]
You can't just blat the address into memory, you have to blat its
displacement.

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

21 years agoAdding license information for the sample project.
John Criswell [Fri, 17 Oct 2003 21:37:26 +0000 (21:37 +0000)]
Adding license information for the sample project.

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

21 years agoUpdated the README so that it catagorizes the docs similar to the web page.
John Criswell [Fri, 17 Oct 2003 21:10:57 +0000 (21:10 +0000)]
Updated the README so that it catagorizes the docs similar to the web page.
Added a few missing docs as well.

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

21 years agoDon't release the Module, as that invalidates the Module* within the
Misha Brukman [Fri, 17 Oct 2003 18:31:59 +0000 (18:31 +0000)]
Don't release the Module, as that invalidates the Module* within the
ModuleProvider, which has bad consequences in lli::callAsMain() which tries to
access that same Module*.

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

21 years agoImplement replaceMachineCodeForFunction() for x86.
Brian Gaeke [Fri, 17 Oct 2003 18:27:46 +0000 (18:27 +0000)]
Implement replaceMachineCodeForFunction() for x86.

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

21 years agoRefactor jump insertion code from CompilationCallback() into insertJumpAtAddr().
Brian Gaeke [Fri, 17 Oct 2003 18:27:37 +0000 (18:27 +0000)]
Refactor jump insertion code from CompilationCallback() into insertJumpAtAddr().
Make insertFarJumpAtAddr() return void, because nothing uses its return value.
Remove some commented-out code.
Implement replaceMachineCodeForFunction() for SPARC.

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

21 years agoAdd prototype for replaceMachineCodeForFunction().
Brian Gaeke [Fri, 17 Oct 2003 18:27:25 +0000 (18:27 +0000)]
Add prototype for replaceMachineCodeForFunction().

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

21 years agoReturn the Module that we just materialized.
Misha Brukman [Fri, 17 Oct 2003 18:27:13 +0000 (18:27 +0000)]
Return the Module that we just materialized.

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

21 years agoTidy up doxygen comment for getPointerToFunction().
Brian Gaeke [Fri, 17 Oct 2003 18:27:12 +0000 (18:27 +0000)]
Tidy up doxygen comment for getPointerToFunction().
Add prototypes for recompileAndRelinkFunction() and runJITOnFunction().

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

21 years agoRefactor running the JIT passes on a single function into the new method,
Brian Gaeke [Fri, 17 Oct 2003 18:27:00 +0000 (18:27 +0000)]
Refactor running the JIT passes on a single function into the new method,
runJITOnFunction().

Add new method for recompiling and patching in new versions of functions,
recompileAndRelinkFunction().

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

21 years agoReturn the Module being materialized to avoid always calling getModule().
Misha Brukman [Fri, 17 Oct 2003 18:26:51 +0000 (18:26 +0000)]
Return the Module being materialized to avoid always calling getModule().

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

21 years agoAdd stub version of replaceMachineCodeForFunction. It will live here until
Brian Gaeke [Fri, 17 Oct 2003 18:26:45 +0000 (18:26 +0000)]
Add stub version of replaceMachineCodeForFunction. It will live here until
we have a better place for it to go.

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

21 years agoRemove extra blank line.
Brian Gaeke [Fri, 17 Oct 2003 18:09:10 +0000 (18:09 +0000)]
Remove extra blank line.

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

21 years agoDo not crash on empty structures
Chris Lattner [Fri, 17 Oct 2003 18:03:54 +0000 (18:03 +0000)]
Do not crash on empty structures

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

21 years agoModified the Makefile so that the sample library is linked dynamically.
John Criswell [Fri, 17 Oct 2003 17:47:08 +0000 (17:47 +0000)]
Modified the Makefile so that the sample library is linked dynamically.

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

21 years ago* Give credit where credit's due
Misha Brukman [Fri, 17 Oct 2003 17:28:21 +0000 (17:28 +0000)]
* Give credit where credit's due
* `Quote' names of projects
* Add emails to people's records

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

21 years agoNew testcase for C++ frontend crash
Chris Lattner [Fri, 17 Oct 2003 05:20:51 +0000 (05:20 +0000)]
New testcase for C++ frontend crash

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

21 years agoTighten up handling of checks for shift instructions
Chris Lattner [Fri, 17 Oct 2003 05:11:44 +0000 (05:11 +0000)]
Tighten up handling of checks for shift instructions

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

21 years agoEliminate some extraneous code in SlotCalculator::insertVal().
Alkis Evlogimenos [Fri, 17 Oct 2003 02:02:40 +0000 (02:02 +0000)]
Eliminate some extraneous code in SlotCalculator::insertVal().

Rename SlotCalculator::getValSlot() to SlotCalculator::getSlot(),
       SlotCalculator::insertValue() to SlotCalculator::getOrCreateSlot(),
       SlotCalculator::insertVal() to SlotCalculator::insertValue(), and
       SlotCalculator::doInsertVal() to SlotCalculator::doInsertValue().

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

21 years agoSomeone forgot to commit an updated configure after adding tools/llvm-nm to configure...
Alkis Evlogimenos [Fri, 17 Oct 2003 00:50:38 +0000 (00:50 +0000)]
Someone forgot to commit an updated configure after adding tools/llvm-nm to configure.ac :-)

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

21 years agoAdd debug variable.
Brian Gaeke [Thu, 16 Oct 2003 23:46:01 +0000 (23:46 +0000)]
Add debug variable.

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

21 years agoFix typo in comment.
Brian Gaeke [Thu, 16 Oct 2003 23:45:05 +0000 (23:45 +0000)]
Fix typo in comment.

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

21 years agoThis file has funny include guards and funny extra whitespace.
Brian Gaeke [Thu, 16 Oct 2003 23:43:35 +0000 (23:43 +0000)]
This file has funny include guards and funny extra whitespace.
Make this file less funny.

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

21 years agoDocument that llvm-nm works in pipe mode, thanks to the efforts of Chris.
Brian Gaeke [Thu, 16 Oct 2003 23:39:10 +0000 (23:39 +0000)]
Document that llvm-nm works in pipe mode, thanks to the efforts of Chris.

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

21 years agoFix a typo in a comment, and zap a blank line.
Brian Gaeke [Thu, 16 Oct 2003 23:33:38 +0000 (23:33 +0000)]
Fix a typo in a comment, and zap a blank line.

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

21 years agoAdd separator between different types of readers.
Misha Brukman [Thu, 16 Oct 2003 21:19:54 +0000 (21:19 +0000)]
Add separator between different types of readers.

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

21 years agoJIT.cpp:
Misha Brukman [Thu, 16 Oct 2003 21:19:34 +0000 (21:19 +0000)]
JIT.cpp:
* #include "llvm/ModuleProvider"
* alphabetize #includes
* omit extraneous parens in pointer expressions

VM.cpp:
* #include "llvm/ModuleProvider"
* alphabetize #includes

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

21 years ago* Reorder includes as per the style guide
Misha Brukman [Thu, 16 Oct 2003 21:18:05 +0000 (21:18 +0000)]
* Reorder includes as per the style guide
* Move the constructors from .h file here
* Document ExecutionEngine::create()
* Catch exception possibly thrown by ModuleProvider::releaseModule()

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

21 years agoIf we move the constructors to the .cpp file, we can drop the #include
Misha Brukman [Thu, 16 Oct 2003 21:16:21 +0000 (21:16 +0000)]
If we move the constructors to the .cpp file, we can drop the #include

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

21 years agoRemoved the .PRECIOUS of Lex and Yacc output files.
John Criswell [Thu, 16 Oct 2003 20:38:16 +0000 (20:38 +0000)]
Removed the .PRECIOUS of Lex and Yacc output files.
They are already marked precious in llvm/Makefile.rules, and removing
this line seems to fix the Makefile so that the Yacc output is placed
into the object tree and not the source tree.

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

21 years agoRemoved the -mode option.
John Criswell [Thu, 16 Oct 2003 20:15:17 +0000 (20:15 +0000)]
Removed the -mode option.
Fixed some grammar, spelling, and punctuation.

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

21 years agoMinor cleanups
Chris Lattner [Thu, 16 Oct 2003 20:12:13 +0000 (20:12 +0000)]
Minor cleanups

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

21 years agoAdded documentation on the new -disable-inlining option.
John Criswell [Thu, 16 Oct 2003 20:05:48 +0000 (20:05 +0000)]
Added documentation on the new -disable-inlining option.

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

21 years agoI am not the only John Criswell.
John Criswell [Thu, 16 Oct 2003 20:01:04 +0000 (20:01 +0000)]
I am not the only John Criswell.
:)

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

21 years agoGive credit where credit is due
Chris Lattner [Thu, 16 Oct 2003 19:58:17 +0000 (19:58 +0000)]
Give credit where credit is due

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

21 years agoAdded a section on all of the wonderful Makefile variables used to locate
John Criswell [Thu, 16 Oct 2003 19:53:53 +0000 (19:53 +0000)]
Added a section on all of the wonderful Makefile variables used to locate
LLVM.
Added information on how to use the autoconf code to specify LLVM's
location and setup separate source and object trees.
Fixed some of the wording to be more accurate, especially regarding the
building of libraries.
Added information on where built files are placed.
Added a link to the llvmdev mailing list so that they can ask us questions.

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

21 years agoMake llvm-nm work in "pipe mode"
Chris Lattner [Thu, 16 Oct 2003 18:45:23 +0000 (18:45 +0000)]
Make llvm-nm work in "pipe mode"

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

21 years agoAdd support for 'weak' linkage.
Chris Lattner [Thu, 16 Oct 2003 18:29:00 +0000 (18:29 +0000)]
Add support for 'weak' linkage.

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

21 years agoAdd support for 'weak' linkage.
Chris Lattner [Thu, 16 Oct 2003 18:28:50 +0000 (18:28 +0000)]
Add support for 'weak' linkage.

For now, we translate linkonce into weak linkage in the bytecode format because
we don't have enough bits to represent it.  We will rev the bytecode version
soon anyways, so this will be fixed in the near future.

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

21 years agoGeeze, what is with Brian and these ifdef's?
Chris Lattner [Thu, 16 Oct 2003 18:27:24 +0000 (18:27 +0000)]
Geeze, what is with Brian and these ifdef's?

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

21 years agoAdd weak linking type
Chris Lattner [Thu, 16 Oct 2003 18:27:04 +0000 (18:27 +0000)]
Add weak linking type

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

21 years agoAutomagically update website docs on commits.
Misha Brukman [Thu, 16 Oct 2003 18:14:43 +0000 (18:14 +0000)]
Automagically update website docs on commits.

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

21 years agoUpdate the website automatically on documentation commit [in progress].
Misha Brukman [Thu, 16 Oct 2003 18:13:19 +0000 (18:13 +0000)]
Update the website automatically on documentation commit [in progress].

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

21 years agoThis should automatically update on the webpage.
Misha Brukman [Thu, 16 Oct 2003 18:10:45 +0000 (18:10 +0000)]
This should automatically update on the webpage.

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

21 years agoyikes, a copy-and-paste-o
Brian Gaeke [Thu, 16 Oct 2003 18:05:09 +0000 (18:05 +0000)]
yikes, a copy-and-paste-o

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

21 years agoadd llvm-nm entry.
Brian Gaeke [Thu, 16 Oct 2003 18:04:40 +0000 (18:04 +0000)]
add llvm-nm entry.

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

21 years agoAdd command guide (It's like a man page translated into html, but without the
Brian Gaeke [Thu, 16 Oct 2003 18:03:24 +0000 (18:03 +0000)]
Add command guide (It's like a man page translated into html, but without the
translation...) for the new llvm-nm tool.

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

21 years agoWelcome llvm-nm to the family
Chris Lattner [Thu, 16 Oct 2003 17:46:21 +0000 (17:46 +0000)]
Welcome llvm-nm to the family

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

21 years agoCompletely rewrite support for the Value::use_* list. Now, all operations on
Chris Lattner [Thu, 16 Oct 2003 16:53:07 +0000 (16:53 +0000)]
Completely rewrite support for the Value::use_* list.  Now, all operations on
this list (except use_size()) are constant time.  Before the killUse method
(used whenever something stopped using a value) was linear time, and thus
very very slow for large programs.

This speeds GCCAS up _substantially_ on large programs: almost 2x for 176.gcc:

176.gcc:     77.07s -> 37.38s
177.mesa:     7.59s ->  5.57s
252.eon:     21.02s -> 19.52s (*)
253.perlbmk: 11.40s -> 13.05s
254.gap:      7.25s -> 7.42s

252.eon would speed up a whole lot more, but optimization time is being
dominated by the inlining pass, which needs to be fixed.

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

21 years agoCompletely rewrite support for the Value::use_* list. Now, all operations on
Chris Lattner [Thu, 16 Oct 2003 16:53:04 +0000 (16:53 +0000)]
Completely rewrite support for the Value::use_* list.  Now, all operations on
this list (except use_size()) are constant time.  Before the killUse method
(used whenever something stopped using a value) was linear time, and thus
very very slow for large programs.

This speeds GCCAS up _substantially_ on large programs: almost 2x for 176.gcc:

176.gcc:     77.07s -> 37.38s
177.mesa:     7.59s ->  5.57s
252.eon:     21.02s -> 19.52s (*)
253.perlbmk: 11.40s -> 13.05s
254.gap:      7.25s -> 7.42s

252.eon would speed up a whole lot more, but optimization time is being
dominated by the inlining pass, which needs to be fixed.

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

21 years agoUnfortunately, it looks like level raise is still needed :(
Chris Lattner [Thu, 16 Oct 2003 16:50:34 +0000 (16:50 +0000)]
Unfortunately, it looks like level raise is still needed :(

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

21 years agoThis code does not require random access use_lists
Chris Lattner [Thu, 16 Oct 2003 16:49:12 +0000 (16:49 +0000)]
This code does not require random access use_lists

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

21 years agoEliminate using declaration
Chris Lattner [Thu, 16 Oct 2003 16:48:53 +0000 (16:48 +0000)]
Eliminate using declaration
Rewrite code to work with use_lists what are either random access or bidirectional

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

21 years agoAdded an entry for `llvm-nm'.
Misha Brukman [Thu, 16 Oct 2003 16:12:04 +0000 (16:12 +0000)]
Added an entry for `llvm-nm'.

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

21 years agoOkay, this is a little hack that "scratches an itch" of mine.
Brian Gaeke [Thu, 16 Oct 2003 04:43:15 +0000 (04:43 +0000)]
Okay, this is a little hack that "scratches an itch" of mine.
I dislike having to examine the output of "dis" to see what symbols
are in a bytecode file. So, here is a first cut at a "nm" utility for llvm.
Flame away.... :-)

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

21 years agoAdded autoconf support for the sample project.
John Criswell [Thu, 16 Oct 2003 01:49:07 +0000 (01:49 +0000)]
Added autoconf support for the sample project.

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

21 years agoAdded autoconf support for the sample project.
John Criswell [Thu, 16 Oct 2003 01:49:00 +0000 (01:49 +0000)]
Added autoconf support for the sample project.
Fixed the header comment in Makefile.rules
Changed all references to the echo program in Makefile.rules to the value
found by autoconf.

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

21 years agoAdding autoconf support to the sample project.
John Criswell [Thu, 16 Oct 2003 01:45:35 +0000 (01:45 +0000)]
Adding autoconf support to the sample project.

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

21 years agoAdding autoconf support for the sample project.
John Criswell [Thu, 16 Oct 2003 01:45:10 +0000 (01:45 +0000)]
Adding autoconf support for the sample project.
This should make setting up a new project much easier.

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

21 years agoAdding autoconf support for the sample project.
John Criswell [Thu, 16 Oct 2003 01:44:20 +0000 (01:44 +0000)]
Adding autoconf support for the sample project.

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

21 years agoVector is my friend, do you like vector?
Chris Lattner [Wed, 15 Oct 2003 22:10:10 +0000 (22:10 +0000)]
Vector is my friend, do you like vector?

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

21 years agolalala
Chris Lattner [Wed, 15 Oct 2003 22:09:57 +0000 (22:09 +0000)]
lalala

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

21 years agoWe'll need this soon as well
Chris Lattner [Wed, 15 Oct 2003 22:09:46 +0000 (22:09 +0000)]
We'll need this soon as well

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

21 years ago#include vector which we will need here soon
Chris Lattner [Wed, 15 Oct 2003 22:09:32 +0000 (22:09 +0000)]
#include vector which we will need here soon

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