projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6afe2fa
)
Add an accessor method to return the insertion point.
author
Dan Gohman
<gohman@apple.com>
Wed, 20 May 2009 21:45:41 +0000
(21:45 +0000)
committer
Dan Gohman
<gohman@apple.com>
Wed, 20 May 2009 21:45:41 +0000
(21:45 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@72184
91177308
-0d34-0410-b5e6-
96231b3b80d8
include/llvm/Support/IRBuilder.h
patch
|
blob
|
history
diff --git
a/include/llvm/Support/IRBuilder.h
b/include/llvm/Support/IRBuilder.h
index eee6e0554bb4d200e9e7f0c5bff68c0a3e64f9a2..9ef14af51d9e6f1b80f462f6ca47890481a567cc 100644
(file)
--- a/
include/llvm/Support/IRBuilder.h
+++ b/
include/llvm/Support/IRBuilder.h
@@
-67,6
+67,8
@@
public:
BasicBlock *GetInsertBlock() const { return BB; }
+ BasicBlock::iterator GetInsertPoint() const { return InsertPt; }
+
/// SetInsertPoint - This specifies that created instructions should be
/// appended to the end of the specified block.
void SetInsertPoint(BasicBlock *TheBB) {