mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-23 04:28:30 +00:00
Declare the new InsertInstBeforeInst function
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1927 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
af2d701e12
commit
f78642bc06
@ -55,6 +55,13 @@ void ReplaceInstWithInst(BasicBlock::InstListType &BIL,
|
||||
|
||||
void ReplaceInstWithInst(Instruction *From, Instruction *To);
|
||||
|
||||
// InsertInstBeforeInst - Insert 'NewInst' into the basic block that 'Existing'
|
||||
// is already in, and put it right before 'Existing'. This instruction should
|
||||
// only be used when there is no iterator to Existing already around. The
|
||||
// returned iterator points to the new instruction.
|
||||
//
|
||||
BasicBlock::iterator InsertInstBeforeInst(Instruction *NewInst,
|
||||
Instruction *Existing);
|
||||
|
||||
// ConvertableToGEP - This function returns true if the specified value V is
|
||||
// a valid index into a pointer of type Ty. If it is valid, Idx is filled in
|
||||
|
Loading…
Reference in New Issue
Block a user