oota-llvm.git
21 years agoMention LLVM cast instructions.
Brian Gaeke [Wed, 12 Nov 2003 21:39:31 +0000 (21:39 +0000)]
Mention LLVM cast instructions.

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

21 years agoUpdate section on GNU lightning fp.
Brian Gaeke [Wed, 12 Nov 2003 21:38:50 +0000 (21:38 +0000)]
Update section on GNU lightning fp.

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

21 years agoI won't claim we're "better than and/or different from..." at Misha's behest.
Brian Gaeke [Wed, 12 Nov 2003 21:36:29 +0000 (21:36 +0000)]
I won't claim we're "better than and/or different from..." at Misha's behest.

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

21 years agoRegress to not using the llvm namespace.
John Criswell [Wed, 12 Nov 2003 21:32:06 +0000 (21:32 +0000)]
Regress to not using the llvm namespace.
This keeps Pool Allocation stuff from compiling.
We can re-visit it later when we have time to do it right.

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

21 years agoMake the beginning of this page look like the beginnings of other pages.
Brian Gaeke [Wed, 12 Nov 2003 20:47:30 +0000 (20:47 +0000)]
Make the beginning of this page look like the beginnings of other pages.

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

21 years agoindex.html: Add link to llvm vs. the world
Brian Gaeke [Wed, 12 Nov 2003 20:31:18 +0000 (20:31 +0000)]
index.html: Add link to llvm vs. the world
llvm.css: Add padding on top and bottom so that letters do not merge with
surrounding whitespace

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

21 years agoThis color is making me want to puke :)
Chris Lattner [Wed, 12 Nov 2003 20:24:39 +0000 (20:24 +0000)]
This color is making me want to puke :)

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

21 years agoWhoops, a div got closed in the wrong place.
Brian Gaeke [Wed, 12 Nov 2003 20:20:55 +0000 (20:20 +0000)]
Whoops, a div got closed in the wrong place.

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

21 years agoFirst draft of LLVM-to-anything comparison document.
Brian Gaeke [Wed, 12 Nov 2003 20:19:40 +0000 (20:19 +0000)]
First draft of LLVM-to-anything comparison document.

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

21 years agoAdd FreeBench benchmarks to our test suite -- they weren't available by default
Misha Brukman [Wed, 12 Nov 2003 19:39:10 +0000 (19:39 +0000)]
Add FreeBench benchmarks to our test suite -- they weren't available by default
before when one didn't build in his source root.

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

21 years agoAdd new argument to disable checking
Chris Lattner [Wed, 12 Nov 2003 17:58:22 +0000 (17:58 +0000)]
Add new argument to disable checking

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

21 years agoAdd argument
Chris Lattner [Wed, 12 Nov 2003 17:58:09 +0000 (17:58 +0000)]
Add argument

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

21 years agoThe bytecode reader/writer is borking this testcase
Chris Lattner [Wed, 12 Nov 2003 16:40:08 +0000 (16:40 +0000)]
The bytecode reader/writer is borking this testcase

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

21 years agoThis is not the instruction combiner's fault! No really!
Chris Lattner [Wed, 12 Nov 2003 16:38:32 +0000 (16:38 +0000)]
This is not the instruction combiner's fault!  No really!

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

21 years agoReduced testcase for PR 110
Chris Lattner [Wed, 12 Nov 2003 16:24:30 +0000 (16:24 +0000)]
Reduced testcase for PR 110

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

21 years agoDetect problems with PHI node operands!
Chris Lattner [Wed, 12 Nov 2003 07:13:37 +0000 (07:13 +0000)]
Detect problems with PHI node operands!

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

21 years agoRestore the -llvm option
Chris Lattner [Wed, 12 Nov 2003 04:59:59 +0000 (04:59 +0000)]
Restore the -llvm option

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

21 years agoPrint return nodes for graphs with multiple functions in them correctly
Chris Lattner [Wed, 12 Nov 2003 04:58:19 +0000 (04:58 +0000)]
Print return nodes for graphs with multiple functions in them correctly

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

