From 1ee1d6364930b579810cff0362024780c52f6dcd Mon Sep 17 00:00:00 2001 From: Wesley Peck Date: Wed, 15 Dec 2010 20:14:09 +0000 Subject: [PATCH] Adding target specific calling conventions to support the MBlaze GCC function attributes "interrupt_handle" and "save_volatiles". Support for lowering these correctly will be in an upcoming commit. llvm-svn: 121888 --- llvm/include/llvm/CallingConv.h | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/llvm/include/llvm/CallingConv.h b/llvm/include/llvm/CallingConv.h index 2679cb71396c..4c5ee626709a 100644 --- a/llvm/include/llvm/CallingConv.h +++ b/llvm/include/llvm/CallingConv.h @@ -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