- Aug 19, 2015
-
-
Chandler Carruth authored
llvm-svn: 245320
-
Siva Chandra authored
Summary: Returns the declaration of the parent (non-synthetic or static) value. Reviewers: granata.enrico, clayborg Subscribers: lldb-commits Differential Revision: http://reviews.llvm.org/D12092 llvm-svn: 245319
-
Chandler Carruth authored
folding the code into the main Analysis library. There already wasn't much of a distinction between Analysis and IPA. A number of the passes in Analysis are actually IPA passes, and there doesn't seem to be any advantage to separating them. Moreover, it makes it hard to have interactions between analyses that are both local and interprocedural. In trying to make the Alias Analysis infrastructure work with the new pass manager, it becomes particularly awkward to navigate this split. I've tried to find all the places where we referenced this, but I may have missed some. I have also adjusted the C API to continue to be equivalently functional after this change. Differential Revision: http://reviews.llvm.org/D12075 llvm-svn: 245318
-
Chris Bieneman authored
Summary: This patch consolidates add_compiler_rt_osx_static_runtime and add_compiler_rt_darwin_dynamic_runtime into a single new function add_compiler_rt_darwin_runtime. Reviewers: filcab, samsonov, bogner Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D12106 llvm-svn: 245317
-
Michael Kruse authored
If the function exits early there is no reason to enter the loop. llvm-svn: 245316
-
Alex Lorenz authored
subregister operands. llvm-svn: 245315
-
Bruno Cardoso Lopes authored
Historically there seems to be some resistance regarding the change to DenseMap (r147980). However, I couldn't find cases of iterator invalidation for ValueCacheEntryTy, but only for ValueCache, which I left untouched. This reduces 20s on an internal testcase. Follow up from r245309. Differential Revision: http://reviews.llvm.org/D11651 rdar://problem/21320066 llvm-svn: 245314
-
Sanjay Patel authored
These were missed when other uses were switched over: http://llvm.org/viewvc/llvm-project?view=revision&revision=243994 llvm-svn: 245311
-
Alexander Kornienko authored
llvm-svn: 245310
-
Bruno Cardoso Lopes authored
Changes in LoopUnroll in the past six months exposed scalability issues in LazyValueInfo when used from JumpThreading. One internal test that used to take 20s under -O2 now takes 6min. This commit change the OverDefinedCache from DenseSet<std::pair<AssertingVH<BasicBlock>, Value*>> to DenseMap<AssertingVH<BasicBlock>, SmallPtrSet<Value *, 4>> and reduces compile time down to 1m40s. Differential Revision: http://reviews.llvm.org/D11651 rdar://problem/21320066 llvm-svn: 245309
-
Chad Rosier authored
llvm-svn: 245307
-
Daniel Sanders authored
Summary: This is the correct way to handle JAL instructions when PIC is enabled. Patch by Toma Tabacu Reviewers: seanbruno, tomatabacu Subscribers: brooks, seanbruno, emaste, llvm-commits Differential Revision: http://reviews.llvm.org/D6231 llvm-svn: 245305
-
Chris Bieneman authored
Summary: The code comments in the Makefile indicate this was put in place to support issues when building clang with GCC. Today clang's strict aliasing works, so we shouldn't pass -fno-strict-aliasing when building with clang. Reviewers: bogner, echristo Subscribers: cfe-commits Differential Revision: http://reviews.llvm.org/D12036 llvm-svn: 245304
-
Roman Gareev authored
It helps to detect correct strides in case of parametric constraints of Stride in MemoryAccess::isStrideX. Reviewers: grosser llvm-svn: 245303
-
Davide Italiano authored
This is (almost) everything under MC/MachO/ARM. There are still some cases missing, because llvm-readobj doesn't (yet) support some features, that macho-dump provides. I plan to reduce the gap between them shortly. llvm-svn: 245302
-
- Aug 18, 2015
-
-
Tobias Grosser authored
llvm-svn: 245301
-
Tobias Grosser authored
This patch changes Polly to compute the data-dependences on the schedule tree instead of a flat schedule representation. Calculating dependences directly on the schedule tree results in some good compile-time improvements (adi : -23.35%, 3mm : -9.57%), as the structure of the schedule can be exploited for increased efficiency. Earlier experiments with schedule tree based dependence analysis in Polly showed some compile-time regressions. These regressions arose due to the schedule tree based dependence analysis not taking into account the domain constraints of the schedule tree. As a result, the computed dependences were different and this difference caused in some cases the schedule optimizer to take a very long time. Since isl version fe865996 the schedule tree based dependence analysis takes domain constraints into account, which fixes the earlier compile-time issues. Contributed-by:Pratik Bhatu <cs12b1010@iith.ac.in> llvm-svn: 245300
-
Roman Gareev authored
test commit revert llvm-svn: 245299
-
Roman Gareev authored
test commit llvm-svn: 245298
-
Zoran Jovanovic authored
Differential Revision: http://reviews.llvm.org/D10953 llvm-svn: 245297
-
Sergey Dmitrouk authored
Summary: Currently CMake doesn't build builtins for AArch64 and if one does this anyway it's likely that at least `__multc3`, `__floatditf` and `__floatunditf` will be missing. There is actually more builtins to add, but these come from different libc implementations, thus providing them makes compiler-rt for AArch64 good enough at least for basic usage. Builtins implementation were originally taken from FreeBSD project: * [[ https://reviews.freebsd.org/D2173 | __multc3 ]] * [[ https://reviews.freebsd.org/D2174 | __floatditf and __floatunditf ]] Until they have been tested to find mistakes in `__float*` functions. `__floatditf` was based on `__floatsitf`, which had the same mistakes (fixed it in r243746). Version of the builtins in this patch are fixed and complemented with basic tests. Additionally they were tested via GCC's torture (this is what revealed these issues). P.S. Ed (author of FreeBSD patches) asked for feedback on the list some time ago (here [[ http://lists.cs.uiuc.edu/pipermail/llvmdev/2015-March/084064.html | here ]]) and got no response, but it seems to be worth adding these builtins as is and extracting common part later. Reviewers: howard.hinnant, t.p.northover, jmolloy, enefaim, rengolin, zatrazz Subscribers: asl, emaste, samsonov, aemerson, llvm-commits, rengolin Differential Revision: http://reviews.llvm.org/D11679 llvm-svn: 245296
-
Michael Kruse authored
executeScopConditionally would destroy a predecessor region if it the scop's entry was the region's exit block by forking it to polly.start and thus creating a secnd exit out of the region. This patch "shrinks" the predecessor region s.t. polly.split_new_and_old is not the region's exit anymore. llvm-svn: 245294
-
Zoran Jovanovic authored
Differential Revision: http://reviews.llvm.org/D10869 llvm-svn: 245293
-
Renato Golin authored
This reverts commit r245263, and the change wasn't catched by UBsan. It also reverts: "[ARM] Also disable stable-runtime check on UBsan, to use generic one" (r245287), as it didn't fix the UBsan builds. We need to investigate what's going on before continuing, since this is breaking all ARM RT buildbots for a while. llvm-svn: 245292
-
Daniel Sanders authored
Summary: This information is needed to decide whether we do the PIC-only JAL expansions or not. It's also needed for an upcoming patch which implements the .cprestore assembler directive (which can only be used effectively in PIC mode). By making this information available to the MipsAsmParser, we will know when to insert the instructions mandated by the .cprestore assembler directive and we will be able to give some useful warnings when we encounter a potential misuse of this directive. Patch by Toma Tabacu Reviewers: dsanders, seanbruno Subscribers: brooks, seanbruno, rafael, llvm-commits Differential Revision: http://reviews.llvm.org/D5626 llvm-svn: 245291
-
Michael Kruse authored
Summary: Windows system rarely have good PostScript viewers installed, but PDF viewers are common. So for viewing graphs, generate PDF files and open with the associated PDF viewer using cmd.exe's start command. Reviewers: Bigcheese, aaron.ballman Subscribers: aaron.ballman, JakeVanAdrighem, dwiberg, llvm-commits Differential Revision: http://reviews.llvm.org/D11877 llvm-svn: 245290
-
Michael Kruse authored
Summary: When calling DisplayGraph and a PS viewer is chosen, two programs are executed: The GraphViz generator and the PostScript viewer. Always for the generator to finish to ensure that the .ps file is written before opening the viewer for that file. DisplayGraph's wait parameter refers to whether to wait until the user closes the viewer. This happened on Windows and if none of the options to open the .dot file directly applies, also on Linux. Reviewers: Bigcheese, chandlerc, aaron.ballman Subscribers: dwiberg, aaron.ballman, llvm-commits Differential Revision: http://reviews.llvm.org/D11876 llvm-svn: 245289
-
Johannes Doerfert authored
The SCEVExpander cannot deal with all SCEVs Polly allows in all kinds of expressions. To this end we introduce a ScopExpander that handles the additional expressions separatly and falls back to the SCEVExpander for everything else. Reviewers: grosser, Meinersbur Subscribers: #polly Differential Revision: http://reviews.llvm.org/D12066 llvm-svn: 245288
-
Renato Golin authored
llvm-svn: 245287
-
Andrey Churbanov authored
llvm-svn: 245286
-
Daniel Sanders authored
This was supposed to have been committed as part of r245208 llvm-svn: 245285
-
Tobias Grosser authored
Since Polly has now support for the code generation of scalar and PHI dependences this code was unused and is now dropped. llvm-svn: 245284
-
Pavel Labath authored
Fix Clang-tidy misc-use-override warnings in include/lldb/Expression and include/lldb/Initialization, unify inclusion guards patch by Eugene Zelenko. Differential Revision: http://reviews.llvm.org/D11744 llvm-svn: 245283
-
Rui Ueyama authored
This patch is to make COFF coding style consistent with ELF. NFC. llvm-svn: 245282
-
Rui Ueyama authored
These unique pointers have the exact same lifetime as automatic variables, so use automatic variables instead. llvm-svn: 245281
-
Rui Ueyama authored
__NULL_IMPORT_DESCRIPTOR is a symbol used by MSVC liner to construct the import descriptor table. We do not use the symbol. Previously, we had code to skip that symbol. That code does not actually do anything meaningful because no one is referencing the symbol, the symbol would naturally be ignored. This patch stops recognizing the symbol. llvm-svn: 245280
-
Pavel Labath authored
Fix Clang-tidy misc-use-override warnings in include/lldb/DataFormatters and include/lldb/Host, unify closing inclusion guards patch by Eugene Zelenko. Differential Revision: http://reviews.llvm.org/D11729 llvm-svn: 245279
-
Simon Pilgrim authored
llvm-svn: 245278
-
Pavel Labath authored
Fix Clang-tidy misc-use-override warnings in include/lldb/Utility and some files in include/lldb/Target, unify closing inclusion guards patch by Eugene Zelenko. Differential Revision: http://reviews.llvm.org/D11701 llvm-svn: 245277
-
Simon Pilgrim authored
Constant folding patch to follow soon llvm-svn: 245276
-