[llvm-commits] CVS: llvm/include/llvm/Transforms/Utils/Cloning.h
Tanya Brethour
tbrethou at cs.uiuc.edu
Fri May 30 10:49:02 PDT 2003
Changes in directory llvm/include/llvm/Transforms/Utils:
Cloning.h updated: 1.6 -> 1.7
---
Log message:
Added support for cloning a trace.
---
Diffs of the changes:
Index: llvm/include/llvm/Transforms/Utils/Cloning.h
diff -u llvm/include/llvm/Transforms/Utils/Cloning.h:1.6 llvm/include/llvm/Transforms/Utils/Cloning.h:1.7
--- llvm/include/llvm/Transforms/Utils/Cloning.h:1.6 Thu May 29 10:06:40 2003
+++ llvm/include/llvm/Transforms/Utils/Cloning.h Fri May 30 10:48:23 2003
@@ -91,4 +91,11 @@
///
bool InlineFunction(CallInst *C);
+
+/// CloneTrace - Returns a copy of the specified trace. It removes internal phi
+/// nodes, copies the basic blocks, remaps variables, and returns a new vector
+/// of basic blocks (the cloned trace).
+///
+std::vector<BasicBlock *> cloneTrace(std::vector<BasicBlock*> &origTrace);
+
#endif
More information about the llvm-commits
mailing list