[AArch64] Add aarch64_vector_pcs function attribute to Clang
authorSander de Smalen <sander.desmalen@arm.com>
Mon, 26 Nov 2018 16:38:37 +0000 (16:38 +0000)
committerSander de Smalen <sander.desmalen@arm.com>
Mon, 26 Nov 2018 16:38:37 +0000 (16:38 +0000)
commit44a2253a54f5e98bee2e12ffb2d09eacd45991e8
treeb47532f4fac3dfe7c8d9ffd9e4bc08828630b107
parent10a7ee704417a9af6150c574f32befc32c3e2182
[AArch64] Add aarch64_vector_pcs function attribute to Clang

This is the Clang patch to complement the following LLVM patches:
  https://reviews.llvm.org/D51477
  https://reviews.llvm.org/D51479

More information describing the vector ABI and procedure call standard
can be found here:

https://developer.arm.com/products/software-development-tools/\
                          hpc/arm-compiler-for-hpc/vector-function-abi

Patch by Kerry McLaughlin.

Reviewed By: rjmccall

Differential Revision: https://reviews.llvm.org/D54425

llvm-svn: 347571
16 files changed:
clang/include/clang-c/Index.h
clang/include/clang/Basic/Attr.td
clang/include/clang/Basic/AttrDocs.td
clang/include/clang/Basic/Specifiers.h
clang/lib/AST/ItaniumMangle.cpp
clang/lib/AST/Type.cpp
clang/lib/AST/TypePrinter.cpp
clang/lib/Basic/Targets/AArch64.cpp
clang/lib/CodeGen/CGCall.cpp
clang/lib/CodeGen/CGDebugInfo.cpp
clang/lib/Sema/SemaDeclAttr.cpp
clang/lib/Sema/SemaType.cpp
clang/test/CodeGen/aarch64-vpcs.c [new file with mode: 0644]
clang/test/Sema/aarch64-vpcs.c [new file with mode: 0644]
clang/test/Sema/callingconv.c
clang/tools/libclang/CXType.cpp