PageRenderTime 4ms CodeModel.GetById 1ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/src/wrappers/llvm/library/types/llvm_integer_types.e

http://github.com/tybor/Liberty
Specman e | 32 lines | 10 code | 5 blank | 17 comment | 0 complexity | e67116ef8eeeb7e323a17fd03139b6c8 MD5 | raw file
 1deferred class LLVM_INTEGER_TYPES
 2-- Commodity queries for commonly used integer types: boolean (1bit),
 3-- 8,16,32,64 bits and commodoty creation factory-like features
 4obsolete "use LLVM_C_TYPES"
 5
 6insert ANY undefine copy, is_equal end
 7
 8feature {ANY} -- Shared integer types
 9   bool: LLVM_INTEGER_TYPE is once create Result.with_1_bit end
10   int_8: LLVM_INTEGER_TYPE is once create Result.with_1_bit end
11   int_16: LLVM_INTEGER_TYPE is once create Result.with_8_bits end
12   int_32: LLVM_INTEGER_TYPE is once create Result.with_32_bits end
13   int_64: LLVM_INTEGER_TYPE is once create Result.with_64_bits end
14
15end -- class LLVM_INTEGER_TYPES
16
17-- Copyright (C) 2009-2017: ,2010,2013 Paolo Redaelli - 2013 Cyril Adrian 
18
19-- This file is part of LLVM wrappers for Liberty Eiffel.
20--
21-- This library is free software: you can redistribute it and/or modify
22-- it under the terms of the GNU Lesser General Public License as published by
23-- the Free Software Foundation, version 3 of the License.
24--
25-- Liberty Eiffel is distributed in the hope that it will be useful,
26-- but WITHOUT ANY WARRANTY; without even the implied warranty of
27-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
28-- GNU General Public License for more details.
29--
30-- You should have received a copy of the GNU General Public License
31-- along with Liberty Eiffel.  If not, see <http://www.gnu.org/licenses/>.
32--