diff options
Diffstat (limited to 'lib/CodeGen/SplitKit.h')
-rw-r--r-- | lib/CodeGen/SplitKit.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/CodeGen/SplitKit.h b/lib/CodeGen/SplitKit.h index d9f16dc915..08fac7f451 100644 --- a/lib/CodeGen/SplitKit.h +++ b/lib/CodeGen/SplitKit.h @@ -122,6 +122,11 @@ public: bool canSplitCriticalExits(const LoopBlocks &Blocks, BlockPtrSet &CriticalExits); + /// getCriticalPreds - Get the set of loop predecessors with critical edges to + /// blocks outside the loop that have curli live in. We don't have to break + /// these edges, but they do require special treatment. + void getCriticalPreds(const LoopBlocks &Blocks, BlockPtrSet &CriticalPreds); + /// getBestSplitLoop - Return the loop where curli may best be split to a /// separate register, or NULL. const MachineLoop *getBestSplitLoop(); |