- Aug 12, 2009
-
-
Fariborz Jahanian authored
WIP. llvm-svn: 78841
-
- Aug 10, 2009
-
-
Fariborz Jahanian authored
llvm-svn: 78582
-
- Aug 09, 2009
-
-
Anders Carlsson authored
llvm-svn: 78536
-
Anders Carlsson authored
llvm-svn: 78515
-
- Aug 08, 2009
-
-
Fariborz Jahanian authored
llvm-svn: 78489
-
Fariborz Jahanian authored
copying non-virtual base classes which have non-trivial constructor. Work in progress. llvm-svn: 78436
-
- Aug 07, 2009
-
-
Fariborz Jahanian authored
llvm-svn: 78402
-
Fariborz Jahanian authored
Work in progress. llvm-svn: 78355
-
- Jul 31, 2009
-
-
Owen Anderson authored
llvm-svn: 77722
-
Fariborz Jahanian authored
been declared as needed. llvm-svn: 77641
-
Owen Anderson authored
llvm-svn: 77638
-
- Jul 30, 2009
-
-
Fariborz Jahanian authored
llvm-svn: 77608
-
Owen Anderson authored
llvm-svn: 77514
-
- Jul 29, 2009
-
-
Ted Kremenek authored
Type::getAsReferenceType() -> Type::getAs<ReferenceType>() Type::getAsRecordType() -> Type::getAs<RecordType>() Type::getAsPointerType() -> Type::getAs<PointerType>() Type::getAsBlockPointerType() -> Type::getAs<BlockPointerType>() Type::getAsLValueReferenceType() -> Type::getAs<LValueReferenceType>() Type::getAsRValueReferenceType() -> Type::getAs<RValueReferenceType>() Type::getAsMemberPointerType() -> Type::getAs<MemberPointerType>() Type::getAsReferenceType() -> Type::getAs<ReferenceType>() Type::getAsTagType() -> Type::getAs<TagType>() And remove Type::getAsReferenceType(), etc. This change is similar to one I made a couple weeks ago, but that was partly reverted pending some additional design discussion. With Doug's pending smart pointer changes for Types, it seemed natural to take this approach. llvm-svn: 77510
-
- Jul 25, 2009
-
-
Owen Anderson authored
llvm-svn: 77012
-
- Jul 23, 2009
-
-
Daniel Dunbar authored
llvm-svn: 76862
-
- Jul 21, 2009
-
-
Fariborz Jahanian authored
llvm-svn: 76498
-
Fariborz Jahanian authored
llvm-svn: 76493
-
- Jul 20, 2009
-
-
Mike Stump authored
llvm-svn: 76473
-
- Jul 19, 2009
-
-
Daniel Dunbar authored
llvm-svn: 76365
-
Daniel Dunbar authored
- Emit variable declarations as "simple", we want to avoid forcing the creation of a dummy basic block, but still need to make the variable available for later use. - With that, we can now skip IRgen for other unreachable statements (which don't define a label). - Anders, I added two fixmes on calls to EmitVLASize, can you check them? llvm-svn: 76361
-
- Jul 17, 2009
-
-
Ted Kremenek authored
until Doug Gregor's Type smart pointer code lands (or more discussion occurs). These methods just call the new Type::getAs<XXX> methods, so we still have reduced implementation redundancy. Having explicit getAsXXXType() methods makes it easier to set breakpoints in the debugger. llvm-svn: 76193
-
Ted Kremenek authored
Replaced Type::getAsLValueReferenceType(), Type::getAsRValueReferenceType(), Type::getAsMemberPointerType(), Type::getAsTagType(), and Type::getAsRecordType() with their Type::getAs<XXX> equivalents. llvm-svn: 76139
-
- Jul 16, 2009
-
-
Ted Kremenek authored
This method is intended to eventually replace the individual Type::getAsXXXType<> methods. The motivation behind this change is twofold: 1) Reduce redundant implementations of Type::getAsXXXType() methods. Most of them are basically copy-and-paste. 2) By centralizing the implementation of the getAs<Type> logic we can more smoothly move over to Doug Gregor's proposed canonical type smart pointer scheme. Along with this patch: a) Removed 'Type::getAsPointerType()'; now clients use getAs<PointerType>. b) Removed 'Type::getAsBlockPointerTypE()'; now clients use getAs<BlockPointerType>. llvm-svn: 76098
-
- Jul 15, 2009
-
-
Owen Anderson authored
llvm-svn: 75705
-
- Jul 13, 2009
-
-
Owen Anderson authored
llvm-svn: 75446
-
- Jul 08, 2009
-
-
Owen Anderson authored
llvm-svn: 75041
-
- Jun 30, 2009
-
-
Argyrios Kyrtzidis authored
Timings showed no significant difference before and after the commit. llvm-svn: 74504
-
Argyrios Kyrtzidis authored
The implementations of these methods can Use Decl::getASTContext() to get the ASTContext. This commit touches a lot of files since call sites for these methods are everywhere. I used pre-tokenized "carbon.h" and "cocoa.h" headers to do some timings, and there was no real time difference between before the commit and after it. llvm-svn: 74501
-
- Jun 18, 2009
-
-
- May 31, 2009
-
-
Anders Carlsson authored
When possible, don't emit the cleanup block. Instead, just move the instructions to the current block. llvm-svn: 72654
-
- May 29, 2009
-
-
Eli Friedman authored
actually necessary in some obscure cases. llvm-svn: 72585
-
Mike Stump authored
tried other things that might trip, but they all worked. llvm-svn: 72584
-
Mike Stump authored
llvm-svn: 72578
-
- May 16, 2009
-
-
Mike Stump authored
llvm-svn: 71937
-
- Apr 26, 2009
-
-
Sebastian Redl authored
llvm-svn: 70155
-
- Apr 23, 2009
-
-
Chris Lattner authored
the type assigned by sema (and is visible with sizeof(__func__) for example) has nothing to do with what codegen ends up producing. We should eventually add a method on PredefinedExpr to handle this. In the meantime, just set up some framework and add some fixme's. llvm-svn: 69872
-
- Apr 21, 2009
-
-
Chris Lattner authored
in cases like this: typedef struct { short instance; char name[0]; } ATTR_LIST_ENTRY2; void test() { ATTR_LIST_ENTRY2 X = (ATTR_LIST_ENTRY2) { .instance = 7, }; } While it is safe to emit them, it is pretty silly. llvm-svn: 69687
-
- Apr 18, 2009
-
-
Douglas Gregor authored
lazy PCH deserialization. Propagate that argument wherever it needs to be. No functionality change, except that I've tightened up a few PCH tests in preparation. llvm-svn: 69406
-
- Apr 15, 2009
-
-
Anders Carlsson authored
llvm-svn: 69134
-