Skip to content
  1. Sep 15, 2009
  2. Sep 13, 2009
  3. Sep 10, 2009
    • Chris Lattner's avatar
      remove DebugLoc from MCInst and eliminate "Comment printing" from · 321bc99a
      Chris Lattner authored
      the MCInst path of the asmprinter.  Instead, pull comment printing
      out of the autogenerated asmprinter into each target that uses the
      autogenerated asmprinter.  This causes code duplication into each
      target, but in a way that will be easier to clean up later when more
      asmprinter stuff is commonized into the base AsmPrinter class.
      
      This also fixes an xcore strangeness where it inserted two tabs
      before every instruction.
      
      llvm-svn: 81396
      321bc99a
  4. Sep 09, 2009
    • Chris Lattner's avatar
      hoist the call to processDebugLoc out of the generated · 716a8c92
      Chris Lattner authored
      asm printer into the "printInstruction" routine.  This
      fixes a problem where the experimental asmprinter would
      drop debug labels in some cases, and fixes issues on ppc/xcore
      where pseudo instructions like "mr" didn't get debug locs properly.
      
      It is annoying that this moves the call from one place into each
      target, but a future set of more invasive refactorings will fix
      that problem.
      
      llvm-svn: 81377
      716a8c92
  5. Sep 08, 2009
  6. Sep 02, 2009
  7. Aug 31, 2009
  8. Aug 26, 2009
  9. Aug 23, 2009
  10. Aug 22, 2009
  11. Aug 19, 2009
  12. Aug 12, 2009
  13. Aug 11, 2009
  14. Aug 08, 2009
  15. Aug 07, 2009
  16. Aug 05, 2009
    • Devang Patel's avatar
      Remove dead code. MDNode and MDString are not Constant anymore. · 44c44178
      Devang Patel authored
      llvm-svn: 78207
      44c44178
    • Dan Gohman's avatar
      Major calling convention code refactoring. · f9bbcd1a
      Dan Gohman authored
      Instead of awkwardly encoding calling-convention information with ISD::CALL,
      ISD::FORMAL_ARGUMENTS, ISD::RET, and ISD::ARG_FLAGS nodes, TargetLowering
      provides three virtual functions for targets to override:
      LowerFormalArguments, LowerCall, and LowerRet, which replace the custom
      lowering done on the special nodes. They provide the same information, but
      in a more immediately usable format.
      
      This also reworks much of the target-independent tail call logic. The
      decision of whether or not to perform a tail call is now cleanly split
      between target-independent portions, and the target dependent portion
      in IsEligibleForTailCallOptimization.
      
      This also synchronizes all in-tree targets, to help enable future
      refactoring and feature work.
      
      llvm-svn: 78142
      f9bbcd1a
  17. Aug 03, 2009
  18. Aug 02, 2009
  19. Jul 31, 2009
  20. Jul 29, 2009
  21. Jul 28, 2009
    • Devang Patel's avatar
      Rename MDNode.h header. It defines MDnode and other metadata classes. · a4f43fb5
      Devang Patel authored
      New name is Metadata.h.
      
      llvm-svn: 77370
      a4f43fb5
    • 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
  22. Jul 27, 2009
Loading