| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Update for LLVM API change. | Owen Anderson | 2009-08-05 | 1 | -5/+8 |
| | | | | | llvm-svn: 78259 | ||||
| * | use CodeGenModule::EmitNullConstant in a couple of places. | Anders Carlsson | 2009-08-02 | 1 | -1/+1 |
| | | | | | llvm-svn: 77915 | ||||
| * | Fix a minor issue with unions in the new struct building code. | Eli Friedman | 2009-08-01 | 1 | -2/+5 |
| | | | | | llvm-svn: 77829 | ||||
| * | Remove the old struct builder code. | Anders Carlsson | 2009-07-31 | 1 | -177/+1 |
| | | | | | llvm-svn: 77738 | ||||
| * | Move code from EmitUnion directly into the function that handles cast-to-union. | Anders Carlsson | 2009-07-31 | 1 | -2/+28 |
| | | | | | llvm-svn: 77735 | ||||
| * | Use the struct builder for unions. | Anders Carlsson | 2009-07-31 | 1 | -0/+2 |
| | | | | | llvm-svn: 77732 | ||||
| * | Update for LLVM API change. | Owen Anderson | 2009-07-31 | 1 | -9/+9 |
| | | | | | llvm-svn: 77722 | ||||
| * | Update for LLVM API change. | Owen Anderson | 2009-07-29 | 1 | -8/+8 |
| | | | | | llvm-svn: 77514 | ||||
| * | Change uses of: | Ted Kremenek | 2009-07-29 | 1 | -3/+3 |
| | | | | | | | | | | | | | | | | | | | | | 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 | ||||
| * | Update for LLVM API change. | Owen Anderson | 2009-07-29 | 1 | -12/+12 |
| | | | | | llvm-svn: 77492 | ||||
| * | Update for LLVM API change. | Owen Anderson | 2009-07-28 | 1 | -2/+2 |
| | | | | | llvm-svn: 77368 | ||||
| * | Update for LLVM API change. | Owen Anderson | 2009-07-28 | 1 | -4/+4 |
| | | | | | llvm-svn: 77349 | ||||
| * | Update for LLVM API change. | Owen Anderson | 2009-07-27 | 1 | -6/+6 |
| | | | | | llvm-svn: 77267 | ||||
| * | Update for LLVM API change. | Owen Anderson | 2009-07-27 | 1 | -4/+6 |
| | | | | | llvm-svn: 77249 | ||||
| * | Enable the new constant struct builder by default. The old code is still in ↵ | Anders Carlsson | 2009-07-27 | 1 | -3/+4 |
| | | | | | | | place but will be removed shortly. The new struct builder works on big endian systems. llvm-svn: 77185 | ||||
| * | More work on the constant struct builder, fix a couple of thinkos and add ↵ | Anders Carlsson | 2009-07-27 | 1 | -9/+59 |
| | | | | | | | support for inserting part of a bitfield in the previous byte. llvm-svn: 77180 | ||||
| * | More work on bitfield support in the new constant struct builder. | Anders Carlsson | 2009-07-27 | 1 | -2/+79 |
| | | | | | llvm-svn: 77177 | ||||
| * | More work on the constant struct builder. We can now convert the struct to a ↵ | Anders Carlsson | 2009-07-25 | 1 | -3/+40 |
| | | | | | | | packed struct when necessary. llvm-svn: 77038 | ||||
| * | More work on the constant struct builder. We now try to layout all constant ↵ | Anders Carlsson | 2009-07-25 | 1 | -6/+19 |
| | | | | | | | structs but throw away the result. llvm-svn: 77021 | ||||
| * | Update for LLVM API change. | Owen Anderson | 2009-07-24 | 1 | -7/+10 |
| | | | | | llvm-svn: 77012 | ||||
| * | Fix a release build warning. | Anders Carlsson | 2009-07-24 | 1 | -1/+1 |
| | | | | | llvm-svn: 76985 | ||||
| * | Check in a half finished new constant struct builder (Obviously not used yet). | Anders Carlsson | 2009-07-24 | 1 | -0/+146 |
| | | | | | llvm-svn: 76969 | ||||
| * | Move the LLVM field number for bit fields into the BitFieldInfo structure, ↵ | Anders Carlsson | 2009-07-23 | 1 | -10/+10 |
| | | | | | | | since it's meaning is completely different than for non-bit fields. llvm-svn: 76882 | ||||
| * | Use arrays as union padding. Also, since the resulting struct will always ↵ | Anders Carlsson | 2009-07-23 | 1 | -7/+10 |
| | | | | | | | contain a single element and either a single i8 element or an array of i8s, there's no reason to use a packed struct. llvm-svn: 76854 | ||||
| * | Per offline discussion with Steve Naroff, add back Type::getAsXXXType() methods | Ted Kremenek | 2009-07-17 | 1 | -2/+2 |
| | | | | | | | | | | 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 | ||||
| * | Replaced Type::getAsLValueReferenceType(), Type::getAsRValueReferenceType(), ↵ | Ted Kremenek | 2009-07-17 | 1 | -2/+2 |
| | | | | | | | Type::getAsMemberPointerType(), Type::getAsTagType(), and Type::getAsRecordType() with their Type::getAs<XXX> equivalents. llvm-svn: 76139 | ||||
| * | Update for LLVM API change, and contextify a bunch of related stuff. | Owen Anderson | 2009-07-14 | 1 | -46/+48 |
| | | | | | llvm-svn: 75705 | ||||
| * | Update for API change. | Owen Anderson | 2009-07-14 | 1 | -1/+1 |
| | | | | | llvm-svn: 75569 | ||||
| * | Update for LLVM API change. | Owen Anderson | 2009-07-13 | 1 | -7/+8 |
| | | | | | llvm-svn: 75446 | ||||
| * | Update for LLVM API change. | Owen Anderson | 2009-07-08 | 1 | -2/+2 |
| | | | | | llvm-svn: 75028 | ||||
| * | Update for LLVM API change. | Owen Anderson | 2009-07-08 | 1 | -1/+1 |
| | | | | | llvm-svn: 74986 | ||||
| * | De-ASTContext-ify DeclContext. | Argyrios Kyrtzidis | 2009-06-30 | 1 | -4/+4 |
| | | | | | | | | Remove ASTContext parameter from DeclContext's methods. This change cascaded down to other Decl's methods and changes to call sites started "escalating". Timings using pre-tokenized "cocoa.h" showed only a ~1% increase in time run between and after this commit. llvm-svn: 74506 | ||||
| * | PR4390: Make sure to handle anonymous unions correctly while building | Eli Friedman | 2009-06-14 | 1 | -5/+2 |
| | | | | | | | static intializers for structs. llvm-svn: 73349 | ||||
| * | Sink the BuiltinInfo object from ASTContext into the | Chris Lattner | 2009-06-14 | 1 | -0/+1 |
| | | | | | | | | | preprocessor and initialize it early in clang-cc. This ensures that __has_builtin works in all modes, not just when ASTContext is around. llvm-svn: 73319 | ||||
| * | Fix up constant expression handling to deal with the address | Eli Friedman | 2009-05-27 | 1 | -15/+3 |
| | | | | | | | of a reference correctly. llvm-svn: 72463 | ||||
| * | Reflow some comments. | Mike Stump | 2009-05-16 | 1 | -3/+3 |
| | | | | | llvm-svn: 71937 | ||||
| * | push GlobalDecl through enough of the CodeGenModule interfaces | Chris Lattner | 2009-05-12 | 1 | -1/+1 |
| | | | | | | | | | | to allow us to support generation of deferred ctors/dtors. It looks like codegen isn't emitting a call to the dtor in member-functions.cpp:test2, but when it does, its body should get emitted. llvm-svn: 71594 | ||||
| * | Correct for renaming PaddedSize -> AllocSize in | Duncan Sands | 2009-05-09 | 1 | -6/+6 |
| | | | | | | | LLVM. llvm-svn: 71350 | ||||
| * | Fix crash with constant initialization of bit-fields in unions. | Eli Friedman | 2009-05-07 | 1 | -1/+1 |
| | | | | | llvm-svn: 71194 | ||||
| * | Fix for PR4108: be a bit looser with the casts that we accept in | Eli Friedman | 2009-04-30 | 1 | -2/+3 |
| | | | | | | | constant initializers. llvm-svn: 70483 | ||||
| * | Minor work related to removing the assumption that value initialization | Eli Friedman | 2009-04-13 | 1 | -11/+18 |
| | | | | | | | implies an all-zero bit pattern. llvm-svn: 68994 | ||||
| * | Add support for generating reference initialization code. | Anders Carlsson | 2009-04-11 | 1 | -2/+21 |
| | | | | | llvm-svn: 68852 | ||||
| * | Rename variables to avoid conflict. | Anders Carlsson | 2009-04-10 | 1 | -8/+8 |
| | | | | | llvm-svn: 68764 | ||||
| * | Propagate the ASTContext to various AST traversal and lookup functions. | Douglas Gregor | 2009-04-09 | 1 | -4/+4 |
| | | | | | | | No functionality change (really). llvm-svn: 68726 | ||||
| * | Add a destination type argument to EmitConstantExpr. This will be used for ↵ | Anders Carlsson | 2009-04-08 | 1 | -9/+17 |
| | | | | | | | when the destination has a reference type. (No functionality change yet) llvm-svn: 68593 | ||||
| * | More "prep" work for handling UTF16 CFString. | Steve Naroff | 2009-04-01 | 1 | -2/+1 |
| | | | | | | | Patch by Jean-Daniel Dupas. Thanks! llvm-svn: 68203 | ||||
| * | Some "prep" work for handling ObjC @-string constants that contain UTF-8. No ↵ | Steve Naroff | 2009-03-31 | 1 | -3/+2 |
| | | | | | | | | | functionality change. Changed GenerateConstantString() to take an ObjCStringLiteral (instead of a std::string). While this isn't strictly necessary, it seems cleaner and allows us to cache to "containsNonAscii" if necessary (to avoid checking in both Sema and CodeGen). llvm-svn: 68114 | ||||
| * | Return 0 if the ConstExprEmitter can't handle an expression. | Anders Carlsson | 2009-03-03 | 1 | -3/+1 |
| | | | | | llvm-svn: 65951 | ||||
| * | Do some blocks cleanup and simplification. Fix a crash, and add a test case. | Anders Carlsson | 2009-03-01 | 1 | -3/+7 |
| | | | | | llvm-svn: 65746 | ||||
| * | CodeGen support for copied BlockDeclRefExprs. | Mike Stump | 2009-02-25 | 1 | -1/+1 |
| | | | | | llvm-svn: 65487 | ||||

