summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Move a free function from the Frontend library into the Lex library asChandler Carruth2011-12-095-31/+33
| | | | | | | | part of HeaderSearch. This function just normalizes filenames for use inside of a synthetic include directive, but it is used in both the Frontend and Serialization libraries so it needs a common home. llvm-svn: 146227
* Fix comment.Devang Patel2011-12-091-2/+1
| | | | llvm-svn: 146226
* Update stale comment.Devang Patel2011-12-091-4/+1
| | | | llvm-svn: 146220
* Fix a couple of logic bugs in TargetLowering::SimplifyDemandedBits. PR11514.Eli Friedman2011-12-092-4/+19
| | | | llvm-svn: 146219
* deprecated enum should not warn when used initializing another deprecated ↵Fariborz Jahanian2011-12-092-0/+18
| | | | | | | | enumerator. // rdar://10535640 llvm-svn: 146218
* unittests/SupportTests: Fix test. pop modifies the current entry, thus theMichael J. Spencer2011-12-091-5/+2
| | | | | | dontlookhere check must be after it. llvm-svn: 146217
* We now have a test case for stopping within a module in a place where theGreg Clayton2011-12-094-3/+105
| | | | | | | | | | | | | | | translation unit has a interface for a class "Bar" that contains hidden ivars in the implementation and we make sure we can see these hidden ivars. We also test the case where we stop in translation unit that contains the implementation first. So the test runs two tests: 1 - run and stop where we have an interface, run to main and print and make sure we find the hidden ivar 2 - run and stop where we have an implementation, run to main and print and make sure we find the hidden ivar llvm-svn: 146216
* unittests/SupportTests: Add some outs()'s to debug the issues on some bots.Michael J. Spencer2011-12-091-0/+3
| | | | | | | I have run these tests under many configurations on the exact same OS as the failures, and I can't reproduce them :(. llvm-svn: 146214
* Save category name loc in ObjCCategoryImplDecl, patch by Jason Haslam!Argyrios Kyrtzidis2011-12-097-9/+24
| | | | llvm-svn: 146213
* [asan] fix output test to not require debug symbols in asan run-timeKostya Serebryany2011-12-093-5/+5
| | | | llvm-svn: 146212
* [libclang] Make sure we don't try to handle a CXCursor_NoDeclFoundArgyrios Kyrtzidis2011-12-092-2/+9
| | | | | | passed to clang_findReferencesInFile. llvm-svn: 146211
* [arcmt] Un-XFAIL a test.Argyrios Kyrtzidis2011-12-091-7/+38
| | | | llvm-svn: 146210
* Teach the Makefile build about the new diagnostic file from r146207.Chandler Carruth2011-12-091-0/+1
| | | | | | Amazingly this is all that's required. llvm-svn: 146209
* Use default visibility in the the symbols declared in unwind.h. This matchesRafael Espindola2011-12-091-0/+7
| | | | | | the behavior of gcc's unwind.h. llvm-svn: 146208
* Separate the serialization library's diagnostics from the frontend'sChandler Carruth2011-12-099-54/+101
| | | | | | | diagnostics. Conflating them was highly confusing and makes it harder to establish a firm layering separation between these two libraries. llvm-svn: 146207
* Misc Minix-specific changes to clang:Eli Friedman2011-12-085-27/+20
| | | | | | | | | | | . move compiler-rt to a separate directory so the -L argument only includes compiler-rt (thanks joerg) . build all clang subdirs . switches the Minix platform to ELF . normalizes toolchain invocation Patch by Ben Gras. llvm-svn: 146206
* Revert r146184. I am seeing performance regression cause by this patch in ↵Devang Patel2011-12-081-10/+11
| | | | | | one test case. llvm-svn: 146205
* If the expression parser is unable to complete a TagDeclSean Callanan2011-12-089-33/+304
| | | | | | | | | | | | | | in the context in which it was originally found, the expression parser now goes hunting for it in all modules (in the appropriate namespace, if applicable). This means that forward-declared types that exist in another shared library will now be resolved correctly. Added a test case to cover this. The test case also tests "frame variable," which does not have this functionality yet. llvm-svn: 146204
* [asan] better test for use-after-return modeKostya Serebryany2011-12-081-9/+9
| | | | llvm-svn: 146203
* Don't get the exception obj from the slot more than once.Bill Wendling2011-12-081-4/+3
| | | | llvm-svn: 146202
* ARM convenience aliases for VSQRT.Jim Grosbach2011-12-082-1/+7
| | | | llvm-svn: 146201
* Support/FileSystem: Implement recursive_directory_iterator and makeMichael J. Spencer2011-12-085-42/+198
| | | | | | directory_iterator preserve InputIterator semantics on copy. llvm-svn: 146200
* [analyzer] If memory region is tainted mark data as tainted.Anna Zaks2011-12-084-3/+33
| | | | | | + random comments llvm-svn: 146199
* Move CPUHasAVX() prototype out of an #ifdef block of code.Jason Molenda2011-12-081-2/+2
| | | | llvm-svn: 146198
* Fix infinite loop in DSE when deleting a free in a reachable loop that's alsoNick Lewycky2011-12-082-1/+11
| | | | | | trivially infinite. llvm-svn: 146197
* Add 256-bit variant vmovss and vmovsd patterns. rdar://10538417Evan Cheng2011-12-082-0/+31
| | | | llvm-svn: 146196
* Remove reference to dead GEPSplitterPass. PR11506.Eli Friedman2011-12-081-6/+0
| | | | llvm-svn: 146195
* ARM 64-bit VEXT assembly uses a .64 suffix, not .32, amazingly enough.Jim Grosbach2011-12-082-1/+5
| | | | llvm-svn: 146194
* Enhance both TargetLibraryInfo and SelectionDAGBuilder so that the latter ↵Owen Anderson2011-12-086-16/+82
| | | | | | can use the former to prevent the formation of libm SDNode's when -fno-builtin is passed. llvm-svn: 146193
* ARM VSHR implied destination operand form aliases.Jim Grosbach2011-12-084-0/+112
| | | | llvm-svn: 146192
* Add various missing AVX patterns which was causing crashes. Sadly, the generatedEvan Cheng2011-12-082-0/+95
| | | | | | | | code looks pretty bad compared to SSE. rdar://10538793 llvm-svn: 146191
* Tidy up a bit.Jim Grosbach2011-12-081-32/+37
| | | | llvm-svn: 146190
* Fix an edge case in IRGen for conditionals. PR11509.Eli Friedman2011-12-082-0/+11
| | | | llvm-svn: 146189
* SDK/linux: Fix braindead pasto, caught by Matt Beaumont-Gay.Daniel Dunbar2011-12-081-1/+1
| | | | llvm-svn: 146188
* Refactor. No intentional functionality change.Devang Patel2011-12-081-29/+41
| | | | llvm-svn: 146187
* Add rather verbose stats for fast-isel failures.Chad Rosier2011-12-081-0/+153
| | | | llvm-svn: 146186
* ARM asm parser, just issue a warning for a duplicate reg in a list.Jim Grosbach2011-12-081-1/+7
| | | | | | For better 'gas' compatibility. llvm-svn: 146185
* Filter "sink to" candidate blocks sooner. This avoids unnecessary ↵Devang Patel2011-12-081-11/+13
| | | | | | computation to determine whether the block dominates all uses or not. llvm-svn: 146184
* Pass a GlobalAddress instead of an ExternalSymbol to LowerCallTo inAkira Hatanaka2011-12-081-4/+11
| | | | | | | | MipsTargetLowering::LowerGlobalTLSAddress. This is necessary to have call16(__tls_get_addr) emitted instead of got_disp(__tls_get_addr) when the target is Mips64. llvm-svn: 146183
* ARM VSUB implied destination operand form aliases.Jim Grosbach2011-12-082-1/+48
| | | | llvm-svn: 146182
* Tidy up a bit.Jim Grosbach2011-12-081-10/+13
| | | | llvm-svn: 146181
* Don't explicitly marked libm rounding ops as legal on SSE4.1/AVX. There ↵Owen Anderson2011-12-081-11/+0
| | | | | | | | don't seem to be patterns for these, so I don't know why they were marked legal in the first place. Fixes failures caused by r146171. llvm-svn: 146180
* ARM VQADD implied destination operand form aliases.Jim Grosbach2011-12-082-16/+93
| | | | llvm-svn: 146179
* ARM a few more VMUL implied destination operand form aliases.Jim Grosbach2011-12-082-1/+40
| | | | llvm-svn: 146177
* add tree test for suse on ppc64 (r146142)Hal Finkel2011-12-086-0/+12
| | | | llvm-svn: 146176
* Implement 64-bit support for thread local storage handling.Akira Hatanaka2011-12-085-55/+51
| | | | | | | | | | - Modify lowering of global TLS address nodes. - Modify isel of ThreadPointer. - Wrap target global TLS address nodes that are operands of loads with WrapperPIC. - Remove Mips-specific DAG nodes TlsGd, TprelHi and TprelLo, which can be substituted with other existing nodes. llvm-svn: 146175
* This patch extends thread safety analysis with support for the ↵DeLesley Hutchins2011-12-083-35/+132
| | | | | | scoped_lockable attribute. llvm-svn: 146174
* Add SBValue::GetDynamicValue and SBValue::GetStaticValue API's.Jim Ingham2011-12-087-0/+86
| | | | | | <rdar://problem/10545069> llvm-svn: 146173
* Modified __cxa_end_catch to handle dependent exceptions.Howard Hinnant2011-12-083-20/+43
| | | | llvm-svn: 146172
* Teach SelectionDAG to match more calls to libm functions onto existing ↵Owen Anderson2011-12-085-12/+81
| | | | | | SDNodes. Mark these nodes as illegal by default, unless the target declares otherwise. llvm-svn: 146171
OpenPOWER on IntegriCloud