aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenFunction.cpp
AgeCommit message (Expand)AuthorFilesLines
2010-09-17When emitting a new-expression inside a conditional expression,John McCall1-11/+14
2010-09-14Implement the EH cleanup to call 'operator delete' if a new-expression throwsJohn McCall1-82/+260
2010-08-31Teach IR generation to return 'this' from constructors and destructorsJohn McCall1-39/+8
2010-08-25GCC didn't care for my attempt at API compatibility, so brute-force everythingJohn McCall1-3/+3
2010-08-22Go back to asking CodeGenTypes whether a type is zero-initializable.John McCall1-2/+1
2010-08-22Experiment with using first-class aggregates to represent member functionJohn McCall1-1/+1
2010-08-22Abstract more member-pointerness out.John McCall1-1/+2
2010-08-14More cleanup enabling.John McCall1-12/+20
2010-08-13Sketch out a framework for delaying the activation of a cleanup.John McCall1-0/+67
2010-08-11Revise r110163: don't mark weak functions nounwind, because the optimizerJohn McCall1-0/+4
2010-08-11IRGen support for functions returning objc objectFariborz Jahanian1-1/+1
2010-08-10Simplify code and add comments, in code that generate debug info for constant...Devang Patel1-11/+4
2010-08-10Even if a constant's evaluated value is used, emit debug info for the constan...Devang Patel1-0/+14
2010-08-07Inline a special case of EmitAggregateCopy into EmitNullInitializationJohn McCall1-27/+41
2010-08-03Do a very simple pass over every function we emit to infer whether we canJohn McCall1-0/+18
2010-07-28When creating a jump destination, its scope should be the scope of theJohn McCall1-0/+3
2010-07-26Test for the presence of EH branch-throughs instead of normal branch-throughs.John McCall1-1/+1
2010-07-25Remove the vast majority of the Destroy methods from the AST library,Douglas Gregor1-8/+0
2010-07-23Revise cleanup IR generation to fix a major bug with cleanups (PR7686)John McCall1-236/+449
2010-07-22Keep track of artificial scopes introduced by line directives. For example,Devang Patel1-1/+1
2010-07-21Rename LazyCleanup -> Cleanup. No functionality change for these last threeJohn McCall1-47/+42
2010-07-21Rip out EHCleanupScope.John McCall1-183/+4
2010-07-20Remove unused argument.Devang Patel1-1/+1
2010-07-20Follow the implementation approach suggested by PR6687,Chris Lattner1-39/+1
2010-07-20implement rdar://5739832 - operator new should check for overflow in multiply,Chris Lattner1-1/+39
2010-07-13Teach IR generation how to lazily emit cleanups. This has a lot of advantages,John McCall1-0/+177
2010-07-06Provide a hook for the benefit of clients using clang IR gen as a subroutine:John McCall1-0/+3
2010-07-06When destroying a cleanup, kill any references to instructions in the entryJohn McCall1-0/+6
2010-07-06Validated by nightly-test runs on x86 and x86-64 darwin, including afterJohn McCall1-191/+360
2010-07-01Revert "IRgen: Make sure any prolog instructions get debug info.", the lexicalDaniel Dunbar1-1/+0
2010-06-30IRgen: Make sure any prolog instructions get debug info.Daniel Dunbar1-0/+1
2010-06-27misc tidyingChris Lattner1-2/+1
2010-06-27finally get around to doing a significant cleanup to irgen:Chris Lattner1-22/+18
2010-06-27Change IR generation for return (in the simple case) to avoid doing sillyChris Lattner1-1/+1
2010-06-23polish the -finstrument-functions implementation, patch by Nelson Elhage!Chris Lattner1-3/+8
2010-06-22implement support for -finstrument-functions, patch by NelsonChris Lattner1-0/+41
2010-06-08Rename __tcf_ to __cxx_global_array_dtor. Remove the UniqueAggreDestructorCou...Anders Carlsson1-2/+1
2010-05-25Improve name mangling for blocks and support mangling of static localDouglas Gregor1-0/+1
2010-05-22Re-land the fix for PR7139.Anders Carlsson1-1/+20
2010-05-21Unbreak self-host.Anders Carlsson1-20/+1
2010-05-21Rename CodeGenFunction::EmitMemSetToZero to EmitNullInitialization. Handle se...Anders Carlsson1-1/+20
2010-05-03Don't copy or initialize empty classes. Fixes PR7012.Anders Carlsson1-0/+8
2010-05-01Complete reimplementation of the synthesis for implicitly-defined copyDouglas Gregor1-9/+2
2010-04-13Fix debug info for cleanup block.Devang Patel1-0/+5
2010-04-04Reapply patch for adding support for address spaces and added a isVolatile fi...Mon P Wang1-2/+4
2010-04-02Revert r100193 since it causes failures in objc in clangMon P Wang1-4/+2
2010-04-02Reapply patch for adding support for address spaces and added a isVolatile fi...Mon P Wang1-2/+4
2010-03-30Revert Mon Ping's 99930 due to broken llvm-gcc buildbots.Bob Wilson1-4/+2
2010-03-30Added support for address spaces and added a isVolatile field to memcpy, memm...Mon P Wang1-2/+4
2010-03-30the big refactoring bits of PR3782.Rafael Espindola1-3/+3