summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen
Commit message (Collapse)AuthorAgeFilesLines
...
* Use a different name for pointer types in tbaa, to be a littleDan Gohman2010-10-151-2/+3
| | | | | | more consistent with other names, and to look less like a magic name. llvm-svn: 116616
* Add a comment.Dan Gohman2010-10-151-1/+3
| | | | llvm-svn: 116615
* Fix a typo in a comment Frits van Bommel spotted.Dan Gohman2010-10-151-1/+1
| | | | llvm-svn: 116614
* Experimental TBAA support for enum types.Dan Gohman2010-10-153-7/+38
| | | | llvm-svn: 116613
* Don't leak the TBAA object.Dan Gohman2010-10-151-0/+1
| | | | llvm-svn: 116595
* Add a comment about odd "signed char" incompatibility between C++ and C.Dan Gohman2010-10-151-1/+5
| | | | llvm-svn: 116593
* Death to blocks, or at least the word "block" in one particular obnoxiouslyJohn McCall2010-10-159-48/+46
| | | | | | ambiguous context. llvm-svn: 116567
* Update CMake.Daniel Dunbar2010-10-151-0/+1
| | | | llvm-svn: 116548
* Add a TBAA type for pointer types.Dan Gohman2010-10-151-0/+4
| | | | llvm-svn: 116544
* Unsigned types are TBAA-compatible with their signed counterparts.Dan Gohman2010-10-141-4/+18
| | | | | | Also, handle unknown types conservatively. llvm-svn: 116541
* Experimental TBAA support.Dan Gohman2010-10-147-10/+191
| | | | | | | This enables metadata generation by default, however the TBAA pass in the optimizer is still disabled for now. llvm-svn: 116536
* Use root non-virtual primary base class, not just immediate primary base ↵Devang Patel2010-10-141-1/+11
| | | | | | | | class, for AT_containing_type. This is tested by virtfunc.exp in gdb testsuite. llvm-svn: 116535
* Eliminate usage of ObjCSuperExpr used forFariborz Jahanian2010-10-145-19/+17
| | | | | | | 'super' as receiver of property or a setter/getter methods. //rdar: //8525788 llvm-svn: 116483
* Fix debug info for anon union. Devang Patel2010-10-122-12/+46
| | | | | | This is tested by anon-union.exp. llvm-svn: 116372
* Fixes a typo which caused byte offset in debug info Fariborz Jahanian2010-10-111-1/+1
| | | | | | for ivars to be 0. Fixes pr8353. llvm-svn: 116273
* Fix debug info for functions whose context is a namespace.Devang Patel2010-10-111-2/+6
| | | | | | This is tested by namespace.exp in gdb testsuite. llvm-svn: 116248
* Per discussion with Sanjiv, remove the PIC16 target from mainline. When/ifChris Lattner2010-10-111-73/+0
| | | | | | | it comes back, it will be largely a rewrite, so keeping the old codebase in tree isn't helping anyone. llvm-svn: 116191
* Make sure the VTables for template instantiations are emitted even if the ↵Argyrios Kyrtzidis2010-10-113-22/+30
| | | | | | key function doesn't have a body. llvm-svn: 116186
* Don't let typeinfo name symbols be 'internal hidden', it can lead to linker ↵Argyrios Kyrtzidis2010-10-111-1/+1
| | | | | | | | conflicts with similarly named classes in anonymous namespaces. llvm-svn: 116185
* lib/CodeGen/CodeGenModule.cpp: DLLImportLinkage should be processed also on ↵NAKAMURA Takumi2010-10-111-1/+3
| | | | | | | | declaration. It enables clang to compile Mingw's headers. llvm-svn: 116184
* Implement __builtin_ia32_vec_ext_v2si function (required by Qt).Argyrios Kyrtzidis2010-10-101-0/+3
| | | | llvm-svn: 116162
* Add target implementations for the X86 builtins:Bill Wendling2010-10-092-1/+33
| | | | | | | | | | | __builtin_ia32_vec_init_v8qi __builtin_ia32_vec_init_v4hi __builtin_ia32_vec_init_v2si They are lowered to bitcasts. (These are all ready tested by the gcc testsuite.) <rdar://problem/8529957> llvm-svn: 116147
* Permit constant evaluation of const floating-point variables withJohn McCall2010-10-095-15/+26
| | | | | | constant initializers. llvm-svn: 116138
* Implement C++0x scoped enumerations, from Daniel Wallin! (and tweaked aDouglas Gregor2010-10-082-4/+14
| | | | | | bit by me). llvm-svn: 116122
* Revert the hack Chris Lattner added in r97981 to work aroundDouglas Gregor2010-10-081-10/+0
| | | | | | | brokenness in the designated-initializer ASTs. The ASTs were fixed by Alp Toker's patch (r116098) for PR6955. Fixes PR6537. llvm-svn: 116101
* Tighter check in r116060 blcoked enums also. Emit enum const's debug info.Devang Patel2010-10-081-3/+3
| | | | llvm-svn: 116071
* Do not repeat debug info for file variable constants.Devang Patel2010-10-081-1/+5
| | | | | | This is tested by file-statics.exp in gdb testsuite. llvm-svn: 116060
* Identify functions with prototype appropriately in debug info. Devang Patel2010-10-071-1/+7
| | | | | | This is tested by callfuncs.exp in gdb testsuite. llvm-svn: 115989
* Mark FunctionNoProtoType's argument as unspecified parameters.Devang Patel2010-10-061-3/+3
| | | | llvm-svn: 115834
* Re-enable EH cleanups to destroy __block variables, now that we have a moment toJohn McCall2010-10-061-2/+1
| | | | | | deal with the consequences. Fixes rdar://problem/8224178. llvm-svn: 115816
* Do not emit subrange for incomplete array type.Devang Patel2010-10-061-7/+11
| | | | | | This is tested by ptype.exp in gdb testsuite. llvm-svn: 115805
* Remove unused argument.Devang Patel2010-10-063-5/+3
| | | | llvm-svn: 115789
* Teach PopCleanupBlock to correctly handle the possibility of branching throughJohn McCall2010-10-051-9/+14
| | | | | | | a EH-only cleanup as part of a fallthrough branch-through. That this happens for this test case is actually a separate bug. llvm-svn: 115668
* If we're resolving all outstanding fixups, and there are multiple fixupsJohn McCall2010-10-051-3/+4
| | | | | | | | | for the same destination, then we must potentially rewrite the initial branch of every fixup. Without this patch, a short-circuit check meant to prevent a switch case from being redundantly added was preventing later fixups from being processed. Fixes PR8175 (again). llvm-svn: 115586
* In the fragile ObjC ABI, save the caught exception to the side if there areJohn McCall2010-10-041-6/+33
| | | | | | | both @catches and a @finally, because the second call to @objc_exception_try_enter will clobber the exception slot. Fixes rdar://problem/8440970. llvm-svn: 115575
* dyn_cast is more appropriate here.Devang Patel2010-10-041-1/+1
| | | | llvm-svn: 115569
* Add missing '}' :)Devang Patel2010-10-041-0/+1
| | | | llvm-svn: 115568
* Emit debug info for an aggregate while processing MemberExpr if the ↵Devang Patel2010-10-041-0/+12
| | | | | | aggregate's debug info was delayed untill now. llvm-svn: 115564
* Fix filename in header comment.Devang Patel2010-10-041-1/+1
| | | | llvm-svn: 115561
* when expanding a builtin, if the argument is required to be a constant,Chris Lattner2010-10-021-3/+40
| | | | | | | | | force it to be a constant instead of emitting with EmitScalarExpr. In -ftrapv mode, they are not the same. This fixes rdar://8478728 + PR8221 llvm-svn: 115388
* tidyChris Lattner2010-10-011-3/+3
| | | | llvm-svn: 115383
* Mark explict methods as explict in debug info.Devang Patel2010-10-011-1/+9
| | | | llvm-svn: 115379
* Output debug info. for ivars declared in classFariborz Jahanian2010-10-011-3/+2
| | | | | | | extension and implementation. Fixes rdar://8493239. llvm-svn: 115248
* Introduce -flimit-debug-info.Devang Patel2010-09-303-7/+60
| | | | | | In this experimental mode try avoiding debug info emission for classes as much as possible. The goal is to reduce size of produced debuginfo without reducing quality of debug info in general. This is a work in progress. llvm-svn: 115188
* Attach aritifical attribute with implicit parameters.Devang Patel2010-09-291-3/+6
| | | | | | Radar 8493141. llvm-svn: 115104
* Emit method access specifier.Devang Patel2010-09-291-0/+6
| | | | | | Radar 8490416. llvm-svn: 115090
* Update to reflect DIFactory::CreateSubprogram() interface change from r115084.Devang Patel2010-09-291-15/+20
| | | | llvm-svn: 115085
* Remove dead code.Devang Patel2010-09-291-7/+0
| | | | llvm-svn: 115079
* Add support for attribute((naked)), patch by Zoxc on cfe-commits!Daniel Dunbar2010-09-291-0/+3
| | | | | | - Minor style tweaks by me. llvm-svn: 115056
* Accidentally committed some temporary changes on my branch when reverting ↵Bill Wendling2010-09-282-35/+31
| | | | | | patches. llvm-svn: 114936
OpenPOWER on IntegriCloud