Skip to content
  1. Jan 26, 2007
  2. Jan 21, 2007
  3. Jan 19, 2007
    • Reid Spencer's avatar
      For PR1043: · a94d394a
      Reid Spencer authored
      This is the final patch for this PR. It implements some minor cleanup
      in the use of IntegerType, to wit:
      1. Type::getIntegerTypeMask -> IntegerType::getBitMask
      2. Type::Int*Ty changed to IntegerType* from Type*
      3. ConstantInt::getType() returns IntegerType* now, not Type*
      
      This also fixes PR1120.
      
      Patch by Sheng Zhou.
      
      llvm-svn: 33370
      a94d394a
  4. Jan 15, 2007
  5. Jan 12, 2007
    • Jim Laskey's avatar
      Allow isAllOnesValue testing on packed constants · f047882b
      Jim Laskey authored
      llvm-svn: 33146
      f047882b
    • 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
  6. Jan 11, 2007
  7. Jan 04, 2007
  8. 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
  9. Dec 24, 2006
  10. 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
  11. Dec 19, 2006
  12. Dec 18, 2006
  13. Dec 15, 2006
  14. Dec 13, 2006
  15. Dec 12, 2006
  16. Dec 08, 2006
  17. Dec 07, 2006
  18. 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
  19. Dec 05, 2006
  20. Dec 04, 2006
  21. Dec 03, 2006
  22. Dec 01, 2006
  23. 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
  24. Nov 17, 2006
  25. 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
  26. 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
  27. Oct 26, 2006
Loading