summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/SpillPlacement.h
diff options
context:
space:
mode:
authorJakob Stoklund Olesen <stoklund@2pi.dk>2011-04-07 17:27:46 +0000
committerJakob Stoklund Olesen <stoklund@2pi.dk>2011-04-07 17:27:46 +0000
commit6d2bbc1c20fe103351df6073e67b535185f04a31 (patch)
treebf1f24658f891bb8e94c835a8f26a43093d67a93 /llvm/lib/CodeGen/SpillPlacement.h
parent197c35298a4c1b581b56e3fc2ff9ca0277115110 (diff)
downloadbcm5719-llvm-6d2bbc1c20fe103351df6073e67b535185f04a31.tar.gz
bcm5719-llvm-6d2bbc1c20fe103351df6073e67b535185f04a31.zip
Extract SpillPlacement::addLinks for handling the special transparent blocks.
llvm-svn: 129079
Diffstat (limited to 'llvm/lib/CodeGen/SpillPlacement.h')
-rw-r--r--llvm/lib/CodeGen/SpillPlacement.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/llvm/lib/CodeGen/SpillPlacement.h b/llvm/lib/CodeGen/SpillPlacement.h
index a67785ddf9b..46e64e6fcbf 100644
--- a/llvm/lib/CodeGen/SpillPlacement.h
+++ b/llvm/lib/CodeGen/SpillPlacement.h
@@ -89,11 +89,12 @@ public:
/// addConstraints - Add constraints and biases. This method may be called
/// more than once to accumulate constraints.
/// @param LiveBlocks Constraints for blocks that have the variable live in or
- /// live out. DontCare/DontCare means the variable is live
- /// through the block. DontCare/X means the variable is live
- /// out, but not live in.
+ /// live out.
void addConstraints(ArrayRef<BlockConstraint> LiveBlocks);
+ /// addLinks - Add transparent blocks with the given numbers.
+ void addLinks(ArrayRef<unsigned> Links);
+
/// getPositiveNodes - Return the total number of graph nodes with a positive
/// bias after adding constraints.
unsigned getPositiveNodes() const { return PositiveNodes; }
OpenPOWER on IntegriCloud