diff options
author | Dale Johannesen <dalej@apple.com> | 2010-09-10 20:55:01 +0000 |
---|---|---|
committer | Dale Johannesen <dalej@apple.com> | 2010-09-10 20:55:01 +0000 |
commit | bb811a244567aa8a1522203f15588f4d001b7353 (patch) | |
tree | ad234d32641b5769602d1dd68ae5f870b341b320 /include/llvm/Support/TypeBuilder.h | |
parent | f9e49e86ee9f06c2808c6e57723c5650615e689d (diff) | |
download | llvm-bb811a244567aa8a1522203f15588f4d001b7353.tar.gz llvm-bb811a244567aa8a1522203f15588f4d001b7353.tar.bz2 llvm-bb811a244567aa8a1522203f15588f4d001b7353.tar.xz |
Add X86 MMX type to bitcode and Type.
(The Ada bindings probably need it too, but all the
obvious places to change say "do not edit this file".)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@113618 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Support/TypeBuilder.h')
-rw-r--r-- | include/llvm/Support/TypeBuilder.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/llvm/Support/TypeBuilder.h b/include/llvm/Support/TypeBuilder.h index 81c2747b6c..ea63da00ed 100644 --- a/include/llvm/Support/TypeBuilder.h +++ b/include/llvm/Support/TypeBuilder.h @@ -88,6 +88,8 @@ class ieee_double {}; class x86_fp80 {}; class fp128 {}; class ppc_fp128 {}; +// X86 MMX. +class x86_mmx {}; } // namespace types // LLVM doesn't have const or volatile types. @@ -219,6 +221,10 @@ template<bool cross> class TypeBuilder<types::ppc_fp128, cross> { public: static const Type *get(LLVMContext& C) { return Type::getPPC_FP128Ty(C); } }; +template<bool cross> class TypeBuilder<types::x86_mmx, cross> { +public: + static const Type *get(LLVMContext& C) { return Type::getX86_MMXTy(C); } +}; template<bool cross> class TypeBuilder<void, cross> { public: |