Mercurial > octave-nkf
comparison libinterp/corefcn/jit-typeinfo.h @ 18555:5b49430a5b30 draft
Fully uint16 type support
author | LYH <lyh.kernel@gmail.com> |
---|---|
date | Thu, 26 Sep 2013 19:14:08 +0800 |
parents | bb937947ceb3 |
children | 5a5a67799338 |
comparison
equal
deleted
inserted
replaced
18554:bb937947ceb3 | 18555:5b49430a5b30 |
---|---|
792 | 792 |
793 llvm::Value *complex_new (llvm::Value *real, llvm::Value *imag); | 793 llvm::Value *complex_new (llvm::Value *real, llvm::Value *imag); |
794 | 794 |
795 void create_int (size_t nbits); | 795 void create_int (size_t nbits); |
796 | 796 |
797 void create_uint (size_t nbits); | |
798 | |
797 jit_type *intN (size_t nbits) const; | 799 jit_type *intN (size_t nbits) const; |
800 | |
801 jit_type *uintN (size_t nbits) const; | |
798 | 802 |
799 static jit_typeinfo *instance; | 803 static jit_typeinfo *instance; |
800 | 804 |
801 llvm::Module *module; | 805 llvm::Module *module; |
802 llvm::ExecutionEngine *engine; | 806 llvm::ExecutionEngine *engine; |
819 jit_type *boolean; | 823 jit_type *boolean; |
820 jit_type *index; | 824 jit_type *index; |
821 jit_type *complex; | 825 jit_type *complex; |
822 jit_type *unknown_function; | 826 jit_type *unknown_function; |
823 std::map<size_t, jit_type *> ints; | 827 std::map<size_t, jit_type *> ints; |
828 std::map<size_t, jit_type *> uints; | |
824 std::map<std::string, jit_type *> builtins; | 829 std::map<std::string, jit_type *> builtins; |
825 | 830 |
826 llvm::StructType *complex_ret; | 831 llvm::StructType *complex_ret; |
827 | 832 |
828 std::vector<jit_operation> binary_ops; | 833 std::vector<jit_operation> binary_ops; |