[llvm-commits] CVS: llvm/include/llvm/Transforms/Utils/Cloning.h

Chris Lattner lattner at cs.uiuc.edu
Sun Aug 24 01:59:01 PDT 2003


Changes in directory llvm/include/llvm/Transforms/Utils:

Cloning.h updated: 1.9 -> 1.10

---
Log message:

Add versions of InlineFunction which work on Invoke instructions and general call sites


---
Diffs of the changes:

Index: llvm/include/llvm/Transforms/Utils/Cloning.h
diff -u llvm/include/llvm/Transforms/Utils/Cloning.h:1.9 llvm/include/llvm/Transforms/Utils/Cloning.h:1.10
--- llvm/include/llvm/Transforms/Utils/Cloning.h:1.9	Sat May 31 15:01:37 2003
+++ llvm/include/llvm/Transforms/Utils/Cloning.h	Sun Aug 24 01:58:32 2003
@@ -18,7 +18,9 @@
 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 @@
 /// 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 





More information about the llvm-commits mailing list