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
Bill Wendling
e60f8624f5
Added GetTargetRelocation method.
...
llvm-svn: 33815
2007-02-03 02:38:57 +00:00
Bill Wendling
d2623ac830
Added some accessor methods.
...
llvm-svn: 33814
2007-02-03 02:38:15 +00:00
Bill Wendling
fe6b83c654
Moved MachORelocation to its own header file. Have a call through the
...
TargetMachOInfo object to the GetTargetRelocation method. Pass into it
non-Mach-O-specific parameters.
llvm-svn: 33813
2007-02-03 02:37:51 +00:00
Bill Wendling
73f186a7da
New file for the MachORelocation structure. It doesn't have to be tied to the
...
MachOWriter.h file.
llvm-svn: 33812
2007-02-03 02:36:17 +00:00
Evan Cheng
b4c6dfa3e7
- Branch max. displacement calculation bug.
...
- Add debugging info.
llvm-svn: 33811
2007-02-03 02:08:34 +00:00
Chris Lattner
b35593a1c5
switch the sched unit map over to use a DenseMap instead of std::map. This
...
speeds up isel as a whole time by 2.6%.
llvm-svn: 33810
2007-02-03 01:34:13 +00:00
Chris Lattner
f1b9b2068c
Switch ComputeTopDownOrdering over to using a densemap. This speeds up
...
isel as a whole by 3.3%.
llvm-svn: 33809
2007-02-03 01:12:36 +00:00
Evan Cheng
accef1b6a3
__builtin_isunordered test case.
...
llvm-svn: 33808
2007-02-03 00:50:45 +00:00