Commit Graph

13580 Commits

Author SHA1 Message Date
Alkis Evlogimenos ed7be9d7f5 Remove uneeded getValues() functions.
llvm-svn: 15488
2004-08-04 08:47:21 +00:00
Alkis Evlogimenos 832437255d Stop using getValues().
llvm-svn: 15487
2004-08-04 08:44:43 +00:00
Chris Lattner a6241aed38 Fix a major regression in my previous checkin
llvm-svn: 15486
2004-08-04 08:30:43 +00:00
Alkis Evlogimenos 43252afdde Stop using getValues().
llvm-svn: 15485
2004-08-04 08:08:13 +00:00
Brian Gaeke 0f67209ffe getResultPos() is dead.
llvm-svn: 15484
2004-08-04 08:06:30 +00:00
Brian Gaeke ef57e5b91a Get rid of the only use of TargetInstrInfo::getResultPos(), a deprecated method.
llvm-svn: 15483
2004-08-04 08:05:27 +00:00
Alkis Evlogimenos f0cc814974 Stop using getValues().
llvm-svn: 15482
2004-08-04 08:02:59 +00:00
Chris Lattner 493bdcc4a5 Add note
llvm-svn: 15481
2004-08-04 08:00:45 +00:00
Chris Lattner 3706708ede FindGlobalNamed used to take 2.92s out of 8.39s running a profile build of
gccld -disable-opt on 252.eon.

This patch deletes it and replaces it with a map.  The proper fix for this
is to fix PR411, but this will do in the short term.

gccld on eon now takes 5.51s, which is 50% faster than before this patch. :)

llvm-svn: 15480
2004-08-04 07:44:58 +00:00
Brian Gaeke 6e5427c2b0 sparcv9select is history
llvm-svn: 15479
2004-08-04 07:39:21 +00:00
Brian Gaeke ab93e34da0 libsparcv9select is history
llvm-svn: 15478
2004-08-04 07:38:52 +00:00
Brian Gaeke b5dcc04220 These headers have been moved/merged into other files.
llvm-svn: 15477
2004-08-04 07:37:56 +00:00
Brian Gaeke c017a2c269 Include SparcV9TmpInstr.h to pick up the def. of TmpInstruction,
instead of InstrSelection.h, which is dead.

llvm-svn: 15476
2004-08-04 07:34:57 +00:00
Brian Gaeke e31a13ae07 Tighten up some whitespace. Include SparcV9TmpInstr.h to pick up
the def. of TmpInstruction, instead of InstrSelection.h, which is
dead.

llvm-svn: 15475
2004-08-04 07:34:44 +00:00
Brian Gaeke def3b458b0 Include SparcV9BurgISel.h, to pick up the definition of
createSparcV9BurgInstSelector().

llvm-svn: 15474
2004-08-04 07:30:04 +00:00
Brian Gaeke 813d9f5023 Include SparcV9TmpInstr.h instead of llvm/CodeGen/InstrSelection.h, to pick
up the definition of class TmpInstruction.

llvm-svn: 15473
2004-08-04 07:29:53 +00:00
Brian Gaeke 4b621da631 Include SparcV9BurgISel.h, because PreSelection uses routines from within
the SparcV9 BURG instruction selector.  Eww!

llvm-svn: 15472
2004-08-04 07:29:40 +00:00
Brian Gaeke 908df3299f Add a Doxygen comment, and inline the constructor (which is now almost empty).
llvm-svn: 15471
2004-08-04 07:29:28 +00:00
Brian Gaeke 16f092fe93 The InstrForest data type has moved from llvm/CodeGen/InstrForest.h
to SparcV9InstrForest.h.

llvm-svn: 15470
2004-08-04 07:29:16 +00:00
Brian Gaeke b3e3c539a4 Add a new file containing just TmpInstruction and its implementation.
Many other pieces of the SparcV9 backend want to use TmpInstruction, but
don't need any other instruction selector baggage.

llvm-svn: 15469
2004-08-04 07:29:04 +00:00
Brian Gaeke 61dd48425f All the SparcV9 BURG instruction selector pieces have been collected into the
new file SparcV9BurgISel.cpp, with exposed interfaces in SparcV9BurgISel.h.
The InstrSelection directory is now dead.

