summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Also count identity copies.Jakob Stoklund Olesen2011-05-061-0/+2
| | | | llvm-svn: 130996
* Pass -disable-cfi.Rafael Espindola2011-05-061-1/+1
| | | | llvm-svn: 130995
* Fix a couple of comments.Eli Friedman2011-05-061-5/+3
| | | | llvm-svn: 130994
* Add an implementation of thunks for varargs methods. The implementation is ↵Eli Friedman2011-05-064-49/+180
| | | | | | a bit messy, but it is correct as long as the method in question doesn't use indirect gotos. A couple of possible alternative implementations are outlined in FIXME's in this patch. rdar://problem/8077308 . llvm-svn: 130993
* Post-RA scheduler compile time fix. Quadratic computation of DAG node depth.Andrew Trick2011-05-061-4/+10
| | | | | | | | | | | The post-ra scheduler was explicitly updating the depth of a node's successors after scheduling it, regardless of whether the successor was ready. This is quadratic for DAGs with transitively redundant edges. I simply removed the useless update of depth, which is lazilly computed later. Fixes <rdar://problem/9044332> compiler takes way too long to build TextInput. llvm-svn: 130992
* Move CompileUnit::getOrCreateNameSpace() and CompileUnit::addPubType() from ↵Devang Patel2011-05-062-34/+35
| | | | | | DwarfDebug.cpp to DwarfCompileUnit.cpp llvm-svn: 130991
* Introduce a new libclang parsing flag,Douglas Gregor2011-05-0613-26/+98
| | | | | | | | | | | | | CXTranslationUnit_NestedMacroInstantiations, which indicates whether we want to see "nested" macro instantiations (e.g., those that occur inside other macro instantiations) within the detailed preprocessing record. Many clients (e.g., those that only care about visible tokens) don't care about this information, and in code that uses preprocessor metaprogramming, this information can have a very high cost. Addresses <rdar://problem/9389320>. llvm-svn: 130990
* Nothing else uses this label.Rafael Espindola2011-05-061-3/+0
| | | | llvm-svn: 130989
* Yet more dead code.Rafael Espindola2011-05-062-17/+0
| | | | llvm-svn: 130988
* Update comments.Rafael Espindola2011-05-062-3/+6
| | | | llvm-svn: 130987
* Reset the emitted initializers.Axel Naumann2011-05-061-0/+2
| | | | | | This enables incremental codegen, where the initializer array can be removed from the module, such that only new initializers will be emitted and run. llvm-svn: 130986
* More dead code elimination.Rafael Espindola2011-05-062-73/+0
| | | | llvm-svn: 130985
* Dead code elimination.Rafael Espindola2011-05-067-123/+4
| | | | llvm-svn: 130984
* Move logic for passing down -mrelax-all / -relax-all into a commonJoerg Sonnenberger2011-05-061-14/+37
| | | | | | | | function. Extend the logic to check if the input was compiled. Use -relax-all as default only if -O0 is used for compilation. Fixes bug 9290. llvm-svn: 130983
* Warn when trying to call a pure virtual member function in a class from the ↵Anders Carlsson2011-05-063-0/+24
| | | | | | class constructor/destructor. Fixes PR7966. llvm-svn: 130982
* Rename ContainsCompileAction to ContainsCompileOrAssembleAction toJoerg Sonnenberger2011-05-061-5/+5
| | | | | | properly reflect its behavior. llvm-svn: 130981
* PTX: add PTX 2.3 language targetJustin Holewinski2011-05-064-1/+8
| | | | | | Patch by Wei-Ren Chen llvm-svn: 130980
* Fix PR9820: a read-only call differs from a load in that a load doesn'tDuncan Sands2011-05-062-6/+35
| | | | | | | return the pointer being dereferenced, it returns the pointee, but a call might return the pointer itself. llvm-svn: 130979
* Re-revert r130877; it's apparently causing a regression on 197.parser,Eli Friedman2011-05-063-95/+29
| | | | | | possibly related to cbnz formation. llvm-svn: 130977
* ScopDetection: Remember the functions generated by backend in a pointer set, ↵Hongbin Zheng2011-05-064-12/+24
| | | | | | | | so we do not re-generate code for these functions. llvm-svn: 130975
* Do defaulted constructors properly.Alexis Hunt2011-05-069-16/+103
| | | | | | | | Explictly defaultedness is correctly reflected on the AST, but there are no changes to how that affects the definition of functions or much else really. llvm-svn: 130974
* change RC_BUILDIT to RC_XBS for detecting Apple build environmentNick Kledzik2011-05-061-3/+3
| | | | llvm-svn: 130970
* Revert r130912 in order to approach defaulted functions from the otherAlexis Hunt2011-05-0611-78/+15
| | | | | | | direction and not introduce things in the wrong place three different times. llvm-svn: 130968
* The computation of string length is not that complicated. Fix it, again. :)Nick Lewycky2011-05-052-2/+2
| | | | llvm-svn: 130967
* Added the ability to cast pointer types to another type, no matter what theGreg Clayton2011-05-052-0/+51
| | | | | | | ValueObject is, as long as the ValueObject that is being asked to be casted is a pointer itself. llvm-svn: 130966
* Comment.Johnny Chen2011-05-051-2/+3
| | | | llvm-svn: 130965
* Remove DwarfTableException.Rafael Espindola2011-05-054-413/+1
| | | | llvm-svn: 130964
* Add comment for self.child_in_script_interpreter.Johnny Chen2011-05-051-2/+5
| | | | llvm-svn: 130963
* Slight tweak to alias template error handling: don't guess that a ↵Richard Smith2011-05-052-3/+3
| | | | | | template-id in an alias declaration was meant to be a specialization. Use a generic, but more accurate, diagnostic. llvm-svn: 130961
* Use standard lldb enum -- lldb.eStopReasonBreakpoint.Johnny Chen2011-05-051-1/+1
| | | | llvm-svn: 130960
* Remove the DwarfTable enum.Rafael Espindola2011-05-053-7/+2
| | | | llvm-svn: 130959
* Update www: we now mangle references to function parameters properly. Also, ↵Richard Smith2011-05-051-2/+2
| | | | | | this is really more a decltype issue rather than a late-specified return type issue. llvm-svn: 130958
* In debug output, clearly list new instructions without DebugLoc.Devang Patel2011-05-051-36/+2
| | | | llvm-svn: 130957
* type of last arg of objc_assign_ivar is ptrdiff_t. Fariborz Jahanian2011-05-051-1/+5
| | | | | | // rdar://9362887 llvm-svn: 130956
* Remove little used statistical counter.Devang Patel2011-05-051-29/+0
| | | | llvm-svn: 130955
* PR9838: Fix transform introduced in r127064 to not trigger when only one ↵Eli Friedman2011-05-053-2/+13
| | | | | | side of the icmp is an exact shift. llvm-svn: 130954
* Implement support for C++0x alias templates.Richard Smith2011-05-0559-138/+1119
| | | | llvm-svn: 130953
* Move PPC Linux to CFI.Rafael Espindola2011-05-051-1/+1
| | | | llvm-svn: 130951
* Fix typo. No functional change.Nick Lewycky2011-05-051-1/+1
| | | | llvm-svn: 130949
* __alignof attribute on the field must considerFariborz Jahanian2011-05-053-13/+14
| | | | | | packed attribute on the field. //rdar://9217290 llvm-svn: 130948
* Implement a really simple DwarfSjLjException.Rafael Espindola2011-05-054-0/+68
| | | | llvm-svn: 130947
* When the environment variable LIBCLANG_RESOURCE_USAGE is set, teachDouglas Gregor2011-05-053-5/+24
| | | | | | | libclang to emit information about resource usage after parsing, code completion, etc. llvm-svn: 130946
* PR9849: Fix _mm_setr_pi32 and friends to actually work correctly. They ↵Eli Friedman2011-05-051-4/+4
| | | | | | broke with the MMX rewrite a while back. llvm-svn: 130945
* List all exception types in a switch.Rafael Espindola2011-05-051-14/+15
| | | | llvm-svn: 130944
* ARM post RA scheduler compile time fix.Andrew Trick2011-05-051-0/+12
| | | | | | | | | | | | | | BuildSchedGraph was quadratic in the number of calls in the basic block. After this fix, it keeps only a single call at the top of the DefList so compile time doesn't blow up on large blocks. This reduces postRA sched time on an external test case from 81s to 0.3s. Although r130800 (reduced ARM register alias defs) also partially fixes the issue by reducing the constant overhead of checking call interference by an order of magnitude. Fixes <rdar://problem/7662664> very poor compile time with post RA scheduling. llvm-svn: 130943
* whitespaceAndrew Trick2011-05-051-16/+16
| | | | llvm-svn: 130942
* tests: Force a triple in this test (so uint128 is present).Daniel Dunbar2011-05-051-1/+1
| | | | llvm-svn: 130941
* Change the process iteration pattern to a more concise:Johnny Chen2011-05-051-2/+2
| | | | | | | for thread in process: print >> output, print_stacktrace(thread, string_buffer=True) llvm-svn: 130940
* add support for setjmp/longjmp based exceptionsNick Kledzik2011-05-051-0/+159
| | | | llvm-svn: 130938
* Don't produce a __debug_frame.Rafael Espindola2011-05-052-5/+19
| | | | | | | I tested both gdb on a bootstrapped clang and and the gdb testsuite on OS X (snow leopard) and both are happy using __eh_frame. llvm-svn: 130937
OpenPOWER on IntegriCloud