aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/CallingConv.h
diff options
context:
space:
mode:
authorChe-Liang Chiou <clchiou@gmail.com>2010-09-25 07:46:17 +0000
committerChe-Liang Chiou <clchiou@gmail.com>2010-09-25 07:46:17 +0000
commitf9930da2ef72350c6c805af09e754e4e6e13d47b (patch)
tree5baed7682d74e1a588a5c16e4581e81749897bea /include/llvm/CallingConv.h
parent534771fc4f99a8c69802f58ce97e566fd0942f70 (diff)
downloadexternal_llvm-f9930da2ef72350c6c805af09e754e4e6e13d47b.tar.gz
external_llvm-f9930da2ef72350c6c805af09e754e4e6e13d47b.tar.bz2
external_llvm-f9930da2ef72350c6c805af09e754e4e6e13d47b.zip
Add ret instruction to PTX backend
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@114788 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CallingConv.h')
-rw-r--r--include/llvm/CallingConv.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/include/llvm/CallingConv.h b/include/llvm/CallingConv.h
index b3ad8428d2..2679cb7139 100644
--- a/include/llvm/CallingConv.h
+++ b/include/llvm/CallingConv.h
@@ -79,7 +79,15 @@ namespace CallingConv {
/// X86_ThisCall - Similar to X86_StdCall. Passes first argument in ECX,
/// others via stack. Callee is responsible for stack cleaning. MSVC uses
/// this by default for methods in its ABI.
- X86_ThisCall = 70
+ X86_ThisCall = 70,
+
+ /// PTX_Kernel - Call to a PTX kernel.
+ /// Passes all arguments in parameter space.
+ PTX_Kernel = 71,
+
+ /// PTX_Device - Call to a PTX device function.
+ /// Passes all arguments in register or parameter space.
+ PTX_Device = 72
};
} // End CallingConv namespace