Skip to content
  1. Feb 06, 2008
  2. Feb 01, 2008
  3. Jan 30, 2008
  4. Jan 17, 2008
    • Nate Begeman's avatar
      Match change in EmitCallExpr · 1c075a1c
      Nate Begeman authored
      llvm-svn: 46136
      1c075a1c
    • 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 29, 2007
  6. Dec 20, 2007
  7. Dec 18, 2007
  8. Dec 17, 2007
  9. Dec 16, 2007
  10. Dec 15, 2007
  11. Dec 14, 2007
  12. Dec 13, 2007
  13. Dec 11, 2007
  14. Dec 10, 2007
  15. Dec 09, 2007
  16. Dec 05, 2007
  17. Dec 02, 2007
  18. Nov 20, 2007
  19. Nov 01, 2007
  20. Oct 29, 2007
  21. Oct 13, 2007
  22. Sep 13, 2007
  23. Aug 31, 2007
  24. Aug 26, 2007
  25. Aug 21, 2007
  26. Aug 20, 2007
Loading