- Jan 12, 2014
-
-
Chandler Carruth authored
update in LLVM r199044. llvm-svn: 199045
-
Chandler Carruth authored
llvm-svn: 199042
-
- Jan 07, 2014
-
-
Chandler Carruth authored
llvm-svn: 198689
-
- Jan 02, 2014
-
-
Alp Toker authored
The backend string is only verified when available as it's possible to run clang IRGen for targets that haven't been built or don't exist in LLVM. llvm-svn: 198309
-
- Dec 27, 2013
-
-
Kostya Serebryany authored
Summary: This is an alternative to http://llvm-reviews.chandlerc.com/D2475 suggested by Chandler. Reviewers: chandlerc, rnk, dblaikie CC: cfe-commits, earthdok Differential Revision: http://llvm-reviews.chandlerc.com/D2478 llvm-svn: 198073
-
- Dec 20, 2013
-
-
Alp Toker authored
Cleanup in preparation for enhanced DataLayout checking. llvm-svn: 197832
-
- Nov 17, 2013
-
-
Hal Finkel authored
This adds -freroll-loops (and -fno-reroll-loops in the usual way) to enable loop rerolling as part of the optimization pass manager. This transformation can enable vectorization, reduce code size (or both). Briefly, loop rerolling can transform a loop like this: for (int i = 0; i < 3200; i += 5) { a[i] += alpha * b[i]; a[i + 1] += alpha * b[i + 1]; a[i + 2] += alpha * b[i + 2]; a[i + 3] += alpha * b[i + 3]; a[i + 4] += alpha * b[i + 4]; } into this: for (int i = 0; i < 3200; ++i) { a[i] += alpha * b[i]; } Loop rerolling is currently disabled by default at all optimization levels. llvm-svn: 194967
-
- Nov 13, 2013
-
-
Diego Novillo authored
This adds a new option -fprofile-sample-use=filename to Clang. It tells the driver to schedule the SampleProfileLoader pass and passes on the name of the profile file to use. llvm-svn: 194567
-
- Oct 23, 2013
-
-
Richard Smith authored
check using the ubsan runtime) and -fsanitize=local-bounds (for the middle-end check which inserts traps). Remove -fsanitize=local-bounds from -fsanitize=undefined. It does not produce useful diagnostics and has false positives (PR17635), and is not a good compromise position between UBSan's checks and ASan's checks. Map -fbounds-checking to -fsanitize=local-bounds to restore Clang's historical behavior for that flag. llvm-svn: 193205
-
- Aug 14, 2013
-
-
Peter Collingbourne authored
Also add some documentation. Differential Revision: http://llvm-reviews.chandlerc.com/D1346 llvm-svn: 188403
-
- Aug 08, 2013
-
-
Peter Collingbourne authored
DataFlowSanitizer is a generalised dynamic data flow analysis. Unlike other Sanitizer tools, this tool is not designed to detect a specific class of bugs on its own. Instead, it provides a generic dynamic data flow analysis framework to be used by clients to help detect application-specific issues within their own code. Differential Revision: http://llvm-reviews.chandlerc.com/D966 llvm-svn: 187925
-
- Aug 01, 2013
-
-
Bill Wendling authored
llvm-svn: 187617
-
- Jul 25, 2013
-
-
Bill Wendling authored
llvm-svn: 187092
-
- Jul 13, 2013
-
-
Bill Wendling authored
Use function attributes to pass along the stack protector buffer size instead of making it a target option. llvm-svn: 186218
-
- Jun 25, 2013
-
-
Nick Lewycky authored
usage of clang as a library. llvm-svn: 184812
-
- Jun 21, 2013
-
-
Nick Lewycky authored
given -disable-free. (Reviewed by John McCall over IRC.) llvm-svn: 184595
-
- Jun 20, 2013
-
-
Meador Inge authored
The simplify-libcalls pass has been removed from LLVM. Thus 'PMBuilder.DisableSimplifyLibCalls' does not exist anymore. The disabling/enabling of library call simplifications is done through the TargetLibraryInfo which is already wired up in Clang. llvm-svn: 184458
-
- Apr 04, 2013
-
-
Eric Christopher authored
support. Caveat: Other than the existing segmented stacks support, no claims are made of this working. llvm-svn: 178744
-
- Mar 27, 2013
-
-
Chad Rosier authored
backend output; there's no need to report a fatal error. This reverts r178042. Part of rdar://13295753 and rdar://13401547 llvm-svn: 178102
-
- Mar 26, 2013
-
-
Chad Rosier authored
machine and one is required. Part of rdar://13295753 llvm-svn: 178042
-
- Mar 20, 2013
-
-
Nick Lewycky authored
emit function names in .gcda files by default, and the flag turns that off! Rename the flag to make it match what it actually does. This keeps the default format compatible with gcc 4.2. Also add a test for this flag. llvm-svn: 177475
-
Nick Lewycky authored
is enabled. Also add a new -test-coverage cc1 flag which makes testing coverage possible and add our first clang-side coverage test. llvm-svn: 177470
-
- Mar 14, 2013
-
-
Nick Lewycky authored
llvm-svn: 177004
-
- Mar 07, 2013
-
-
Nick Lewycky authored
llvm-svn: 176619
-
- Feb 27, 2013
-
-
Nick Lewycky authored
llvm-svn: 176174
-
- Jan 31, 2013
-
-
Evgeniy Stepanov authored
MSan instrumentation is driven by the original code. We take every incoming instruction and emit another instruction (or ten) next to it, operating on the shadow values (but sometimes on the real values, too). Two programs in one, essentially. There can be any kinds of redundancies in the second one, so we just run whatever is normally run at -O2, and then exclude some passes that do not help much with benchmarks. llvm-svn: 174049
-
- Jan 28, 2013
-
-
Michael Gottesman authored
Since ObjCARC has been refactored into its own library with its own declaration header, we need to include the declaration header alongside Scalar.h in BackendUtil. llvm-svn: 173648
-
- Jan 20, 2013
-
-
Alexey Samsonov authored
Add top-level Clang flag -f(no-)sanitize-address-zero-base-shadow that makes AddressSanitizer use bottom of the address space for the shadow memory. On Linux it can be used with -fPIE/-pie to improve performance. llvm-svn: 172974
-
- Jan 18, 2013
-
-
Will Dietz authored
llvm-svn: 172808
-
- Jan 07, 2013
-
-
Chandler Carruth authored
rather than doing it ourselves. This reflects the API changes in r171681. llvm-svn: 171683
-
- Jan 05, 2013
-
-
Chandler Carruth authored
passes to a create-pass function instead of a direct constructor call. llvm-svn: 171622
-
- Jan 02, 2013
-
-
Chandler Carruth authored
reflect the migration in r171366. Re-sort the #include lines to reflect the new paths. llvm-svn: 171369
-
Chandler Carruth authored
Removes a duplicate #include as well as cleaning up some sort order regressions since I last ran the script over Clang. llvm-svn: 171364
-
- Dec 28, 2012
-
-
Alexey Samsonov authored
llvm-svn: 171184
-
- Dec 24, 2012
-
-
Evgeniy Stepanov authored
llvm-svn: 171020
-
- Dec 11, 2012
-
-
NAKAMURA Takumi authored
llvm/Target/TargetMachine.h will not provide "llvm/TargetTransformInfo.h" any more. llvm-svn: 169816
-
- Dec 10, 2012
-
-
Bill Wendling authored
This prevents the functions generated by that pass from using the red zone. <rdar://problem/12843084> llvm-svn: 169755
-
- Dec 04, 2012
-
-
Chandler Carruth authored
uncovered. This required manually correcting all of the incorrect main-module headers I could find, and running the new llvm/utils/sort_includes.py script over the files. I also manually added quite a few missing headers that were uncovered by shuffling the order or moving headers up to be main-module-headers. llvm-svn: 169237
-
- Dec 03, 2012
-
-
Alexey Samsonov authored
Add Clang flags -fsanitize-blacklist and -fno-sanitize-blacklist. Make this flag usable for ASan. Blacklisting can be used to disable sanitizer checks for particular file/function/object. llvm-svn: 169144
-
Evgeniy Stepanov authored
llvm-svn: 169124
-