llvm-project/clang/lib/CodeGen
Chris Lattner 9a8d1d9e56 Make a few related changes:
1) add a new ASTContext::getFloatTypeSemantics method.
2) Use it from SemaExpr.cpp, CodeGenTypes.cpp and other places.
3) Change the TargetInfo.h get*Format methods to return their 
   fltSemantics byref instead of by pointer.
4) Change CodeGenFunction::EmitBuiltinExpr to allow builtins which
   sometimes expand specially and othertimes fall back to libm.
5) Add support for __builtin_nan("") to codegen, cases that don't pass
   in an empty string are currently lowered to libm calls.
6) Fix codegen of __builtin_infl.

llvm-svn: 52914
2008-06-30 18:32:54 +00:00
..
CGBuiltin.cpp Make a few related changes: 2008-06-30 18:32:54 +00:00
CGDebugInfo.cpp Add missing include file (due to a file splitting in llvm). 2008-06-27 17:53:02 +00:00
CGDebugInfo.h Generate debug descriptors for array types while generating the debug info. 2008-06-09 10:47:41 +00:00
CGDecl.cpp Basic support for volatile loads and stores. Stores the volatile 2008-06-13 23:01:12 +00:00
CGExpr.cpp Change self/_cmd to be instances of ImplicitParamDecl instead of ParmVarDecl. 2008-06-17 18:05:57 +00:00
CGExprAgg.cpp "Support for Objective-C message sends which return structures. Also includes a small fix for constant string handling that should have been in the last patch (sorry!) and a hook for generating selectors (rest of this implementation to follow in the next patch)." 2008-06-24 17:04:18 +00:00
CGExprComplex.cpp This patch is motivated by numerous strict-aliasing warnings when compiling 2008-06-17 02:43:46 +00:00
CGExprConstant.cpp "this patch adds code generation hooks for Objective-C constant strings. It also modifies Sema so that Objective-C constant strings are treated as untyped objects if the interface for the constant string class can not be found. This is consistent with Apple GCC. I thought it was consistent with GNU GCC, since this was causing failures when trying to compile GNUstep with (GNU) GCC, but it appears that this is not the case when attempting to produce a simple test case to demonstrate it. Possibly there is a way of making the error go away, but I haven't found out what it is yet." 2008-06-21 21:44:18 +00:00
CGExprScalar.cpp Make a few related changes: 2008-06-30 18:32:54 +00:00
CGObjC.cpp avoid a lot of unneeded selector processing work by passing around 2008-06-26 04:42:20 +00:00
CGObjCEtoile.cpp give CreateObjCRuntime a full CGM so it can get whatever state it needs, 2008-06-26 04:19:03 +00:00
CGObjCGNU.cpp refactor more objc codegen interfaces to pass around selectors so 2008-06-26 05:08:00 +00:00
CGObjCRuntime.h refactor more objc codegen interfaces to pass around selectors so 2008-06-26 05:08:00 +00:00
CGStmt.cpp Basic support for volatile loads and stores. Stores the volatile 2008-06-13 23:01:12 +00:00
CodeGenFunction.cpp Change self/_cmd to be instances of ImplicitParamDecl instead of ParmVarDecl. 2008-06-17 18:05:57 +00:00
CodeGenFunction.h "Support for Objective-C message sends which return structures. Also includes a small fix for constant string handling that should have been in the last patch (sorry!) and a hook for generating selectors (rest of this implementation to follow in the next patch)." 2008-06-24 17:04:18 +00:00
CodeGenModule.cpp refactor more objc codegen interfaces to pass around selectors so 2008-06-26 05:08:00 +00:00
CodeGenModule.h implement the alias attirbute (in both Sema and Codegen) 2008-06-08 15:45:52 +00:00
CodeGenTypes.cpp Make a few related changes: 2008-06-30 18:32:54 +00:00
CodeGenTypes.h Make a few related changes: 2008-06-30 18:32:54 +00:00
Makefile Make a major restructuring of the clang tree: introduce a top-level 2008-03-15 23:59:48 +00:00
ModuleBuilder.cpp Support for code generation of Objective-C top-level language constructs. 2008-06-01 14:13:53 +00:00