Skip to content
  1. Jan 26, 2008
  2. Jan 25, 2008
  3. Jan 22, 2008
  4. Jan 21, 2008
  5. Jan 18, 2008
  6. Jan 17, 2008
    • Nate Begeman's avatar
      Match change in EmitCallExpr · 1c075a1c
      Nate Begeman authored
      llvm-svn: 46136
      1c075a1c
    • Nate Begeman's avatar
      Fix for EmitCallExpr changed in OverloadExpr patch · d5b534e1
      Nate Begeman authored
      llvm-svn: 46135
      d5b534e1
    • 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
  7. Jan 14, 2008
  8. Jan 12, 2008
  9. Jan 09, 2008
  10. Jan 07, 2008
  11. Jan 03, 2008
  12. Dec 30, 2007
  13. Dec 29, 2007
  14. Dec 26, 2007
  15. Dec 23, 2007
  16. Dec 21, 2007
  17. Dec 20, 2007
  18. Dec 18, 2007
  19. Dec 17, 2007
Loading