summaryrefslogtreecommitdiffstats
path: root/clang/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
commit2d83796860092902bef8b0dc2937804df6a5b996 (patch)
treed2b792d18b2276d9d568dd89dc83172e637efe95 /clang/lib/CodeGen/CodeGenFunction.h
parent96601cad2fa57dcfb1f723cf70da8a2f2d348968 (diff)
downloadbcm5719-llvm-2d83796860092902bef8b0dc2937804df6a5b996.tar.gz
bcm5719-llvm-2d83796860092902bef8b0dc2937804df6a5b996.zip
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. llvm-svn: 201847
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.h')
-rw-r--r--clang/lib/CodeGen/CodeGenFunction.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/clang/lib/CodeGen/CodeGenFunction.h b/clang/lib/CodeGen/CodeGenFunction.h
index 185e25ccb29..46eea8f9603 100644
--- a/clang/lib/CodeGen/CodeGenFunction.h
+++ b/clang/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,
OpenPOWER on IntegriCloud