Skip to content
  1. Dec 01, 2016
    • Matthias Braun's avatar
      Move most EH from MachineModuleInfo to MachineFunction · d0ee66c2
      Matthias Braun authored
      Recommitting r288293 with some extra fixes for GlobalISel code.
      
      Most of the exception handling members in MachineModuleInfo is actually
      per function data (talks about the "current function") so it is better
      to keep it at the function instead of the module.
      
      This is a necessary step to have machine module passes work properly.
      
      Also:
      - Rename TidyLandingPads() to tidyLandingPads()
      - Use doxygen member groups instead of "//===- EH ---"... so it is clear
        where a group ends.
      - I had to add an ugly const_cast at two places in the AsmPrinter
        because the available MachineFunction pointers are const, but the code
        wants to call tidyLandingPads() in between
        (markFunctionEnd()/endFunction()).
      
      Differential Revision: https://reviews.llvm.org/D27227
      
      llvm-svn: 288405
      d0ee66c2
    • Benjamin Kramer's avatar
      Fix unused variable warning in Release builds. NFC. · 6a8704c1
      Benjamin Kramer authored
      llvm-svn: 288401
      6a8704c1
    • Greg Clayton's avatar
      This change removes the dependency on DwarfDebug that was used for... · 35630c33
      Greg Clayton authored
      This change removes the dependency on DwarfDebug that was used for DW_FORM_ref_addr by making a new DIEUnit class in DIE.cpp.
      
      The DIEUnit class represents a compile or type unit and it owns the unit DIE as an instance variable. This allows anyone with a DIE, to get the unit DIE, and then get back to its DIEUnit without adding any new ivars to the DIE class. Why was this needed? The DIE class has an Offset that is always the CU relative DIE offset, not the "offset in debug info section" as was commented in the header file (the comment has been corrected). This is great for performance because most DIE references are compile unit relative and this means most code that accessed the DIE's offset didn't need to make it into a compile unit relative offset because it already was. When we needed to emit a DW_FORM_ref_addr though, we needed to find the absolute offset of the DIE by finding the DIE's compile/type unit. This class did have the absolute debug info/type offset and could be added to the CU relative offset to compute the absolute offset. With this change we can easily get back to a DIE's DIEUnit which will have this needed offset. Prior to this is required having a DwarfDebug and required calling:
      
      DwarfCompileUnit *DwarfDebug::lookupUnit(const DIE *CU) const;
      Now we can use the DIEUnit class to do so without needing DwarfDebug. All clients now use DIEUnit objects (the DwarfDebug stack and the DwarfLinker). A follow on patch for the DWARF generator will also take advantage of this.
      
      Differential Revision: https://reviews.llvm.org/D27170
      
      llvm-svn: 288399
      35630c33
    • Nicolai Haehnle's avatar
      [SelectionDAG] Rename and clarify visitFMULForFMADCombine (NFC) · da7e4017
      Nicolai Haehnle authored
      Summary: Suggested by @spatel in D26602.
      
      Reviewers: spatel, hfinkel
      
      Subscribers: spatel, llvm-commits
      
      Differential Revision: https://reviews.llvm.org/D27260
      
      llvm-svn: 288336
      da7e4017
    • Eric Christopher's avatar
      Temporarily Revert "Move most EH from MachineModuleInfo to MachineFunction" · e70b7c3d
      Eric Christopher authored
      This apprears to have broken the global isel bot:
      http://lab.llvm.org:8080/green/job/clang-stage1-cmake-RA-globalisel_build/5174/console
      
      This reverts commit r288293.
      
      llvm-svn: 288322
      e70b7c3d
    • Kostya Serebryany's avatar
      revert r288283 as it causes debug info (line numbers) to be lost in... · b66cb88c
      Kostya Serebryany authored
      revert r288283 as it causes debug info (line numbers) to be lost in instrumented code. also revert r288299 which was a workaround for the problem.
      
      llvm-svn: 288300
      b66cb88c
    • Matthias Braun's avatar
      Move most EH from MachineModuleInfo to MachineFunction · ed14cb06
      Matthias Braun authored
      Most of the exception handling members in MachineModuleInfo is actually
      per function data (talks about the "current function") so it is better
      to keep it at the function instead of the module.
      
      This is a necessary step to have machine module passes work properly.
      
      Also:
      - Rename TidyLandingPads() to tidyLandingPads()
      - Use doxygen member groups instead of "//===- EH ---"... so it is clear
        where a group ends.
      - I had to add an ugly const_cast at two places in the AsmPrinter
        because the available MachineFunction pointers are const, but the code
        wants to call tidyLandingPads() in between
        (markFunctionEnd()/endFunction()).
      
      Differential Revision: https://reviews.llvm.org/D27227
      
      llvm-svn: 288293
      ed14cb06
    • Matthias Braun's avatar
      Move VariableDbgInfo from MachineModuleInfo to MachineFunction · ef331eff
      Matthias Braun authored
      VariableDbgInfo is per function data, so it makes sense to have it with
      the function instead of the module.
      
      This is a necessary step to have machine module passes work properly.
      
      Differential Revision: https://reviews.llvm.org/D27186
      
      llvm-svn: 288292
      ef331eff
    • Matthias Braun's avatar
      Move FrameInstructions from MachineModuleInfo to MachineFunction · f23ef437
      Matthias Braun authored
      This is per function data so it is better kept at the function instead
      of the module.
      
      This is a necessary step to have machine module passes work properly.
      
      Differential Revision: https://reviews.llvm.org/D27185
      
      llvm-svn: 288291
      f23ef437
  2. Nov 30, 2016
  3. Nov 29, 2016
  4. Nov 28, 2016
  5. Nov 25, 2016
  6. Nov 24, 2016
  7. Nov 23, 2016
  8. Nov 22, 2016
  9. Nov 21, 2016
Loading