The Register Calling Convention (RegCall) was introduced by Intel to optimize parameter transfer on function call.
This calling convention ensures that as many values as possible are passed or returned in registers.
The following review presents the basic additions to the Clang Front-end in order to support RegCall in X86.
See https://reviews.llvm.org/D25022 for CodeGen changes