Skip to content
  1. 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
  2. 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
  3. Nov 02, 2012
  4. Oct 08, 2012
  5. Aug 02, 2012
  6. Aug 01, 2012
  7. Jul 31, 2012
  8. Jul 25, 2012
  9. Jul 24, 2012
  10. Jul 21, 2012
  11. Jul 11, 2012
  12. Jul 10, 2012
  13. Jun 27, 2012
  14. Jun 21, 2012
  15. Jun 14, 2012
  16. May 30, 2012
  17. May 12, 2012
  18. Apr 20, 2012
  19. Mar 28, 2012
    • Akira Hatanaka's avatar
      Emit all directives except for ".cprestore" during asm printing rather than emit · 34ee3ff8
      Akira Hatanaka authored
      them as machine instructions. Directives ".set noat" and ".set at" are now
      emitted only at the beginning and end of a function except in the case where
      they are emitted to enclose .cpload with an immediate operand that doesn't fit
      in 16-bit field or unaligned load/stores.
      
      Also, make the following changes:
      - Remove function isUnalignedLoadStore and use a switch-case statement to
        determine whether an instruction is an unaligned load or store.
      
      - Define helper function CreateMCInst which generates an instance of an MCInst
        from an opcode and a list of operands.
      
      llvm-svn: 153552
      34ee3ff8
  20. Mar 17, 2012
  21. Mar 05, 2012
  22. Feb 28, 2012
  23. 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
  24. Feb 17, 2012
  25. Jan 25, 2012
  26. Dec 02, 2011
    • Nick Lewycky's avatar
      Move global variables in TargetMachine into new TargetOptions class. As an API · 50f02cb2
      Nick Lewycky authored
      change, now you need a TargetOptions object to create a TargetMachine. Clang
      patch to follow.
      
      One small functionality change in PTX. PTX had commented out the machine
      verifier parts in their copy of printAndVerify. That now calls the version in
      LLVMTargetMachine. Users of PTX who need verification disabled should rely on
      not passing the command-line flag to enable it.
      
      llvm-svn: 145714
      50f02cb2
  27. Nov 15, 2011
  28. Nov 14, 2011
  29. Nov 11, 2011
  30. Nov 07, 2011
  31. Aug 12, 2011
  32. Jul 19, 2011
  33. Jun 07, 2011
    • Akira Hatanaka's avatar
      Coding style fixes. · 15506787
      Akira Hatanaka authored
      - Fix indentation.
      - Move comments.
      - Fit lines in 80 columns.
      - Remove dead code.
      
      llvm-svn: 132724
      15506787
    • Akira Hatanaka's avatar
      Add test case for C++ exception handling and fix the following mistakes in... · 08b7a779
      Akira Hatanaka authored
      Add test case for C++ exception handling and fix the following mistakes in MipsFrameLowering::emitPrologue:
      
      - cfi directives are not inserted at the right location or in the right order.
      - The source MachineLocation for the cfi directive that changes the cfa register
        to $fp should be MachineLocation::VirtualFP.
      - A PROLOG_LABEL that marks the beginning of cfi_offset directives for
        callee-saved register is emitted even when no callee-saved registers are
        saved.
      - When a callee-saved double precision register is saved, two cfi_offset
        directives, one for each of the paired single precision registers, should be
        emitted.
       
       
      
      llvm-svn: 132703
      08b7a779
Loading