Skip to content
  1. Sep 17, 2007
  2. Sep 07, 2007
  3. Aug 05, 2007
  4. Aug 03, 2007
  5. May 03, 2007
  6. May 02, 2007
  7. May 01, 2007
  8. Apr 22, 2007
  9. Apr 09, 2007
  10. Mar 05, 2007
  11. Mar 01, 2007
  12. Feb 20, 2007
  13. Feb 19, 2007
    • Reid Spencer's avatar
      Implement support for non-standard integer bit widths of any size. The · 421bad0d
      Reid Spencer authored
      rules alignment is to pick the alignment that corresponds to the smallest
      specified alignment that is larger than the bit width of the type or the
      largest specified integer alignment if none are larger than the bitwidth
      of the type. For the byte size, the size returned is the next larger
      multiple of the alignment for that type (using the above rule). This patch
      also changes bit widths from "short" to "uint32_t" to ensure there are
      enough bits to specify any bit width that LLVM can handle (currently 2^23);
      16-bits isn't enough.
      
      llvm-svn: 34431
      421bad0d
  14. Feb 17, 2007
  15. Feb 16, 2007
  16. Feb 15, 2007
  17. Feb 14, 2007
  18. Feb 10, 2007
  19. Feb 06, 2007
    • Reid Spencer's avatar
      Although targets are not required to support integers > 64bits, TargetData · 92b50800
      Reid Spencer authored
      must in order for backends that do want to support large integer types to be
      able to function. Consequently, don't assert if the bitwidth > 64 bits
      when computing the size and alignment. Instead, compute the size by rounding
      up to the next even number of bytes for the size. Compute the alignment
      as the same as the LongABIAlignment. These provide reasonable defaults
      that the target can override.
      
      llvm-svn: 33943
      92b50800
  20. Jan 31, 2007
  21. Jan 26, 2007
    • Reid Spencer's avatar
      For PR761: · 3ac38e99
      Reid Spencer authored
      The Module::setEndianness and Module::setPointerSize methods have been
      removed. Instead you can get/set the DataLayout. Adjust thise accordingly.
      
      llvm-svn: 33530
      3ac38e99
  22. Jan 24, 2007
  23. Jan 23, 2007
  24. Jan 21, 2007
  25. Jan 20, 2007
  26. Jan 12, 2007
    • Reid Spencer's avatar
      For PR1064: · 7a9c62ba
      Reid Spencer authored
      Implement the arbitrary bit-width integer feature. The feature allows
      integers of any bitwidth (up to 64) to be defined instead of just 1, 8,
      16, 32, and 64 bit integers.
      
      This change does several things:
      1. Introduces a new Derived Type, IntegerType, to represent the number of
         bits in an integer. The Type classes SubclassData field is used to
         store the number of bits. This allows 2^23 bits in an integer type.
      2. Removes the five integer Type::TypeID values for the 1, 8, 16, 32 and
         64-bit integers. These are replaced with just IntegerType which is not
         a primitive any more.
      3. Adjust the rest of LLVM to account for this change.
      
      Note that while this incremental change lays the foundation for arbitrary
      bit-width integers, LLVM has not yet been converted to actually deal with
      them in any significant way. Most optimization passes, for example, will
      still only deal with the byte-width integer types.  Future increments
      will rectify this situation.
      
      llvm-svn: 33113
      7a9c62ba
Loading