Skip to content
  1. Jan 31, 2012
  2. Jan 30, 2012
  3. Jan 25, 2012
  4. Jan 22, 2012
  5. Jan 17, 2012
    • Jakob Stoklund Olesen's avatar
      Add portable bit mask operations to BitVector. · 6ccbdcda
      Jakob Stoklund Olesen authored
      BitVector uses the native word size for its internal representation.
      That doesn't work well for literal bit masks in source code.
      
      This patch adds BitVector operations to efficiently apply literal bit
      masks specified as arrays of uint32_t.  Since each array entry always
      holds exactly 32 bits, these portable bit masks can be source code
      literals, probably produced by TableGen.
      
      llvm-svn: 148272
      6ccbdcda
  6. Jan 16, 2012
    • Jim Grosbach's avatar
      MCJIT support for non-function sections. · eff0a40d
      Jim Grosbach authored
      Move to a by-section allocation and relocation scheme. This allows
      better support for sections which do not contain externally visible
      symbols.
      
      Flesh out the relocation address vs. local storage address separation a
      bit more as well. Remote process JITs use this to tell the relocation
      resolution code where the code will live when it executes.
      
      The startFunctionBody/endFunctionBody interfaces to the JIT and the
      memory manager are deprecated. They'll stick around for as long as the
      old JIT does, but the MCJIT doesn't use them anymore.
      
      llvm-svn: 148258
      eff0a40d
  7. Jan 02, 2012
    • Chandler Carruth's avatar
      Undo the hack in r147427 and move this unittest to a better home. This · e517273e
      Chandler Carruth authored
      is testing the bitcode reader's functionality, not VMCore's. Add the
      what is a hope sufficient build system mojo to build and run a new
      unittest.
      
      Also clean up some of the test's naming. The goal for the file should be
      to unittest the Bitcode Reader, and this is just one particular test
      among potentially many in the future. Also, reverse my position and
      relegate the PR# to a comment, but stash the comment on the same line as
      the test name so it doesn't get lost. This makes the code more
      self-documenting hopefully w/o losing track of the PR number.
      
      llvm-svn: 147431
      e517273e
    • Chandler Carruth's avatar
      Fix unittest makefile after r147425. This should unbreak the makefile · ddb10a48
      Chandler Carruth authored
      build. This didn't show up in the CMake build because the CMake build
      for the unittests is rather poorly factored.
      
      This probably isn't the correct fix. This should be a bitcode reader
      unittest not a VMCore unittest. I'll move it and clean various parts of
      the unittest up in a follow-up patch, but I wanted to unbreak the bots.
      
      llvm-svn: 147427
      ddb10a48
    • Rafael Espindola's avatar
      Materialize functions whose basic blocks are used by global variables. Fixes · b7993465
      Rafael Espindola authored
      PR11677.
      
      llvm-svn: 147425
      b7993465
  8. Dec 22, 2011
  9. Dec 21, 2011
    • Manuel Klimek's avatar
      Changes the JSON parser to use the SourceMgr. · 25eb0ac4
      Manuel Klimek authored
      Diagnostics are now emitted via the SourceMgr and we use MemoryBuffer
      for buffer management. Switched the code to make use of the trailing
      '0' that MemoryBuffer guarantees where it makes sense.
      
      llvm-svn: 147063
      25eb0ac4
  10. Dec 20, 2011
  11. Dec 17, 2011
  12. Dec 16, 2011
  13. Dec 12, 2011
  14. Dec 10, 2011
  15. Dec 09, 2011
  16. Dec 08, 2011
  17. Dec 05, 2011
    • Nadav Rotem's avatar
      · 3924cb02
      Nadav Rotem authored
      Add support for vectors of pointers.
      
      llvm-svn: 145801
      3924cb02
  18. Dec 02, 2011
  19. Nov 26, 2011
  20. Nov 14, 2011
  21. Nov 09, 2011
  22. Oct 24, 2011
  23. Oct 23, 2011
  24. Oct 16, 2011
  25. Oct 15, 2011
    • Benjamin Kramer's avatar
      Add a bad char heuristic to StringRef::find. · 4d681d7d
      Benjamin Kramer authored
      Based on Horspool's simplified version of Boyer-Moore. We use a constant-sized table of
      uint8_ts to keep cache thrashing low, needles bigger than 255 bytes are uncommon anyways.
      
      The worst case is still O(n*m) but we do a lot better on the average case now.
      
      llvm-svn: 142061
      4d681d7d
  26. Oct 13, 2011
  27. Oct 12, 2011
Loading