Skip to content
  1. May 12, 2012
  2. May 01, 2012
  3. Mar 17, 2012
  4. 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
  5. Feb 17, 2012
  6. Feb 04, 2012
    • Andrew Trick's avatar
      TargetPassConfig: confine the MC configuration to TargetMachine. · f8ea108c
      Andrew Trick authored
      Passes prior to instructon selection are now split into separate configurable stages.
      Header dependencies are simplified.
      The bulk of this diff is simply removal of the silly DisableVerify flags.
      
      Sorry for the target header churn. Attempting to stabilize them.
      
      llvm-svn: 149754
      f8ea108c
  7. Feb 03, 2012
    • Andrew Trick's avatar
      Added TargetPassConfig. The first little step toward configuring codegen passes. · ccb67365
      Andrew Trick authored
      Allows command line overrides to be centralized in LLVMTargetMachine.cpp.
      LLVMTargetMachine can intercept common passes and give precedence to command line overrides.
      Allows adding "internal" target configuration options without touching TargetOptions.
      Encapsulates the PassManager.
      Provides a good point to initialize all CodeGen passes so that Pass ID's can be used in APIs.
      Allows modifying the target configuration hooks without rebuilding the world.
      
      llvm-svn: 149672
      ccb67365
  8. Dec 20, 2011
  9. 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
  10. Nov 16, 2011
  11. Oct 17, 2011
  12. Oct 14, 2011
  13. Sep 27, 2011
  14. Sep 21, 2011
  15. Aug 24, 2011
  16. Jul 21, 2011
  17. Jul 20, 2011
  18. Jul 19, 2011
  19. Jul 15, 2011
  20. Jul 08, 2011
    • Evan Cheng's avatar
      Eliminate asm parser's dependency on TargetMachine: · 4d1ca96b
      Evan Cheng authored
      - Each target asm parser now creates its own MCSubtatgetInfo (if needed).
      - Changed AssemblerPredicate to take subtarget features which tablegen uses
        to generate asm matcher subtarget feature queries. e.g.
        "ModeThumb,FeatureThumb2" is translated to
        "(Bits & ModeThumb) != 0 && (Bits & FeatureThumb2) != 0".
      
      llvm-svn: 134678
      4d1ca96b
  21. Jun 30, 2011
  22. May 19, 2011
  23. May 04, 2011
  24. Apr 15, 2011
  25. Jan 10, 2011
  26. Nov 15, 2010
  27. May 11, 2010
  28. Jan 20, 2010
  29. Jan 19, 2010
  30. Dec 21, 2009
  31. Nov 07, 2009
  32. Aug 22, 2009
  33. Aug 12, 2009
  34. Aug 11, 2009
  35. Aug 03, 2009
    • Eli Friedman's avatar
      Remove -disable-mips-abicall and -enable-mips-absolute-call command-line · 57c11da8
      Eli Friedman authored
      options, which don't appear to be useful.  -enable-mips-absolute-call is
      completely unused (and unless I'm mistaken, is supposed to have the 
      same effect that -relocation-model=dynamic-no-pic should have), 
      and -disable-mips-abicall appears to be effectively a 
      synonym for -relocation-model=static. Adjust the few users of hasABICall
      to checks which seem more appropriate.  Update MipsSubtarget, 
      MipsTargetMachine, and MipselTargetMachine to synchronize with recent 
      changes.
      
      llvm-svn: 77938
      57c11da8
Loading