Chris Lattner
8bbd45cd6e
move MorphNode to out of line and merge setNodeOperands into it. There is
...
no behavior or performance change here.
llvm-svn: 33869
2007-02-04 02:49:29 +00:00
Chris Lattner
ccd1f36346
simplify MorphNodeTo to take a VTList operand.
...
llvm-svn: 33868
2007-02-04 02:41:42 +00:00
Chris Lattner
7e8b8e7a68
eliminate some extraneous methods in SDNode
...
llvm-svn: 33867
2007-02-04 02:32:44 +00:00
Chris Lattner
f3b4a0cc95
Give each selectiondag node class a home for it's vtable and rtti info
...
llvm-svn: 33866
2007-02-04 02:23:32 +00:00
Reid Spencer
1b85bb46ae
Prepare for PR411
...
llvm-svn: 33865
2007-02-04 02:11:13 +00:00
Chris Lattner
8b8100ecf5
Encode small integers more densely in foldingset, avoiding overflowing the SmallVector as often.
...
llvm-svn: 33864
2007-02-04 01:48:10 +00:00
Chris Lattner
1d3dd991ca
Switch VAlueMap from std::map to DenseMap.
...
llvm-svn: 33863
2007-02-04 01:35:11 +00:00
Chris Lattner
e5eccb6d76
Switch NodeMap from std::map to DenseMap, this speeds up isel by 2.3%
...
llvm-svn: 33862
2007-02-04 01:31:47 +00:00
Chris Lattner
4ca925808f
swtich vector-> smallvector, speeding up selectiondag stuff 1%
...
llvm-svn: 33861
2007-02-04 01:20:02 +00:00
Chris Lattner
135ccecbfb
Switch promoted/expanded ops over to using a DenseMap. Vector related maps
...
aren't worth it.
llvm-svn: 33860
2007-02-04 01:17:38 +00:00
Reid Spencer
713b7f4793
Regenerate.
...
llvm-svn: 33859
2007-02-04 01:12:11 +00:00
Reid Spencer
2b569f91d6
For PR1151:
...
Make llvm-upgrade valgrind clean. Deleting type instances is a really
nasty thing to do to LLVM. This was a hold-over from the re-write.
This fixes test/Assembler/2007-01-22-UpgradeTypeMapInvalidMemory.ll and
potentially many other bugs.
llvm-svn: 33858
2007-02-04 01:05:23 +00:00
Chris Lattner
703db6bfd8
switch LegalizedNodes from std::map to a DenseMap. This speeds up isel
...
time as a whole on kc++ by 11%.
llvm-svn: 33857
2007-02-04 00:50:02 +00:00
Chris Lattner
41ec7b272f
add a version of insert that takes the key and value.
...
llvm-svn: 33856
2007-02-04 00:42:41 +00:00
Reid Spencer
310b497b59
For PR1163:
...
Make the Module's dependent library use a std::vector instead of SetVector
adjust #includes in .cpp files because SetVector.h is no longer included.
llvm-svn: 33855
2007-02-04 00:40:42 +00:00
Chris Lattner
1113f4c8ee
Make SmallSetVector useful
...
llvm-svn: 33854
2007-02-04 00:30:40 +00:00
Chris Lattner
3ff6e94719
Eliminate some malloc traffic from LegalizeAllNodesNotLeadingTo, speeding
...
up isel on kimwitu by 0.7%.
llvm-svn: 33853
2007-02-04 00:27:56 +00:00
Chris Lattner
6af2a892de
Eliminate some std::sets. This speeds up isel of kimwitu by about 0.9%
...
llvm-svn: 33852
2007-02-04 00:24:41 +00:00
Reid Spencer
a8abc21a3e
Make sure the gccas script is executable.
...
llvm-svn: 33851
2007-02-04 00:23:51 +00:00
Reid Spencer
db47c90cf3
For PR1067:
...
Update library documentation after removal of libLLVMTransforms.a that
resulted from removal of the LevelRaise pass.
llvm-svn: 33850
2007-02-04 00:17:35 +00:00
Chris Lattner
ff53aecb1a
Switch SelectionDAG::ReplaceAllUsesOfValueWith to use a SmallSetVector for
...
the users set (most nodes have 1 or 2 users). This speeds up the isel pass
3.2% on kimwitu.
llvm-svn: 33849
2007-02-04 00:14:31 +00:00
Chris Lattner
9758cc5fd2
Various bugfixes
...
llvm-svn: 33848
2007-02-04 00:12:12 +00:00
Chris Lattner
b8fa9c1097
describe SmallSetVector
...
llvm-svn: 33847
2007-02-04 00:00:26 +00:00
Chris Lattner
cfdda5e521
Convert SetVector to be a true adapter class and add SmallSetVector.
...
llvm-svn: 33846
2007-02-03 23:56:03 +00:00
Chris Lattner
471e586dd4
remove some dead code
...
llvm-svn: 33845
2007-02-03 23:28:07 +00:00
Reid Spencer
45d9d72ac0
For PR1072:
...
Removing -raise has neglible positive or negative side effects so we are
opting to remove it. See the PR for comparison details.
llvm-svn: 33844
2007-02-03 23:15:56 +00:00
Chris Lattner
ff4821d186
add an instcombine pass to clean up after heavy-lifting IP passes
...
llvm-svn: 33843
2007-02-03 23:06:03 +00:00
Chris Lattner
476eb1ca17
null -> pointer, nul -> character :)
...
llvm-svn: 33841
2007-02-03 22:04:27 +00:00
Reid Spencer
a5c050e5a2
Fix some spellos.
...
llvm-svn: 33840
2007-02-03 21:06:43 +00:00
Chris Lattner
a39cf0efae
fix grammar
...
llvm-svn: 33839
2007-02-03 20:17:53 +00:00
Chris Lattner
6604f31370
Serious cleanups. Make the TOC match the text for the class hierarchy,
...
move the sections of the class-h around in the right order, make it actually
reflect the classes in LLVM today.
llvm-svn: 33838
2007-02-03 20:02:25 +00:00
Chris Lattner
a7f2a1819d
Add TOC
...
llvm-svn: 33837
2007-02-03 19:51:56 +00:00
Chris Lattner
8a8da2738e
describe map-like containers
...
llvm-svn: 33836
2007-02-03 19:49:31 +00:00
Chris Lattner
71f7b41b05
8 buckets is way too small to start out with. This was only for testing.
...
llvm-svn: 33835
2007-02-03 19:30:48 +00:00
Reid Spencer
193bbe8b61
Clean this up a bit: hide command unless verbose output requested, echo
...
a useful comment line, add a clean target.
llvm-svn: 33834
2007-02-03 16:09:12 +00:00
Evan Cheng
8001366326
Add a test case.
...
llvm-svn: 33833
2007-02-03 09:14:10 +00:00
Evan Cheng
bf4ca3b491
ARM callseq_end should have a input flag operand so it would be scheduled right after the call.
...
llvm-svn: 33832
2007-02-03 09:11:58 +00:00
Evan Cheng
ece3d334c2
Fix comments.
...
llvm-svn: 33831
2007-02-03 08:53:01 +00:00
Chris Lattner
9e6e928a9e
improve grammar
...
llvm-svn: 33830
2007-02-03 08:20:15 +00:00
Chris Lattner
fc3a528769
improve grammar
...
llvm-svn: 33829
2007-02-03 08:10:45 +00:00
Chris Lattner
f77e7656d0
close run-away tag
...
llvm-svn: 33828
2007-02-03 07:59:51 +00:00
Chris Lattner
ec9b928e70
fill in the section on Set-like containers.
...
llvm-svn: 33827
2007-02-03 07:59:07 +00:00
Chris Lattner
1e7b2633ee
fix validation issues
...
llvm-svn: 33823
2007-02-03 03:06:52 +00:00
Chris Lattner
ba4f3f37f5
fix validation problems
...
llvm-svn: 33822
2007-02-03 03:05:57 +00:00
Chris Lattner
b0d3190ae4
Add some notes about choice of container.
...
llvm-svn: 33821
2007-02-03 03:04:03 +00:00
Chris Lattner
d4bf1bd958
remove a dead header
...
llvm-svn: 33820
2007-02-03 03:02:10 +00:00
Bill Wendling
4423d49d94
Moved the GetTargetRelocation method from PPCMachOWriter to here. It uses
...
non-Mach-O-specific information.
llvm-svn: 33819
2007-02-03 02:41:58 +00:00
Bill Wendling
2831f1ae0d
Moved the GetTargetRelocation method to the PPCMachOWriterInfo object. The
...
PPCMachOWriter is now trivial.
llvm-svn: 33818
2007-02-03 02:40:57 +00:00
Bill Wendling
ed60103206
Put destructor out-of-line.
...
llvm-svn: 33817
2007-02-03 02:40:10 +00:00
Bill Wendling
2a34ef4219
Pass in non-Mach-O-specific parameters to the GetTargetRelocation method.
...
llvm-svn: 33816
2007-02-03 02:39:40 +00:00