History log of /llvm-project-15.0.7/mlir/lib/Transforms/LoopInvariantCodeMotion.cpp (Results 26 – 46 of 46)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# e62a6956 23-Dec-2019 River Riddle <[email protected]>

NFC: Replace ValuePtr with Value and remove it now that Value is value-typed.

ValuePtr was a temporary typedef during the transition to a value-typed Value.

PiperOrigin-RevId: 286945714


# 56222a06 23-Dec-2019 Mehdi Amini <[email protected]>

Adjust License.txt file to use the LLVM license

PiperOrigin-RevId: 286906740


# 35807bc4 23-Dec-2019 River Riddle <[email protected]>

NFC: Introduce new ValuePtr/ValueRef typedefs to simplify the transition to Value being value-typed.

This is an initial step to refactoring the representation of OpResult as proposed in: https://gro

NFC: Introduce new ValuePtr/ValueRef typedefs to simplify the transition to Value being value-typed.

This is an initial step to refactoring the representation of OpResult as proposed in: https://groups.google.com/a/tensorflow.org/g/mlir/c/XXzzKhqqF_0/m/v6bKb08WCgAJ

This change will make it much simpler to incrementally transition all of the existing code to use value-typed semantics.

PiperOrigin-RevId: 286844725

show more ...


# 4562e389 18-Dec-2019 River Riddle <[email protected]>

NFC: Remove unnecessary 'llvm::' prefix from uses of llvm symbols declared in `mlir` namespace.

Aside from being cleaner, this also makes the codebase more consistent.

PiperOrigin-RevId: 286206974


Revision tags: llvmorg-9.0.1, llvmorg-9.0.1-rc3, llvmorg-9.0.1-rc2, llvmorg-9.0.1-rc1
# b843cc5d 16-Oct-2019 Stephan Herhut <[email protected]>

Implement simple loop-invariant-code-motion based on dialect interfaces.

PiperOrigin-RevId: 275004258


Revision tags: llvmorg-9.0.0, llvmorg-9.0.0-rc6
# f1b100c7 13-Sep-2019 River Riddle <[email protected]>

NFC: Finish replacing FunctionPassBase/ModulePassBase with OpPassBase.

These directives were temporary during the generalization of FunctionPass/ModulePass to OpPass.

PiperOrigin-RevId: 268970259


Revision tags: llvmorg-9.0.0-rc5, llvmorg-9.0.0-rc4
# 9c8a8a7d 30-Aug-2019 River Riddle <[email protected]>

Add a canonicalization to erase empty AffineForOps.

AffineForOp themselves are pure and can be removed if there are no internal operations.

PiperOrigin-RevId: 266481293


Revision tags: llvmorg-9.0.0-rc3
# 4bfae66d 29-Aug-2019 River Riddle <[email protected]>

Refactor the 'walk' methods for operations.

This change refactors and cleans up the implementation of the operation walk methods. After this refactoring is that the explicit template parameter for t

Refactor the 'walk' methods for operations.

This change refactors and cleans up the implementation of the operation walk methods. After this refactoring is that the explicit template parameter for the operation type is no longer needed for the explicit op walks. For example:

op->walk<AffineForOp>([](AffineForOp op) { ... });

is now accomplished via:

op->walk([](AffineForOp op) { ... });

PiperOrigin-RevId: 266209552

show more ...


# ffde975e 20-Aug-2019 River Riddle <[email protected]>

NFC: Move AffineOps dialect to the Dialect sub-directory.
PiperOrigin-RevId: 264482571


# ba0fa925 19-Aug-2019 River Riddle <[email protected]>

NFC: Move LLVMIR, SDBM, and StandardOps to the Dialect/ directory.
PiperOrigin-RevId: 264193915


# 79f53b0c 17-Aug-2019 Jacques Pienaar <[email protected]>

Change from llvm::make_unique to std::make_unique

