Skip to content
  1. Jul 22, 2011
    • Chandler Carruth's avatar
      Move TargetRegistry.cpp from lib/Support to lib/Target where it belongs. · 43025a08
      Chandler Carruth authored
      The header file was already properly located. The previous need for it
      in Support had to do with the version string printing which was fixed in
      r135757.
      
      Also update build dependencies where libraries that needed the
      functionality of the Target library (in the form of the TargetRegistry)
      were picking it up via Support. This is pretty pervasive, essentially
      every TargetInfo library (ARMInfo, etc) uses TargetRegistry, making it
      depend on Target. All of these were previously just sneaking by.
      
      llvm-svn: 135760
      43025a08
    • Chandler Carruth's avatar
      Move the registered target printing in version strings completely out of · 2d71c421
      Chandler Carruth authored
      the Support library. Now its part of the TargetRegistry, and the three
      commands that care about this explicitly register this extra bit of
      version information.
      
      The set of commands which care was computed by intersecting those which
      use the Support library's version string printing and those that
      initialize all the registered targets in a way that produces
      a meaningful list. The only odd ball out is that 'clang -cc1as -version'
      no longer prints the registered targets. I don't think anyone is really
      interested in that (especially as the fact that llvm-mc does so is under
      a FIXME), but if someone really does want this back I'll happily apply
      the same patch there.
      
      llvm-svn: 135757
      2d71c421
    • Chandler Carruth's avatar
      Move the logic for printing the registered targets into a static · 2baac02c
      Chandler Carruth authored
      function on the TargetRegistry. Also clean it up and use the modern LLVM
      utility libraries available instead of rolling a few things manually.
      
      llvm-svn: 135756
      2baac02c
    • Chandler Carruth's avatar
      Add an extension point to the CommandLine library where clients can · ea7e5527
      Chandler Carruth authored
      register extra version information to be printed. This is designed to
      allow those tools which link in various targets to also print those
      registered targets under --version.
      
      Currently this printing logic is embedded into the Support library
      directly; a huge layering violation. This is the first step to hoisting
      it out into the tools without adding lots of duplicated code.
      
      llvm-svn: 135755
      ea7e5527
    • NAKAMURA Takumi's avatar
      lib/Support/Triple.cpp: Recognize "-march=ppc32" to llc properly, as quick hack. · af8d50dd
      NAKAMURA Takumi authored
      FIXME: There is an inconsistency. llvm::Triple does not understand "ppc32" and PowerPC/TargetInfo holds "ppc32".
      llvm-svn: 135745
      af8d50dd
  2. Jul 21, 2011
  3. Jul 18, 2011
  4. Jul 15, 2011
  5. Jul 09, 2011
  6. Jul 07, 2011
  7. Jul 06, 2011
  8. Jul 05, 2011
  9. Jul 02, 2011
  10. Jun 22, 2011
  11. Jun 15, 2011
    • Ted Kremenek's avatar
      add option for literal formatting to APInt::toString() · b05f02e9
      Ted Kremenek authored
      toString() now takes an optional bool argument that,
      depending on the radix, adds the appropriate prefix
      to the integer's string representation that makes it into a
      meaningful C literal, e.g.:
      
      hexademical: '-f' becomes '-0xf'
      octal: '77' becomes '077'
      binary: '110' becomes '0b110'
      
      Patch by nobled@dreamwidth.org!
      
      llvm-svn: 133032
      b05f02e9
  12. Jun 13, 2011
  13. Jun 11, 2011
  14. Jun 09, 2011
  15. Jun 03, 2011
  16. Jun 01, 2011
  17. May 29, 2011
  18. May 22, 2011
  19. May 21, 2011
  20. May 20, 2011
  21. May 19, 2011
  22. May 18, 2011
  23. May 17, 2011
Loading