1 //===- ZPUCallingConv.td - Calling Conventions for ZPU ---*- tablegen -*-===//
3 // The LLVM Compiler Infrastructure
5 // This file is distributed under the University of Illinois Open Source
6 // License. See LICENSE.TXT for details.
8 //===----------------------------------------------------------------------===//
9 // This describes the calling conventions for ZPU architecture.
10 //===----------------------------------------------------------------------===//
13 def CC_ZPU : CallingConv<[
14 // i32 are returned in registers R0
15 CCIfType<[i32], CCAssignToReg<[RETVAL]>>
18 def RetCC_ZPU : CallingConv<[
19 // i32 are returned in registers R0
20 CCIfType<[i32], CCAssignToReg<[RETVAL]>>