diff options
author | Dan Gohman <gohman@apple.com> | 2011-10-24 23:48:32 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2011-10-24 23:48:32 +0000 |
commit | 29074ccf6cb00a3cbe32a3b7809d970ecaf8c9bf (patch) | |
tree | 3de39be9068ed749690b6ce82fb34b79b0232f70 /lib/Target/SystemZ/SystemZCallingConv.td | |
parent | b36e03d987c843ccb731627ffd2b1db17bd72e39 (diff) | |
download | llvm-29074ccf6cb00a3cbe32a3b7809d970ecaf8c9bf.tar.gz llvm-29074ccf6cb00a3cbe32a3b7809d970ecaf8c9bf.tar.bz2 llvm-29074ccf6cb00a3cbe32a3b7809d970ecaf8c9bf.tar.xz |
Remove the SystemZ backend.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@142878 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/SystemZ/SystemZCallingConv.td')
-rw-r--r-- | lib/Target/SystemZ/SystemZCallingConv.td | 46 |
1 files changed, 0 insertions, 46 deletions
diff --git a/lib/Target/SystemZ/SystemZCallingConv.td b/lib/Target/SystemZ/SystemZCallingConv.td deleted file mode 100644 index c799a9e501..0000000000 --- a/lib/Target/SystemZ/SystemZCallingConv.td +++ /dev/null @@ -1,46 +0,0 @@ -//=- SystemZCallingConv.td - Calling Conventions for SystemZ -*- tablegen -*-=// -// -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. -// -//===----------------------------------------------------------------------===// -// This describes the calling conventions for SystemZ architecture. -//===----------------------------------------------------------------------===// - -//===----------------------------------------------------------------------===// -// SystemZ Return Value Calling Convention -//===----------------------------------------------------------------------===// -def RetCC_SystemZ : CallingConv<[ - // Promote i8/i16/i32 arguments to i64. - CCIfType<[i8, i16, i32], CCPromoteToType<i64>>, - - // i64 is returned in register R2 - CCIfType<[i64], CCAssignToReg<[R2D, R3D, R4D, R5D]>>, - - // f32 / f64 are returned in F0 - CCIfType<[f32], CCAssignToReg<[F0S, F2S, F4S, F6S]>>, - CCIfType<[f64], CCAssignToReg<[F0L, F2L, F4L, F6L]>> -]>; - -//===----------------------------------------------------------------------===// -// SystemZ Argument Calling Conventions -//===----------------------------------------------------------------------===// -def CC_SystemZ : CallingConv<[ - // Promote i8/i16/i32 arguments to i64. - CCIfType<[i8, i16, i32], CCPromoteToType<i64>>, - - // The first 5 integer arguments of non-varargs functions are passed in - // integer registers. - CCIfType<[i64], CCAssignToReg<[R2D, R3D, R4D, R5D, R6D]>>, - - // The first 4 floating point arguments of non-varargs functions are passed - // in FP registers. - CCIfType<[f32], CCAssignToReg<[F0S, F2S, F4S, F6S]>>, - CCIfType<[f64], CCAssignToReg<[F0L, F2L, F4L, F6L]>>, - - // Integer values get stored in stack slots that are 8 bytes in - // size and 8-byte aligned. - CCIfType<[i64, f32, f64], CCAssignToStack<8, 8>> -]>; |