Skip to content
  1. Feb 28, 2012
  2. 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
  3. Feb 17, 2012
  4. Jan 25, 2012
  5. 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
  6. Nov 15, 2011
  7. Nov 14, 2011
  8. Nov 11, 2011
  9. Nov 07, 2011
  10. Aug 12, 2011
  11. Jul 19, 2011
  12. 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
  13. Jun 02, 2011
  14. May 26, 2011
  15. May 25, 2011
  16. May 24, 2011
  17. May 23, 2011
    • Akira Hatanaka's avatar
      Change StackDirection from StackGrowsUp to StackGrowsDown. · f9e5750f
      Akira Hatanaka authored
      The following improvements are accomplished as a result of applying this patch:
      - Fixed frame objects' offsets (relative to either the virtual frame pointer or
        the stack pointer) are set before instruction selection is completed. There is
        no need to wait until Prologue/Epilogue Insertion is run to set them.
      - Calculation of final offsets of fixed frame objects is straightforward. It is
        no longer necessary to assign negative offsets to fixed objects for incoming
        arguments in order to distinguish them from the others.
      - Since a fixed object has its relative offset set during instruction
        selection, there is no need to conservatively set its alignment to 4.
      - It is no longer necessary to reorder non-fixed frame objects in 
        MipsFrameLowering::adjustMipsStackFrame.
      
      llvm-svn: 131915
      f9e5750f
  18. May 21, 2011
  19. May 20, 2011
  20. Apr 15, 2011
  21. Apr 07, 2011
  22. Mar 04, 2011
  23. Jan 18, 2011
  24. Jan 13, 2011
  25. Jan 10, 2011
  26. Nov 18, 2010
  27. Nov 15, 2010
  28. Aug 27, 2010
  29. Jun 02, 2010
  30. May 14, 2010
Loading