summaryrefslogtreecommitdiffstats
path: root/llvm/include
diff options
context:
space:
mode:
authorQuentin Colombet <quentin.colombet@gmail.com>2019-04-29 16:14:02 +0000
committerQuentin Colombet <quentin.colombet@gmail.com>2019-04-29 16:14:02 +0000
commit31ce274207fd16b0277e26a021f7371783475894 (patch)
tree9244cf6b8d257d020093ad6260e3c4399c8c051e /llvm/include
parentae2cbb34007d20c1a4e0e0bf0c9408b2df238eea (diff)
downloadbcm5719-llvm-31ce274207fd16b0277e26a021f7371783475894.tar.gz
bcm5719-llvm-31ce274207fd16b0277e26a021f7371783475894.zip
[BlockExtractor] Expose a constructor for the group extraction
NFC Differential Revision: https://reviews.llvm.org/D60971 llvm-svn: 359463
Diffstat (limited to 'llvm/include')
-rw-r--r--llvm/include/llvm/Transforms/IPO.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/include/llvm/Transforms/IPO.h b/llvm/include/llvm/Transforms/IPO.h
index 4f7a1bae12b..de0c80f5b19 100644
--- a/llvm/include/llvm/Transforms/IPO.h
+++ b/llvm/include/llvm/Transforms/IPO.h
@@ -182,6 +182,10 @@ ModulePass *createBlockExtractorPass();
ModulePass *
createBlockExtractorPass(const SmallVectorImpl<BasicBlock *> &BlocksToExtract,
bool EraseFunctions);
+ModulePass *
+createBlockExtractorPass(const SmallVectorImpl<SmallVector<BasicBlock *, 16>>
+ &GroupsOfBlocksToExtract,
+ bool EraseFunctions);
/// createStripDeadPrototypesPass - This pass removes any function declarations
/// (prototypes) that are not used.
OpenPOWER on IntegriCloud