diff options
author | Wesley Peck <peckw@wesleypeck.com> | 2010-12-15 20:14:09 +0000 |
---|---|---|
committer | Wesley Peck <peckw@wesleypeck.com> | 2010-12-15 20:14:09 +0000 |
commit | d364acd3d7b0dd78bc92e168af268a56ff7141d4 (patch) | |
tree | 73550d62bfb4d4a7ff722ab2a810f517e5c714ec /include/llvm/CallingConv.h | |
parent | 243712720ad1da144d4376bdd854d81260c1beaa (diff) | |
download | external_llvm-d364acd3d7b0dd78bc92e168af268a56ff7141d4.zip external_llvm-d364acd3d7b0dd78bc92e168af268a56ff7141d4.tar.gz external_llvm-d364acd3d7b0dd78bc92e168af268a56ff7141d4.tar.bz2 |
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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@121888 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CallingConv.h')
-rw-r--r-- | include/llvm/CallingConv.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/include/llvm/CallingConv.h b/include/llvm/CallingConv.h index 2679cb7..4c5ee62 100644 --- a/include/llvm/CallingConv.h +++ b/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 |