Skip to content
  1. Feb 05, 2008
  2. Jan 30, 2008
  3. Jan 22, 2008
  4. Jan 17, 2008
    • Nate Begeman's avatar
      Implement basic overload support via a new builtin, __builtin_overload. · 1e36a85f
      Nate Begeman authored
      __builtin_overload takes 2 or more arguments:
      0) a non-zero constant-expr for the number of arguments the overloaded 
         functions will take
      1) the arguments to pass to the matching overloaded function
      2) a list of functions to match.
      
      The return type of __builtin_overload is inferred from the function whose args
      match the types of the arguments passed to the builtin.  For example:
      
      float a;
      float sinf(float);
      int   sini(int);
      
      float b = __builtin_overload(1, a, sini, sinf);
      
      Says that we are overloading functions that take one argument, and trying to 
      pass an argument of the same type as 'a'.  sini() does not match since it takes
      and argument of type int.  sinf does match, so at codegen time this will turn
      into float b = sinf(a);
      
      llvm-svn: 46132
      1e36a85f
  5. Dec 30, 2007
  6. Dec 29, 2007
  7. Dec 15, 2007
  8. Dec 10, 2007
  9. Dec 02, 2007
  10. Nov 01, 2007
  11. Oct 24, 2007
    • Devang Patel's avatar
      · ea37aa7d
      Devang Patel authored
      Constify methods and reuse RecordOrganizer object.
      
      llvm-svn: 43284
      ea37aa7d
  12. Oct 23, 2007
  13. Oct 17, 2007
  14. Oct 09, 2007
  15. Oct 08, 2007
  16. Oct 05, 2007
  17. Sep 28, 2007
  18. Sep 01, 2007
  19. Aug 31, 2007
  20. Aug 27, 2007
  21. Aug 26, 2007
  22. Aug 24, 2007
  23. Aug 21, 2007
Loading