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
This commit is contained in:
Wesley Peck 2010-12-15 20:14:09 +00:00
parent 7e0e537597
commit 1ee1d63649
1 changed files with 8 additions and 1 deletions

View 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