Store live intervals in an IndexedMap.
[oota-llvm.git] / include / llvm / CodeGen / IntrinsicLowering.h
index eefbc45cb26669122eed6ecf9069d5cd78dcf811..767b666225498f4019821b016acb79ba75805a43 100644 (file)
@@ -48,6 +48,11 @@ namespace llvm {
     /// be capable of handling this kind of change.
     ///
     void LowerIntrinsicCall(CallInst *CI);
+
+    /// LowerToByteSwap - Replace a call instruction into a call to bswap
+    /// intrinsic. Return false if it has determined the call is not a
+    /// simple integer bswap.
+    static bool LowerToByteSwap(CallInst *CI);
   };
 }