Skip to content
  1. Feb 25, 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
    • Jia Liu's avatar
      comment fix · 683f8fff
      Jia Liu authored
      llvm-svn: 151341
      683f8fff
    • Jia Liu's avatar
      some comment fix · 74aa025d
      Jia Liu authored
      llvm-svn: 151340
      74aa025d
    • Jia Liu's avatar
      replace a balnk with - · 9d2d2adc
      Jia Liu authored
      llvm-svn: 151337
      9d2d2adc
    • Jia Liu's avatar
      80 columns of Mips InstPrinter Makefile · 19b0c824
      Jia Liu authored
      llvm-svn: 151332
      19b0c824
  3. Feb 22, 2012
  4. Feb 19, 2012
  5. Feb 17, 2012
  6. Feb 16, 2012
  7. Feb 07, 2012
  8. Feb 05, 2012
  9. 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
  10. 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
    • Akira Hatanaka's avatar
      Add a new MachineJumpTableInfo entry type, EK_GPRel64BlockAddress, which is · f0b08445
      Akira Hatanaka authored
      needed to emit a 64-bit gp-relative relocation entry. Make changes necessary
      for emitting jump tables which have entries with directive .gpdword. This patch
      does not implement the parts needed for direct object emission or JIT.
      
      llvm-svn: 149668
      f0b08445
  11. Feb 02, 2012
  12. Jan 28, 2012
  13. Jan 25, 2012
  14. Jan 24, 2012
  15. Jan 20, 2012
  16. Jan 19, 2012
  17. Jan 18, 2012
    • Jim Grosbach's avatar
      Tidy up. MCAsmBackend naming conventions. · aba3de99
      Jim Grosbach authored
      llvm-svn: 148400
      aba3de99
    • Jakob Stoklund Olesen's avatar
      Add a CoveredBySubRegs property to Register descriptions. · f43b5995
      Jakob Stoklund Olesen authored
      When set, this bit indicates that a register is completely defined by
      the value of its sub-registers.
      
      Use the CoveredBySubRegs property to infer which super-registers are
      call-preserved given a list of callee-saved registers.  For example, the
      ARM registers D8-D15 are callee-saved.  This now automatically implies
      that Q4-Q7 are call-preserved.
      
      Conversely, Win64 callees save XMM6-XMM15, but the corresponding
      YMM6-YMM15 registers are not call-preserved because they are not fully
      defined by their sub-registers.
      
      llvm-svn: 148363
      f43b5995
  18. Jan 17, 2012
    • David Blaikie's avatar
      Removing unused default switch cases in switches over enums that already... · 486df738
      David Blaikie authored
      Removing unused default switch cases in switches over enums that already account for all enumeration values explicitly.
      
      (This time I believe I've checked all the -Wreturn-type warnings from GCC & added the couple of llvm_unreachables necessary to silence them. If I've missed any, I'll happily fix them as soon as I know about them)
      
      llvm-svn: 148262
      486df738
Loading