summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--polly/include/polly/CodeGen/IslNodeBuilder.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/polly/include/polly/CodeGen/IslNodeBuilder.h b/polly/include/polly/CodeGen/IslNodeBuilder.h
index 1fa0baf8328..f9624ac8aa8 100644
--- a/polly/include/polly/CodeGen/IslNodeBuilder.h
+++ b/polly/include/polly/CodeGen/IslNodeBuilder.h
@@ -48,6 +48,11 @@ public:
IslExprBuilder &getExprBuilder() { return ExprBuilder; }
+ /// @brief Get the associated block generator.
+ ///
+ /// @return A referecne to the associated block generator.
+ BlockGenerator &getBlockGenerator() { return BlockGen; }
+
private:
Scop &S;
PollyIRBuilder &Builder;
OpenPOWER on IntegriCloud