History log of /llvm-project-15.0.7/clang/lib/CodeGen/CodeGenFunction.cpp (Results 726 – 750 of 898)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 0a66c261 20-Nov-2009 Anders Carlsson <[email protected]>

Fix lifetime of conditional temporaries. Patch by Victor Zverovich!

llvm-svn: 89467


# 4f24225e 06-Nov-2009 Chris Lattner <[email protected]>

indirectbr seems to work! Rip out the old code.

llvm-svn: 86256


# 421a5c96 06-Nov-2009 Anders Carlsson <[email protected]>

If a member variable of reference type is bound to a temporary in its member initializer it needs to be destroyed at the end of the constructor.

llvm-svn: 86230


# 438cf925 06-Nov-2009 Anders Carlsson <[email protected]>

Cleanup ctor/dtor emission.

llvm-svn: 86222


# 09cc10f9 04-Nov-2009 Fariborz Jahanian <[email protected]>

This patch extends CleanupScope to support destruction
of array objects on block exit. Patch is by Anders Calrsson.

llvm-svn: 86032


# 6c4d255b 28-Oct-2009 Chris Lattner <[email protected]>

Implement clang support for indirect branch and address of label
using the new LLVM support for this. This is temporarily hiding
behind horrible and ugly #ifdefs until the time when the optimizer
is

Implement clang support for indirect branch and address of label
using the new LLVM support for this. This is temporarily hiding
behind horrible and ugly #ifdefs until the time when the optimizer
is stable (hopefully a week or so). Until then, lets make it "opt in" :)

llvm-svn: 85446

show more ...


# a0c0d88b 28-Oct-2009 Chris Lattner <[email protected]>

factor a creation of Int32Ty.

llvm-svn: 85422


Revision tags: llvmorg-2.6.0
# ae2559a2 23-Oct-2009 Mike Stump <[email protected]>

Fixup the return type of functions.

llvm-svn: 84922


# 2bb5cb49 13-Oct-2009 Chris Lattner <[email protected]>

reimplement codegen for indirect goto with the following advantages:

1. CGF now has fewer bytes of state (one pointer instead of a vector).
2. The generated code is determinstic, instead of getting

reimplement codegen for indirect goto with the following advantages:

1. CGF now has fewer bytes of state (one pointer instead of a vector).
2. The generated code is determinstic, instead of getting labels in
'map order' based on pointer addresses.
3. Clang now emits one 'indirect goto switch' for each function, instead
of one for each indirect goto. This fixes an M*N = N^2 IR size issue
when there are lots of address-taken labels and lots of indirect gotos.
4. This also makes the default cause do something useful, reducing the
size of the jump table needed (by one).

llvm-svn: 83952

show more ...


# 92ae16b0 13-Oct-2009 Chris Lattner <[email protected]>

number address-taken labels from 1. This allows 0 to be used as a sentinel
for a null pointer. In other words, "&&foo != NULL" will always work out to
true.

llvm-svn: 83948


# dd7eaad7 13-Oct-2009 Chris Lattner <[email protected]>

Use the new Type::getInt8PtrTy method. This should probably be used in a lot
more places in clang codegen now.

llvm-svn: 83947


# 6b7378bb 06-Oct-2009 Anders Carlsson <[email protected]>

Emit the destructor epilogue in a cleanup block so a return from a destructor body still calls the epilogue.

llvm-svn: 83397


# 369acf93 01-Oct-2009 Douglas Gregor <[email protected]>

CodeGen may see out-of-line declarations of the various special member
functions when they are explicitly declared, e.g., via a function
template specialization or explicit template instantiation
dec

CodeGen may see out-of-line declarations of the various special member
functions when they are explicitly declared, e.g., via a function
template specialization or explicit template instantiation
declaration. Don't try to synthesize bodies for the special member
functions in this case; rather, check whether we have an implicit
declaration and, if so, synthesize the appropriate function
body. Fixes PR5084.

llvm-svn: 83212

show more ...


# b05a3e55 29-Sep-2009 Anders Carlsson <[email protected]>

Improve support for member function pointers.

llvm-svn: 83039


# d30d820d 29-Sep-2009 Anders Carlsson <[email protected]>

Make hasAggregateLLVMType use positive checks.

llvm-svn: 83037


# 1dbb8f78 25-Sep-2009 Mike Stump <[email protected]>

Fix 80-col violation.

llvm-svn: 82782


# 9dd450bb 21-Sep-2009 John McCall <[email protected]>

Change all the Type::getAsFoo() methods to specializations of Type::getAs().
Several of the existing methods were identical to their respective
specializations, and so have been removed entirely. Se

Change all the Type::getAsFoo() methods to specializations of Type::getAs().
Several of the existing methods were identical to their respective
specializations, and so have been removed entirely. Several more 'leaf'
optimizations were introduced.

The getAsFoo() methods which imposed extra conditions, like
getAsObjCInterfacePointerType(), have been left in place.

llvm-svn: 82501

show more ...


# ddf57d3d 14-Sep-2009 Anders Carlsson <[email protected]>

Remove an unnecessary FunctionDecl parameter to the synthesizing functions.

llvm-svn: 81759


# fd384d80 11-Sep-2009 Anders Carlsson <[email protected]>

Pass the GlobalDecl to getMangledName, fixes PR4890.

llvm-svn: 81486


# 73fcc95f 11-Sep-2009 Anders Carlsson <[email protected]>

Pass GlobalDecls to GenerateCode and StartFunction.

llvm-svn: 81485


# e9766d55 09-Sep-2009 Anders Carlsson <[email protected]>

If a cast expression needs either a conversion function or a constructor to be called, generate implicit child expressions that call them.

llvm-svn: 81383


# 11289f42 09-Sep-2009 Mike Stump <[email protected]>

Remove tabs, and whitespace cleanups.

llvm-svn: 81346


# 0a484d00 29-Aug-2009 Fariborz Jahanian <[email protected]>

Patch to ir-gen user-defined conversions used in expressions
[12.3.2-p3]

llvm-svn: 80436


# 3722f589 26-Aug-2009 Mike Stump <[email protected]>

Regularize the case and sort.

llvm-svn: 80163


# 4557b2c0 24-Aug-2009 Anders Carlsson <[email protected]>

Remove dead code

llvm-svn: 79921


1...<<21222324252627282930>>...36