Skip to content
  1. 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
    • Reid Spencer's avatar
      Implement review feedback for the ConstantBool->ConstantInt merge. Chris · cddc9dfe
      Reid Spencer authored
      recommended that getBoolValue be replaced with getZExtValue and that
      get(bool) be replaced by get(const Type*, uint64_t). This implements
      those changes.
      
      llvm-svn: 33110
      cddc9dfe
  2. Jan 11, 2007
  3. Jan 04, 2007
  4. Dec 31, 2006
    • Reid Spencer's avatar
      For PR950: · 8d9336d0
      Reid Spencer authored
      Change signed integer type names to unsigned equivalents.
      
      llvm-svn: 32780
      8d9336d0
  5. Dec 24, 2006
  6. Dec 23, 2006
    • Reid Spencer's avatar
      For PR950: · 266e42b3
      Reid Spencer authored
      This patch removes the SetCC instructions and replaces them with the ICmp
      and FCmp instructions. The SetCondInst instruction has been removed and
      been replaced with ICmpInst and FCmpInst.
      
      llvm-svn: 32751
      266e42b3
  7. Dec 19, 2006
  8. Dec 18, 2006
  9. Dec 15, 2006
  10. Dec 13, 2006
  11. Dec 12, 2006
  12. Dec 08, 2006
  13. Dec 07, 2006
  14. Dec 06, 2006
    • Reid Spencer's avatar
      For PR950: · e5170098
      Reid Spencer authored
      Remove the getMaxValue and getMinValue functions from ConstantIntegral.
      They don't make sense for a signless type. Also, for isMaxValue and
      isMinValue, have the caller provided the signedness rather than obtaining
      it from the constant's type.
      
      llvm-svn: 32287
      e5170098
  15. Dec 05, 2006
  16. Dec 04, 2006
  17. Dec 03, 2006
  18. Dec 01, 2006
  19. Nov 27, 2006
    • Reid Spencer's avatar
      For PR950: · 6c38f0bb
      Reid Spencer authored
      The long awaited CAST patch. This introduces 12 new instructions into LLVM
      to replace the cast instruction. Corresponding changes throughout LLVM are
      provided. This passes llvm-test, llvm/test, and SPEC CPUINT2000 with the
      exception of 175.vpr which fails only on a slight floating point output
      difference.
      
      llvm-svn: 31931
      6c38f0bb
  20. Nov 17, 2006
  21. Nov 08, 2006
    • Reid Spencer's avatar
      For PR950: · fdff938a
      Reid Spencer authored
      This patch converts the old SHR instruction into two instructions,
      AShr (Arithmetic) and LShr (Logical). The Shr instructions now are not
      dependent on the sign of their operands.
      
      llvm-svn: 31542
      fdff938a
  22. Nov 02, 2006
    • Reid Spencer's avatar
      For PR950: · 7eb55b39
      Reid Spencer authored
      Replace the REM instruction with UREM, SREM and FREM.
      
      llvm-svn: 31369
      7eb55b39
  23. Oct 26, 2006
  24. Oct 20, 2006
  25. Sep 29, 2006
  26. Sep 28, 2006
  27. Sep 17, 2006
  28. Aug 27, 2006
Loading