#
7ce13fc9 |
| 14-Feb-2011 |
Peter Collingbourne <peter@pcc.me.uk> |
OpenCL: add support for __kernel, kernel keywords and EXTENSION, FP_CONTRACT pragmas. Patch originally by ARM.
llvm-svn: 125475
|
#
8322c3a1 |
| 13-Feb-2011 |
John McCall <rjmccall@apple.com> |
Give some convenient idiomatic accessors to Stmt::child_range and Stmt::const_child_range, then make a bunch of places use them instead of the individual iterator accessors.
llvm-svn: 125450
|
#
468a8f87 |
| 10-Feb-2011 |
Daniel Dunbar <daniel@zuster.org> |
IRgen: Fix an immediate-exit-from-fn style nit.
llvm-svn: 125289
|
#
178e0160 |
| 10-Feb-2011 |
Roman Divacky <rdivacky@freebsd.org> |
Implement mcount profiling, enabled via -pg.
llvm-svn: 125282
|
#
ad7c5c16 |
| 08-Feb-2011 |
John McCall <rjmccall@apple.com> |
Reorganize CodeGen{Function,Module} to eliminate the unfortunate Block{Function,Module} base class. Minor other refactorings.
Fixed a few address-space bugs while I was there.
llvm-svn: 125085
|
#
2725aa13 |
| 01-Feb-2011 |
John McCall <rjmccall@apple.com> |
Do the right thing for zero-initializing VLAs that don't have a zero bit-pattern. It's not clear that this is actually useful given current language restrictions.
llvm-svn: 124685
|
#
ed1ae86a |
| 28-Jan-2011 |
John McCall <rjmccall@apple.com> |
Move all the cleanups framework code into a single file. Pure motion.
llvm-svn: 124484
|
#
ce1de617 |
| 26-Jan-2011 |
John McCall <rjmccall@apple.com> |
Better framework for conditional cleanups; untested as yet. I'm separately committing this because it incidentally changes some block orderings and minor IR issues, like using a phi instead of an un
Better framework for conditional cleanups; untested as yet. I'm separately committing this because it incidentally changes some block orderings and minor IR issues, like using a phi instead of an unnecessary alloca.
llvm-svn: 124277
show more ...
|
#
a08ffd22 |
| 14-Jan-2011 |
John McCall <rjmccall@apple.com> |
Support the zero-initialization of VLAs when that really means a zero bit-pattern. Continue punting on zero-initializing VLAs with a nonzero pattern.
llvm-svn: 123439
|
#
5461a752 |
| 14-Jan-2011 |
John McCall <rjmccall@apple.com> |
When simplifying a cleanup's entry by merging it into a single predecessor, replace all uses of the entry with the predecessor. There are no cleanups relying on this right now, but if we ever want a
When simplifying a cleanup's entry by merging it into a single predecessor, replace all uses of the entry with the predecessor. There are no cleanups relying on this right now, but if we ever want a cleanup with a phi inside it, this will be important.
llvm-svn: 123438
show more ...
|
#
acc6b4e2 |
| 30-Dec-2010 |
Benjamin Kramer <benny.kra@googlemail.com> |
Simplify mem{cpy, move, set} creation with IRBuilder.
llvm-svn: 122634
|
#
db40c7f5 |
| 14-Dec-2010 |
John McCall <rjmccall@apple.com> |
Restore r121752 without modification.
llvm-svn: 121763
|
#
5546da68 |
| 14-Dec-2010 |
John McCall <rjmccall@apple.com> |
Pull out r121752 in case it's causing the selfhost breakage.
llvm-svn: 121759
|
#
aa6d98c1 |
| 14-Dec-2010 |
John McCall <rjmccall@apple.com> |
Factor out most of the extra state in a FunctionProtoType into a separate class to be passed around. The line between argument and return types and everything else is kindof vague, but I think it's
Factor out most of the extra state in a FunctionProtoType into a separate class to be passed around. The line between argument and return types and everything else is kindof vague, but I think it's justifiable.
llvm-svn: 121752
show more ...
|
#
924a8f35 |
| 10-Dec-2010 |
Abramo Bagnara <abramo.bagnara@gmail.com> |
Added ParenType type node.
llvm-svn: 121488
|
#
e9e32dcb |
| 29-Oct-2010 |
Dan Gohman <gohman@apple.com> |
Use CodeGenFunction's getContext(), for consistency.
llvm-svn: 117734
|
#
a2fabff4 |
| 09-Oct-2010 |
John McCall <rjmccall@apple.com> |
Permit constant evaluation of const floating-point variables with constant initializers.
llvm-svn: 116138
|
Revision tags: llvmorg-2.8.0 |
|
#
5b389f49 |
| 06-Oct-2010 |
Devang Patel <dpatel@apple.com> |
Remove unused argument.
llvm-svn: 115789
|
#
e5dd32da |
| 05-Oct-2010 |
John McCall <rjmccall@apple.com> |
Teach PopCleanupBlock to correctly handle the possibility of branching through a EH-only cleanup as part of a fallthrough branch-through. That this happens for this test case is actually a separate
Teach PopCleanupBlock to correctly handle the possibility of branching through a EH-only cleanup as part of a fallthrough branch-through. That this happens for this test case is actually a separate bug.
llvm-svn: 115668
show more ...
|
#
0077b22a |
| 05-Oct-2010 |
John McCall <rjmccall@apple.com> |
If we're resolving all outstanding fixups, and there are multiple fixups for the same destination, then we must potentially rewrite the initial branch of every fixup. Without this patch, a short-cir
If we're resolving all outstanding fixups, and there are multiple fixups for the same destination, then we must potentially rewrite the initial branch of every fixup. Without this patch, a short-circuit check meant to prevent a switch case from being redundantly added was preventing later fixups from being processed. Fixes PR8175 (again).
llvm-svn: 115586
show more ...
|
Revision tags: llvmorg-2.8.0-rc3 |
|
#
8fb87aec |
| 24-Sep-2010 |
Fariborz Jahanian <fjahanian@apple.com> |
Patch implements passing arrays to functions expecting vla. Implements pr7827.
llvm-svn: 114737
|
Revision tags: llvmorg-2.8.0-rc2 |
|
#
f09d96f7 |
| 18-Sep-2010 |
John McCall <rjmccall@apple.com> |
Adjust a fixup's starting branch if it's being resolved because it reached the outermost scope and it hasn't yet been forwarded to a cleanup. Fixed PR8175.
llvm-svn: 114259
|
#
7f9c92a9 |
| 17-Sep-2010 |
John McCall <rjmccall@apple.com> |
When emitting a new-expression inside a conditional expression, the cleanup might not be dominated by the allocation code. In this case, we have to store aside all the delete arguments in case we nee
When emitting a new-expression inside a conditional expression, the cleanup might not be dominated by the allocation code. In this case, we have to store aside all the delete arguments in case we need them later. There's room for optimization here in cases where we end up not actually needing the cleanup in different branches (or being able to pop it after the initialization code).
Also make sure we only call this operator delete along the path where we actually allocated something.
Fixes rdar://problem/8439196.
llvm-svn: 114145
show more ...
|
#
824c2f53 |
| 14-Sep-2010 |
John McCall <rjmccall@apple.com> |
Implement the EH cleanup to call 'operator delete' if a new-expression throws (but not if destructors associated with the full-expression throw).
llvm-svn: 113836
|
Revision tags: llvmorg-2.8.0-rc1, llvmorg-2.8.0-rc0 |
|
#
5d865c32 |
| 31-Aug-2010 |
John McCall <rjmccall@apple.com> |
Teach IR generation to return 'this' from constructors and destructors under the ARM ABI.
llvm-svn: 112588
|