Add two new calling conventions for runtime calls

Description

Add two new calling conventions for runtime calls

This patch adds two new target-independent calling conventions for runtime
calls - PreserveMost and PreserveAll.
The target-specific implementation for X86-64 is defined as following:

  • Arguments are passed as for the default C calling convention
  • The same applies for the return value(s)
  • PreserveMost preserves all GPRs - except R11
  • PreserveAll preserves all GPRs and all XMMs/YMMs - except R11

Reviewed by Lang and Philip

Details

Committed
ributzkaJan 17 2014, 11:47 AM
Parents
rL199507: Update Win snapshot and clang-format extension to r199319
Branches
Unknown
Tags
Unknown