Skip to content
  1. Mar 14, 2011
  2. Mar 12, 2011
  3. Mar 11, 2011
  4. Mar 10, 2011
  5. Mar 08, 2011
  6. Mar 07, 2011
  7. Mar 05, 2011
  8. Mar 03, 2011
  9. Mar 02, 2011
  10. Mar 01, 2011
  11. Feb 28, 2011
  12. Feb 26, 2011
    • Bill Wendling's avatar
      A new TableGen feature! (Not turned on just yet.) · 31ca7efa
      Bill Wendling authored
         InstAlias<{alias}, {aliasee}>;
      
      The InstAlias instruction should be able to go from the MCInst to the
      {alias}. All of the information is there to match the MCInst with the
      {aliasee}. From there, it's a simple matter to emit the {alias}, with the
      correct operands from the {aliasee}.
      
      The code this patch generates can be used by the InstPrinter to automatically
      print out the alias without having to write special C++ code to handle the
      situation.
      
      This is a WIP, and therefore are several limitations. For instance, it cannot
      handle AsmOperands at the moment. It also doesn't know what to do when two
      {alias}es match the same {aliasee}. (Currently, it just ignores those two cases
      and allows the printInstruction method to handle them.)
      
      llvm-svn: 126538
      31ca7efa
Loading