summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Transforms/Vectorize/Vectorize.cpp
diff options
context:
space:
mode:
authorReid Kleckner <reid@kleckner.net>2014-10-28 01:29:26 +0000
committerReid Kleckner <reid@kleckner.net>2014-10-28 01:29:26 +0000
commit9ccce99e1d02975afe3c4d4cf2c154c6f154f3ff (patch)
treee817bf79e4eec6eaaead78448151a5717f143ee4 /llvm/lib/Transforms/Vectorize/Vectorize.cpp
parent00917897b246cef0d5fa5fda28a03679788e224b (diff)
downloadbcm5719-llvm-9ccce99e1d02975afe3c4d4cf2c154c6f154f3ff.tar.gz
bcm5719-llvm-9ccce99e1d02975afe3c4d4cf2c154c6f154f3ff.zip
X86: Implement the vectorcall calling convention
This is a Microsoft calling convention that supports both x86 and x86_64 subtargets. It passes vector and floating point arguments in XMM0-XMM5, and passes them indirectly once they are consumed. Homogenous vector aggregates of up to four elements can be passed in sequential vector registers, but this part is not implemented in LLVM and will be handled in Clang. On 32-bit x86, it is similar to fastcall in that it uses ecx:edx as integer register parameters and is callee cleanup. On x86_64, it delegates to the normal win64 calling convention. Reviewers: majnemer Differential Revision: http://reviews.llvm.org/D5943 llvm-svn: 220745
Diffstat (limited to 'llvm/lib/Transforms/Vectorize/Vectorize.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud