summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/SplitKit.h
diff options
context:
space:
mode:
authorJakob Stoklund Olesen <stoklund@2pi.dk>2010-12-15 17:41:19 +0000
committerJakob Stoklund Olesen <stoklund@2pi.dk>2010-12-15 17:41:19 +0000
commit4391f34abad97e505bfb8964cdf22575e0a72dbb (patch)
tree25e366ad47b716e496db0514b77aced281424e79 /llvm/lib/CodeGen/SplitKit.h
parentb55fdf8c6f4bd50dc930f7b89a5e2a394447d712 (diff)
downloadbcm5719-llvm-4391f34abad97e505bfb8964cdf22575e0a72dbb.tar.gz
bcm5719-llvm-4391f34abad97e505bfb8964cdf22575e0a72dbb.zip
Separate SplitAnalysis::getSplitLoops().
This method returns the set of loops with uses that are candidates for splitting. llvm-svn: 121870
Diffstat (limited to 'llvm/lib/CodeGen/SplitKit.h')
-rw-r--r--llvm/lib/CodeGen/SplitKit.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/lib/CodeGen/SplitKit.h b/llvm/lib/CodeGen/SplitKit.h
index b1d5a47804f..f290eb64610 100644
--- a/llvm/lib/CodeGen/SplitKit.h
+++ b/llvm/lib/CodeGen/SplitKit.h
@@ -133,6 +133,10 @@ public:
/// these edges, but they do require special treatment.
void getCriticalPreds(const LoopBlocks &Blocks, BlockPtrSet &CriticalPreds);
+ /// getSplitLoops - Get the set of loops that have curli uses and would be
+ /// profitable to split.
+ void getSplitLoops(LoopPtrSet&);
+
/// getBestSplitLoop - Return the loop where curli may best be split to a
/// separate register, or NULL.
const MachineLoop *getBestSplitLoop();
OpenPOWER on IntegriCloud