- Jul 25, 2016
-
-
Krzysztof Parzyszek authored
llvm-svn: 276638
-
Johannes Doerfert authored
Adding a new pass PolyhedralInfo. This pass will be the interface to Polly. Initially, we will provide the following interface: - #IsParallel(Loop *L) - return a bool depending on whether the loop is parallel or not for the given program order. Patch by Utpal Bora <cs14mtech11017@iith.ac.in> Differential Revision: https://reviews.llvm.org/D21486 llvm-svn: 276637 -
Tobias Grosser authored
Also factor out getArraySize() to avoid code dupliciation and reorder some function arguments to indicate the direction into which data is transferred. llvm-svn: 276636
-
Tobias Grosser authored
At the beginning of each SCoP, we allocate device arrays for all arrays used on the GPU and we free such arrays after the SCoP has been executed. llvm-svn: 276635
-
Tobias Grosser authored
llvm-svn: 276634
-
Tobias Grosser authored
llvm-svn: 276633
-
Tobias Grosser authored
This function is currently unused and won't be used in this form again. Instead of freeing many unrelated items at the same time, we will instead explicitly call free function from the host-IR we generate for each object we want to free. These specific free functions will be added together with the corresponding host-IR generation code. llvm-svn: 276632
-
Johannes Doerfert authored
Do not process SCoPs with infeasible runtime context in the new ScopInfoWrapperPass. Do not compute dependences for such SCoPs in the new DependenceInfoWrapperPass. Patch by Utpal Bora <cs14mtech11017@iith.ac.in> Differential Revision: https://reviews.llvm.org/D22402 llvm-svn: 276631
-
Eugene Leviant authored
llvm-svn: 276630
-
Sam Parker authored
Added thumb targets and dataflow checks to the longMAC test. Differential Revision: https://reviews.llvm.org/D22684 llvm-svn: 276629
-
Simon Dardis authored
Avoid MipsAnalyzeImmediate usage if the constant fits in an 32-bit integer. This allows us to generate the same instructions for the materialization of the same constants regardless the width of their type. Patch by: Vasileios Kalintiris Contributions by: Simon Dardis Reviewers: Daniel Sanders Differential Review: https://reviews.llvm.org/D21689 llvm-svn: 276628
-
Roman Gareev authored
This is the second patch to apply the BLIS matmul optimization pattern on matmul kernels (http://www.cs.utexas.edu/users/flame/pubs/TOMS-BLIS-Analytical.pdf ). BLIS implements gemm as three nested loops around a macro-kernel, plus two packing routines. The macro-kernel is implemented in terms of two additional loops around a micro-kernel. The micro-kernel is a loop around a rank-1 (i.e., outer product) update. In this change we create the BLIS macro-kernel by applying a combination of tiling and interchanging. In subsequent changes we will implement the packing transformation. Reviewed-by:
Tobias Grosser <tobias@grosser.es> Differential Revision: http://reviews.llvm.org/D21491 llvm-svn: 276627
-
Sam Parker authored
Follow up to r276624. Changes bits 22-20 to be parameters to instruction class. Differential Revision: https://reviews.llvm.org/D22562 llvm-svn: 276626
-
Oliver Stannard authored
The Thumb1 version of the code for saving and restoring the unwind context has a few bugs which prevent it from working: * It uses the STM instruction without writeback, which is not valid for Thumb1 (It was introduced in Thumb2). * It only saves/restores the low 8 registers, the sp and the lr, so if a program uses r8-r12 they will not be correctly restored when throwing an exception. There aren't currently any Thumb1 build-bots to test this, but we have been successfully running the libc++abi and libc++ test suites on Cortex-M0 models, as well as some other test suites that use C++ exceptions on a downstream version of libunwind with this patch applied. Differential Revision: https://reviews.llvm.org/D22292 llvm-svn: 276625
-
Sam Parker authored
Use ISelDAGToDAG to recognise the SMMLS instruction pattern. Differential Revision: https://reviews.llvm.org/D22562 llvm-svn: 276624
-
Tobias Grosser authored
There is no need to expose the selected device at the moment. We also pass back pointers as return values, as this simplifies the interface. llvm-svn: 276623
-
Tobias Grosser authored
This allows the finalization routine of the IslNodeBuilder to be overwritten by derived classes. Being here, we also drop the unnecessary 'Scop' postfix and the unnecessary 'Scop' parameter. llvm-svn: 276622
-
Tobias Grosser authored
Before this change, the debug statements in polly_initDevice would all be skipped, as debug-mode would only be enabled _after_ they have already been run. llvm-svn: 276621
-
Kirill Bobyrev authored
TemplateFunctionFindBy{Declaration|Use}.cpp contained typos and therefore were failing. clang-rename passes these tests after typos are fixed. llvm-svn: 276620 -
George Rimar authored
Output section description in SECTIONS looks like that: section [address] [(type)] : ... { ... } Patch implements support of address atribute. Differential revision: https://reviews.llvm.org/D22689 llvm-svn: 276619 -
Jonas Hahnfeld authored
We agreed to call it "platform default" instead of "architecture default". (see D17286) llvm-svn: 276618
-
Tobias Grosser authored
llvm-svn: 276617
-
Roman Gareev authored
Reviewed-by:Tobias Grosser <tobias@grosser.es> llvm-svn: 276616
-
Craig Topper authored
llvm-svn: 276615
-
Craig Topper authored
[AVX512] Add some additional patterns so that we can fold broadcast loads in the first argument of an FMADD/FMSUB/FNMADD/FNMSUB/FMADDSUB/FMSUBADD node. Also add patterns to support all combinations of the broadcast input and the preserved input for masked versions. llvm-svn: 276614
-
Craig Topper authored
[AVX512] Cleanup FMA operand order in patterns to match the VEX versions and to really be 213, 231, and 132. llvm-svn: 276613
-
Tobias Grosser authored
llvm-svn: 276612
-
Tobias Grosser authored
This functionality won't be used in the current iteration. Drop it for now to reduce the surface of the library. We can always add it back in when we need it again. llvm-svn: 276611
-
Sean Silva authored
Modify the variable names and code style to be that of modern LLVM. Patch by River Riddle! Differential Revision: https://reviews.llvm.org/D22743 llvm-svn: 276610
-
Sean Silva authored
The public InlineFunction utility assumes that the passed in InlineFunctionInfo has a valid AssumptionCacheTracker. Patch by River Riddle! Differential Revision: https://reviews.llvm.org/D22706 llvm-svn: 276609
-
Eric Fiselier authored
llvm-svn: 276608
-
David Majnemer authored
llvm-svn: 276607
-
David Majnemer authored
Paths like C:/foo will never work on UNIX platforms, don't bother implicitly adding them to the search path. llvm-svn: 276606
-
Eric Fiselier authored
llvm-svn: 276605
-
David Majnemer authored
Truncates can completely cancel out a zext or sext instruction. llvm-svn: 276604
-
Eric Fiselier authored
I think I've solved issues with is_assignable and references to incomplete types. The updated patch adds tests for this case. llvm-svn: 276603
-
David Majnemer authored
We can combine metadata from multiple instructions intelligently for certain metadata nodes. llvm-svn: 276602
-
David Majnemer authored
If we two loads of two different alignments, we must use the minimum of the two alignments when hoisting. Same deal for stores. For allocas, use the maximum of the two allocas. llvm-svn: 276601
-
David Majnemer authored
Use a range-based for loop, no functional change is intended. llvm-svn: 276600
-
Eric Fiselier authored
llvm-svn: 276599
-