Commit Graph

12573 Commits

Author SHA1 Message Date
Brian Gaeke
13dc433df3 Fix a dyn_cast in copyConstantToRegister which should have been a cast.
Compactify the code that emits copies of constant ints into registers.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14365 91177308-0d34-0410-b5e6-96231b3b80d8
2004-06-24 09:17:47 +00:00
Brian Gaeke
be81e82afc The long integer pseudo-regs are history. So long, we hardly knew ye.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14364 91177308-0d34-0410-b5e6-96231b3b80d8
2004-06-24 08:55:21 +00:00
Brian Gaeke
c7fd0f4675 Use correct add*Imm form in more BuildMI calls.
Fix bug in emitGEPOperation where we weren't passing MBB, IP to getReg.
(hey, wouldn't a constant expression lowering pass be cool? huh huhuhuh)
Fix bug in emitGEPOperation where we might try to OR a constant into a
register which was too big to fit in the immediate field.
Support and, or, xor of longs.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14363 91177308-0d34-0410-b5e6-96231b3b80d8
2004-06-24 08:55:09 +00:00
Brian Gaeke
af0492ea52 Rename the load and store opcodes. The non-fp ones only have one
variant worth worrying about; the fp ones have two.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14362 91177308-0d34-0410-b5e6-96231b3b80d8
2004-06-24 07:37:12 +00:00
Brian Gaeke
e7f9e0b539 Rename the load and store opcodes. The non-fp ones only have one
variant worth worrying about; the fp ones have two.
Add fp stores.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14361 91177308-0d34-0410-b5e6-96231b3b80d8
2004-06-24 07:36:59 +00:00
Brian Gaeke
4473303453 Rename the load and store opcodes. The non-fp ones only have one
variant worth worrying about; the fp ones have two.
Stub out the case analysis of int-to-fp casts (no code yet).
I think the number of operands passed to BuildMI for loads was wrong.
Support load and store of float and double.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14360 91177308-0d34-0410-b5e6-96231b3b80d8
2004-06-24 07:36:48 +00:00
Chris Lattner
5aa20212cc Remove distasteful method which is really part of the indvars pass
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14359 91177308-0d34-0410-b5e6-96231b3b80d8
2004-06-24 06:52:20 +00:00
Chris Lattner
a25502acd7 Two fixes. First, stop using the ugly shouldSubstituteIndVar method.
Second, disable substitution of quadratic addrec expressions to avoid putting
multiplies in loops!


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14358 91177308-0d34-0410-b5e6-96231b3b80d8
2004-06-24 06:49:18 +00:00
Brian Gaeke
7548a540f7 Strange as it may sound, we'll not use LDD/STD to store longs. For reasons of
representational consistency, we want to address the halves of each 64-bit value
separately.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14356 91177308-0d34-0410-b5e6-96231b3b80d8
2004-06-24 06:44:57 +00:00
Brian Gaeke
00e514ea6a Support constant cast expressions.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14355 91177308-0d34-0410-b5e6-96231b3b80d8
2004-06-24 06:33:00 +00:00
Brian Gaeke
a846b729e4 Make the most commonly preselected instructions add to the names of the
instructions they augment, instead of replacing them.  It's good for debugging,
and it's OK for the sparcv9 backend.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14353 91177308-0d34-0410-b5e6-96231b3b80d8
2004-06-23 21:41:32 +00:00
Misha Brukman
b01c1381c0 TransformUtils library is no longer needed since Linker.cpp is in VMCore
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14352 91177308-0d34-0410-b5e6-96231b3b80d8
2004-06-23 17:36:17 +00:00
Misha Brukman
008248f2c0 Linker.h moved to include/llvm/Support
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14351 91177308-0d34-0410-b5e6-96231b3b80d8
2004-06-23 17:33:09 +00:00
Misha Brukman
bd8aeb61ec Moved to include/llvm/Support
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14350 91177308-0d34-0410-b5e6-96231b3b80d8
2004-06-23 17:24:53 +00:00
Misha Brukman
c837dd93cd Linker.h moved to include/llvm/Support
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14349 91177308-0d34-0410-b5e6-96231b3b80d8
2004-06-23 17:24:31 +00:00
Misha Brukman
909db65e67 Moved to lib/VMCore
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14348 91177308-0d34-0410-b5e6-96231b3b80d8
2004-06-23 17:21:17 +00:00
Reid Spencer
c5b6705f04 Move the tests for readability of the template and gnuplot files so they
occur AFTER the source is checked out. This ensures that if either of the
-gnuplotscript or -templatefile options are not given, that they get picked
up from the checkout directory and don't abort the test unnecessarily.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14346 91177308-0d34-0410-b5e6-96231b3b80d8
2004-06-23 14:07:12 +00:00
Reid Spencer
1d914635f9 Added a -noexternals options to avoid performing the externals tests on
test environments that don't have Povray or SPEC.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14345 91177308-0d34-0410-b5e6-96231b3b80d8
2004-06-23 07:45:46 +00:00
Reid Spencer
a337f0c43d Make sure GetRegEx returns something gnuplot can deal with (a number, not
a ?) so that graphs don't bail if something fails in a test.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14344 91177308-0d34-0410-b5e6-96231b3b80d8
2004-06-23 06:36:34 +00:00
Reid Spencer
b06e8483be Added a note about the new llvmgrep utility.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14343 91177308-0d34-0410-b5e6-96231b3b80d8
2004-06-23 06:33:15 +00:00
Chris Lattner
37ec591c74 Fix merging of nodes whose incoming offset is not zero. This unbreaks DSA on
several mallocbench programs, including perl.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14342 91177308-0d34-0410-b5e6-96231b3b80d8
2004-06-23 06:29:59 +00:00
Brian Gaeke
1f2b892b4b Use new IsNAN() wrapper.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14340 91177308-0d34-0410-b5e6-96231b3b80d8
2004-06-23 00:25:35 +00:00
Brian Gaeke
7764f4b2e0 Provide prototypes for IsNAN() wrapper.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14339 91177308-0d34-0410-b5e6-96231b3b80d8
2004-06-23 00:25:24 +00:00
Brian Gaeke
30135b2c81 Wrapper for c99 isnan()
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14338 91177308-0d34-0410-b5e6-96231b3b80d8
2004-06-22 23:54:38 +00:00
Brian Gaeke
5c03987964 Regenerated.
It looks to me like people haven't been running AutoRegen.sh. Grumble grumble.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14337 91177308-0d34-0410-b5e6-96231b3b80d8
2004-06-22 23:47:23 +00:00
Brian Gaeke
6f5b621f84 Regenerated.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14336 91177308-0d34-0410-b5e6-96231b3b80d8
2004-06-22 23:47:13 +00:00
Brian Gaeke
8828eb58dd Call custom check (AC_FUNC_ISNAN) instead of using the generic function check.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14335 91177308-0d34-0410-b5e6-96231b3b80d8
2004-06-22 23:43:04 +00:00
Brian Gaeke
99913cad31 Implement isnan check (AC_FUNC_ISNAN) in terms of three calls to a fairly
generic macro AC_SINGLE_CXX_CHECK.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14334 91177308-0d34-0410-b5e6-96231b3b80d8
2004-06-22 23:42:49 +00:00
John Criswell
8a54a1ed40 Added the llvm/test/Programs/Makefile.test Makefile.
Added a check for isnan() while I was at it.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14333 91177308-0d34-0410-b5e6-96231b3b80d8
2004-06-22 21:35:10 +00:00
Brian Gaeke
f54d912e32 Add pseudo-registers and register class for 64-bit integer values.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14332 91177308-0d34-0410-b5e6-96231b3b80d8
2004-06-22 20:14:41 +00:00
Brian Gaeke
826c5e8df6 link to qmtest-2.0.3 tar file
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14331 91177308-0d34-0410-b5e6-96231b3b80d8
2004-06-22 19:06:49 +00:00
Misha Brukman
f05ff33d21 File requires IPA, moved to lib/Analysis/IPA
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14330 91177308-0d34-0410-b5e6-96231b3b80d8
2004-06-22 19:04:53 +00:00
Misha Brukman
f089cdf5df Mention a note about having gccas and gccld in the path when running llvm-gcc.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14328 91177308-0d34-0410-b5e6-96231b3b80d8
2004-06-22 18:48:58 +00:00
Misha Brukman
952e38cf24 File depends on MemoryDepAnalysis (DSA); moved to lib/Analysis/DataStructure
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14327 91177308-0d34-0410-b5e6-96231b3b80d8
2004-06-22 18:28:37 +00:00
Misha Brukman
bab75268f0 Files depend on DSA, moved to lib/Analysis/DataStructure
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14326 91177308-0d34-0410-b5e6-96231b3b80d8
2004-06-22 18:13:24 +00:00
Misha Brukman
e5d6dab09e File depends on DSA, moved to lib/Analysis/DataStructure
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14325 91177308-0d34-0410-b5e6-96231b3b80d8
2004-06-22 18:11:38 +00:00
Misha Brukman
cc6543cb51 Making an archive version of the CodeGen library is unnecessary if we just
move InstructionLowering itself.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14324 91177308-0d34-0410-b5e6-96231b3b80d8
2004-06-22 17:52:30 +00:00
Misha Brukman
68fd0cae52 Provide archive version of CodeGen library (for those tools that only need
IntrinsicLowering, for instance).


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14323 91177308-0d34-0410-b5e6-96231b3b80d8
2004-06-22 17:28:43 +00:00
Chris Lattner
7962a8b21e Isnan became unordered
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14322 91177308-0d34-0410-b5e6-96231b3b80d8
2004-06-22 16:13:57 +00:00
Reid Spencer
cb6a3aa367 - Added the -nice option for nicing the build processes.
- Added the -gnuplotscript option to specify the GnuPlot script to use.
- Added the -templatefile option to specify the HTML template to use.
- Moved subroutines to top of file.
- Used variables for file names in case we want to change to directories.
- Made program track its directory changes in $VERBOSE mode (for debugging)
- Added variables to support tracking start time, finish time, and platform
  details about each nightly test.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14321 91177308-0d34-0410-b5e6-96231b3b80d8
2004-06-22 15:38:37 +00:00
Misha Brukman
db84a0918a Regenerated with autoconf-2.57 for AIX detection support.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14320 91177308-0d34-0410-b5e6-96231b3b80d8
2004-06-22 15:35:32 +00:00
Misha Brukman
7b42a7547b Add AIX to the list of recognized operating systems.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14319 91177308-0d34-0410-b5e6-96231b3b80d8
2004-06-22 15:32:08 +00:00
Reid Spencer
900576f9b8 Added start time, finish time, and platform (uname -a output) information
to the top of the template for identification purposes.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14318 91177308-0d34-0410-b5e6-96231b3b80d8
2004-06-22 15:32:02 +00:00
Tanya Lattner
a3da777086 Fixing broken links
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14317 91177308-0d34-0410-b5e6-96231b3b80d8
2004-06-22 08:02:25 +00:00
Chris Lattner
8e667cdc94 If an edge points to a field of another memory object, actually reflect this
in the DOT visualization of the DSGraphs.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14316 91177308-0d34-0410-b5e6-96231b3b80d8
2004-06-22 07:13:10 +00:00
Tanya Lattner
60f5cf42e9 Removed extra href close tag
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14315 91177308-0d34-0410-b5e6-96231b3b80d8
2004-06-22 05:44:31 +00:00
Chris Lattner
d98bc47d47 Elimiante ^M's
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14314 91177308-0d34-0410-b5e6-96231b3b80d8
2004-06-22 04:47:34 +00:00
Tanya Lattner
09cf73c830 Fixed broken links.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14313 91177308-0d34-0410-b5e6-96231b3b80d8
2004-06-22 04:24:55 +00:00
Tanya Lattner
ca26c3e3b6 Fixing broken link to gcc manual
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14312 91177308-0d34-0410-b5e6-96231b3b80d8
2004-06-22 03:48:17 +00:00
Chris Lattner
b0266b6536 test/Libraries have been long gone for a long time now. Since noone noticed
tehse were broken, just nuke them.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14310 91177308-0d34-0410-b5e6-96231b3b80d8
2004-06-22 02:26:33 +00:00