Skip to content
  1. Oct 08, 2013
  2. Sep 28, 2013
  3. Aug 07, 2013
  4. Jan 30, 2013
  5. Jan 02, 2013
    • Chandler Carruth's avatar
      Move all of the header files which are involved in modelling the LLVM IR · 9fb823bb
      Chandler Carruth authored
      into their new header subdirectory: include/llvm/IR. This matches the
      directory structure of lib, and begins to correct a long standing point
      of file layout clutter in LLVM.
      
      There are still more header files to move here, but I wanted to handle
      them in separate commits to make tracking what files make sense at each
      layer easier.
      
      The only really questionable files here are the target intrinsic
      tablegen files. But that's a battle I'd rather not fight today.
      
      I've updated both CMake and Makefile build systems (I think, and my
      tests think, but I may have missed something).
      
      I've also re-sorted the includes throughout the project. I'll be
      committing updates to Clang, DragonEgg, and Polly momentarily.
      
      llvm-svn: 171366
      9fb823bb
  6. Dec 03, 2012
    • Chandler Carruth's avatar
      Use the new script to sort the includes of every file under lib. · ed0881b2
      Chandler Carruth authored
      Sooooo many of these had incorrect or strange main module includes.
      I have manually inspected all of these, and fixed the main module
      include to be the nearest plausible thing I could find. If you own or
      care about any of these source files, I encourage you to take some time
      and check that these edits were sensible. I can't have broken anything
      (I strictly added headers, and reordered them, never removed), but they
      may not be the headers you'd really like to identify as containing the
      API being implemented.
      
      Many forward declarations and missing includes were added to a header
      files to allow them to parse cleanly when included first. The main
      module rule does in fact have its merits. =]
      
      llvm-svn: 169131
      ed0881b2
  7. Oct 28, 2012
    • Reed Kotler's avatar
      This patch is for the implementation of mips16 complex pattern addr16. · 3589dd74
      Reed Kotler authored
      Previously mips16 was sharing the pattern addr which is used for mips32
      and mips64. This had a number of problems:
      1) Storing and loading byte and halfword quantities for mips16 has particular
      problems due to the primarily non mips16 nature of SP. When we must
      load/store byte/halfword stack objects in a function, we must create a mips16
      alias register for SP. This functionality is tested in stchar.ll.
      2) We need to have an FP register under certain conditions (such as 
      dynamically sized alloca). We use mips16 register S0 for this purpose.
      In this case, we also use this register when accessing frame objects so this
      issue also affects the complex pattern addr16. This functionality is
      tested in alloca16.ll.
      
      The Mips16InstrInfo.td has been updated to use addr16 instead of addr.
      
      The complex pattern C++ function for addr has been copied to addr16 and
      updated to reflect the above issues.
      
      llvm-svn: 166897
      3589dd74
  8. Jul 24, 2012
  9. Jul 21, 2012
  10. May 12, 2012
  11. Apr 25, 2012
  12. Apr 20, 2012
  13. Feb 28, 2012
  14. Feb 24, 2012
    • Akira Hatanaka's avatar
      Add an option to use a virtual register as the global base register instead of · b049aef2
      Akira Hatanaka authored
      reserving a physical register ($gp or $28) for that purpose.
      
      This will completely eliminate loads that restore the value of $gp after every
      function call, if the register allocator assigns a callee-saved register, or
      eliminate unnecessary loads if it assigns a temporary register. 
      
      example:
      
      .cpload $25       // set $gp.
      ...
      .cprestore 16     // store $gp to stack slot 16($sp).
      ...
      jalr $25          // function call. clobbers $gp.
      lw $gp, 16($sp)   // not emitted if callee-saved reg is chosen.
      ...
      lw $2, 4($gp)
      ...
      jalr $25          // function call.
      lw $gp, 16($sp)   // not emitted if $gp is not live after this instruction.
      ...
      
      llvm-svn: 151402
      b049aef2
  15. Feb 17, 2012
  16. Dec 20, 2011
  17. Oct 05, 2009
  18. Sep 14, 2009
  19. Sep 10, 2009
  20. Jul 20, 2009
  21. Jun 24, 2009
  22. Mar 14, 2009
  23. Mar 04, 2009
  24. Jan 01, 2009
    • Misha Brukman's avatar
      Original patch by Talin. · bcf15388
      Misha Brukman authored
      * Added the first LLVM unittest -- DenseMap.
      * Updated mkpatch utility to include llvm/unittests dir
      * Added top-level target "unittests" to run all unittests
      
      llvm-svn: 61541
      bcf15388
Loading