History log of /llvm-project-15.0.7/clang/lib/CodeGen/CodeGenFunction.cpp (Results 826 – 850 of 898)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 7d70fd27 08-Feb-2009 Anders Carlsson <[email protected]>

More cleanup stack work.

llvm-svn: 64059


# fbfb5e65 08-Feb-2009 Anders Carlsson <[email protected]>

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

llvm-svn: 64053


# be0f76a7 07-Feb-2009 Anders Carlsson <[email protected]>

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

llvm-svn: 64051


# 15cb75a2 07-Feb-2009 Anders Carlsson <[email protected]>

Add plumbing for the cleanup stack.

llvm-svn: 64043


# 1d91dd98 07-Feb-2009 Mike Stump <[email protected]>

Fixup goto codegen in and around VLAs.

llvm-svn: 64014


# 31f8649f 05-Feb-2009 Anders Carlsson <[email protected]>

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 <[email protected]>

Add CodeGenFunction::ConvertTypeForMem forwarding function.

llvm-svn: 63678


# bf8c24ad 02-Feb-2009 Daniel Dunbar <[email protected]>

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

llvm-svn: 63567


# d931a87f 02-Feb-2009 Daniel Dunbar <[email protected]>

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

llvm-svn: 63553


# fd346a36 26-Jan-2009 Daniel Dunbar <[email protected]>

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

llvm-svn: 63068


# 336dbba3 26-Jan-2009 Daniel Dunbar <[email protected]>

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

llvm-svn: 63038


# ddea0ade 20-Jan-2009 Eli Friedman <[email protected]>

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

llvm-svn: 62585


# 9b21e632 09-Jan-2009 Daniel Dunbar <[email protected]>

Block pointer types are not aggregate types.

llvm-svn: 61973


# 5d985f5f 20-Dec-2008 Anders Carlsson <[email protected]>

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

llvm-svn: 61290


# c20879a6 20-Dec-2008 Anders Carlsson <[email protected]>

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

llvm-svn: 61288


# 8a01b792 20-Dec-2008 Anders Carlsson <[email protected]>

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 <[email protected]>

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

llvm-svn: 61284


# ccbe9200 12-Dec-2008 Anders Carlsson <[email protected]>

Add map of VLA types and their sizes

llvm-svn: 60939


# 8628645e 01-Dec-2008 Anders Carlsson <[email protected]>

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

llvm-svn: 60324


# 86d7d913 24-Nov-2008 Chris Lattner <[email protected]>

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 <[email protected]>

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

llvm-svn: 59887


# 77324f38 17-Nov-2008 Douglas Gregor <[email protected]>

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 <[email protected]>

rename Expr::tryEvaluate to Expr::Evaluate.

llvm-svn: 59426


# a612e79b 13-Nov-2008 Daniel Dunbar <[email protected]>

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 <[email protected]>

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...<<313233343536