llvm-6502/lib
Dan Gohman 8be6bbe5bf Eliminate the ISel priority queue, which used the topological order for a
priority function. Instead, just iterate over the AllNodes list, which is
already in topological order. This eliminates a fair amount of bookkeeping,
and speeds up the isel phase by about 15% on many testcases.

The impact on most targets is that AddToISelQueue calls can be simply removed.

In the x86 target, there are two additional notable changes.

The rule-bending AND+SHIFT optimization in MatchAddress that creates new
pre-isel nodes during isel is now a little more verbose, but more robust.
Instead of either creating an invalid DAG or creating an invalid topological
sort, as it has historically done, it can now just insert the new nodes into
the node list at a position where they will be consistent with the topological
ordering.

Also, the address-matching code has logic that checked to see if a node was
"already selected". However, when a node is selected, it has all its uses
taken away via ReplaceAllUsesWith or equivalent, so it won't recieve any
further visits from MatchAddress. This code is now removed.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@58748 91177308-0d34-0410-b5e6-96231b3b80d8
2008-11-05 04:14:16 +00:00
..
Analysis Don't crash analyzing certain quadratics (addrec of {X,+,Y,+,1}). 2008-11-03 02:43:49 +00:00
Archive Initial support for the CMake build system. 2008-09-22 01:08:49 +00:00
AsmParser regenerate 2008-11-04 14:43:20 +00:00
Bitcode Make sure to set stdout to binary when writing bitcode files via 2008-10-23 19:37:34 +00:00
CodeGen Remove dead variable. 2008-11-05 00:56:35 +00:00
Debugger Initial support for the CMake build system. 2008-09-22 01:08:49 +00:00
ExecutionEngine Rename isGVLazyPtr to isGVNonLazyPtr relocation. This represents Mac OS X 2008-11-05 01:50:32 +00:00
Linker Make comments and code for QuietWarnings and QuietErrors 2008-10-25 17:57:20 +00:00
Support Overload AddInteger on int/long/long long instead of on int/int64_t, 2008-11-03 19:40:18 +00:00
System hasDisassembler should return false if disassembler isn't available. 2008-11-04 06:09:38 +00:00
Target Eliminate the ISel priority queue, which used the topological order for a 2008-11-05 04:14:16 +00:00
Transforms Do now allow InlineAlways pass to remove dead functions. 2008-11-05 01:39:16 +00:00
VMCore Silence unused variable warnings. 2008-11-05 01:37:40 +00:00
Makefile