Declare function defined in namespace llvm as gcc-3.4 doesn't accept a definition...
authorAlkis Evlogimenos <alkis@evlogimenos.com>
Wed, 19 May 2004 19:17:48 +0000 (19:17 +0000)
committerAlkis Evlogimenos <alkis@evlogimenos.com>
Wed, 19 May 2004 19:17:48 +0000 (19:17 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13602 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Transforms/Utils/Cloning.h

index bb8e542b805fdb66bd405530cb699d8147709118..d17b52568a918b020929eb6bfac921077de7a263 100644 (file)
@@ -31,6 +31,7 @@ class CallInst;
 class InvokeInst;
 class ReturnInst;
 class CallSite;
+class Trace;
 
 /// CloneModule - Return an exact copy of the specified module
 ///
@@ -95,6 +96,13 @@ void CloneFunctionInto(Function *NewFunc, const Function *OldFunc,
                        const char *NameSuffix = "");
 
 
+/// CloneTraceInto - Clone T into NewFunc. Original<->clone mapping is
+/// saved in ValueMap.
+///
+void CloneTraceInto(Function *NewFunc, Trace &T,
+                    std::map<const Value*, Value*> &ValueMap,
+                    const char *NameSuffix);
+
 /// InlineFunction - This function inlines the called function into the basic
 /// block of the caller.  This returns false if it is not possible to inline
 /// this call.  The program is still in a well defined state if this occurs