| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Support IRgen of va_arg of structure as l-value. | Daniel Dunbar | 2009-02-11 | 2 | -2/+12 |
| | | | | | llvm-svn: 64325 | ||||
| * | ir-gen for objc's @selector expression in nonfragile abi mode. | Fariborz Jahanian | 2009-02-11 | 1 | -1/+26 |
| | | | | | llvm-svn: 64323 | ||||
| * | Silence a warning about an unused variable in -Asserts builds | Douglas Gregor | 2009-02-11 | 1 | -1/+1 |
| | | | | | llvm-svn: 64306 | ||||
| * | Fix rdar://6518463, increment of a bool is always true, due to | Chris Lattner | 2009-02-11 | 1 | -0/+7 |
| | | | | | | | | subtle and non-obvious promotion rules. We already handle += and +1 correctly. llvm-svn: 64296 | ||||
| * | finish off codegen support for sub of pointer to functions, | Chris Lattner | 2009-02-11 | 1 | -2/+7 |
| | | | | | | | finishing off rdar://6520707 llvm-svn: 64295 | ||||
| * | Handle the case where EmitBlock might be called multiple times for the same ↵ | Anders Carlsson | 2009-02-10 | 1 | -2/+8 |
| | | | | | | | block. Fixes PR3536. llvm-svn: 64252 | ||||
| * | This patch is all it takes to pass all objc2's fast-enumeration | Fariborz Jahanian | 2009-02-10 | 1 | -1/+1 |
| | | | | | | | tests in the dejagnu test suite in the nonfragile abi mode. llvm-svn: 64251 | ||||
| * | Pull CodeGenFunction::EmitVAArg into target specific ABIInfo classes. | Daniel Dunbar | 2009-02-10 | 1 | -0/+11 |
| | | | | | | | - Missed this file. llvm-svn: 64238 | ||||
| * | Pull CodeGenFunction::EmitVAArg into target specific ABIInfo classes. | Daniel Dunbar | 2009-02-10 | 2 | -38/+55 |
| | | | | | llvm-svn: 64235 | ||||
| * | Generate ir for ivar offset. This will pass | Fariborz Jahanian | 2009-02-10 | 1 | -23/+42 |
| | | | | | | | | type-nsobject-attribute.m in the dejagnu test suite in the nonfragile abi mode. llvm-svn: 64233 | ||||
| * | Some refactoring of Ivar offset code gen. | Fariborz Jahanian | 2009-02-10 | 4 | -14/+60 |
| | | | | | | | in preparation for nonfragile ivar offset work. llvm-svn: 64225 | ||||
| * | Tweak x86-64 ABI to allow reuse for vararg handling. | Daniel Dunbar | 2009-02-10 | 1 | -22/+26 |
| | | | | | llvm-svn: 64221 | ||||
| * | Remove the last remnants of the Obj-C EH stack code. | Anders Carlsson | 2009-02-10 | 4 | -220/+4 |
| | | | | | llvm-svn: 64205 | ||||
| * | Start removing the old Obj-C EH stack now that the cleanup stack is used ↵ | Anders Carlsson | 2009-02-10 | 3 | -78/+16 |
| | | | | | | | instead. llvm-svn: 64203 | ||||
| * | Function parameters for PIC16 are like local variables. So use the keyword ↵ | Sanjiv Gupta | 2009-02-10 | 1 | -1/+1 |
| | | | | | | | ".auto." to mangle their names. The working of PIC16AsmPrinter relies on that keyword currently. llvm-svn: 64198 | ||||
| * | Support va_arg on _Complex. | Daniel Dunbar | 2009-02-10 | 1 | -0/+18 |
| | | | | | | | | | | | | gcc compat test suite results (Darwin x86-32 & -64): -- # of expected passes 1110 # of unexpected failures 74 # of unresolved testcases 168 # of unsupported tests 2 llvm-svn: 64197 | ||||
| * | ABI: Correctly handle load/store of values which have a different LLVM | Daniel Dunbar | 2009-02-10 | 1 | -21/+22 |
| | | | | | | | | | | memory representation (e.g., bool). - This upgrades (downgrades) MultiSource/Applications/ClamAV/clamscan to a miscompile and fixes SingleSource/UnitTests/2003-05-31-CastToBool. llvm-svn: 64194 | ||||
| * | Add util Emit{LoadOf,StoreTo}Scalar methods to encapsulate conversion | Daniel Dunbar | 2009-02-10 | 2 | -23/+50 |
| | | | | | | | | from LLVM memory type to/from LLVM temporary type. - No intended functionality change. llvm-svn: 64191 | ||||
| * | Make sure to initialize local variables, even if they were ignored by | Daniel Dunbar | 2009-02-10 | 1 | -0/+7 |
| | | | | | | | ABI. llvm-svn: 64187 | ||||
| * | Use the new cleanup infrastructure for VLAs. The next iteration of patches ↵ | Anders Carlsson | 2009-02-09 | 1 | -2/+12 |
| | | | | | | | will remove the old Obj-C EH cleanup code. llvm-svn: 64161 | ||||
| * | Use the new cleanup infrastructure for @try/@finally | Anders Carlsson | 2009-02-09 | 1 | -21/+17 |
| | | | | | llvm-svn: 64160 | ||||
| * | Replace a bunch of EmitBranch calls with EmitBranchThroughCleanup. No ↵ | Anders Carlsson | 2009-02-09 | 1 | -5/+5 |
| | | | | | | | functionality change (yet). llvm-svn: 64159 | ||||
| * | Save and restore the DidCallStackSave variable | Anders Carlsson | 2009-02-09 | 1 | -0/+4 |
| | | | | | llvm-svn: 64157 | ||||
| * | Add DidCallStackSave variable to CodeGenFunction. | Anders Carlsson | 2009-02-09 | 2 | -0/+5 |
| | | | | | llvm-svn: 64156 | ||||
| * | Start processing template-ids as types when the template-name refers | Douglas Gregor | 2009-02-09 | 1 | -0/+1 |
| | | | | | | | | | | | | | | | | | | | | | | to a class template. For example, the template-id 'vector<int>' now has a nice, sugary type in the type system. What we can do now: - Parse template-ids like 'vector<int>' (where 'vector' names a class template) and form proper types for them in the type system. - Parse icky template-ids like 'A<5>' and 'A<(5 > 0)>' properly, using (sadly) a bool in the parser to tell it whether '>' should be treated as an operator or not. This is a baby-step, with major problems and limitations: - There are currently two ways that we handle template arguments (whether they are types or expressions). These will be merged, and, most likely, TemplateArg will disappear. - We don't have any notion of the declaration of class template specializations or of template instantiations, so all template-ids are fancy names for 'int' :) llvm-svn: 64153 | ||||
| * | Add some more documentation. Also reflowed comments to 80 col. | Mike Stump | 2009-02-08 | 1 | -226/+214 |
| | | | | | llvm-svn: 64105 | ||||
| * | Reuse case destinations. | Anders Carlsson | 2009-02-08 | 1 | -8/+27 |
| | | | | | llvm-svn: 64100 | ||||
| * | Always check if we can remove branch fixups, even if the cleanup stack is empty. | Anders Carlsson | 2009-02-08 | 1 | -17/+15 |
| | | | | | llvm-svn: 64099 | ||||
| * | Add a simplified EmitJumpThroughFinally and use it in CGObjC in preparation ↵ | Anders Carlsson | 2009-02-08 | 2 | -11/+15 |
| | | | | | | | of making it use the cleanup stack. llvm-svn: 64098 | ||||
| * | Misc fixes to the cleanup stack code. | Anders Carlsson | 2009-02-08 | 1 | -1/+10 |
| | | | | | llvm-svn: 64096 | ||||
| * | When we're at the stack depth we want, there isn't anything to do. | Mike Stump | 2009-02-08 | 1 | -0/+4 |
| | | | | | llvm-svn: 64095 | ||||
| * | Wire up break and continue processing to the new stack depth adjuster. | Mike Stump | 2009-02-08 | 2 | -42/+68 |
| | | | | | | | | | If people could beat on it and let me know if there are any new semantics required by newer language standards or DRs or any little details I goofed on, I'd be happy to fix any issues found. llvm-svn: 64079 | ||||
| * | More cleanup stack work, PopCleanupBlock now returns a struct with the ↵ | Anders Carlsson | 2009-02-08 | 2 | -40/+56 |
| | | | | | | | switch block and end block. llvm-svn: 64072 | ||||
| * | Split some functions up | Anders Carlsson | 2009-02-08 | 2 | -25/+50 |
| | | | | | llvm-svn: 64069 | ||||
| * | CleanupScope needs to push the cleanup block in its destructor | Anders Carlsson | 2009-02-08 | 2 | -11/+9 |
| | | | | | llvm-svn: 64068 | ||||
| * | Implement support for branch fixups. | Anders Carlsson | 2009-02-08 | 1 | -1/+71 |
| | | | | | llvm-svn: 64064 | ||||
| * | More cleanup stack work. | Anders Carlsson | 2009-02-08 | 2 | -0/+52 |
| | | | | | llvm-svn: 64059 | ||||
| * | When emitting blocks, keep track of which cleanup scope they have. Minor ↵ | Anders Carlsson | 2009-02-08 | 3 | -1/+36 |
| | | | | | | | fixes and cleanup. llvm-svn: 64053 | ||||
| * | Emit a cleanup block for the cleanup attribute | Anders Carlsson | 2009-02-07 | 1 | -0/+16 |
| | | | | | llvm-svn: 64052 | ||||
| * | Add support for emitting cleanup blocks. Make EmitCompoundStatement emit ↵ | Anders Carlsson | 2009-02-07 | 3 | -1/+34 |
| | | | | | | | cleanup blocks if necessary llvm-svn: 64051 | ||||
| * | Add a simple RAII object, to be used for pushing a cleanup entry and make ↵ | Anders Carlsson | 2009-02-07 | 1 | -0/+19 |
| | | | | | | | the insertion point be the cleanup block. llvm-svn: 64048 | ||||
| * | Ensure we track all the stack depths for all break and continue points | Mike Stump | 2009-02-07 | 3 | -15/+34 |
| | | | | | | | | correctly. This should lay the ground work to throw the big switch and start code gening break and continue in the presense of vlas. llvm-svn: 64046 | ||||
| * | Add plumbing for the cleanup stack. | Anders Carlsson | 2009-02-07 | 2 | -0/+31 |
| | | | | | llvm-svn: 64043 | ||||
| * | Split the exception object out into its own stack. | Anders Carlsson | 2009-02-07 | 2 | -10/+12 |
| | | | | | llvm-svn: 64032 | ||||
| * | Simplify the Objective-C exception handling. | Anders Carlsson | 2009-02-07 | 2 | -16/+24 |
| | | | | | llvm-svn: 64031 | ||||
| * | Format for 80-cols. | Mike Stump | 2009-02-07 | 1 | -2/+2 |
| | | | | | llvm-svn: 64030 | ||||
| * | Ensure that we don't miscodegen if vlas creap into the top of the for. | Mike Stump | 2009-02-07 | 1 | -0/+6 |
| | | | | | | | | This will allow us to generate break and continue even if vlas are involved without worry that we'll silently generate bad code. llvm-svn: 64028 | ||||
| * | Arrange to have the correct StackDepth for while statements. | Mike Stump | 2009-02-07 | 2 | -9/+12 |
| | | | | | llvm-svn: 64021 | ||||
| * | Fit into 80-col. | Mike Stump | 2009-02-07 | 1 | -3/+3 |
| | | | | | llvm-svn: 64020 | ||||
| * | Fixup goto codegen in and around VLAs. | Mike Stump | 2009-02-07 | 5 | -28/+100 |
| | | | | | llvm-svn: 64014 | ||||

