llvm-project/mlir/lib/IR
Uday Bondhugula 3bae041e5d Add utility to promote single iteration loops. Add methods for getting constant
loop counts. Improve / refactor loop unroll / loop unroll and jam.

- add utility to remove single iteration loops.
- use this utility to promote single iteration loops after unroll/unroll-and-jam
- use loopUnrollByFactor for loopUnrollFull and remove most of the latter.
- add methods for getting constant loop trip count

PiperOrigin-RevId: 212039569
2019-03-29 13:11:21 -07:00
..
AffineExpr.cpp Affine expression analysis and simplification. 2019-03-29 13:07:44 -07:00
AffineMap.cpp Affine expression analysis and simplification. 2019-03-29 13:07:44 -07:00
AsmPrinter.cpp Several minor infra improvements: 2019-03-29 13:10:11 -07:00
AttributeListStorage.h Implement Uday's suggestion to unique attribute lists across instructions, 2019-03-29 12:29:42 -07:00
BasicBlock.cpp First steps towards TF/XLA control flow lowering: functional if lowering. 2019-03-29 13:05:01 -07:00
Builders.cpp Implement operands for the 'if' statement. 2019-03-29 13:07:16 -07:00
Function.cpp Add location specifier to MLIR Functions, and: 2019-03-29 13:10:55 -07:00
Instructions.cpp Introduce a new Location abstraction to represent location data in a structured 2019-03-29 13:06:49 -07:00
IntegerSet.cpp Support for affine integer sets 2019-03-29 12:56:58 -07:00
MLIRContext.cpp Continue revising diagnostic handling to simplify and generalize it, and improve related infra. 2019-03-29 13:08:51 -07:00
Module.cpp Implement initial support for function attributes, including parser, printer, 2019-03-29 13:02:44 -07:00
Operation.cpp Introduce a new Location abstraction to represent location data in a structured 2019-03-29 13:06:49 -07:00
OperationSet.cpp Refactor the asmparser hook to work with a new OperationState type that fully 2019-03-29 12:56:30 -07:00
SSAValue.cpp Implement getFunction() helpers on the various value types, and use it to 2019-03-29 13:09:57 -07:00
StandardOps.cpp Internal change. 2019-03-29 13:11:08 -07:00
Statement.cpp Add utility to promote single iteration loops. Add methods for getting constant 2019-03-29 13:11:21 -07:00
StmtBlock.cpp Fix segfaults when printing unlinked statements, instructions and blocks. Fancy printing requires a pointer to the function since SSA values get function-specific names. This CL adds checks to ensure that we don't dereference null pointers in unliked objects. Unlinked statements, instructions and blocks are printed as <<UNLINKED STATEMENT>> etc. 2019-03-29 12:55:06 -07:00
Types.cpp Avoid hardcoded 4096 constant 2019-03-29 13:06:36 -07:00
Verifier.cpp Add location specifier to MLIR Functions, and: 2019-03-29 13:10:55 -07:00