/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

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