Skip to content
  1. Mar 19, 2009
  2. Mar 13, 2009
    • Ted Kremenek's avatar
      Further constify Record::isSubClassOf. · 58e32877
      Ted Kremenek authored
      llvm-svn: 66970
      58e32877
    • Chris Lattner's avatar
      add a new TGError class and use it to propagate location info with · ba42e49c
      Chris Lattner authored
      errors when thrown.  This gets us nice errors like this from tblgen:
      
      CMOVL32rr: 	(set GR32:i32:$dst, (X86cmov GR32:$src1, GR32:$src2))
      /Users/sabre/llvm/Debug/bin/tblgen: error:
      Included from X86.td:116:
      Parsing X86InstrInfo.td:922: In CMOVL32rr: X86cmov node requires exactly 4 operands!
      def CMOVL32rr : I<0x4C, MRMSrcReg,       // if <s, GR32 = GR32
      ^
      
      instead of just:
      
      CMOVL32rr: 	(set GR32:i32:$dst, (X86cmov GR32:$src1, GR32:$src2))
      /Users/sabre/llvm/Debug/bin/tblgen: In CMOVL32rr: X86cmov node requires exactly 4 operands!
      
      This is all I plan to do with this, but it should be easy enough to improve if anyone 
      cares (e.g. keeping more loc info in "dag" expr records in tblgen.
      
      llvm-svn: 66898
      ba42e49c
    • Chris Lattner's avatar
      give each Record a location. · bd9b9210
      Chris Lattner authored
      llvm-svn: 66897
      bd9b9210
  3. Oct 22, 2008
  4. Oct 17, 2008
    • Dan Gohman's avatar
      Fun x86 encoding tricks: when adding an immediate value of 128, · ca0546fa
      Dan Gohman authored
      use a SUB instruction instead of an ADD, because -128 can be
      encoded in an 8-bit signed immediate field, while +128 can't be.
      This avoids the need for a 32-bit immediate field in this case.
      
      A similar optimization applies to 64-bit adds with 0x80000000,
      with the 32-bit signed immediate field.
      
      To support this, teach tablegen how to handle 64-bit constants.
      
      llvm-svn: 57663
      ca0546fa
  5. Sep 11, 2008
  6. Aug 26, 2008
  7. Jul 07, 2008
  8. Mar 25, 2008
  9. Jan 22, 2008
  10. Jan 21, 2008
  11. Dec 29, 2007
  12. Nov 22, 2007
  13. Nov 20, 2007
  14. Nov 11, 2007
  15. May 15, 2007
  16. Feb 27, 2007
  17. Dec 07, 2006
  18. Aug 28, 2006
  19. Mar 31, 2006
  20. Jan 31, 2006
  21. Oct 29, 2005
  22. Oct 28, 2005
  23. Sep 13, 2005
  24. Aug 19, 2005
  25. Apr 22, 2005
  26. Apr 19, 2005
  27. Dec 07, 2004
    • Reid Spencer's avatar
      For PR387: · 1c48c2de
      Reid Spencer authored
      Make this compile without warning when -Woverloaded-virtual is used.
      
      llvm-svn: 18588
      1c48c2de
  28. Oct 27, 2004
  29. Oct 23, 2004
  30. Jul 27, 2004
Loading