- Apr 16, 2013
-
-
Nadav Rotem authored
SLPVectorizer: Make it a function pass and add code for hoisting the vector-gather sequence out of loops. llvm-svn: 179562
-
- Apr 15, 2013
-
-
Sean Callanan authored
- If an allocation is mirrored between the host and the process, update the host's version before returning a DataExtractor pointing to it. - If anyone attempts to access memory in a process/target that does not have a corresponding allocation, try accessing the memory directly before erroring out. llvm-svn: 179561
-
Enrico Granata authored
llvm-svn: 179560
-
Enrico Granata authored
Data formatters test outputs stddev llvm-svn: 179559
-
Joey Gouly authored
llvm-svn: 179558
-
Sean Callanan authored
Also improved logging and error handling in a few spots in the Materializer. llvm-svn: 179557
-
Howard Hinnant authored
Numeric parsing was getting the wrong answer when faced with very long inputs. This fixes both http://llvm.org/bugs/show_bug.cgi?id=15751 and http://llvm.org/bugs/show_bug.cgi?id=15740 llvm-svn: 179556
-
Jordan Rose authored
Structs and arrays can take advantage of the single top-level global symbol optimization (described in the previous commit) just as well as scalars. No intended behavioral change. llvm-svn: 179555
-
Jordan Rose authored
Now that we're invalidating global regions properly, we want to continue taking advantage of a particular optimization: if all global regions are invalidated together, we can represent the bindings of each region with a "derived region value" symbol. Essentially, this lazily links each global region with a single symbol created at invalidation time, rather than binding each region with a new symbolic value. We used to do this, but haven't been for a while; the previous commit re-enabled this code path, and this handles the fallout. <rdar://problem/13464044> llvm-svn: 179554
-
Jordan Rose authored
This fixes a regression where a call to a function we can't reason about would not actually invalidate global regions that had explicit bindings. void test_that_now_works() { globalInt = 42; clang_analyzer_eval(globalInt == 42); // expected-warning{{TRUE}} invalidateGlobals(); clang_analyzer_eval(globalInt == 42); // expected-warning{{UNKNOWN}} } This has probably been around since the initial "cluster" refactoring of RegionStore, if not longer. <rdar://problem/13464044> llvm-svn: 179553
-
Jordan Rose authored
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
-
Rafael Espindola authored
llvm-svn: 179551
-
Enrico Granata authored
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
-
Rafael Espindola authored
Looks like it was evaluating undef == undef to true. llvm-svn: 179549
-
Enrico Granata authored
- Adding a relaunch feature to the performance tester: you can use the 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
-
Argyrios Kyrtzidis authored
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
-
Tom Stellard authored
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
-
Tom Stellard authored
llvm-svn: 179545
-
Tom Stellard authored
llvm-svn: 179544
-
Sean Callanan authored
Materializer.h that somehow crept in, maybe during a patch operation. llvm-svn: 179543
-
Jim Grosbach authored
llvm-svn: 179542
-
Jim Grosbach authored
llvm-svn: 179541
-
John Criswell authored
No content changes. llvm-svn: 179540
-
Sean Callanan authored
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
-
Rafael Espindola authored
llvm-svn: 179538
-
Argyrios Kyrtzidis authored
[PCH/test] Make test/PCH/cxx-typeid.cpp self-contained by including the relevant standard library declarations instead of depending on a system header inclusion. llvm-svn: 179537
-
Rafael Espindola authored
llvm-svn: 179536
-
Arnold Schwaighofer authored
Patch by Cameron McInally <cameron.mcinally@nyu.edu>. llvm-svn: 179535
-
Rafael Espindola authored
llvm-svn: 179534
-
Tim Northover authored
llvm-svn: 179532
-
Alexander Kornienko authored
llvm-svn: 179531
-
Rafael Espindola authored
llvm-svn: 179530
-
Rafael Espindola authored
llvm-svn: 179529
-
Edwin Vane authored
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
-
Rafael Espindola authored
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
-
Alexander Kornienko authored
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
-
Timur Iskhodzhanov authored
llvm-svn: 179525
-
Evgeniy Stepanov authored
Restore SIGPROF handler to the original state after the test. llvm-svn: 179524
-
Rafael Espindola authored
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
-
Evgeniy Stepanov authored
llvm-svn: 179522
-