summaryrefslogtreecommitdiff
path: root/lib/CodeGen/CodeGenFunction.h
diff options
context:
space:
mode:
authorTim Northover <tnorthover@apple.com>2014-02-21 11:57:20 +0000
committerTim Northover <tnorthover@apple.com>2014-02-21 11:57:20 +0000
commita67b8f1151aa6e3c60bc99314f6eae4547b7e8f0 (patch)
tree94c4f4095b2734bc3b2b3b31e352a6c80cd05a87 /lib/CodeGen/CodeGenFunction.h
parent1400d5b9da320359808fb2fcfe3d6dc7b9b03029 (diff)
downloadclang-a67b8f1151aa6e3c60bc99314f6eae4547b7e8f0.tar.gz
clang-a67b8f1151aa6e3c60bc99314f6eae4547b7e8f0.tar.bz2
clang-a67b8f1151aa6e3c60bc99314f6eae4547b7e8f0.tar.xz
AArch64: refactor table-driven NEON lookup.
This extracts the table-driven intrinsic lookup phase into a separate function, to be used by EmitCommonNeonBuiltinExpr soon. It also simplifies the logic used in that lookup, since VectorCastArgN and ScalarArgN were actually identical. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@201847 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.h')
-rw-r--r--lib/CodeGen/CodeGenFunction.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/CodeGen/CodeGenFunction.h b/lib/CodeGen/CodeGenFunction.h
index 185e25ccb2..46eea8f960 100644
--- a/lib/CodeGen/CodeGenFunction.h
+++ b/lib/CodeGen/CodeGenFunction.h
@@ -2182,6 +2182,8 @@ public:
llvm::Value *EmitCommonNeonBuiltinExpr(unsigned BuiltinID, const CallExpr *E,
SmallVectorImpl<llvm::Value *> &Ops,
llvm::Value *Align = 0);
+ llvm::Function *LookupNeonIntrinsic(unsigned IntrinsicID, unsigned Modifier,
+ llvm::Type *ArgTy, const CallExpr *E);
llvm::Value *EmitNeonCall(llvm::Function *F,
SmallVectorImpl<llvm::Value*> &O,
const char *name,