summaryrefslogtreecommitdiffstats
path: root/llvm/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
commit9168a4f1c24f0df1558ab9f8920ea80fdee71d68 (patch)
tree925c8cda6a9e7256540b669aa0849a2a7be52d68 /llvm/utils/TableGen/NeonEmitter.h
parent276f1ca89749399c07579d100cfb54718a216a64 (diff)
downloadbcm5719-llvm-9168a4f1c24f0df1558ab9f8920ea80fdee71d68.tar.gz
bcm5719-llvm-9168a4f1c24f0df1558ab9f8920ea80fdee71d68.zip
Add a Neon intrinsic test generator.
This is still a WIP. It's already good enough to expose a few bugs, though. llvm-svn: 121868
Diffstat (limited to 'llvm/utils/TableGen/NeonEmitter.h')
-rw-r--r--llvm/utils/TableGen/NeonEmitter.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/utils/TableGen/NeonEmitter.h b/llvm/utils/TableGen/NeonEmitter.h
index f5fd37e71ab..1e6fcbf555d 100644
--- a/llvm/utils/TableGen/NeonEmitter.h
+++ b/llvm/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);
};
OpenPOWER on IntegriCloud