Populate list of vectorizable functions for Accelerate library.
authorMichael Zolotukhin <mzolotukhin@apple.com>
Thu, 7 May 2015 17:11:51 +0000 (17:11 +0000)
committerMichael Zolotukhin <mzolotukhin@apple.com>
Thu, 7 May 2015 17:11:51 +0000 (17:11 +0000)
commitd7b5144d5341b160ce71f94a0869243a62ca98a0
treecd9b9bb3afc06640d843874a3446991135d2aff3
parent21cecaf4457d6ed97dea8fc02159c76a7f835404
Populate list of vectorizable functions for Accelerate library.

Summary:
This patch adds majority of supported by Accelerate library functions to the
list of vectorizable functions.

The full list of available vector functions could be found here:
https://developer.apple.com/library/mac/documentation/Performance/Conceptual/vecLib/index.html

Test Plan: Unit tests are added.

Reviewers: hfinkel, aschwaighofer, nadav

Subscribers: llvm-commits

Differential Revision: http://reviews.llvm.org/D9543

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@236747 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Analysis/TargetLibraryInfo.cpp
test/Transforms/LoopVectorize/X86/veclib-calls.ll