Remap the call sites of a shared function in interrupt line functions.
[oota-llvm.git] / lib / Target / PIC16 / PIC16Passes / PIC16Cloner.h
index 6e7b162931405dc765be3fbb8c5b9032329f3ce0..24c11527b03c53b3e2a6d5dd863ff4acce30159f 100644 (file)
@@ -55,6 +55,9 @@ namespace llvm {
     // Clone all shared functions.
     void cloneSharedFunctions(CallGraphNode *isrCGN);
 
+    // Remap all call sites to the shared function.
+    void remapAllSites(Function *Caller, Function *OrgF, Function *Clone);
+
     // Error reporting for PIC16Pass
     void reportError(string ErrorString, vector<string> &Values);
     void reportError(string ErrorString);