aboutsummaryrefslogtreecommitdiff
path: root/utils
AgeCommit message (Collapse)AuthorFilesLines
2023-07-25[bazel] Bazel fix for 69bd7fae2b037c6538d531f39c25c160d8e6ff87Dmitry Chernenkov1-0/+1
2023-07-25[bazel][mlir] Port ca9a3354d04b15366088d7831b40f891e3d77b95Goran Flegar1-0/+14
2023-07-24[bazel] Add UPToSPIRV library/depJordan Rupprecht1-0/+21
Added in D156163
2023-07-25[mlir][linalg] NFC - Move some utils in preparation for revamping mapping of ↵Nicolas Vasilache1-6/+6
scf.forall
2023-07-24[bazel][mlir] Port 0f446adf678212b6daedebc5eb1bd2849b1efad1Benjamin Kramer1-0/+21
2023-07-24[bazel] Turn off layering_check for //llvm/unittests:target_aarch64_testsBenjamin Kramer1-0/+1
llvm/unittests/Target/AArch64/AArch64SVESchedPseudoTest.cpp:38:10: error: module @llvm-project//llvm/unittests:target_aarch64_tests does not depend on a module exporting 'AArch64GenInstrInfo.inc' Test was added in 57329ca94630742ce3b0f6b239b263d757a9eb4a
2023-07-22[bazel] Add missing dependency for b2d76a063dd7fb681c98a10d8e7f54fd6d25dd27Benjamin Kramer1-0/+1
2023-07-21[bazel] update config.h.cmakeMikhail Goncharov1-0/+2
2023-07-21[bazel] Tweak dependency spaghetti after ↵Benjamin Kramer1-0/+6
70c2e0618a0f3c09ed7149d88b4987b932eb6705
2023-07-21[bazel] Port 5d8813dec69360fce897f063a4a65106ae8ea22bBenjamin Kramer1-0/+1
2023-07-21[mlir] Fix build after D155680Matthias Springer1-0/+1
2023-07-21[mlir] Update bazel build after rG70c2e0618a0f3c09ed7149d88b4987b932eb6705Alexander Belyaev1-0/+16
2023-07-21[mlir] Fix bazel build after b96bd025b35761ae181da7e1796708c46e59f5d5Alexander Belyaev1-0/+26
2023-07-21[bazel] add missing dep for llvm/unittests:frontend_testsHaojian Wu1-0/+1
2023-07-20[libc] Move printf writer to new designMichael Jones2-32/+9
The new printf writer design focuses on optimizing the fast path. It inlines any write to a buffer or string, and by handling buffering itself can more effectively work with both internal and external file implementations. The overflow hook should allow for expansion to asprintf with minimal extra code. Reviewed By: sivachandra Differential Revision: https://reviews.llvm.org/D153999
2023-07-20[bazel] Fix dependency pathBenjamin Kramer1-2/+2
2023-07-20[bazel][clang] Add missing dependency for ↵Benjamin Kramer1-0/+1
8b5d3ba829c162fd4890fd65a4629ce0715825ee
2023-07-20[mlir] Add UBDialect to BUILD.bazel.Alexander Belyaev1-0/+86
2023-07-19[mlir][bufferization] Add lowering of bufferization.dealloc to memref.deallocMartin Erhart1-0/+1
Adds a generic lowering that suppors all cases of bufferization.dealloc and one specialized, more efficient lowering for the simple case. Using a helper function with for loops in the general case enables O(|num_dealloc_memrefs|+|num_retain_memrefs|) size of the lowered code. Depends on D155467 Reviewed By: springerm Differential Revision: https://reviews.llvm.org/D155468
2023-07-19[bazel] remove PythonAttr TD after 67a910bbff772ebf4c47e8b434b59cdc4820bb68Mikhail Goncharov2-180/+43
Differential Revision: https://reviews.llvm.org/D155686
2023-07-19[mlir][bazel] Fix build.Oleg Shyshkov2-1/+5
2023-07-19[libc][NFC] Rename filesGuillaume Chatelet1-24/+24
This patch mostly renames files so it better reflects the function they declare. Reviewed By: michaelrj Differential Revision: https://reviews.llvm.org/D155607
2023-07-18[bazel] fix layering check to run bazel with 16.xMikhail Goncharov2-7/+12
Preparation to update bazel builder to use LLVM 16 release where layering check was enabled https://reviews.llvm.org/D132779 Current setup missed some backsliding in layering check as it has only on for projects with the check enforced. Disabled it completely for libc and fixed for DWARFLinkerParallel. It would be great to re-enable it for libc later.
2023-07-18[mlir][Bazel] Add missing dependency.Adrian Kuegel1-0/+1
2023-07-18[mlir][Bazel] Add VectorToArmSME target.Adrian Kuegel1-0/+21
2023-07-18[mlir][Bazel] Add missing dependency.Adrian Kuegel1-0/+1
2023-07-18[mlir][NVGPU][transform] Add `create_async_groups` transform opMatthias Springer1-0/+1
This transform looks for suitable vector transfers from global memory to shared memory and converts them to async device copies. Differential Revision: https://reviews.llvm.org/D155569
2023-07-18[libc][NFC] Split memmove implementations per platformGuillaume Chatelet1-0/+3
This is a follow up on D154800 and D154770 to make the code structure more principled and avoid too many nested #ifdef/#endif. Reviewed By: courbet Differential Revision: https://reviews.llvm.org/D155515
2023-07-18[bazel] fix build of ArithUtilsMikhail Goncharov1-0/+1
2023-07-17[mlir][test] Fix linking error post test-lower-to-nvvmNicolas Vasilache2-0/+17
This fixes builds for 7e78ecfe10ea9071234de8d385b87d338d280266 (both cmake and bazel) as well as trim unnecessary dependencies. This is achieved by moving the functionality to test/lib/GPU which is a more natural landing pad.
2023-07-17[MLIR][CAPI] Add C API dialect registration methods for Arith, Math, MemRef ↵Adam Paszke1-0/+52
and Vector dialects Reviewed By: ftynse Differential Revision: https://reviews.llvm.org/D155450
2023-07-17[mlir][nvgpu] add simple pipelining for shared memory copiesAlex Zinenko1-0/+3
Add a simple transform operation to the NVGPU extension that performs software pipelining of copies to shared memory. The functionality is extremely minimalistic in this version and only supports copies from global to shared memory inside an `scf.for` loop with either `vector.transfer` or `nvgpu.device_async_copy` operations when pipelining preconditions are already satisfied in the IR. This is the minimally useful version that uses the more general loop pipeliner in an NVGPU-specific way. Further extensions and orthogonalizations will be necessary. This required a change to the loop pipeliner itself to properly propagate errors should the predicate generator fail. This is loosely inspired from the vesion in IREE, but has less unsafe assumptions and more principled way of communicating decisions. Reviewed By: nicolasvasilache Differential Revision: https://reviews.llvm.org/D155223
2023-07-17[mlir][NVGPU][NFC] Clean up code structureMatthias Springer1-11/+8
* Move passes to `Transforms` directory. * Add `Utils.h` (will be utilized in a subsequent change). Differential Revision: https://reviews.llvm.org/D155427
2023-07-17[libc][NFC] Split memcmp implementations per platformGuillaume Chatelet1-0/+1
This is a follow up on D154800 and D154770 to make the code structure more principled and avoid too many nested #ifdef/#endif. Reviewed By: courbet Differential Revision: https://reviews.llvm.org/D155181
2023-07-17[libc][NFC] Split memset implementations per platformGuillaume Chatelet1-0/+3
This is a follow up on D154800 and D154770 to make the code structure more principled and avoid too many nested #ifdef/#endif. Reviewed By: courbet Differential Revision: https://reviews.llvm.org/D155174
2023-07-17[mlir][bazel] Fix build.Oleg Shyshkov1-0/+1
2023-07-14[mlir][bufferization] OneShotBufferizeOp: Add options to use linalg.copyMatthias Springer1-0/+1
This new option allows users to specify a custom memcpy op. Differential Revision: https://reviews.llvm.org/D155280
2023-07-13[mlir][MemRef] Move narrow type emulation common methods to MemRefUtils.Hanhan Wang1-2/+22
It also unifies the computation of StridedLayoutAttr. If the stride is static known value, we can just use it. Differential Revision: https://reviews.llvm.org/D155017
2023-07-13[libc][NFC] Split memcpy implementations per platformGuillaume Chatelet1-0/+1
This is a follow up on D154800 and D154770 to make the code structure more principled and avoid too many nested #ifdef/#endif. Reviewed By: courbet Differential Revision: https://reviews.llvm.org/D155099
2023-07-13[libc][NFC] Split bcmp implementations per platformGuillaume Chatelet1-0/+3
This is a follow up on D154800 and D154770 to make the code structure more principled and avoid too many nested #ifdef/#endif. Reviewed By: courbet Differential Revision: https://reviews.llvm.org/D155076
2023-07-12Add bazel support for new DebugBTF component.Sterling Augustine1-0/+18
2023-07-12[NFC][llvm-dwp] Switch from llvm::cl to OptTableAndrés Villegas1-0/+14
Switch the parse of command line options from llvm::cl to OptTable. The motivation for this change is to continue adding llvm based tools to the llvm driver multicall. For more information about the proposal and motivation, please see https://discourse.llvm.org/t/rfc-llvm-busybox-proposal/58494 Reviewed By: abrachet Differential Revision: https://reviews.llvm.org/D154642
2023-07-12[clang][Bazel] Add dependency to the right target.Adrian Kuegel1-1/+1
2023-07-12[clang][Bazel] Add missing dependency.Adrian Kuegel1-0/+1
2023-07-11Fix bazel build for 5a1cdcbd8698cd263696b38e2672fccac9ec793cSterling Augustine2-0/+3
2023-07-11[bazel][docs] Update build documentationArthur Eubanks1-10/+12
Reviewed By: rnk Differential Revision: https://reviews.llvm.org/D155004
2023-07-11[mlir] add backward dense dataflow analysisAlex Zinenko1-0/+1
This is the counterpart to the forward dense dataflow analysis and integrates into the dataflow framework. The implementation follows the structure of existing dataflow analyses. Reviewed By: Mogball, phisiart Differential Revision: https://reviews.llvm.org/D154713
2023-07-11Fix bazel build file for D154060.Aliia Khasanova1-0/+36
Differential Revision: https://reviews.llvm.org/D154976
2023-07-11[Bazel] Fixup for D153758, D153850, and D153861 ↵NAKAMURA Takumi1-8/+8
(global-isel-combiner-matchtable)
2023-07-10[bazel] Adjust llvm:DebugInfo after D149501 (BTF.h)Fangrui Song1-1/+2