Commit Graph

13551 Commits

Author SHA1 Message Date
Chris Lattner
13b03586d2 Now that ConstantPointerRef is gone, it is the case that all operands of constants
are themselves constants.  This should allow us to reduce a significant amount
of casting in the sourcebase.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15459 91177308-0d34-0410-b5e6-96231b3b80d8
2004-08-04 02:43:00 +00:00
Chris Lattner
0f42ba6777 Add a special version of getType for ConstantPointerNull, exposing the fact
that all Null pointers have pointer type


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15458 91177308-0d34-0410-b5e6-96231b3b80d8
2004-08-04 02:42:17 +00:00
Chris Lattner
07d7c9d9c5 Add a cast
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15457 91177308-0d34-0410-b5e6-96231b3b80d8
2004-08-04 02:27:17 +00:00
Reid Spencer
17c2b922d7 Added note for PR413
Tools now respond to the --version option.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15456 91177308-0d34-0410-b5e6-96231b3b80d8
2004-08-04 00:43:50 +00:00
Chris Lattner
1c06891186 Change SymbolTable::insertEntry to be more careful about how many map
lookups it does.  This shaves another 5% off of bcreading 252.eon.  Note that
the proper solution to this problem is to fix PR411, but that will have to
wait until later.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15455 91177308-0d34-0410-b5e6-96231b3b80d8
2004-08-04 00:37:31 +00:00
Reid Spencer
69105f33c1 Add a --version option for every tool that prints out:
Low Level Virtual Machine ($PACKAGE_NAME) $PACKAGE_VERSION


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15454 91177308-0d34-0410-b5e6-96231b3b80d8
2004-08-04 00:36:06 +00:00
Reid Spencer
2b51a0806d Change the package identification to use one less level of quoting so that
PACKAGE_VERSION = "1.3" instead of "[1.3]". Rebuild configure script.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15453 91177308-0d34-0410-b5e6-96231b3b80d8
2004-08-04 00:34:49 +00:00
Chris Lattner
2c6c14d1a5 Make getGlobalTableValue not use getTypeSlot, this speeds up the bc reader
by 5% on eon


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15452 91177308-0d34-0410-b5e6-96231b3b80d8
2004-08-04 00:19:23 +00:00
Chris Lattner
064e9a9ef8 The Type* is redundant with the TypeSlot
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15451 91177308-0d34-0410-b5e6-96231b3b80d8
2004-08-04 00:18:37 +00:00
Chris Lattner
45b5dd2918 Do not do a linear std::find to reconstruct information we had, but later threw
away.  This speeds up by .bc reader by 30% in a profile build on 252.eon.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15450 91177308-0d34-0410-b5e6-96231b3b80d8
2004-08-03 23:41:28 +00:00
Reid Spencer
301fe481c2 Line length <= 80 cols.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15449 91177308-0d34-0410-b5e6-96231b3b80d8
2004-08-03 20:57:56 +00:00
Reid Spencer
267660f4ac Fix some indentation (so brg can test commit script).
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15448 91177308-0d34-0410-b5e6-96231b3b80d8
2004-08-03 20:33:56 +00:00
Misha Brukman
68f3459994 Remove unused opcodes.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15447 91177308-0d34-0410-b5e6-96231b3b80d8
2004-08-03 20:23:44 +00:00
Reid Spencer
2de2999a02 Fix line lengths.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15446 91177308-0d34-0410-b5e6-96231b3b80d8
2004-08-03 20:21:05 +00:00
Brian Gaeke
7dbdbfd827 Testing the commit-diffs script again.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15445 91177308-0d34-0410-b5e6-96231b3b80d8
2004-08-03 20:14:03 +00:00
Brian Gaeke
cd78845b15 Let's try it again.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15444 91177308-0d34-0410-b5e6-96231b3b80d8
2004-08-03 20:02:52 +00:00
Brian Gaeke
324299a4c8 Another test.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15443 91177308-0d34-0410-b5e6-96231b3b80d8
2004-08-03 20:01:10 +00:00
Brian Gaeke
4f2cee3517 Testing...one more time.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15442 91177308-0d34-0410-b5e6-96231b3b80d8
2004-08-03 20:00:04 +00:00
Reid Spencer
f08561f9a1 Properly wrap some lines.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15440 91177308-0d34-0410-b5e6-96231b3b80d8
2004-08-03 19:20:18 +00:00
Reid Spencer
cb28c0b02d Added llvmcs to my list.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15439 91177308-0d34-0410-b5e6-96231b3b80d8
2004-08-03 19:13:16 +00:00
Brian Gaeke
d56bd42b91 Testing... One more time...
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15438 91177308-0d34-0410-b5e6-96231b3b80d8
2004-08-03 19:07:20 +00:00
Brian Gaeke
6efe593a00 Just testing
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15437 91177308-0d34-0410-b5e6-96231b3b80d8
2004-08-03 19:06:08 +00:00
Brian Gaeke
2a010afefc testing
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15436 91177308-0d34-0410-b5e6-96231b3b80d8
2004-08-03 19:04:14 +00:00
Brian Gaeke
a713bc9ce7 Testing commit-diffs.pl
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15435 91177308-0d34-0410-b5e6-96231b3b80d8
2004-08-03 18:59:19 +00:00
Chris Lattner
1b2d85acea Moved into SparcV9 directory
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15430 91177308-0d34-0410-b5e6-96231b3b80d8
2004-08-03 04:15:32 +00:00
Chris Lattner
82953784fc Move this file out of the top-level docs directory
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15429 91177308-0d34-0410-b5e6-96231b3b80d8
2004-08-03 04:15:02 +00:00
Chris Lattner
532c92d04a Simplify the first example, as the LLVM IR interfaces have evolved. Other
examples in this doc could also be simplified dramatically in similar ways.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15428 91177308-0d34-0410-b5e6-96231b3b80d8
2004-08-03 00:17:21 +00:00
John Criswell
cc455dea0f Use the new prcontext script.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15427 91177308-0d34-0410-b5e6-96231b3b80d8
2004-08-02 22:31:58 +00:00
John Criswell
955a742569 Add support for using the prcontext python script instead of grep -C.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15426 91177308-0d34-0410-b5e6-96231b3b80d8
2004-08-02 22:29:38 +00:00
John Criswell
21eccb6563 New python script that print a specified number of lines surrounding a
located pattern.
In other words, grep -C for Solaris.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15425 91177308-0d34-0410-b5e6-96231b3b80d8
2004-08-02 22:28:50 +00:00
John Criswell
9b87287e7d Set a variable so that we can find the python interpreter.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15424 91177308-0d34-0410-b5e6-96231b3b80d8
2004-08-02 22:24:39 +00:00
Misha Brukman
37dcae63eb * Use simpler instruction templates to define instructions
* Fix several extended opcodes


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15423 91177308-0d34-0410-b5e6-96231b3b80d8
2004-08-02 21:58:52 +00:00
Misha Brukman
c681a4e476 Replace patterns 0, 4, and 5 with simpler heirarchical definitions that use the
official PowerPC instruction format lingo: X- and D-form.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15422 91177308-0d34-0410-b5e6-96231b3b80d8
2004-08-02 21:56:35 +00:00
Chris Lattner
17d3efcd72 Add link for IRC
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15421 91177308-0d34-0410-b5e6-96231b3b80d8
2004-08-02 21:37:11 +00:00
Chris Lattner
ddd2184769 Written by
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15420 91177308-0d34-0410-b5e6-96231b3b80d8
2004-08-02 21:33:45 +00:00
Chris Lattner
354a442858 continue hacking
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15419 91177308-0d34-0410-b5e6-96231b3b80d8
2004-08-02 21:32:08 +00:00
Chris Lattner
2042302bb2 Revamp the index page
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15418 91177308-0d34-0410-b5e6-96231b3b80d8
2004-08-02 21:29:20 +00:00
Chris Lattner
04db80862c ... now real HTML 4.01 strict!
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15417 91177308-0d34-0410-b5e6-96231b3b80d8
2004-08-02 20:29:51 +00:00
Chris Lattner
d5713885dc Substantially hack on and clean up the release notes
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15416 91177308-0d34-0410-b5e6-96231b3b80d8
2004-08-02 20:28:44 +00:00
Chris Lattner
f0431b0d42 Hide this option
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15415 91177308-0d34-0410-b5e6-96231b3b80d8
2004-08-02 20:16:21 +00:00
Misha Brukman
28791dd17f Separate instruction formats from instruction definitions.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15414 91177308-0d34-0410-b5e6-96231b3b80d8
2004-08-02 16:54:54 +00:00
Misha Brukman
6a90f8202b Add #include <cstdlib> and abort() to silence a warning
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15413 91177308-0d34-0410-b5e6-96231b3b80d8
2004-08-02 14:02:21 +00:00
Misha Brukman
82fd8d8cdd * ceil() requires #include <cmath> for compilation
* Alphabetize #includes
* Fix some lines to fit within 80 cols


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15412 91177308-0d34-0410-b5e6-96231b3b80d8
2004-08-02 13:59:10 +00:00
Chris Lattner
93127fbc4a This pass has proven its metal, remove -disable option.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15411 91177308-0d34-0410-b5e6-96231b3b80d8
2004-08-02 10:10:08 +00:00
Chris Lattner
1484089bbf Fix a regression in InstCombine/xor.ll
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15410 91177308-0d34-0410-b5e6-96231b3b80d8
2004-08-01 19:42:59 +00:00
Chris Lattner
bcdda01210 Fix a warning
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15409 91177308-0d34-0410-b5e6-96231b3b80d8
2004-08-01 19:31:30 +00:00
Tanya Lattner
e0b531cc40 Adding ModuloScheduling so that it compiles for everyone.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15408 91177308-0d34-0410-b5e6-96231b3b80d8
2004-08-01 19:00:17 +00:00
Tanya Lattner
5714f44fdf Adding friend MSSchedule for ModuloScheduling pass.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15407 91177308-0d34-0410-b5e6-96231b3b80d8
2004-08-01 18:57:38 +00:00
Chris Lattner
c2df129da9 Fix warning
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15406 91177308-0d34-0410-b5e6-96231b3b80d8
2004-08-01 18:17:36 +00:00
Chris Lattner
91e76e8887 Initial testcase for bytecode compatibility regression test.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@15405 91177308-0d34-0410-b5e6-96231b3b80d8
2004-08-01 18:06:28 +00:00