|
MLIR 24.0.0git
|
canUseOpDominanceDueToBlocks walks enclosing regions and queries CFG reachability, but the answer is a property of blocks: every op in a block has the same parent chain, and a definition contributes only its block as a reachability barrier. More...
Public Member Functions | |
| bool | getOrCompute (Block *readBlock, Block *writeBlock, ArrayRef< Block * > sortedDefBlocks, function_ref< bool()> compute) |
| void | clear () |
canUseOpDominanceDueToBlocks walks enclosing regions and queries CFG reachability, but the answer is a property of blocks: every op in a block has the same parent chain, and a definition contributes only its block as a reachability barrier.
One entry per (read block, write block, def blocks) therefore covers every operand pair in those blocks.
Definition at line 368 of file OneShotAnalysis.cpp.
|
inline |
Definition at line 392 of file OneShotAnalysis.cpp.
|
inline |
Definition at line 370 of file OneShotAnalysis.cpp.
References result.