Switch to C++14 standard method as llvm::make_unique has been removed (
https://reviews.llvm.org/D66259). Also mark some targets as c++14 to ease ne

Change from llvm::make_unique to std::make_unique

Switch to C++14 standard method as llvm::make_unique has been removed (
https://reviews.llvm.org/D66259). Also mark some targets as c++14 to ease next
integrates.

PiperOrigin-RevId: 263953918

show more ...


Revision tags: llvmorg-9.0.0-rc2
# 926fb685 13-Aug-2019 Mehdi Amini <[email protected]>

Express ownership transfer in PassManager API through std::unique_ptr (NFC)

Since raw pointers are always passed around for IR construct without
implying any ownership transfer, it can be error pron

Express ownership transfer in PassManager API through std::unique_ptr (NFC)

Since raw pointers are always passed around for IR construct without
implying any ownership transfer, it can be error prone to have implicit
ownership transferred the same way.
For example this code can seem harmless:

Pass *pass = ....
pm.addPass(pass);
pm.addPass(pass);
pm.run(module);

PiperOrigin-RevId: 263053082

show more ...


Revision tags: llvmorg-9.0.0-rc1, llvmorg-10-init
# 0002e296 16-Jul-2019 Nicolas Vasilache <[email protected]>

Move affine.for and affine.if to ODS

As the move to ODS is made, body and region names across affine and loop dialects are uniformized.

PiperOrigin-RevId: 258416590


Revision tags: llvmorg-8.0.1, llvmorg-8.0.1-rc4
# 2e1187dd 03-Jul-2019 Andy Davis <[email protected]>

Globally change load/store/dma_start/dma_wait operations over to affine.load/store/dma_start/dma_wait.
In most places, this is just a name change (with the exception of affine.dma_start swapping the

Globally change load/store/dma_start/dma_wait operations over to affine.load/store/dma_start/dma_wait.
In most places, this is just a name change (with the exception of affine.dma_start swapping the operand positions of its tag memref and num_elements operands).
Significant code changes occur here:
*) Vectorization: LoopAnalysis.cpp, Vectorize.cpp
*) Affine Transforms: Transforms/Utils/Utils.cpp

PiperOrigin-RevId: 256395088

show more ...


Revision tags: llvmorg-8.0.1-rc3, llvmorg-8.0.1-rc2
# f1b848e4 05-Jun-2019 River Riddle <[email protected]>

NFC: Rename FuncBuilder to OpBuilder and refactor to take a top level region instead of a function.

PiperOrigin-RevId: 251563898


# 7a43da60 31-May-2019 Amit Sabne <[email protected]>

Loop invariant code motion - remove reliance on getForwardSlice. Add more tests.

--

PiperOrigin-RevId: 250950703


Revision tags: llvmorg-8.0.1-rc1
# d5b60ee8 12-May-2019 River Riddle <[email protected]>

Replace Operation::isa with llvm::isa.

--

PiperOrigin-RevId: 247789235


# 0134b5df 11-May-2019 Chris Lattner <[email protected]>

Cleanups and simplifications to code, noticed by inspection. NFC.

--

PiperOrigin-RevId: 247758075


# 258e8d9c 03-May-2019 Nicolas Vasilache <[email protected]>

Prepend an "affine-" prefix to Affine pass option names - NFC

Trying to activate both LLVM and MLIR passes in mlir-cpu-runner showed name collisions when registering pass names.
One possible

Prepend an "affine-" prefix to Affine pass option names - NFC

Trying to activate both LLVM and MLIR passes in mlir-cpu-runner showed name collisions when registering pass names.
One possible way of disambiguating that should also work across dialects is to prepend the dialect name to the passes that specifically operate on that dialect.

With this CL, mlir-cpu-runner tests still run when both LLVM and MLIR passes are registered

--

PiperOrigin-RevId: 246539917

show more ...


# 4aa9235a 17-Apr-2019 Amit Sabne <[email protected]>

Fix LLVM_DEBUG instances

--

PiperOrigin-RevId: 244058051


# 7905da65 17-Apr-2019 Amit Sabne <[email protected]>

Loop invariant code motion.

--

PiperOrigin-RevId: 244043679


12