| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | implement rdar://7346691 by codegen'ing struct/array initializers | Chris Lattner | 2009-12-05 | 1 | -61/+118 |
| | | | | | | | to a memset or a memcpy from a global when possible. llvm-svn: 90658 | ||||
| * | simplify a condition and add a testcase. | Chris Lattner | 2009-12-05 | 1 | -8/+10 |
| | | | | | llvm-svn: 90652 | ||||
| * | Handle static_assert inside functions. | Anders Carlsson | 2009-12-03 | 1 | -0/+1 |
| | | | | | llvm-svn: 90461 | ||||
| * | Add missing branch to exit. Seemingly obvious when I look at the | Mike Stump | 2009-12-02 | 1 | -0/+3 |
| | | | | | | | code, but to track this down was laborious. llvm-svn: 90356 | ||||
| * | Don't pass false (default) for isVolatile parameter to CreateLoad. | Daniel Dunbar | 2009-11-29 | 1 | -1/+1 |
| | | | | | llvm-svn: 90098 | ||||
| * | Rename CleanupScope -> DelayedCleanupBlock. No functionality change. | Douglas Gregor | 2009-11-24 | 1 | -5/+5 |
| | | | | | llvm-svn: 89769 | ||||
| * | Teach CodeGenFunction::EmitDecl to ignore Using and UsingShadow decls. | Daniel Dunbar | 2009-11-23 | 1 | -2/+6 |
| | | | | | llvm-svn: 89633 | ||||
| * | Trim whitespace. | Mike Stump | 2009-11-18 | 1 | -1/+0 |
| | | | | | llvm-svn: 89219 | ||||
| * | Move CompileOptions -> CodeGenOptions, and sink it into the CodeGen library. | Chandler Carruth | 2009-11-12 | 1 | -2/+2 |
| | | | | | | | This resolves the layering violation where CodeGen depended on Frontend. llvm-svn: 86998 | ||||
| * | Make sure that Type::getAs<ArrayType>() (or Type::getAs<subclass of | Douglas Gregor | 2009-11-09 | 1 | -1/+1 |
| | | | | | | | | ArrayType>()) does not instantiate. Update all callers that used this unsafe feature to use the appropriate ASTContext::getAs*ArrayType method. llvm-svn: 86596 | ||||
| * | This patch extends CleanupScope to support destruction | Fariborz Jahanian | 2009-11-04 | 1 | -3/+7 |
| | | | | | | | of array objects on block exit. Patch is by Anders Calrsson. llvm-svn: 86032 | ||||
| * | Merge constant array and structures. This will create a global variables for ↵ | Tanya Lattner | 2009-11-04 | 1 | -0/+15 |
| | | | | | | | arrays and structs that are constant and their initializer is constant. It is on by default but can be disable with the flag -fno-merge-all-constants. llvm-svn: 85991 | ||||
| * | Refine volatile handling, specifically, we must have the canonical | Mike Stump | 2009-11-03 | 1 | -5/+7 |
| | | | | | | | | type to look at the volatile specifier. I found these all from just hand auditing the code. llvm-svn: 85967 | ||||
| * | Patch for destruction of array of objects on block exit. | Fariborz Jahanian | 2009-10-29 | 1 | -4/+13 |
| | | | | | llvm-svn: 85512 | ||||
| * | Fix 80-col violation. | Mike Stump | 2009-10-21 | 1 | -2/+2 |
| | | | | | llvm-svn: 84719 | ||||
| * | ignore 'using' directive in CodeGenFunction::EmitDecl(). this fixes PR5085 | Nuno Lopes | 2009-10-16 | 1 | -0/+1 |
| | | | | | llvm-svn: 84255 | ||||
| * | Simplify pointer creation with the new Type::getInt*Ptr methods. | Benjamin Kramer | 2009-10-13 | 1 | -6/+3 |
| | | | | | llvm-svn: 83964 | ||||
| * | Revert 83567. | Devang Patel | 2009-10-09 | 1 | -6/+3 |
| | | | | | llvm-svn: 83676 | ||||
| * | Record location info before emiting alloca for arguments. This allows ↵ | Devang Patel | 2009-10-08 | 1 | -3/+6 |
| | | | | | | | arguments to have proper location info. llvm-svn: 83567 | ||||
| * | Set alignment on static function level decls and VLAs. Fixes PR5060. | Anders Carlsson | 2009-09-26 | 1 | -6/+11 |
| | | | | | llvm-svn: 82868 | ||||
| * | Improve debug info generation for __block variables. | Mike Stump | 2009-09-22 | 1 | -17/+3 |
| | | | | | llvm-svn: 82508 | ||||
| * | Fix another byref bug. This should hopefully get QuickLookPlugins building ↵ | Anders Carlsson | 2009-09-13 | 1 | -10/+10 |
| | | | | | | | successfully. llvm-svn: 81681 | ||||
| * | Add FIXME for alignments that won't be honored. | Mike Stump | 2009-09-12 | 1 | -0/+2 |
| | | | | | llvm-svn: 81620 | ||||
| * | Add support for __block variables with alignment greater than __alignof(void *). | Anders Carlsson | 2009-09-12 | 1 | -22/+57 |
| | | | | | llvm-svn: 81602 | ||||
| * | For __block variables, cache the LLVM types as well as which LLVM field ↵ | Anders Carlsson | 2009-09-12 | 1 | -7/+22 |
| | | | | | | | where the variable is stored. llvm-svn: 81599 | ||||
| * | GlobalDecl doesn't have an explicit constructor anymore. | Anders Carlsson | 2009-09-10 | 1 | -1/+1 |
| | | | | | llvm-svn: 81481 | ||||
| * | Make the forwarding member of block byref structs be a pointer to the block ↵ | Anders Carlsson | 2009-09-10 | 1 | -4/+13 |
| | | | | | | | byref struct itself. llvm-svn: 81423 | ||||
| * | Suppress build warning. | Daniel Dunbar | 2009-09-09 | 1 | -0/+1 |
| | | | | | llvm-svn: 81384 | ||||
| * | Remove tabs, and whitespace cleanups. | Mike Stump | 2009-09-09 | 1 | -44/+44 |
| | | | | | llvm-svn: 81346 | ||||
| * | Make BuildByRefType take a ValueDecl instead of a QualType and an alignment. | Anders Carlsson | 2009-09-09 | 1 | -3/+12 |
| | | | | | llvm-svn: 81315 | ||||
| * | Remove an ErrorUnsupported call. | Anders Carlsson | 2009-08-17 | 1 | -5/+0 |
| | | | | | llvm-svn: 79261 | ||||
| * | Add an IsInitializer flag to EmitAnyExpr. This is used to prevent ↵ | Anders Carlsson | 2009-08-16 | 1 | -2/+2 |
| | | | | | | | temporaries from being destroyed when they're bound to a reference variable. llvm-svn: 79179 | ||||
| * | Update for LLVM API change. | Owen Anderson | 2009-08-13 | 1 | -10/+12 |
| | | | | | llvm-svn: 78946 | ||||
| * | Refactor some code and implement support for global destructors for static ↵ | Anders Carlsson | 2009-08-08 | 1 | -1/+1 |
| | | | | | | | variables. llvm-svn: 78507 | ||||
| * | Update for LLVM API change. | Owen Anderson | 2009-08-05 | 1 | -1/+1 |
| | | | | | llvm-svn: 78259 | ||||
| * | assert(nyi) on attempt to destruct an array of objects. | Fariborz Jahanian | 2009-08-03 | 1 | -2/+6 |
| | | | | | llvm-svn: 77993 | ||||
| * | ir-gen for destructor calls. | Fariborz Jahanian | 2009-08-03 | 1 | -0/+12 |
| | | | | | llvm-svn: 77991 | ||||
| * | use CodeGenModule::EmitNullConstant in a couple of places. | Anders Carlsson | 2009-08-02 | 1 | -3/+2 |
| | | | | | llvm-svn: 77915 | ||||
| * | Update for LLVM API change. | Owen Anderson | 2009-07-31 | 1 | -1/+1 |
| | | | | | llvm-svn: 77722 | ||||
| * | Canonicalize else spacing. | Mike Stump | 2009-07-30 | 1 | -2/+1 |
| | | | | | llvm-svn: 77629 | ||||
| * | Update for LLVM API change. | Owen Anderson | 2009-07-29 | 1 | -6/+6 |
| | | | | | llvm-svn: 77514 | ||||
| * | Update for LLVM API change. | Owen Anderson | 2009-07-29 | 1 | -2/+2 |
| | | | | | llvm-svn: 77492 | ||||
| * | Switch to using llvm::Value::getName() | Daniel Dunbar | 2009-07-26 | 1 | -2/+1 |
| | | | | | llvm-svn: 77147 | ||||
| * | Update for LLVM API change. | Owen Anderson | 2009-07-24 | 1 | -3/+3 |
| | | | | | llvm-svn: 77012 | ||||
| * | Fix thinko. | Daniel Dunbar | 2009-07-19 | 1 | -4/+1 |
| | | | | | llvm-svn: 76362 | ||||
| * | Avoid generation of dead code in a few more situations. | Daniel Dunbar | 2009-07-19 | 1 | -2/+24 |
| | | | | | | | | | | | | | | - 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 | ||||
| * | Update for LLVM API change, and contextify a bunch of related stuff. | Owen Anderson | 2009-07-14 | 1 | -12/+13 |
| | | | | | llvm-svn: 75705 | ||||
| * | Update for LLVM API change. | Owen Anderson | 2009-07-13 | 1 | -1/+1 |
| | | | | | llvm-svn: 75446 | ||||
| * | Update for LLVM API change. | Owen Anderson | 2009-07-08 | 1 | -6/+6 |
| | | | | | llvm-svn: 75028 | ||||
| * | Update for LLVM API change. | Owen Anderson | 2009-07-08 | 1 | -2/+4 |
| | | | | | llvm-svn: 74986 | ||||

