History log of /llvm-project/clang/lib/CodeGen/CodeGenFunction.cpp (Results 951 – 975 of 1023)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 7d70fd27 08-Feb-2009 Anders Carlsson <andersca@mac.com>

More cleanup stack work.

llvm-svn: 64059


# fbfb5e65 08-Feb-2009 Anders Carlsson <andersca@mac.com>

When emitting blocks, keep track of which cleanup scope they have. Minor fixes and cleanup.

llvm-svn: 64053


# be0f76a7 07-Feb-2009 Anders Carlsson <andersca@mac.com>

Add support for emitting cleanup blocks. Make EmitCompoundStatement emit cleanup blocks if necessary

llvm-svn: 64051


# 15cb75a2 07-Feb-2009 Anders Carlsson <andersca@mac.com>

Add plumbing for the cleanup stack.

llvm-svn: 64043


# 1d91dd98 07-Feb-2009 Mike Stump <mrs@apple.com>

Fixup goto codegen in and around VLAs.

llvm-svn: 64014


# 31f8649f 05-Feb-2009 Anders Carlsson <andersca@mac.com>

Follow Eli's advice and store the VLA size with the native size_t type. Fixes PR3491.

llvm-svn: 63879


# ee3da87c 03-Feb-2009 Daniel Dunbar <daniel@zuster.org>

Add CodeGenFunction::ConvertTypeForMem forwarding function.

llvm-svn: 63678


# bf8c24ad 02-Feb-2009 Daniel Dunbar <daniel@zuster.org>

Thread CGFunctionInfo construction through CodeGenTypes.
- Inefficient & leaks memory currently, will be cleaned up subsequently.

llvm-svn: 63567


# d931a87f 02-Feb-2009 Daniel Dunbar <daniel@zuster.org>

More ABI API cleanup.
- Lift CGFunctionInfo creation above ReturnTypeUsesSret and
EmitFunction{Epi,Pro}log.

llvm-svn: 63553


# fd346a36 26-Jan-2009 Daniel Dunbar <daniel@zuster.org>

Pull EmitReturnBlock out of FinishFunction and catch unified return
case correctly.

llvm-svn: 63068


# 336dbba3 26-Jan-2009 Daniel Dunbar <daniel@zuster.org>

Skip emission of final return block if possible (e.g., functions with
a unified return).

llvm-svn: 63038


# ddea0ade 20-Jan-2009 Eli Friedman <eli.friedman@gmail.com>

Slight cleanup, and fix for va_arg on architectures where va_list is a
struct.

llvm-svn: 62585


# 9b21e632 09-Jan-2009 Daniel Dunbar <daniel@zuster.org>

Block pointer types are not aggregate types.

llvm-svn: 61973


# 5d985f5f 20-Dec-2008 Anders Carlsson <andersca@mac.com>

Handle typedefs to VLAs (Emit the size expr when we encounter the typedef

llvm-svn: 61290


# c20879a6 20-Dec-2008 Anders Carlsson <andersca@mac.com>

Make sure to generate code for arguments that have a variably modified type.

llvm-svn: 61288


# 8a01b792 20-Dec-2008 Anders Carlsson <andersca@mac.com>

Change EmitVLASize to take a QualType that must be a variably modified type.

Emit the size even if the declared type is a variably modified type. This lets us handle

void f(int n) {
int (*a)[n];

Change EmitVLASize to take a QualType that must be a variably modified type.

Emit the size even if the declared type is a variably modified type. This lets us handle

void f(int n) {
int (*a)[n];

printf("size: %d\n", sizeof(*a));
}

llvm-svn: 61285

show more ...


# e388a5bf 20-Dec-2008 Anders Carlsson <andersca@mac.com>

Split up emitting of VLA sizes and getting the size of a VLA.

llvm-svn: 61284


# ccbe9200 12-Dec-2008 Anders Carlsson <andersca@mac.com>

Add map of VLA types and their sizes

llvm-svn: 60939


# 8628645e 01-Dec-2008 Anders Carlsson <andersca@mac.com>

Change more code over to using the new Expr::Evaluate

llvm-svn: 60324


# 86d7d913 24-Nov-2008 Chris Lattner <sabre@nondot.org>

Rename NamedDecl::getIdentifierName() to ::getNameAsCString() and make it
assert if the name is not an identifier. Update callers to do the right
thing and avoid this method in unsafe cases. This a

Rename NamedDecl::getIdentifierName() to ::getNameAsCString() and make it
assert if the name is not an identifier. Update callers to do the right
thing and avoid this method in unsafe cases. This also fixes an objc
warning that was missing a space, and migrates a couple more to taking
IdentifierInfo and QualTypes instead of std::strings.

llvm-svn: 59936

show more ...


# 4046e65b 22-Nov-2008 Anders Carlsson <andersca@mac.com>

An expression is not foldable if it can't be fully evaluated. Fixes PR3060

llvm-svn: 59887


# 77324f38 17-Nov-2008 Douglas Gregor <dgregor@apple.com>

Introduction the DeclarationName class, as a single, general method of
representing the names of declarations in the C family of
languages. DeclarationName is used in NamedDecl to store the name of
t

Introduction the DeclarationName class, as a single, general method of
representing the names of declarations in the C family of
languages. DeclarationName is used in NamedDecl to store the name of
the declaration (naturally), and ObjCMethodDecl is now a NamedDecl.

llvm-svn: 59441

show more ...


# 67d7b920 16-Nov-2008 Chris Lattner <sabre@nondot.org>

rename Expr::tryEvaluate to Expr::Evaluate.

llvm-svn: 59426


# a612e79b 13-Nov-2008 Daniel Dunbar <daniel@zuster.org>

Normalize many BasicBlock names.
- Use dotted notation for blocks related to a particular statement
type.
- Use .end for landing pads.

No functionality change in NDEBUG mode. :)

llvm-svn: 59210


# f32443cd 12-Nov-2008 Daniel Dunbar <daniel@zuster.org>

Quick fix for crash in IRgen when we can tryEvaluate a condition to
something that is not an int.

- Ignore these cases for now, added FIXME that we should also boolize
them.

llvm-svn: 59184


1...<<3132333435363738394041