21 years agoDon't crash if no gg
Chris Lattner [Wed, 12 Nov 2003 04:57:58 +0000 (04:57 +0000)]
Don't crash if no gg

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

21 years agoPR107 is now fixed
Chris Lattner [Wed, 12 Nov 2003 04:42:37 +0000 (04:42 +0000)]
PR107 is now fixed

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

21 years agoFix bug PR107, patch contributed by Reid Spencer!
Chris Lattner [Wed, 12 Nov 2003 04:40:30 +0000 (04:40 +0000)]
Fix bug PR107, patch contributed by Reid Spencer!

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

21 years agoNew testcase for PR107
Chris Lattner [Wed, 12 Nov 2003 04:40:11 +0000 (04:40 +0000)]
New testcase for PR107

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

21 years agoI don't think this was supposed to have gotten into the namespaceify patch, but
Brian Gaeke [Wed, 12 Nov 2003 01:11:54 +0000 (01:11 +0000)]
I don't think this was supposed to have gotten into the namespaceify patch, but
it did. Oops!

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

21 years agoCleanups
Chris Lattner [Wed, 12 Nov 2003 00:40:34 +0000 (00:40 +0000)]
Cleanups

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

21 years agoreword a bit, be less aggressive with my link
Chris Lattner [Tue, 11 Nov 2003 23:46:35 +0000 (23:46 +0000)]
reword a bit, be less aggressive with my link

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

21 years agoAdd a link to the llvmdev posting
Chris Lattner [Tue, 11 Nov 2003 23:45:03 +0000 (23:45 +0000)]
Add a link to the llvmdev posting

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

21 years agoMention that all LLVM C++ code has been moved into the 'llvm' C++ namespace.
Brian Gaeke [Tue, 11 Nov 2003 22:45:41 +0000 (22:45 +0000)]
Mention that all LLVM C++ code has been moved into the 'llvm' C++ namespace.

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

21 years agoPut all LLVM code into the llvm namespace, as per bug 109.
Brian Gaeke [Tue, 11 Nov 2003 22:41:34 +0000 (22:41 +0000)]
Put all LLVM code into the llvm namespace, as per bug 109.

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

21 years agoMove IsArchive, IsBytecode to FileUtilities. Fix up some method comments.
Brian Gaeke [Tue, 11 Nov 2003 21:54:01 +0000 (21:54 +0000)]
Move IsArchive, IsBytecode to FileUtilities. Fix up some method comments.

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

21 years agoMove IsArchive and IsBytecode here from gccld. Refactor into CheckMagic.
Brian Gaeke [Tue, 11 Nov 2003 21:53:50 +0000 (21:53 +0000)]
Move IsArchive and IsBytecode here from gccld. Refactor into CheckMagic.

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

21 years agoAdd prototypes for CheckMagic, IsArchive, and IsBytecode.
Brian Gaeke [Tue, 11 Nov 2003 21:53:29 +0000 (21:53 +0000)]
Add prototypes for CheckMagic, IsArchive, and IsBytecode.

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

21 years agoAdd another fixed bug.
Brian Gaeke [Tue, 11 Nov 2003 21:52:34 +0000 (21:52 +0000)]
Add another fixed bug.

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

21 years agoCompute node offsets correctly
Chris Lattner [Tue, 11 Nov 2003 20:12:32 +0000 (20:12 +0000)]
Compute node offsets correctly

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

