Skip to content
  1. Apr 15, 2011
  2. Jul 15, 2010
  3. Jan 26, 2010
    • Chris Lattner's avatar
      Eliminate SetDirective, and replace it with HasSetDirective. · ff234e09
      Chris Lattner authored
      Default HasSetDirective to true, since most targets have it.
      
      The targets that claim to not have it probably do, or it is
      spelled differently. These include Blackfin, Mips, Alpha, and
      PIC16.  All of these except pic16 are normal ELF targets, so
      they almost certainly have it.
      
      llvm-svn: 94585
      ff234e09
  4. Jan 25, 2010
  5. Jan 20, 2010
  6. Jan 19, 2010
  7. Aug 23, 2009
  8. Aug 22, 2009
  9. Aug 12, 2009
  10. Aug 11, 2009
  11. 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
  12. Aug 02, 2009
  13. Jul 28, 2009
    • Chris Lattner's avatar
      Rip all of the global variable lowering logic out of TargetAsmInfo. Since · 5e693ed0
      Chris Lattner authored
      it is highly specific to the object file that will be generated in the end,
      this introduces a new TargetLoweringObjectFile interface that is implemented
      for each of ELF/MachO/COFF/Alpha/PIC16 and XCore.
      
      Though still is still a brutal and ugly refactoring, this is a major step
      towards goodness.
      
      This patch also:
      1. fixes a bunch of dangling pointer problems in the PIC16 backend.
      2. disables the TargetLowering copy ctor which PIC16 was accidentally using.
      3. gets us closer to xcore having its own crazy target section flags and
         pic16 not having to shadow sections with its own objects.
      4. fixes wierdness where ELF targets would set CStringSection but not
         CStringSection_.  Factor the code better.
      5. fixes some bugs in string lowering on ELF targets.
      
      llvm-svn: 77294
      5e693ed0
  14. Jul 27, 2009
  15. Jul 26, 2009
  16. Jul 24, 2009
  17. Jul 23, 2009
  18. May 09, 2009
  19. Mar 07, 2009
    • Duncan Sands's avatar
      Introduce new linkage types linkonce_odr, weak_odr, common_odr · 12da8ce3
      Duncan Sands authored
      and extern_weak_odr.  These are the same as the non-odr versions,
      except that they indicate that the global will only be overridden
      by an *equivalent* global.  In C, a function with weak linkage can
      be overridden by a function which behaves completely differently.
      This means that IP passes have to skip weak functions, since any
      deductions made from the function definition might be wrong, since
      the definition could be replaced by something completely different
      at link time.   This is not allowed in C++, thanks to the ODR
      (One-Definition-Rule): if a function is replaced by another at
      link-time, then the new function must be the same as the original
      function.  If a language knows that a function or other global can
      only be overridden by an equivalent global, it can give it the
      weak_odr linkage type, and the optimizers will understand that it
      is alright to make deductions based on the function body.  The
      code generators on the other hand map weak and weak_odr linkage
      to the same thing.
      
      llvm-svn: 66339
      12da8ce3
  20. Jan 12, 2009
  21. Nov 03, 2008
  22. Sep 29, 2008
  23. Sep 25, 2008
  24. Aug 08, 2008
  25. Aug 07, 2008
  26. Aug 05, 2008
  27. Jul 30, 2008
  28. Jul 28, 2008
  29. Jul 23, 2008
  30. Jul 22, 2008
  31. Jul 21, 2008
Loading