Skip to content
  1. Nov 17, 2009
  2. Nov 16, 2009
  3. Nov 15, 2009
  4. Nov 14, 2009
  5. Nov 13, 2009
  6. Nov 12, 2009
    • David Greene's avatar
      · be851acf
      David Greene authored
      Make the MachineFunction argument of getFrameRegister const.
      
      This also fixes a build error.
      
      llvm-svn: 87027
      be851acf
    • David Greene's avatar
      · 70fdd57d
      David Greene authored
      Add hasLoadFromStackSlot and hasStoreToStackSlot to return whether a
      machine instruction loads or stores from/to a stack slot.  Unlike
      isLoadFromStackSlot and isStoreFromStackSlot, the instruction may be
      something other than a pure load/store (e.g. it may be an arithmetic
      operation with a memory operand).  This helps AsmPrinter determine when
      to print a spill/reload comment.
      
      This is only a hint since we may not be able to figure this out in all
      cases.  As such, it should not be relied upon for correctness.
      
      Implement for X86.  Return false by default for other architectures.
      
      llvm-svn: 87026
      70fdd57d
    • David Greene's avatar
      · 1fbe0544
      David Greene authored
      Add a bool flag to StackObjects telling whether they reference spill
      slots.  The AsmPrinter will use this information to determine whether to
      print a spill/reload comment.
      
      Remove default argument values.  It's too easy to pass a wrong argument
      value when multiple arguments have default values.  Make everything
      explicit to trap bugs early.
      
      Update all targets to adhere to the new interfaces..
      
      llvm-svn: 87022
      1fbe0544
    • Benjamin Kramer's avatar
      Add compare_lower and equals_lower methods to StringRef. Switch all users of · 68e4945c
      Benjamin Kramer authored
      StringsEqualNoCase (from StringExtras.h) to it.
      
      llvm-svn: 87020
      68e4945c
Loading