summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* [analyzer] Tests: move system functions into system header simulator files.Jordan Rose2013-04-153-18/+8
| | | | | | | | | | Some checkers ascribe different behavior to functions declared in system headers, so when working with standard library functions it's probably best to always have them in a standard location. Test change only (no functionality change), but necessary for the next commit. llvm-svn: 179552
* Fix silly typo that broke big endian hosts.Rafael Espindola2013-04-151-1/+1
| | | | llvm-svn: 179551
* Enabling test case to write the average+stddev pair to the resultsEnrico Granata2013-04-156-25/+68
| | | | | | | | | | | | | | | The sketch test case writes avg+stddev for all its metrics: <key>fetch-frames</key> <dict> <key>description</key> <string>time to dump backtrace for every frame in every thread</string> <key>stddev</key> <real>0.006270938361432314</real> <key>value</key> <real>0.011568079851851851</real> </dict> llvm-svn: 179550
* Fix endianness on some MSVC versions.Rafael Espindola2013-04-151-1/+1
| | | | | | Looks like it was evaluating undef == undef to true. llvm-svn: 179549
* - Adding a relaunch feature to the performance tester: you can use the ↵Enrico Granata2013-04-153-11/+50
| | | | | | | | relaunch if you want to measure multiple runs of your app keeping the same metrics alive. New arguments must be supplied - and the step counter will not be reset (this makes it easy to avoid endless loops) - Having the Sketch test case relaunch itself llvm-svn: 179548
* Revert "Speed-up ObjCMethodDecl::getOverriddenMethods()."Argyrios Kyrtzidis2013-04-154-52/+50
| | | | | | | | | | | This reverts commit r179436. Due to caching, it was possible that we could miss overridden methods that were introduced by categories later on. Along with reverting the commit I also included a test case that would have caught this. llvm-svn: 179547
* R600/SI: Emit config values in register value pairs.Tom Stellard2013-04-153-6/+46
| | | | | | | | Instead of emitting config values in a predefined order, the code emitter will now emit a 32-bit register index followed by the 32-bit config value. llvm-svn: 179546
* R600/SI: Emit configuration value in the .AMDGPU.config ELF sectionTom Stellard2013-04-152-1/+10
| | | | llvm-svn: 179545
* R600: Emit ELF formatted code rather than raw ISA.Tom Stellard2013-04-156-12/+74
| | | | llvm-svn: 179544
* Removed a duplicate copy of the contents ofSean Callanan2013-04-151-122/+0
| | | | | | | Materializer.h that somehow crept in, maybe during a patch operation. llvm-svn: 179543
* Fix a typo in comment.Jim Grosbach2013-04-151-1/+1
| | | | llvm-svn: 179542
* Simplify the MCInst operator iterator declaration.Jim Grosbach2013-04-151-1/+1
| | | | llvm-svn: 179541
* Grammar and punctuation fixes.John Criswell2013-04-151-6/+6
| | | | | | No content changes. llvm-svn: 179540
* Audited the existing Materializer code to ensureSean Callanan2013-04-156-16/+36
| | | | | | | | that it works in the absence of a process. Codepaths in the Materializer now use the best execution context scope available to them. llvm-svn: 179539
* Remove XFAIL now that the test is standalone.Rafael Espindola2013-04-151-1/+0
| | | | llvm-svn: 179538
* [PCH/test] Make test/PCH/cxx-typeid.cpp self-contained by including the ↵Argyrios Kyrtzidis2013-04-152-4/+45
| | | | | | | | relevant standard library declarations instead of depending on a system header inclusion. llvm-svn: 179537
* Try to fix the mingw builds.Rafael Espindola2013-04-151-1/+1
| | | | llvm-svn: 179536
* Fix bit size of v64i8 and v32i16 vector types.Arnold Schwaighofer2013-04-151-2/+2
| | | | | | Patch by Cameron McInally <cameron.mcinally@nyu.edu>. llvm-svn: 179535
* Remove getters now that we can specialize structs on the host endianness.Rafael Espindola2013-04-152-78/+83
| | | | llvm-svn: 179534
* Avoid outputting temporary test file into source tree.Tim Northover2013-04-151-1/+1
| | | | llvm-svn: 179532
* Fix unused variable warning with assertions disabled.Alexander Kornienko2013-04-151-3/+4
| | | | llvm-svn: 179531
* Remove unused function.Rafael Espindola2013-04-151-4/+0
| | | | llvm-svn: 179530
* Use llvm::sys::IsBigEndianHost.Rafael Espindola2013-04-151-1/+1
| | | | llvm-svn: 179529
* Adding support for -include/-exclude to cpp11-migrateEdwin Vane2013-04-157-2/+175
| | | | | | | | | | | This commit adds initial support for the -include/-exclude options which are both currently marked as hidden. This support is the first step toward supporting transformations in headers included from source files. Added unittests to test include/exclude support. Author: Jack Yang <jack.yang@intel.com> llvm-svn: 179528
* Make the host endianness check an integer constant expression.Rafael Espindola2013-04-158-22/+30
| | | | | | | | | | | | | | | I will remove the isBigEndianHost function once I update clang. The ifdef logic is designed to * not use configure/cmake to avoid breaking -arch i686 -arch ppc. * default to little endian * be as small as possible It looks like sys/endian.h is the preferred header on most modern BSD systems, but it is better to change this in a followup patch as machine/endian.h is available on FreeBSD, OpenBSD, NetBSD and OS X. llvm-svn: 179527
* Unified token breaking logic for strings and block comments.Alexander Kornienko2013-04-157-481/+811
| | | | | | | | | | | | | | | | | | | | | | Summary: Both strings and block comments are broken into lines in breakProtrudingToken. Logic specific for strings or block comments is abstracted in implementations of the BreakToken interface. Among other goodness, this change fixes placement of backslashes after a block comment inside a preprocessor directive (see removed FIXMEs in unit tests). The code is far from being polished, and some parts of it will be changed for line comments support. Reviewers: klimek Reviewed By: klimek CC: cfe-commits Differential Revision: http://llvm-reviews.chandlerc.com/D665 llvm-svn: 179526
* Add a missing spaceTimur Iskhodzhanov2013-04-151-1/+1
| | | | llvm-svn: 179525
* [msan] Fix sigaction test.Evgeniy Stepanov2013-04-151-0/+6
| | | | | | Restore SIGPROF handler to the original state after the test. llvm-svn: 179524
* Remove hasExternalLinkageUncached.Rafael Espindola2013-04-155-24/+23
| | | | | | | | It was being used correctly, but it is a very dangerous API to have around. Instead, move the logic from the filtering to when we are deciding if we should link two decls. llvm-svn: 179523
* [msan] Really disable replacement new and delete.Evgeniy Stepanov2013-04-151-0/+4
| | | | llvm-svn: 179522
* Fix the storage class of method instantiations.Rafael Espindola2013-04-152-16/+3
| | | | | | | | | We keep the "as written" storage class, but that is a fuzzy concept for instantiations. With this patch instantiations of methods of class templates now get a storage class that is based on the semantics of isStatic(). With this can simplify isStatic() itself. llvm-svn: 179521
* Replace uses of the deprecated std::auto_ptr with OwningPtr.Andy Gibbs2013-04-153-44/+38
| | | | | | This is a rework of the broken parts in r179373 which were subsequently reverted in r179374 due to incompatibility with C++98 compilers. This version should be ok under C++98. llvm-svn: 179520
* Remove reference to MSVC only building X86 backend.Tim Northover2013-04-151-4/+0
| | | | | | This is no longer true. llvm-svn: 179519
* Enable all targets by default on Visual Studio.Tim Northover2013-04-152-8/+3
| | | | llvm-svn: 179518
* Local thread_local variables are implicitly 'static'. (This doesn't apply to ↵Richard Smith2013-04-153-7/+37
| | | | | | _Thread_local nor __thread.) llvm-svn: 179517
* Properly check for a constant initializer for a thread-local variable.Richard Smith2013-04-152-1/+4
| | | | llvm-svn: 179516
* Add triple to another test.Richard Smith2013-04-151-1/+1
| | | | llvm-svn: 179515
* Add triples to these tests since they're now using TLS, which isn't ↵Richard Smith2013-04-152-3/+3
| | | | | | available on all targets. llvm-svn: 179514
* Revert "Recommit r179497 after fixing uninitialized variable." untilEric Christopher2013-04-153-16/+20
| | | | | | | | | | | I can fix the testcases here: http://lab.llvm.org:8011/builders/clang-native-arm-cortex-a9/builds/6952 This reverts commit r179512 due to testcases specifying triples that they didn't actually mean and causing failures on other platforms. llvm-svn: 179513
* Recommit r179497 after fixing uninitialized variable.Eric Christopher2013-04-153-20/+16
| | | | llvm-svn: 179512
* Document our desire to enable the loop vectorizer on -Os in future releases.Nadav Rotem2013-04-151-0/+1
| | | | llvm-svn: 179511
* Docs: merge the description of the BB and SLP vectorizers and document the ↵Nadav Rotem2013-04-151-25/+23
| | | | | | -fslp-vectorize-aggressive flag. llvm-svn: 179510
* Add an option -vectorize-slp-aggressive for running the BB vectorizer. Make ↵Nadav Rotem2013-04-152-1/+13
| | | | | | -fslp-vectorize run the slp-vectorizer. llvm-svn: 179508
* Add a new flag -vectorize-slp-aggressive to enable Hals BB vectorizer.Nadav Rotem2013-04-153-0/+17
| | | | llvm-svn: 179507
* Rename the slp-vectorizer clang/llvm flags. No functionality change.Nadav Rotem2013-04-152-3/+3
| | | | llvm-svn: 179506
* Rename the slp-vectorizer clang/llvm flags. No functionality change.Nadav Rotem2013-04-152-4/+4
| | | | llvm-svn: 179505
* SLPVectorizer: Add support for vectorizing trees that start at compare ↵Nadav Rotem2013-04-152-21/+93
| | | | | | instructions. llvm-svn: 179504
* fix include path in doc Extending LLVMJia Liu2013-04-151-1/+1
| | | | llvm-svn: 179503
* Mark all PPC comparison instructions as not having side effectsHal Finkel2013-04-152-20/+28
| | | | | | | | | | Now that the CR spilling issues have been resolved, we can remove the unmodeled-side-effect attributes from the comparison instructions (and also mark them as isCompare). By allowing these, by default, to have unmodeled side effects, we were hiding problems with CR spilling; but everything seems much happier now. llvm-svn: 179502
* Comment command table: use inheritance instead of duplicating codeDmitri Gribenko2013-04-151-4/+2
| | | | llvm-svn: 179501
OpenPOWER on IntegriCloud