[PATCH] [tablegen] Add CustomCallingConv and use it to tablegen-erate the outermost parts of the Mips O32 implementation

Daniel Sanders daniel.sanders at imgtec.com
Fri Oct 24 03:44:01 PDT 2014


CustomCallingConv is simply a CallingConv that tablegen should not generate the
implementation for. It allows regular CallingConv's to delegate to these custom
functions. This is (currently) necessary for Mips and we cannot use CCCustom
without having to adapt to the different API that CCCustom uses.

This brings us a bit closer to being able to remove
MipsCC::analyzeCallOperands and MipsCC::analyzeFormalArguments in favour of
the common implementation.

No functional change to the targets.

Depends on D3341

http://reviews.llvm.org/D5965

Files:
  include/llvm/Target/TargetCallingConv.td
  lib/Target/Mips/MipsCallingConv.td
  lib/Target/Mips/MipsISelLowering.cpp
  lib/Target/Mips/MipsISelLowering.h
  utils/TableGen/CallingConvEmitter.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D5965.15395.patch
Type: text/x-patch
Size: 6167 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20141024/06d80eb4/attachment.bin>


More information about the llvm-commits mailing list