hanchenye-llvm-project/llvm/include
Roman Levenstein 358e04a185 Use a linked data structure for the uses lists of an SDNode, just like
LLVM Value/Use does and MachineRegisterInfo/MachineOperand does.
This allows constant time for all uses list maintenance operations.

The idea was suggested by Chris. Reviewed by Evan and Dan.
Patch is tested and approved by Dan.

On normal use-cases compilation speed is not affected. On very big basic
blocks there are compilation speedups in the range of 15-20% or even better. 

llvm-svn: 48822
2008-03-26 12:39:26 +00:00
..
llvm Use a linked data structure for the uses lists of an SDNode, just like 2008-03-26 12:39:26 +00:00
llvm-c Objective Caml bindings for basic block, function, global, and arg iterators. 2008-03-23 22:21:29 +00:00