Skip to content
  1. Jan 12, 2013
    • Jakob Stoklund Olesen's avatar
      Limit the search space in RAGreedy::tryEvict(). · 3dd236cd
      Jakob Stoklund Olesen authored
      When tryEvict() is looking for a cheaper register in the allocation
      order, skip the tail of too expensive registers when possible.
      
      llvm-svn: 172281
      3dd236cd
    • Jakob Stoklund Olesen's avatar
      Precompute some information about register costs. · 8f644449
      Jakob Stoklund Olesen authored
      Remember the minimum cost of the registers in an allocation order and
      the number of registers at the end of the allocation order that have the
      same cost per use.
      
      This information can be used to limit the search space for
      RAGreedy::tryEvict() when looking for a cheaper register.
      
      llvm-svn: 172280
      8f644449
    • Eli Bendersky's avatar
      Stop hiding the interface-exposed EatToEndOfStatement (see r172276). · 03872a3a
      Eli Bendersky authored
      llvm-svn: 172277
      03872a3a
    • Eli Bendersky's avatar
      Make ParseIdentifier a public method instead of private. · 0cf0cb92
      Eli Bendersky authored
      The MCAsmParser interface defines ParseIdentifier is public. There's no reason
      whatsoever for AsmParser (which implements the MCAsmParser interface) to hide
      this method.
      
      This is all part of a bigger scheme. Several asm parsing "extensions" use the
      main parser properly through the MCAsmParser interface. However,
      GenericAsmParser has much more exclusive access and uses implementation details
      from the concrete implementation - AsmParser, in which it is also declared as
      a friend. This makes for overly coupled code, and even makes it hard to split
      GenericAsmParser into a separate file. There's no reason why GenericAsmParser
      shouldn't be able to access AsmParser through an abstract interface, as long
      as it's actually registered as an extension.
      
      llvm-svn: 172276
      0cf0cb92
    • Michael Gottesman's avatar
      Fixed whitespace. · 2a654272
      Michael Gottesman authored
      llvm-svn: 172271
      2a654272
  2. Jan 11, 2013
Loading