diff options
author | David Majnemer <david.majnemer@gmail.com> | 2016-04-19 19:10:21 +0000 |
---|---|---|
committer | David Majnemer <david.majnemer@gmail.com> | 2016-04-19 19:10:21 +0000 |
commit | b4b27230bfe2f709aac4a82522a160981472c954 (patch) | |
tree | 054736e0d3b0b3d7f0705ed8c1939d62bac88b98 /llvm/lib/CodeGen/StackProtector.cpp | |
parent | 01b705e9c05316fd5cfce9115449b72f5f8610c5 (diff) | |
download | llvm-b4b27230bfe2f709aac4a82522a160981472c954.zip llvm-b4b27230bfe2f709aac4a82522a160981472c954.tar.gz llvm-b4b27230bfe2f709aac4a82522a160981472c954.tar.bz2 |
[ValueTracking, VectorUtils] Refactor getIntrinsicIDForCall
The functionality contained within getIntrinsicIDForCall is two-fold: it
checks if a CallInst's callee is a vectorizable intrinsic. If it isn't
an intrinsic, it attempts to map the call's target to a suitable
intrinsic.
Move the mapping functionality into getIntrinsicForCallSite and rename
getIntrinsicIDForCall to getVectorIntrinsicIDForCall while
reimplementing it in terms of getIntrinsicForCallSite.
llvm-svn: 266801
Diffstat (limited to 'llvm/lib/CodeGen/StackProtector.cpp')
0 files changed, 0 insertions, 0 deletions