Skip to content
  1. Aug 05, 2009
    • 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
    • Evan Cheng's avatar
    • Dan Gohman's avatar
      Various comment fixes. · 5d79a2c6
      Dan Gohman authored
      llvm-svn: 78139
      5d79a2c6
  2. Aug 04, 2009
  3. Aug 03, 2009
  4. Aug 02, 2009
  5. Aug 01, 2009
    • Chris Lattner's avatar
      Change SectionKind to be a property that is true of a *section*, it · c9c277ba
      Chris Lattner authored
      should have no state that is specific to particular globals in the
      section.  In this case, it means the removal of the "isWeak" and
      "ExplicitSection" bits.  MCSection uses the new form of SectionKind.
      
      To handle isWeak, I introduced a new SectionInfo class, which is
      SectionKind + isWeak, and it is used by the part of the code generator
      that does classification of a specific global.
      
      The ExplicitSection disappears.  It is moved onto MCSection as a new
      "IsDirective" bit.  Since the Name of a section is either a section
      or directive, it makes sense to keep this bit in MCSection.  Ultimately
      the creator of MCSection should canonicalize (e.g.) .text to whatever
      the actual section is.
      
      llvm-svn: 77803
      c9c277ba
    • Dan Gohman's avatar
      Print the target flags as an int instead of a char, as they aren't · 3a9b9a59
      Dan Gohman authored
      actually characters.
      
      llvm-svn: 77794
      3a9b9a59
Loading