Skip to content
  1. Feb 07, 2007
    • Chris Lattner's avatar
      push bytecode decompressor out through APIs. Now the bytecode reader · a0e49f2e
      Chris Lattner authored
      api's look like this:
      
      ModuleProvider *getBytecodeModuleProvider(
        const std::string &Filename,  ///< Name of file to be read
        BCDecompressor_t *BCDC = Compressor::decompressToNewBuffer,
        std::string* ErrMsg = 0,      ///< Optional error message holder
        BytecodeHandler* H = 0        ///< Optional handler for reader events
      );
      
      This is ugly, but allows a client to say:
      
        getBytecodeModuleProvider("foo", 0);
      
      If they do this, there is no dependency on the compression libraries, saving
      codesize.
      
      llvm-svn: 34012
      a0e49f2e
  2. Feb 05, 2007
    • Reid Spencer's avatar
      For PR411: · 1241d6d5
      Reid Spencer authored
      Adjust to changes in Module interface:
      getMainFunction() -> getFunction("main")
      getNamedFunction(X) -> getFunction(X)
      
      llvm-svn: 33922
      1241d6d5
    • Reid Spencer's avatar
      For PR411: · 3aaaa0b2
      Reid Spencer authored
      This patch replaces the SymbolTable class with ValueSymbolTable which does
      not support types planes. This means that all symbol names in LLVM must now
      be unique. The patch addresses the necessary changes to deal with this and
      removes code no longer needed as a result. This completes the bulk of the
      changes for this PR. Some cleanup patches will follow.
      
      llvm-svn: 33918
      3aaaa0b2
  3. Feb 04, 2007
  4. Feb 01, 2007
  5. Jan 30, 2007
  6. Jan 29, 2007
  7. 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
  8. 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
  9. Jan 06, 2007
    • Reid Spencer's avatar
      For PR411: · 32af9e8c
      Reid Spencer authored
      Take an incremental step towards type plane elimination. This change
      separates types from values in the symbol tables by finally making use
      of the TypeSymbolTable class. This yields more natural interfaces for
      dealing with types and unclutters the SymbolTable class.
      
      llvm-svn: 32956
      32af9e8c
  10. Dec 15, 2006
  11. Dec 12, 2006
  12. Dec 08, 2006
  13. Dec 07, 2006
  14. Dec 01, 2006
  15. Nov 27, 2006
  16. Nov 11, 2006
  17. Nov 09, 2006
  18. Nov 02, 2006
    • Reid Spencer's avatar
      For PR786: · de46e484
      Reid Spencer authored
      Turn on -Wunused and -Wno-unused-parameter. Clean up most of the resulting
      fall out by removing unused variables. Remaining warnings have to do with
      unused functions (I didn't want to delete code without review) and unused
      variables in generated code. Maintainers should clean up the remaining
      issues when they see them. All changes pass DejaGnu tests and Olden.
      
      llvm-svn: 31380
      de46e484
  19. Sep 14, 2006
  20. Jul 29, 2006
  21. Jul 15, 2006
  22. Jul 07, 2006
  23. Jun 16, 2006
  24. Jun 01, 2006
  25. Apr 08, 2006
  26. Apr 07, 2006
  27. Jan 24, 2006
  28. Jan 20, 2006
  29. Jan 17, 2006
  30. Jan 10, 2006
    • Reid Spencer's avatar
      For PR521: · 5995c575
      Reid Spencer authored
      With these patches we implement the ability for the Linker library to
      keep track of which libraries were actually bytecode files (not archives)
      and cause their users to remove such files from the list of libraries to
      pass to the native linker.
      
      llvm-svn: 25169
      5995c575
    • Reid Spencer's avatar
      Be a little more explanatory in a comment. · 8097c0a0
      Reid Spencer authored
      llvm-svn: 25168
      8097c0a0
  31. Dec 13, 2005
  32. Dec 06, 2005
Loading