llvm-svn: 15468
2004-08-04 07:28:51 +00:00
Chris Lattner dd40787390 I swear I compiled this, really I did.
llvm-svn: 15467
2004-08-04 07:28:06 +00:00
Chris Lattner 9262acaed7 Factor some code out, no substantial change.
llvm-svn: 15466
2004-08-04 07:05:54 +00:00
Chris Lattner e19c36cc0f Concisify some code
Do not call FindGlobalNamed when we know we will ignore the result (because
we are not going to link a static symbol anyway).  This speeds up
gccld -disable-opt on 252.eon from 8.63s to 8.39s.

llvm-svn: 15465
2004-08-04 06:05:47 +00:00
Chris Lattner e99bec7f9b Fix linkage types
llvm-svn: 15464
2004-08-04 05:10:48 +00:00
Chris Lattner 3e650aff8b Implement a FIXME, by not searching linearly through a map to remove an
element.  This speeds up the bytecode reader from 12.86s to 8.72s on 252.eon.

llvm-svn: 15463
2004-08-04 04:48:01 +00:00
Chris Lattner 4c244225d5 New methods
llvm-svn: 15462
2004-08-04 04:45:42 +00:00
Chris Lattner 949681f510 Minor efficiency improvements
llvm-svn: 15461
2004-08-04 04:45:29 +00:00
Chris Lattner 3e689f8070 Squelch warnings in release mode
llvm-svn: 15460
2004-08-04 03:51:55 +00:00
Chris Lattner 26dc86a8bd 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.

llvm-svn: 15459
2004-08-04 02:43:00 +00:00
Chris Lattner da340a9bd5 Add a special version of getType for ConstantPointerNull, exposing the fact
that all Null pointers have pointer type

llvm-svn: 15458
2004-08-04 02:42:17 +00:00
Chris Lattner 37b570a049 Add a cast
llvm-svn: 15457
2004-08-04 02:27:17 +00:00
Reid Spencer 639a702db8 Added note for PR413
Tools now respond to the --version option.

llvm-svn: 15456
2004-08-04 00:43:50 +00:00
Chris Lattner ea3d501de3 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.

llvm-svn: 15455
2004-08-04 00:37:31 +00:00
Reid Spencer ff6cc1233e Add a --version option for every tool that prints out:
Low Level Virtual Machine ($PACKAGE_NAME) $PACKAGE_VERSION

llvm-svn: 15454
2004-08-04 00:36:06 +00:00
Reid Spencer a0e01ae3f7 Change the package identification to use one less level of quoting so that
PACKAGE_VERSION = "1.3" instead of "[1.3]". Rebuild configure script.

llvm-svn: 15453
2004-08-04 00:34:49 +00:00
Chris Lattner bba09b3f7f Make getGlobalTableValue not use getTypeSlot, this speeds up the bc reader
by 5% on eon

llvm-svn: 15452
2004-08-04 00:19:23 +00:00
Chris Lattner 6494081cce The Type* is redundant with the TypeSlot
llvm-svn: 15451
2004-08-04 00:18:37 +00:00
Chris Lattner cd84396b58 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.

llvm-svn: 15450
2004-08-03 23:41:28 +00:00
Reid Spencer 02d7f92a79 Line length <= 80 cols.
llvm-svn: 15449
2004-08-03 20:57:56 +00:00
Reid Spencer 40e93a466d Fix some indentation (so brg can test commit script).
llvm-svn: 15448
2004-08-03 20:33:56 +00:00
Misha Brukman 8a1978fd72 Remove unused opcodes.
llvm-svn: 15447
2004-08-03 20:23:44 +00:00
Reid Spencer 435a1abd86 Fix line lengths.
llvm-svn: 15446
2004-08-03 20:21:05 +00:00
Brian Gaeke df918687cf Testing the commit-diffs script again.
llvm-svn: 15445
2004-08-03 20:14:03 +00:00
Brian Gaeke 84393956c9 Let's try it again.
llvm-svn: 15444
2004-08-03 20:02:52 +00:00
Brian Gaeke 0497bba81b Another test.
llvm-svn: 15443
2004-08-03 20:01:10 +00:00
Brian Gaeke 7ce6747863 Testing...one more time.
llvm-svn: 15442
2004-08-03 20:00:04 +00:00
Reid Spencer a54f110e0e Properly wrap some lines.
llvm-svn: 15440
2004-08-03 19:20:18 +00:00
Reid Spencer 000bef1321 Added llvmcs to my list.
llvm-svn: 15439
2004-08-03 19:13:16 +00:00
Brian Gaeke 92baeddf2c Testing... One more time...
llvm-svn: 15438
2004-08-03 19:07:20 +00:00