History log of /llvm-project/clang/lib/CodeGen/CodeGenFunction.cpp (Results 926 – 950 of 1023)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# e73e3ecc 17-Mar-2009 Anders Carlsson <andersca@mac.com>

Initialize the cleanup.dst variable if necessary. Fixes PR3789.

llvm-svn: 67075


# aeb0ffd5 07-Mar-2009 Mike Stump <mrs@apple.com>

Codegen support for copy helpers for block literals.

llvm-svn: 66319


# 0c743277 06-Mar-2009 Mike Stump <mrs@apple.com>

Framework for codegen for copy/dispose helpers.

llvm-svn: 66231


# 626aecc4 05-Mar-2009 Mike Stump <mrs@apple.com>

Add codegen support for __block variables to call _Block_object_dispose as necessary.

llvm-svn: 66117


# 06acea8a 04-Mar-2009 Mike Stump <mrs@apple.com>

Move some of the CodeGenFunction blocks code up and out. No
functionality change.

llvm-svn: 66048


Revision tags: llvmorg-2.5.0
# deaad8cc 26-Feb-2009 Douglas Gregor <dgregor@apple.com>

Create a new TypeNodes.def file that enumerates all of the types,
giving them rough classifications (normal types, never-canonical
types, always-dependent types, abstract type representations) and
ma

Create a new TypeNodes.def file that enumerates all of the types,
giving them rough classifications (normal types, never-canonical
types, always-dependent types, abstract type representations) and
making it far easier to make sure that we've hit all of the cases when
decoding types.

Switched some switch() statements on the type class over to using this
mechanism, and filtering out those things we don't care about. For
example, CodeGen should never see always-dependent or non-canonical
types, while debug info generation should never see always-dependent
types. More switch() statements on the type class need to be moved
over to using this approach, so that we'll get warnings when we add a
new type then fail to account for it somewhere in the compiler.

As part of this, some types have been renamed:

TypeOfExpr -> TypeOfExprType
FunctionTypeProto -> FunctionProtoType
FunctionTypeNoProto -> FunctionNoProtoType

There shouldn't be any functionality change...

llvm-svn: 65591

show more ...


# 76ba41ce 26-Feb-2009 Daniel Dunbar <daniel@zuster.org>

Add Type::hasPointerRepresentation predicate.
- For types whose native representation is a pointer.

- Use to replace ExprConstant.cpp:HasPointerEvalType,
CodeGenFunction::isObjCPointerType.

ll

Add Type::hasPointerRepresentation predicate.
- For types whose native representation is a pointer.

- Use to replace ExprConstant.cpp:HasPointerEvalType,
CodeGenFunction::isObjCPointerType.

llvm-svn: 65569

show more ...


# e2617d97 26-Feb-2009 Daniel Dunbar <daniel@zuster.org>

Drop uses of isPointerLikeType.
- No functionality change.

llvm-svn: 65560


# b750d928 25-Feb-2009 Mike Stump <mrs@apple.com>

CodeGen support for copied BlockDeclRefExprs.

llvm-svn: 65487


# 22a87f94 25-Feb-2009 Daniel Dunbar <daniel@zuster.org>

Pull COdeGenFunction::CreateStaticBlockVarDecl (just for creating the
global variable) out of GenerateStaticBlockVarDecl.
- No intended functionality change.
- Prep for some mild cleanups and PR36

Pull COdeGenFunction::CreateStaticBlockVarDecl (just for creating the
global variable) out of GenerateStaticBlockVarDecl.
- No intended functionality change.
- Prep for some mild cleanups and PR3662.

llvm-svn: 65466

show more ...


# 12347498 23-Feb-2009 Daniel Dunbar <daniel@zuster.org>

Add low level support for generating invoke instead of calls.
- No functionality change.

llvm-svn: 65325


# cb2fbcb0 21-Feb-2009 Mike Stump <mrs@apple.com>

Add CodeGen support for the helper for BlockDeclRefExprs. The easier
stuff is mostly done. Move BlockHasCopyDispose up.

llvm-svn: 65242


# 5f361c9f 18-Feb-2009 Douglas Gregor <dgregor@apple.com>

Address Chris's comments regarding C++ name mangling.

llvm-svn: 64984


# 63784f4e 13-Feb-2009 Anders Carlsson <andersca@mac.com>

Add CodeGen support for the nodebug attribute.

llvm-svn: 64445


# 5fec5b04 13-Feb-2009 Douglas Gregor <dgregor@apple.com>

Add basic support for C++ name mangling according to the Itanium C++
ABI to the CodeGen library. Since C++ code-generation is so
incomplete, we can't exercise much of this mangling code. However, a
f

Add basic support for C++ name mangling according to the Itanium C++
ABI to the CodeGen library. Since C++ code-generation is so
incomplete, we can't exercise much of this mangling code. However, a
few smoke tests show that it's doing the same thing as GCC. When C++
codegen matures, we'll extend the ABI tester to verify name-mangling
as well, and complete the implementation here.

At this point, the major client of name mangling is in the uses of the
new "overloadable" attribute in C, which allows overloading. Any
"overloadable" function in C (or in an extern "C" block in C++) will
be mangled the same way that the corresponding C++ function would be
mangled.

llvm-svn: 64413

show more ...


# 2d0746fb 10-Feb-2009 Daniel Dunbar <daniel@zuster.org>

Pull CodeGenFunction::EmitVAArg into target specific ABIInfo classes.

llvm-svn: 64235


# 33c1b652 10-Feb-2009 Anders Carlsson <andersca@mac.com>

Remove the last remnants of the Obj-C EH stack code.

llvm-svn: 64205


# f4478e94 09-Feb-2009 Anders Carlsson <andersca@mac.com>

Add DidCallStackSave variable to CodeGenFunction.

llvm-svn: 64156


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

Reuse case destinations.

llvm-svn: 64100


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

Always check if we can remove branch fixups, even if the cleanup stack is empty.

llvm-svn: 64099


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

Misc fixes to the cleanup stack code.

llvm-svn: 64096


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

More cleanup stack work, PopCleanupBlock now returns a struct with the switch block and end block.

llvm-svn: 64072


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

Split some functions up

llvm-svn: 64069


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

CleanupScope needs to push the cleanup block in its destructor

llvm-svn: 64068


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

Implement support for branch fixups.

llvm-svn: 64064


1...<<3132333435363738394041