OSDN Git Service

Add getFirstInsertionPt() method.
authorBill Wendling <isanbard@gmail.com>
Tue, 16 Aug 2011 20:42:52 +0000 (20:42 +0000)
committerBill Wendling <isanbard@gmail.com>
Tue, 16 Aug 2011 20:42:52 +0000 (20:42 +0000)
commitd2e103daf8a093e0e25ddbaa7549c083887196e8
tree00c12a4a051f81761d059f373a9f46747a812629
parent23b49ba6d55972fdffdfd4ed37edcf067bb60f3c
Add getFirstInsertionPt() method.

getFirstInsertionPt() returns an iterator to the first insertion point in a
basic block. This is after all PHIs and any other instruction which is required
to be at the top of the basic block (like LandingPadInst).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@137744 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/BasicBlock.h
lib/VMCore/BasicBlock.cpp