Turn the EdgeBundles class into a stand-alone machine CFG analysis pass.
authorJakob Stoklund Olesen <stoklund@2pi.dk>
Tue, 4 Jan 2011 21:10:05 +0000 (21:10 +0000)
committerJakob Stoklund Olesen <stoklund@2pi.dk>
Tue, 4 Jan 2011 21:10:05 +0000 (21:10 +0000)
commit8dd070edc2209ecfdae49780ec1596b349e2cbd1
tree2ae840c3acf41abf111447984f0f8232f8bb5e62
parent1e08cd1eaef8acbcfaf7db48d859a29583c29897
Turn the EdgeBundles class into a stand-alone machine CFG analysis pass.

The analysis will be needed by both the greedy register allocator and the
X86FloatingPoint pass. It only needs to be computed once when the CFG doesn't
change.

This pass is very fast, usually showing up as 0.0% wall time.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@122832 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/EdgeBundles.h [new file with mode: 0644]
include/llvm/CodeGen/Passes.h
include/llvm/InitializePasses.h
lib/CodeGen/CMakeLists.txt
lib/CodeGen/EdgeBundles.cpp [new file with mode: 0644]
lib/CodeGen/SplitKit.cpp
lib/CodeGen/SplitKit.h
lib/Target/X86/X86FloatingPoint.cpp