Skip to content
  1. Oct 05, 2009
  2. Oct 01, 2009
    • Devang Patel's avatar
      Use MachineInstr as an processDebugLoc() argument. · e0709cfc
      Devang Patel authored
      This will allow processDebugLoc() to handle scopes for DWARF debug info. 
      
      llvm-svn: 83183
      e0709cfc
    • Bob Wilson's avatar
      Add a new virtual EmitStartOfAsmFile method to the AsmPrinter and use this · b633d7a6
      Bob Wilson authored
      to emit target-specific things at the beginning of the asm output.  This
      fixes a problem for PPC, where the text sections are not being kept together
      as expected.  The base class doInitialization code calls DW->BeginModule()
      which emits a bunch of DWARF section directives.  The PPC doInitialization
      code then emits all the TEXT section directives, with the intention that they
      will be kept together. But as I understand it, the Darwin assembler treats
      the default TEXT section as a special case and moves it to the beginning of
      the file, which means that all those DWARF sections are in the middle of
      the text.  With this change, the EmitStartOfAsmFile hook is called before
      the DWARF section directives are emitted, so that all the PPC text section
      directives come out right at the beginning of the file.
      
      llvm-svn: 83176
      b633d7a6
  3. Sep 25, 2009
  4. Sep 19, 2009
  5. Sep 18, 2009
  6. Sep 13, 2009
  7. 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
  8. Sep 02, 2009
  9. Sep 01, 2009
    • Bruno Cardoso Lopes's avatar
      Reapply 80278 · 0f20a5b3
      Bruno Cardoso Lopes authored
      Add MO flags to simplify the printing of relocations.
      Remove the support for printing large code model relocs (which
      aren't supported anyway).
      
      llvm-svn: 80691
      0f20a5b3
  10. Aug 31, 2009
  11. Aug 27, 2009
  12. Aug 23, 2009
  13. Aug 22, 2009
  14. Aug 19, 2009
  15. Aug 13, 2009
  16. Aug 12, 2009
  17. Aug 11, 2009
  18. Aug 10, 2009
  19. Aug 08, 2009
  20. 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
  21. Aug 03, 2009
Loading