diff options
Diffstat (limited to 'lib/CodeGen/SpillPlacement.h')
-rw-r--r-- | lib/CodeGen/SpillPlacement.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/CodeGen/SpillPlacement.h b/lib/CodeGen/SpillPlacement.h index a67785d..46e64e6 100644 --- a/lib/CodeGen/SpillPlacement.h +++ b/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; } |