Skip to content
  1. Apr 23, 2009
    • David Greene's avatar
      · 196ac3c6
      David Greene authored
      Make BinOps typed and require a type specifier for !nameconcat.  This
      allows binops to be used in typed contexts such as when passing
      arguments to classes.
      
      llvm-svn: 69921
      196ac3c6
  2. Apr 22, 2009
    • David Greene's avatar
      · a9c6c5d3
      David Greene authored
      Implement !nameconcat to concatenate strings and look up the resulting
      name in the symbol table, returning an object.
      
      llvm-svn: 69822
      a9c6c5d3
  3. Mar 19, 2009
  4. 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
  5. Oct 22, 2008
  6. 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
  7. Sep 11, 2008
  8. Aug 26, 2008
  9. Jul 07, 2008
  10. Mar 25, 2008
  11. Jan 22, 2008
  12. Jan 21, 2008
  13. Dec 29, 2007
  14. Nov 22, 2007
  15. Nov 20, 2007
  16. Nov 11, 2007
  17. May 15, 2007
  18. Feb 27, 2007
  19. Dec 07, 2006
  20. Aug 28, 2006
  21. Mar 31, 2006
  22. Jan 31, 2006
  23. Oct 29, 2005
  24. Oct 28, 2005
  25. Sep 13, 2005
  26. Aug 19, 2005
  27. Apr 22, 2005
  28. Apr 19, 2005
  29. 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
  30. Oct 27, 2004
Loading