#
8d375cef |
| 14-Jul-2011 |
Benjamin Kramer <benny.kra@googlemail.com> |
Change intrinsic getter to take an ArrayRef, now that the underlying function in LLVM does.
llvm-svn: 135155
|
#
a5f58b05 |
| 09-Jul-2011 |
Chris Lattner <sabre@nondot.org> |
clang side to match the LLVM IR type system rewrite patch.
llvm-svn: 134831
|
#
82fe67bb |
| 09-Jul-2011 |
John McCall <rjmccall@apple.com> |
A number of array-related IR-gen cleanups. - Emit default-initialization of arrays that were partially initialized with initializer lists with a loop, rather than emitting the default initi
A number of array-related IR-gen cleanups. - Emit default-initialization of arrays that were partially initialized with initializer lists with a loop, rather than emitting the default initializer N times; - support destroying VLAs of non-trivial type, although this is not yet exposed to users; and - support the partial destruction of arrays initialized with initializer lists when an initializer throws an exception.
llvm-svn: 134784
show more ...
|
#
23c29fea |
| 24-Jun-2011 |
John McCall <rjmccall@apple.com> |
Change the IR-generation of VLAs so that we capture bounds, not sizes; so that we use well-typed allocas; and so that we properly recurse through the full set of variably-modified types.
llvm-svn:
Change the IR-generation of VLAs so that we capture bounds, not sizes; so that we use well-typed allocas; and so that we properly recurse through the full set of variably-modified types.
llvm-svn: 133827
show more ...
|
#
31168b07 |
| 15-Jun-2011 |
John McCall <rjmccall@apple.com> |
Automatic Reference Counting.
Language-design credit goes to a lot of people, but I particularly want to single out Blaine Garst and Patrick Beard for their contributions.
Compiler implementation c
Automatic Reference Counting.
Language-design credit goes to a lot of people, but I particularly want to single out Blaine Garst and Patrick Beard for their contributions.
Compiler implementation credit goes to Argyrios, Doug, Fariborz, and myself, in no particular order.
llvm-svn: 133103
show more ...
|
#
9b382dde |
| 28-May-2011 |
John McCall <rjmccall@apple.com> |
Convert Clang over to resuming from landing pads with llvm.eh.resume. It's quite likely that this will explode, but I need to know how. :)
llvm-svn: 132269
|
#
df1fb13a |
| 28-May-2011 |
Benjamin Kramer <benny.kra@googlemail.com> |
Eliminate temporary argument vectors.
llvm-svn: 132260
|
#
c249c411 |
| 16-May-2011 |
Ted Kremenek <kremenek@apple.com> |
Fix crash on C++ code when compiling with -finstrument-functions.
llvm-svn: 131435
|
#
745ae285 |
| 15-May-2011 |
John McCall <rjmccall@apple.com> |
Make CGF.getContext() inlinable, because it's trivial, and optimize hasAggregateLLVMType.
llvm-svn: 131375
|
#
c5c416f7 |
| 22-Apr-2011 |
Ken Dyck <kd@kendyck.com> |
Eliminate some literal 8s from EmitNullInitialization() by converting variables to CharUnits. No change in functionality intended.
llvm-svn: 130001
|
#
ea324f15 |
| 21-Apr-2011 |
Jay Foad <jay.foad@gmail.com> |
PR9214: Convert Metadata API to use ArrayRef.
llvm-svn: 129929
|
#
91147596 |
| 15-Apr-2011 |
Peter Collingbourne <peter@pcc.me.uk> |
C1X: implement generic selections
As an extension, generic selection support has been added for all supported languages. The syntax is the same as for C1X.
llvm-svn: 129554
|
Revision tags: llvmorg-2.9.0 |
|
#
20c0f02c |
| 30-Mar-2011 |
Jay Foad <jay.foad@gmail.com> |
Remove PHINode::reserveOperandSpace(). Instead, add a parameter to PHINode::Create() giving the (known or expected) number of operands.
llvm-svn: 128538
|
Revision tags: llvmorg-2.9.0-rc3, llvmorg-2.9.0-rc2 |
|
#
a738c25f |
| 09-Mar-2011 |
John McCall <rjmccall@apple.com> |
Use the "undergoes default argument promotion" bit on parameters to simplify the logic of initializing function parameters so that we don't need both a variable declaration and a type in FunctionArgL
Use the "undergoes default argument promotion" bit on parameters to simplify the logic of initializing function parameters so that we don't need both a variable declaration and a type in FunctionArgList. This also means that we need to propagate the CGFunctionInfo down in a lot of places rather than recalculating it from the FAL. There's more we can do to eliminate redundancy here, and I've left FIXMEs behind to do it.
llvm-svn: 127314
show more ...
|
Revision tags: llvmorg-2.9.0-rc1 |
|
#
d6ffebb0 |
| 07-Mar-2011 |
Devang Patel <dpatel@apple.com> |
DebugInfo can be enabled or disabled at function level (e.g. using an attribute). However, at module level it is determined by command line option and the state of command line option does not change
DebugInfo can be enabled or disabled at function level (e.g. using an attribute). However, at module level it is determined by command line option and the state of command line option does not change during compilation. Make this layering explicit and fix accidental cases where the code generator was checking whether module has debug info enabled instead of checking whether debug info is enabled for this function or not.
llvm-svn: 127165
show more ...
|
#
6c9540e9 |
| 04-Mar-2011 |
Bill Wendling <isanbard@gmail.com> |
Initialize variable.
llvm-svn: 127039
|
#
99cc30c3 |
| 02-Mar-2011 |
Tilmann Scheller <tilmann.scheller@googlemail.com> |
Revert "Add CC_Win64ThisCall and set it in the necessary places."
This reverts commit 126863.
llvm-svn: 126886
|
#
454464b4 |
| 02-Mar-2011 |
Tilmann Scheller <tilmann.scheller@googlemail.com> |
Add CC_Win64ThisCall and set it in the necessary places.
llvm-svn: 126863
|
#
30db828c |
| 28-Feb-2011 |
Chris Lattner <sabre@nondot.org> |
fix my containsBreak predicate.
llvm-svn: 126600
|
#
29911cc2 |
| 28-Feb-2011 |
Chris Lattner <sabre@nondot.org> |
Add some helper methods that will be used in my next patch.
llvm-svn: 126596
|
#
41c6ab53 |
| 27-Feb-2011 |
Chris Lattner <sabre@nondot.org> |
Change the interface to ConstantFoldsToSimpleInteger to not encode a bool + success into one tri-state integer, simplifying things.
llvm-svn: 126592
|
#
08ce5ed1 |
| 20-Feb-2011 |
Anders Carlsson <andersca@mac.com> |
Add a LangOptions::areExceptionsEnabled and start using it.
llvm-svn: 126062
|
#
c07a0c7e |
| 17-Feb-2011 |
John McCall <rjmccall@apple.com> |
Change the representation of GNU ?: expressions to use a different expression class and to bind the shared value using OpaqueValueExpr. This fixes an unnoticed problem with deserialization of these
Change the representation of GNU ?: expressions to use a different expression class and to bind the shared value using OpaqueValueExpr. This fixes an unnoticed problem with deserialization of these expressions where the deserialized form would lose the vital pointer-equality trait; or rather, it fixes it because this patch also does the right thing for deserializing OVEs.
Change OVEs to not be a "temporary object" in the sense that copy elision is permitted.
This new representation is not totally unawkward to work with, but I think that's really part and parcel with the semantics we're modelling here. In particular, it's much easier to fix things like the copy elision bug and to make the CFG look right.
I've tried to update the analyzer to deal with this in at least some obvious cases, and I think we get a much better CFG out, but the printing of OpaqueValueExprs probably needs some work.
llvm-svn: 125744
show more ...
|
#
c8e630e4 |
| 17-Feb-2011 |
Chris Lattner <sabre@nondot.org> |
Step #1/N of implementing support for __label__: split labels into LabelDecl and LabelStmt. There is a 1-1 correspondence between the two, but this simplifies a bunch of code by itself. This is bec
Step #1/N of implementing support for __label__: split labels into LabelDecl and LabelStmt. There is a 1-1 correspondence between the two, but this simplifies a bunch of code by itself. This is because labels are the only place where we previously had references to random other statements, causing grief for AST serialization and other stuff.
This does cause one regression (attr(unused) doesn't silence unused label warnings) which I'll address next.
This does fix some minor bugs: 1. "The only valid attribute " diagnostic was capitalized. 2. Various diagnostics printed as ''labelname'' instead of 'labelname' 3. This reduces duplication of label checking between functions and blocks.
Review appreciated, particularly for the cindex and template bits.
llvm-svn: 125733
show more ...
|
#
e3dc1707 |
| 15-Feb-2011 |
John McCall <rjmccall@apple.com> |
Assorted cleanup: - Have CGM precompute a number of commonly-used types - Have CGF copy that during initialization instead of recomputing them - Use TBAA info when initializing a parameter vari
Assorted cleanup: - Have CGM precompute a number of commonly-used types - Have CGF copy that during initialization instead of recomputing them - Use TBAA info when initializing a parameter variable - Refactor the scalar ++/-- code
llvm-svn: 125562
show more ...
|