21 years ago'Tis quite silly to check for a cached version of the entire executable. That
Misha Brukman [Tue, 11 Nov 2003 18:38:56 +0000 (18:38 +0000)]
'Tis quite silly to check for a cached version of the entire executable. That
amounts to checking for a completely-native version. We'll cache on a
function-by-function basis instead (in the JIT's CodeEmitter).

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

21 years agoThis version of Linker.cpp works a lot better, but it's a little messy. Sorry.
Brian Gaeke [Tue, 11 Nov 2003 18:27:37 +0000 (18:27 +0000)]
This version of Linker.cpp works a lot better, but it's a little messy.  Sorry.

Use FileOpenable() instead of FileExists().
Create IsBytecode() predicate -- like IsArchive(), but for bytecode files.
Use IsBytecode() before trying to load any file as a bytecode file.

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

21 years agoAdd implementation of FileOpenable().
Brian Gaeke [Tue, 11 Nov 2003 18:27:21 +0000 (18:27 +0000)]
Add implementation of FileOpenable().
Refactor MakeFileExecutable() & MakeFileExecutable() into AddPermissionsBits().

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

21 years ago VS: ----------------------------------------------------------------------
Brian Gaeke [Tue, 11 Nov 2003 18:27:11 +0000 (18:27 +0000)]
 VS: ----------------------------------------------------------------------
Add prototype for FileOpenable().

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

21 years agoThe caching will not live in LLEE's execve() handler; that's suboptimal.
Misha Brukman [Tue, 11 Nov 2003 18:23:09 +0000 (18:23 +0000)]
The caching will not live in LLEE's execve() handler; that's suboptimal.

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

21 years agoAdd new method for computing node mappings. This is used by the pool allocator
Chris Lattner [Tue, 11 Nov 2003 05:08:59 +0000 (05:08 +0000)]
Add new method for computing node mappings. This is used by the pool allocator

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

21 years agoAdd new method
Chris Lattner [Tue, 11 Nov 2003 05:08:36 +0000 (05:08 +0000)]
Add new method

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

21 years agoAdded link to ``CVS Branching and Tags Primer''.
Misha Brukman [Tue, 11 Nov 2003 00:14:41 +0000 (00:14 +0000)]
Added link to ``CVS Branching and Tags Primer''.

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

21 years agoShorten the "updating Makefile" status print-out.
Misha Brukman [Tue, 11 Nov 2003 00:05:29 +0000 (00:05 +0000)]
Shorten the "updating Makefile" status print-out.

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

21 years agoFix problems linking against the reoptimizer; _llvm_regAllocState must have
Brian Gaeke [Mon, 10 Nov 2003 07:12:01 +0000 (07:12 +0000)]
Fix problems linking against the reoptimizer; _llvm_regAllocState must have
externally-visible linkage, and SaveStateToModule must default to true for llc.
I don't remember why I made it const; perhaps it should be deconstified.

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

21 years agoReorganize code for locality, improve comments
Chris Lattner [Mon, 10 Nov 2003 04:42:42 +0000 (04:42 +0000)]
Reorganize code for locality, improve comments

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

21 years agoInclude forms of SplitCriticalEdge which work correctly with pred/succ iterators
Chris Lattner [Mon, 10 Nov 2003 04:42:13 +0000 (04:42 +0000)]
Include forms of SplitCriticalEdge which work correctly with pred/succ iterators

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

21 years agoNo really, I'm not on crack
Chris Lattner [Mon, 10 Nov 2003 04:23:52 +0000 (04:23 +0000)]
No really, I'm not on crack

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

21 years agoHelper method
Chris Lattner [Mon, 10 Nov 2003 04:16:50 +0000 (04:16 +0000)]
Helper method

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

21 years agoAdjust to new critical edge interface
Chris Lattner [Mon, 10 Nov 2003 04:10:50 +0000 (04:10 +0000)]
Adjust to new critical edge interface

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

21 years agoMove isCriticalEdge & SplitCritical into this file. While we're at it, change
Chris Lattner [Mon, 10 Nov 2003 04:10:27 +0000 (04:10 +0000)]
Move isCriticalEdge & SplitCritical into this file.  While we're at it, change
the interface to SplitCriticalEdge so that it splits an edge if it is critical,
otherwise just returns false and noops if not.

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

21 years agoMove isCriticalEdge & SplitCritical edge out of this file, which is only
Chris Lattner [Mon, 10 Nov 2003 04:09:44 +0000 (04:09 +0000)]
Move isCriticalEdge & SplitCritical edge out of this file, which is only
for passes.

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

21 years agoRegenerated.
Brian Gaeke [Mon, 10 Nov 2003 03:06:28 +0000 (03:06 +0000)]
Regenerated.

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

21 years agoPatch to fix PR102, contributed by Reid Spencer.
Brian Gaeke [Mon, 10 Nov 2003 03:06:09 +0000 (03:06 +0000)]
Patch to fix PR102, contributed by Reid Spencer.

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

21 years agoadd Reid Spencer
Brian Gaeke [Mon, 10 Nov 2003 03:05:36 +0000 (03:05 +0000)]
add Reid Spencer

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

21 years agoOperand numbers are now ints. Save the register allocation of the value
Brian Gaeke [Mon, 10 Nov 2003 00:05:26 +0000 (00:05 +0000)]
Operand numbers are now ints. Save the register allocation of the value
each instruction produces as "operand" -1, and the other operands as 0
.. n, as before. PhyRegAlloc::saveState() is refactored into
PhyRegAlloc::saveStateForValue().

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

21 years agoIf the source tree's Makefile is more up-to-date, copy it over into the build
Misha Brukman [Sun, 9 Nov 2003 21:36:19 +0000 (21:36 +0000)]
If the source tree's Makefile is more up-to-date, copy it over into the build
tree.

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

21 years agoGive gccld more guts
Chris Lattner [Sun, 9 Nov 2003 19:55:09 +0000 (19:55 +0000)]
Give gccld more guts

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

21 years agoMore additions
Chris Lattner [Sun, 9 Nov 2003 19:54:30 +0000 (19:54 +0000)]
More additions

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

21 years agoBugz bugz bugz
Chris Lattner [Sun, 9 Nov 2003 19:44:07 +0000 (19:44 +0000)]
Bugz bugz bugz

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

21 years agoFix PR95. I'm checking this patch in for Reid Spencer, who figured it out
Chris Lattner [Sun, 9 Nov 2003 19:39:48 +0000 (19:39 +0000)]
Fix PR95.  I'm checking this patch in for Reid Spencer, who figured it out
and wrote it up.  Thanks!!

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

21 years agoAdd an assertion
Chris Lattner [Sun, 9 Nov 2003 15:51:07 +0000 (15:51 +0000)]
Add an assertion

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

21 years agoFix PR103
Brian Gaeke [Sun, 9 Nov 2003 07:08:34 +0000 (07:08 +0000)]
Fix PR103

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

21 years agoNew testcase
Chris Lattner [Sun, 9 Nov 2003 07:05:02 +0000 (07:05 +0000)]
New testcase

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

21 years agoDo NOT inline self recursive calls into other functions. This is causing the
Chris Lattner [Sun, 9 Nov 2003 05:05:36 +0000 (05:05 +0000)]
Do NOT inline self recursive calls into other functions.  This is causing the
pool allocator no end of trouble, and doesn't make a lot of sense anyway.  This
does not solve the problem with mutually recursive functions, but they are much less common.

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

21 years agoUntypo
Chris Lattner [Sun, 9 Nov 2003 05:04:25 +0000 (05:04 +0000)]
Untypo

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

21 years agoAdd more functions
Chris Lattner [Sun, 9 Nov 2003 04:10:41 +0000 (04:10 +0000)]
Add more functions

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

21 years agoNone of the __llvm_* functions call into the program. This makes the
Chris Lattner [Sun, 9 Nov 2003 04:00:59 +0000 (04:00 +0000)]
None of the __llvm_* functions call into the program.  This makes the
callgraph MUCH simpler for eh using program.

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

21 years agoAdd support for memmove
Chris Lattner [Sun, 9 Nov 2003 03:32:52 +0000 (03:32 +0000)]
Add support for memmove

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

21 years agoRemove #include of PassManager.h which was marked FIXME, and apparently is no
Brian Gaeke [Sun, 9 Nov 2003 03:15:40 +0000 (03:15 +0000)]
Remove #include of PassManager.h which was marked FIXME, and apparently is no
longer used.

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

21 years agoTotally disable assert, in order to fix PR101
Chris Lattner [Sun, 9 Nov 2003 00:29:51 +0000 (00:29 +0000)]
Totally disable assert, in order to fix PR101

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

21 years agonew testcase
Chris Lattner [Sun, 9 Nov 2003 00:23:05 +0000 (00:23 +0000)]
new testcase

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

21 years agonew testcase
Chris Lattner [Sat, 8 Nov 2003 23:00:49 +0000 (23:00 +0000)]
new testcase

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

21 years agoHandle bzero and memset in the local analysis, because we were missing the fact
Chris Lattner [Sat, 8 Nov 2003 21:55:50 +0000 (21:55 +0000)]
Handle bzero and memset in the local analysis, because we were missing the fact
that memset returns its argument!!

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

21 years agoFix broken makefile dependency generation
Chris Lattner [Sat, 8 Nov 2003 21:23:06 +0000 (21:23 +0000)]
Fix broken makefile dependency generation

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

21 years agoThis doesn't use DSCallSiteIterator
Chris Lattner [Sat, 8 Nov 2003 21:17:37 +0000 (21:17 +0000)]
This doesn't use DSCallSiteIterator

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

21 years ago* Add units to the yaxis of each chart
Chris Lattner [Sat, 8 Nov 2003 20:48:39 +0000 (20:48 +0000)]
* Add units to the yaxis of each chart
* Add charts to the nightly test report

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

21 years agoSince we are collecting all of this data, we might as well graph it!
Chris Lattner [Sat, 8 Nov 2003 20:33:04 +0000 (20:33 +0000)]
Since we are collecting all of this data, we might as well graph it!

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

21 years agoFix two typos I found in comments.
Brian Gaeke [Sat, 8 Nov 2003 18:12:24 +0000 (18:12 +0000)]
Fix two typos I found in comments.

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

21 years agoUpdate the portability section
Chris Lattner [Sat, 8 Nov 2003 05:22:09 +0000 (05:22 +0000)]
Update the portability section

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

21 years agosjlj bug
Chris Lattner [Sat, 8 Nov 2003 05:18:50 +0000 (05:18 +0000)]
sjlj bug

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

21 years agoFix wierd problems linking C programs which look for symbols in libstdc++.
Chris Lattner [Sat, 8 Nov 2003 05:13:40 +0000 (05:13 +0000)]
Fix wierd problems linking C programs which look for symbols in libstdc++.
This was due to the 'assert' macro expanding into a function call on some
platforms which could throw.  The C++ compiler then added checks for the
exception specifications in these functions, which pulled in the C++ runtime.
This was bad, and the assertions can never fire (the library is now debugged)
so just remove them.

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

21 years agoAdd news from brian
Chris Lattner [Sat, 8 Nov 2003 04:28:55 +0000 (04:28 +0000)]
Add news from brian

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

21 years agoFirst pass at cleaning up LangRef.html: stylesheet-ification, consistent
Misha Brukman [Sat, 8 Nov 2003 01:05:38 +0000 (01:05 +0000)]
First pass at cleaning up LangRef.html: stylesheet-ification, consistent
formatting, more strict adherence to HTML 4.01, other misc. cleanups.

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

21 years agoFor some reason, LICM and GCSE like to crash the FunctionPassManager when they
Misha Brukman [Sat, 8 Nov 2003 00:01:39 +0000 (00:01 +0000)]
For some reason, LICM and GCSE like to crash the FunctionPassManager when they
are being added as FunctionPasses... Sigh.

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

21 years agoProvide a specialization of _Alloc_traits, which allows the G++ runtime to avoid
Chris Lattner [Fri, 7 Nov 2003 23:20:56 +0000 (23:20 +0000)]
Provide a specialization of _Alloc_traits, which allows the G++ runtime to avoid
storing an instance of the allocator in each data structure it uses.  Yaay.

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

21 years agoImplement vaarg instruction. This is not quite perfect: 2003-08-11-VaListArg
Brian Gaeke [Fri, 7 Nov 2003 21:20:47 +0000 (21:20 +0000)]
Implement vaarg instruction. This is not quite perfect: 2003-08-11-VaListArg
still causes a crash. But it's better than before.

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

21 years agoImplement branching to a PC-relative constant (not a BasicBlock).
Misha Brukman [Fri, 7 Nov 2003 21:07:30 +0000 (21:07 +0000)]
Implement branching to a PC-relative constant (not a BasicBlock).

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

21 years agopopStackAndReturnValueToCaller() must advance instruction pointer to normal
Brian Gaeke [Fri, 7 Nov 2003 20:44:58 +0000 (20:44 +0000)]
popStackAndReturnValueToCaller() must advance instruction pointer to normal
destination, if returning from an invoke.

Implement 'unwind' instruction.

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

21 years agoPreSelection is not optional, it performs a necessary and vital transformation
Misha Brukman [Fri, 7 Nov 2003 20:33:25 +0000 (20:33 +0000)]
PreSelection is not optional, it performs a necessary and vital transformation
for the Sparc backend: breaking up constant expressions. Thus, we cannot have it
guarded by a conditional, it should never be disabled.

Also, it's now available for the JIT since it is a FunctionPass.

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

21 years agoRemove the *BIG UGLY HACK* from the JIT: PreSelection is now a FunctionPass.
Misha Brukman [Fri, 7 Nov 2003 20:32:08 +0000 (20:32 +0000)]
Remove the *BIG UGLY HACK* from the JIT: PreSelection is now a FunctionPass.

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

21 years agoAdd stub version of unwind support
Brian Gaeke [Fri, 7 Nov 2003 20:07:06 +0000 (20:07 +0000)]
Add stub version of unwind support

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

21 years agovisitCallInst --> visitCallSite.
Brian Gaeke [Fri, 7 Nov 2003 20:04:22 +0000 (20:04 +0000)]
visitCallInst --> visitCallSite.
Use visitCallSite to implement both CallInsts and InvokeInsts.

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

21 years agoMake the operation of visitCallInst() only depend on the CallSite.
Brian Gaeke [Fri, 7 Nov 2003 19:59:08 +0000 (19:59 +0000)]
Make the operation of visitCallInst() only depend on the CallSite.

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

21 years agoCompletely hacked apart the file and put it back together using stylesheets.
Misha Brukman [Fri, 7 Nov 2003 19:43:14 +0000 (19:43 +0000)]
Completely hacked apart the file and put it back together using stylesheets.

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

21 years agoActually have a target "#introduction" if we're making a link to it.
Misha Brukman [Fri, 7 Nov 2003 19:42:44 +0000 (19:42 +0000)]
Actually have a target "#introduction" if we're making a link to it.

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

21 years agoUse CallSites for call sites, instead of CallInsts. A revolutionary concept.
Brian Gaeke [Fri, 7 Nov 2003 19:26:23 +0000 (19:26 +0000)]
Use CallSites for call sites, instead of CallInsts. A revolutionary concept.

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

21 years agoMention class CallSite
Brian Gaeke [Fri, 7 Nov 2003 19:25:45 +0000 (19:25 +0000)]
Mention class CallSite

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

21 years agoAdd a warning about not "new"ing or "delete"ing CallSites
Brian Gaeke [Fri, 7 Nov 2003 19:25:22 +0000 (19:25 +0000)]
Add a warning about not "new"ing or "delete"ing CallSites

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

21 years agoAdded ability to register FunctionPasses as optimizations, with
Misha Brukman [Fri, 7 Nov 2003 18:56:32 +0000 (18:56 +0000)]
Added ability to register FunctionPasses as optimizations, with
TargetMachine-accepting constructors (thanks to Chris).

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

21 years agoMake the page footer consistent with the rest of the site.
Misha Brukman [Fri, 7 Nov 2003 18:11:14 +0000 (18:11 +0000)]
Make the page footer consistent with the rest of the site.

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

21 years agoSwitch to emitting MachineConstantPool the way it was meant to be done.
Misha Brukman [Fri, 7 Nov 2003 18:06:26 +0000 (18:06 +0000)]
Switch to emitting MachineConstantPool the way it was meant to be done.

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