This patch factors out mappings of scalar maths functions to their vector counterparts from TargetLibraryInfo.cpp to a separate VecFuncs.def file. Such mappings are currently available for Accelerate framework, and SVML library.
This patch is a precursor to Initial support for vectorization using MASS (IBM MASS vector library).