Part 1/2 of [ Vectorize intrinsic math function calls in SLPVectorizer ]
Splitting patch in http://reviews.llvm.org/D3535
Move getIntrinsicIDForCall and supporting calls to VectorUtil. The same function can be used by SLPVectorizer to decide if a CallInst can be treated as Intrinsic or not.
No Functionality change.
Once we move the relevent functions to identify intrinsics into VectorUtil we will use the same in second part of patch were we vectorize math intrinsics in SLPVectorizer.
Thanks
Karthik Bhat