Adding target specific calling conventions to support the MBlaze GCC function
authorWesley Peck <peckw@wesleypeck.com>
Wed, 15 Dec 2010 20:14:09 +0000 (20:14 +0000)
committerWesley Peck <peckw@wesleypeck.com>
Wed, 15 Dec 2010 20:14:09 +0000 (20:14 +0000)
attributes "interrupt_handle" and "save_volatiles". Support for lowering these
correctly will be in an upcoming commit.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@121888 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/CallingConv.h

index 2679cb71396c1bb8aabfaee7265dbc1b3e9bbd63..4c5ee626709a22a1b178cde36082828c84a6a7fc 100644 (file)
@@ -87,7 +87,14 @@ namespace CallingConv {
 
     /// PTX_Device - Call to a PTX device function.
     /// Passes all arguments in register or parameter space.
-    PTX_Device = 72
+    PTX_Device = 72,
+
+    /// MBLAZE_INTR - Calling convention used for MBlaze interrupt routines.
+    MBLAZE_INTR = 73,
+
+    /// MBLAZE_INTR - Calling convention used for MBlaze interrupt support
+    /// routines (i.e. GCC's save_volatiles attribute).
+    MBLAZE_SVOL = 74
   };
 } // End CallingConv namespace