Skip to content
  1. Sep 27, 2009
  2. Sep 26, 2009
  3. Sep 25, 2009
    • Evan Cheng's avatar
      fd6aad7f
    • Dan Gohman's avatar
      Improve MachineMemOperand handling. · 48b185d6
      Dan Gohman authored
       - Allocate MachineMemOperands and MachineMemOperand lists in MachineFunctions.
         This eliminates MachineInstr's std::list member and allows the data to be
         created by isel and live for the remainder of codegen, avoiding a lot of
         copying and unnecessary translation. This also shrinks MemSDNode.
       - Delete MemOperandSDNode. Introduce MachineSDNode which has dedicated
         fields for MachineMemOperands.
       - Change MemSDNode to have a MachineMemOperand member instead of its own
         fields with the same information. This introduces some redundancy, but
         it's more consistent with what MachineInstr will eventually want.
       - Ignore alignment when searching for redundant loads for CSE, but remember
         the greatest alignment.
      
      Target-specific code which previously used MemOperandSDNodes with generic
      SDNodes now use MemIntrinsicSDNodes, with opcodes in a designated range
      so that the SelectionDAG framework knows that MachineMemOperand information
      is available.
      
      llvm-svn: 82794
      48b185d6
    • Dan Gohman's avatar
      Rename getTargetNode to getMachineNode, for consistency with the · 32f71d71
      Dan Gohman authored
      naming scheme used in SelectionDAG, where there are multiple kinds
      of "target" nodes, but "machine" nodes are nodes which represent
      a MachineInstr.
      
      llvm-svn: 82790
      32f71d71
    • David Goodwin's avatar
      Finish scheduling itineraries for NEON. · bea6848f
      David Goodwin authored
      llvm-svn: 82788
      bea6848f
    • Bob Wilson's avatar
      Add some comments to clarify things that I discovered this week. · f7fe0132
      Bob Wilson authored
      llvm-svn: 82773
      f7fe0132
    • Bob Wilson's avatar
      pr4926: ARM requires the stack pointer to be aligned, even for leaf functions. · d60367c1
      Bob Wilson authored
      For the AAPCS ABI, SP must always be 4-byte aligned, and at any "public
      interface" it must be 8-byte aligned.  For the older ARM APCS ABI, the stack
      alignment is just always 4 bytes.  For X86, we currently align SP at
      entry to a function (e.g., to 16 bytes for Darwin), but no stack alignment
      is needed at other times, such as for a leaf function.
      
      After discussing this with Dan, I decided to go with the approach of adding
      a new "TransientStackAlignment" field to TargetFrameInfo.  This value
      specifies the stack alignment that must be maintained even in between calls.
      It defaults to 1 except for ARM, where it is 4.  (Some other targets may
      also want to set this if they have similar stack requirements. It's not
      currently required for PPC because it sets targetHandlesStackFrameRounding
      and handles the alignment in target-specific code.) The existing StackAlignment
      value specifies the alignment upon entry to a function, which is how we've
      been using it anyway.
      
      llvm-svn: 82767
      d60367c1
    • Jim Grosbach's avatar
      Start of revamping the register scavenging in PEI. ARM Thumb1 is the driving · 372e9a38
      Jim Grosbach authored
      interest for this, as it currently reserves a register rather than using
      the scavenger for matierializing constants as needed.
      
      Instead of scavenging registers on the fly while eliminating frame indices,
      new virtual registers are created, and then a scavenged collectively in a
      post-pass over the function. This isolates the bits that need to interact
      with the scavenger, and sets the stage for more intelligent use, and reuse,
      of scavenged registers.
      
      For the time being, this is disabled by default. Once the bugs are worked out,
      the current scavenging calls in replaceFrameIndices() will be removed and
      the post-pass scavenging will be the default. Until then,
      -enable-frame-index-scavenging enables the new code. Currently, only the
      Thumb1 back end is set up to use it.
      
      llvm-svn: 82734
      372e9a38
  4. Sep 24, 2009
  5. Sep 23, 2009
  6. Sep 21, 2009
  7. Sep 19, 2009
  8. Sep 18, 2009
  9. Sep 16, 2009
  10. Sep 15, 2009
  11. Sep 14, 2009
  12. Sep 13, 2009
  13. Sep 11, 2009
  14. Sep 10, 2009
Loading