Skip to content
  1. Jan 15, 2007
  2. Jan 14, 2007
  3. Jan 13, 2007
  4. Jan 12, 2007
    • Chris Lattner's avatar
      simplify some code · f5e5236b
      Chris Lattner authored
      llvm-svn: 33150
      f5e5236b
    • Chris Lattner's avatar
      eliminate redundant check · e3721e30
      Chris Lattner authored
      llvm-svn: 33132
      e3721e30
    • 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
    • Nick Lewycky's avatar
      If we know that it's a constant being casted, propagate through the cast · ee32ee02
      Nick Lewycky authored
      instruction. Doesn't work the other way though (can't recover bits that
      have been truncated).
      
      llvm-svn: 33104
      ee32ee02
    • Nick Lewycky's avatar
      Clean up logic after ConstantBool removal. · 4a74a75b
      Nick Lewycky authored
      llvm-svn: 33096
      4a74a75b
  5. Jan 11, 2007
  6. Jan 08, 2007
  7. Jan 07, 2007
  8. Jan 06, 2007
  9. Jan 05, 2007
  10. Jan 04, 2007
  11. Jan 03, 2007
  12. Dec 31, 2006
    • Reid Spencer's avatar
      Fix a typo. · e8a74ee5
      Reid Spencer authored
      llvm-svn: 32803
      e8a74ee5
    • Reid Spencer's avatar
      For PR950: · c635f47d
      Reid Spencer authored
      This patch replaces signed integer types with signless ones:
      1. [US]Byte -> Int8
      2. [U]Short -> Int16
      3. [U]Int   -> Int32
      4. [U]Long  -> Int64.
      5. Removal of isSigned, isUnsigned, getSignedVersion, getUnsignedVersion
         and other methods related to signedness. In a few places this warranted
         identifying the signedness information from other sources.
      
      llvm-svn: 32785
      c635f47d
  13. Dec 24, 2006
    • Reid Spencer's avatar
      For PR1066: · 193df25e
      Reid Spencer authored
      Fix this by ensuring that a bitcast is inserted to do sign switching. This
      is only temporarily needed as the merging of signed and unsigned is next
      on the SignlessTypes plate.
      
      llvm-svn: 32757
      193df25e
  14. Dec 23, 2006
Loading