Add versions of InlineFunction which work on Invoke instructions and general call...
authorChris Lattner <sabre@nondot.org>
Sun, 24 Aug 2003 06:58:32 +0000 (06:58 +0000)
committerChris Lattner <sabre@nondot.org>
Sun, 24 Aug 2003 06:58:32 +0000 (06:58 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8105 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Transforms/Utils/Cloning.h

index 8a6b69997c088c771627db8ab0ab9d7a1bc054f1..99aaccde8b281b5a8dcc74c4e8b1c151961af3f2 100644 (file)
@@ -18,7 +18,9 @@ class Function;
 class BasicBlock;
 class Value;
 class CallInst;
+class InvokeInst;
 class ReturnInst;
+class CallSite;
 
 /// CloneModule - Return an exact copy of the specified module
 ///
@@ -90,7 +92,8 @@ void CloneFunctionInto(Function *NewFunc, const Function *OldFunc,
 /// function by one level.
 ///
 bool InlineFunction(CallInst *C);
-
+bool InlineFunction(InvokeInst *II);
+bool InlineFunction(CallSite CS);
 
 /// CloneTrace - Returns a copy of the specified trace. 
 /// It takes a vector of basic blocks clones the basic blocks, removes internal