Implement AArch64 Neon instruction set Bitwise Extract.
[oota-llvm.git] / lib / Target / PowerPC / PPCFrameLowering.h
index 6f5f9368c6c6c60860410c44fd15c3c90d00db54..7aab37e188fe1c60d67d384b99b72bde0ed43641 100644 (file)
@@ -94,6 +94,16 @@ public:
     return isPPC64 ? -8U : -4U;
   }
 
+  /// getBasePointerSaveOffset - Return the previous frame offset to save the
+  /// base pointer.
+  static unsigned getBasePointerSaveOffset(bool isPPC64, bool isDarwinABI) {
+    if (isDarwinABI)
+      return isPPC64 ? -16U : -8U;
+
+    // SVR4 ABI: First slot in the general register save area.
+    return isPPC64 ? -16U : -8U;
+  }
+
   /// getLinkageSize - Return the size of the PowerPC ABI linkage area.
   ///
   static unsigned getLinkageSize(bool isPPC64, bool isDarwinABI) {