summaryrefslogtreecommitdiff
path: root/utils/TableGen/NeonEmitter.h
diff options
context:
space:
mode:
authorBob Wilson <bob.wilson@apple.com>2010-12-15 16:58:45 +0000
committerBob Wilson <bob.wilson@apple.com>2010-12-15 16:58:45 +0000
commit333f5194cbffd98c30667d2a70df210bae06d220 (patch)
treecd202f8275cdbd2dade9c5f8167ac842f73f210c /utils/TableGen/NeonEmitter.h
parent06b04aaf5c01ce218dcb1450448a7ec3a28c7fdb (diff)
downloadllvm-333f5194cbffd98c30667d2a70df210bae06d220.tar.gz
llvm-333f5194cbffd98c30667d2a70df210bae06d220.tar.bz2
llvm-333f5194cbffd98c30667d2a70df210bae06d220.tar.xz
Add a Neon intrinsic test generator.
This is still a WIP. It's already good enough to expose a few bugs, though. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@121868 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/TableGen/NeonEmitter.h')
-rw-r--r--utils/TableGen/NeonEmitter.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/utils/TableGen/NeonEmitter.h b/utils/TableGen/NeonEmitter.h
index f5fd37e71a..1e6fcbf555 100644
--- a/utils/TableGen/NeonEmitter.h
+++ b/utils/TableGen/NeonEmitter.h
@@ -168,6 +168,9 @@ namespace llvm {
// runHeader - Emit all the __builtin prototypes used in arm_neon.h
void runHeader(raw_ostream &o);
+ // runTests - Emit tests for all the Neon intrinsics.
+ void runTests(raw_ostream &o);
+
private:
void emitIntrinsic(raw_ostream &OS, Record *R);
};