- Oct 20, 2015
-
-
Tamas Berghammer authored
The purpose of the class is to make it easy to execute tasks in parallel Basic design goals: * Have a very lightweight and easy to use interface where a list of lambdas can be executed in parallel * Use a global thread pool to limit the number of threads used (std::async don't do it on Linux) and to eliminate the thread creation overhead * Destroy the thread currently not in use to avoid the confusion caused by them during debugging LLDB Possible future improvements: * Possibility to cancel already added, but not yet started tasks * Parallel for_each implementation * Optimizations in the thread creation destroyation code Differential revision: http://reviews.llvm.org/D13727 llvm-svn: 250820
-
Igor Breger authored
Differential Revision: http://reviews.llvm.org/D13884 llvm-svn: 250819
-
George Rimar authored
This one is not needed anymore after r250812 llvm-svn: 250818
-
Andrea Di Biagio authored
The mask value type for maskload/maskstore GCC builtins is never a vector of packed floats/doubles. This patch fixes the following issues: 1. The mask argument for builtin_ia32_maskloadpd and builtin_ia32_maskstorepd should be of type llvm_v2i64_ty and not llvm_v2f64_ty. 2. The mask argument for builtin_ia32_maskloadpd256 and builtin_ia32_maskstorepd256 should be of type llvm_v4i64_ty and not llvm_v4f64_ty. 3. The mask argument for builtin_ia32_maskloadps and builtin_ia32_maskstoreps should be of type llvm_v4i32_ty and not llvm_v4f32_ty. 4. The mask argument for builtin_ia32_maskloadps256 and builtin_ia32_maskstoreps256 should be of type llvm_v8i32_ty and not llvm_v8f32_ty. Differential Revision: http://reviews.llvm.org/D13776 llvm-svn: 250817
-
Andrea Di Biagio authored
According to the Intel documentation, the mask operand of a maskload and maskstore intrinsics is always a vector of packed integer/long integer values. This patch introduces the following two changes: 1. It fixes the avx maskload/store intrinsic definitions in avxintrin.h. 2. It changes BuiltinsX86.def to match the correct gcc definitions for avx maskload/store (see D13861 for more details). Differential Revision: http://reviews.llvm.org/D13861 llvm-svn: 250816 -
George Rimar authored
llvm-svn: 250815
-
Pavel Labath authored
Summary: ADB packets have a maximum size of 4k. This means the size of memory reads does not affect speed too much (as long as it fits in one packet). Therefore, I am increasing the default memory read size for android to 2k. This value is used only if the user has not modified the default memory-cache-line-size setting. Reviewers: clayborg, tberghammer Subscribers: tberghammer, danalbert, srhines, lldb-commits Differential Revision: http://reviews.llvm.org/D13812 llvm-svn: 250814
-
Keno Fischer authored
Summary: In r231241, TargetLibraryInfoWrapperPass was added to `getAnalysisUsage` for `AddressSanitizer`, but the corresponding `INITIALIZE_PASS_DEPENDENCY` was not added. Reviewers: dvyukov, chandlerc, kcc Subscribers: kcc, llvm-commits Differential Revision: http://reviews.llvm.org/D13629 llvm-svn: 250813
-
George Rimar authored
llvm-svn: 250812
-
George Rimar authored
llvm-svn: 250811
-
Tamas Berghammer authored
llvm-svn: 250810
-
Tobias Grosser authored
We isolate full tiles from partial tiles to be able to, for example, vectorize loops with parametric lower and/or upper bounds. If we use -polly-vectorizer=stripmine, we can see execution-time improvements: correlation from 1m7361s to 0m5720s (-67.05 %), covariance from 1m5561s to 0m5680s (-63.50 %), ary3 from 2m3201s to 1m2361s (-46.72 %), CrystalMk from 8m5565s to 7m4285s (-13.18 %). The current full/partial tile separation increases compile-time more than necessary. As a result, we see in compile time regressions, for example, for 3mm from 0m6320s to 0m9881s (56.34%). Some of this compile time increase is expected as we generate more IR and consequently more time is spent in the LLVM backends. However, a first investiagation has shown that a larger portion of compile time is unnecessarily spent inside Polly's parallelism detection and could be eliminated by propagating existing knowledge about vector loop parallelism. Before enabling -polly-vectorizer=stripmine by default, it is necessary to address this compile-time issue. Contributed-by:
Roman Gareev <gareevroman@gmail.com> Reviewers: jdoerfert, grosser Subscribers: grosser, #polly Differential Revision: http://reviews.llvm.org/D13779 llvm-svn: 250809
-
George Rimar authored
Target has supportsLazyRelocations() method which can switch lazy relocations on/off (currently all targets are OFF except x64 which is ON). So no any other targets are affected now. Differential Revision: http://reviews.llvm.org/D13856?id=37726 llvm-svn: 250808
-
George Rimar authored
llvm-svn: 250807
-
Yury Gribov authored
Differential revision: http://reviews.llvm.org/D13775 llvm-svn: 250806
-
Manuel Klimek authored
llvm-svn: 250805
-
Benjamin Kramer authored
llvm-svn: 250804
-
Benjamin Kramer authored
Partially reverts r250418. llvm-svn: 250803
-
Marshall Clow authored
llvm-svn: 250802
-
Mohit K. Bhakkad authored
Reviewers: clayborg, labath. Subscribers: jaydeep, dsanders, bhushan, sagar, nitesh.jain, emaste,lldb-commits. Differential Revision: http://reviews.llvm.org/D13646 llvm-svn: 250801
-
Davide Italiano authored
Thanks to Rui for pointing out! llvm-svn: 250800
-
Davide Italiano authored
The option now just sets NOW bit in DT_FLAGS_1 but some loaders seem to require also BIND_NOW bit to be set in DT_FLAGS. This is, also, what ld.bfd and gold do. Differential Revision: http://reviews.llvm.org/D13883 llvm-svn: 250799
-
Enrico Granata authored
llvm-svn: 250798
-
Matt Arsenault authored
llvm-svn: 250797
-
Lang Hames authored
symbol definition is found in the logical dylibs. llvm-svn: 250796
-
Alexey Bataev authored
Currently debug info for types used in explicit cast only is not emitted. It happened after a patch for better alignment handling. This patch fixes this bug. Differential Revision: http://reviews.llvm.org/D13582 llvm-svn: 250795
-
Matt Arsenault authored
This wasn't doing anything useful. They weren't explicitly used anywhere, and the RegScavenger ignores reserved registers. This for some reason caused a random scheduling change in the test. Getting the check lines to pass is too frustrating, and there's probably not too much value in checking the vector case's operands N times. llvm-svn: 250794
-
JF Bastien authored
They are now typeless, unlike other operations. llvm-svn: 250793
-
Duncan P. N. Exon Smith authored
llvm-svn: 250792
-
Duncan P. N. Exon Smith authored
llvm-svn: 250791
-
Duncan P. N. Exon Smith authored
llvm-svn: 250790
-
Eugene Zelenko authored
Differential Revision: http://reviews.llvm.org/D13876 llvm-svn: 250789
-
Duncan P. N. Exon Smith authored
llvm-svn: 250788
-
Duncan P. N. Exon Smith authored
llvm-svn: 250787
-
Sanjoy Das authored
Since LiveVariables is uniqued (we just created it from a `DenseSet`), `FindIndex(LiveVariables, LiveVariables[i])` is always `i`. llvm-svn: 250786
-
Sanjoy Das authored
- Bring it up to the LLVM Coding Style - Sink it inside `CreateGCRelocates`, which is its only user llvm-svn: 250785
-
Sanjoy Das authored
`normalizeForInvokeSafepoint` in RewriteStatepointsForGC.cpp, as it is written today, deals with `gc.relocate` and `gc.result` uses of a statepoint equally well. This change documents this fact and adds a test case. There is no functional change here -- only documentation of existing functionality. llvm-svn: 250784
-
Sanjoy Das authored
llvm-svn: 250783
-
Siva Chandra authored
Reviewers: zturner, spyffe Subscribers: lldb-commits Differential Revision: http://reviews.llvm.org/D13882 llvm-svn: 250782
-
Duncan P. N. Exon Smith authored
llvm-svn: 250781
-