Misha Brukman
6275a04768
Substantially re-organized this file:
...
* There is now only one pass to print out assembly instead of two
* It is a FunctionPass
* The Module-level printing of globals is now in doFinalization() method of the
FunctionPass
* The code has been reformatted to follow LLVM coding standards
* Some comments, not all, were doxygenified
* Last but not least, the function to create an instance of this pass is also no
longer a method in the UltraSparc class.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9953 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-13 00:22:19 +00:00
Misha Brukman
661a571053
The function to create an instance of this pass is no longer a method of
...
the UltraSparc class.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9952 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-13 00:19:02 +00:00
Misha Brukman
7e060be881
The functions to create new instances of passes are no longer methods in the
...
UltraSparc class. Comments are also doxygen-compatible now.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9951 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-13 00:17:20 +00:00
Misha Brukman
1be1a235d7
* Put command-line switches in their own namespace
...
* Pass creation functions are no longer in the UltraSparc class
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9950 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-13 00:16:28 +00:00
Misha Brukman
bede635646
Force a dependency on the .inc file, which must be generated!
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9949 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-13 00:05:09 +00:00
Chris Lattner
9a92729581
Fine-grainify namespaces for this library
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9948 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-12 23:11:14 +00:00
Misha Brukman
bfcadffd4c
You cannot debug namespacified LLVM with GDB 5.x anymore.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9946 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-12 22:55:13 +00:00
Brian Gaeke
502c481a8f
Add another fixed bug.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9945 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-12 22:48:52 +00:00
Chris Lattner
e94e0edc3e
Fix faulty namespacification
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9943 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-12 22:45:14 +00:00
Misha Brukman
811ce9f4ca
Regenerated `configure' for adding Makefiles and test.in to FreeBench
...
benchmarks.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9942 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-12 22:16:51 +00:00
Misha Brukman
960624b187
OK, scratch my last post, this actually *does* work, those syntax errors were
...
imaginary.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9941 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-12 22:16:23 +00:00
Chris Lattner
d0a23ab916
Add new testcase for PR112
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9940 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-12 22:15:55 +00:00
Misha Brukman
73312988ba
Apparently adding these entries and regenerating llvm/configure results in
...
syntax errors. Reverting the patch until I can figure out what's going on.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9939 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-12 21:51:44 +00:00
Misha Brukman
55414671ba
Some programs actually require an input to run. The nerve!
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9938 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-12 21:45:04 +00:00
Brian Gaeke
558992dfb5
Mention LLVM cast instructions.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9936 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-12 21:39:31 +00:00
Brian Gaeke
78a371009f
Update section on GNU lightning fp.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9935 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-12 21:38:50 +00:00
Brian Gaeke
0c77aebe59
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
2003-11-12 21:36:29 +00:00
John Criswell
fed0b2995e
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
2003-11-12 21:32:06 +00:00
Brian Gaeke
7af03e9d85
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
2003-11-12 20:47:30 +00:00
Brian Gaeke
1ce764e083
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
2003-11-12 20:31:18 +00:00
Chris Lattner
2f002b5e0b
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
2003-11-12 20:24:39 +00:00
Brian Gaeke
22f9645135
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
2003-11-12 20:20:55 +00:00
Brian Gaeke
e65a8e47fb
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
2003-11-12 20:19:40 +00:00
Misha Brukman
3e910feb3f
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
2003-11-12 19:39:10 +00:00
Chris Lattner
afc1dbafb4
Add new argument to disable checking
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9922 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-12 17:58:22 +00:00
Chris Lattner
f58aefcb20
Add argument
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9921 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-12 17:58:09 +00:00
Chris Lattner
413f1551cc
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
2003-11-12 16:40:08 +00:00
Chris Lattner
c7f05ca2a3
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
2003-11-12 16:38:32 +00:00
Chris Lattner
9c9e9dfe6d
Reduced testcase for PR 110
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9917 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-12 16:24:30 +00:00
Chris Lattner
579de71d08
Detect problems with PHI node operands!
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9916 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-12 07:13:37 +00:00
Chris Lattner
6a45da0de6
Restore the -llvm option
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9915 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-12 04:59:59 +00:00
Chris Lattner
d8ea8a5027
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
2003-11-12 04:58:19 +00:00
Chris Lattner
9dc4185763
Don't crash if no gg
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9913 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-12 04:57:58 +00:00
Chris Lattner
9b29bde341
PR107 is now fixed
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9912 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-12 04:42:37 +00:00
Chris Lattner
15b697214e
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
2003-11-12 04:40:30 +00:00
Chris Lattner
400b89628e
New testcase for PR107
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9910 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-12 04:40:11 +00:00
Brian Gaeke
2e09698ffd
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
2003-11-12 01:11:54 +00:00
Chris Lattner
c5f0afad2c
Cleanups
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9907 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-12 00:40:34 +00:00
Chris Lattner
2a77f2daa7
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
2003-11-11 23:46:35 +00:00
Chris Lattner
5f6fbeb64c
Add a link to the llvmdev posting
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9905 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-11 23:45:03 +00:00
Brian Gaeke
360c2663fa
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
2003-11-11 22:45:41 +00:00
Brian Gaeke
d0fde30ce8
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
2003-11-11 22:41:34 +00:00
Brian Gaeke
0d723acf15
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
2003-11-11 21:54:01 +00:00
Brian Gaeke
a2302ffe78
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
2003-11-11 21:53:50 +00:00
Brian Gaeke
f33d00f0d8
Add prototypes for CheckMagic, IsArchive, and IsBytecode.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9900 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-11 21:53:29 +00:00
Brian Gaeke
7879206b0f
Add another fixed bug.
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9899 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-11 21:52:34 +00:00
Chris Lattner
413406c068
Compute node offsets correctly
...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9895 91177308-0d34-0410-b5e6-96231b3b80d8
2003-11-11 20:12:32 +00:00
Misha Brukman
aab9ca73fd
'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
2003-11-11 18:38:56 +00:00
Brian Gaeke
ee8adb1955
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
2003-11-11 18:27:37 +00:00
Brian Gaeke
56be7ffe58
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
2003-11-11 18:27:21 +00:00