#include "mlir/Interfaces/SideEffectInterfaces.h"
#include "mlir/IR/SymbolTable.h"
#include "llvm/ADT/SmallPtrSet.h"
#include "mlir/Interfaces/SideEffectInterfaces.cpp.inc"
Go to the source code of this file.
|
static bool | wouldOpBeTriviallyDeadImpl (Operation *rootOp) |
| Internal implementation of mlir::wouldOpBeTriviallyDead that also considers terminator operations as dead if they have no side effects. More...
|
|
template bool | mlir::hasSingleEffect< MemoryEffects::Allocate > (Operation *, Value) |
|
template bool | mlir::hasSingleEffect< MemoryEffects::Free > (Operation *, Value) |
|
template bool | mlir::hasSingleEffect< MemoryEffects::Read > (Operation *, Value) |
|
template bool | mlir::hasSingleEffect< MemoryEffects::Write > (Operation *, Value) |
|
template bool | mlir::hasEffect< MemoryEffects::Allocate > (Operation *, Value) |
|
template bool | mlir::hasEffect< MemoryEffects::Free > (Operation *, Value) |
|
template bool | mlir::hasEffect< MemoryEffects::Read > (Operation *, Value) |
|
template bool | mlir::hasEffect< MemoryEffects::Write > (Operation *, Value) |
|
template bool | mlir::hasEffect< MemoryEffects::Write, MemoryEffects::Free > (Operation *, Value) |
|
◆ mlir::hasEffect< MemoryEffects::Allocate >()
◆ mlir::hasEffect< MemoryEffects::Free >()
◆ mlir::hasEffect< MemoryEffects::Read >()
◆ mlir::hasEffect< MemoryEffects::Write >()
◆ mlir::hasEffect< MemoryEffects::Write, MemoryEffects::Free >()
◆ mlir::hasSingleEffect< MemoryEffects::Allocate >()
◆ mlir::hasSingleEffect< MemoryEffects::Free >()
◆ mlir::hasSingleEffect< MemoryEffects::Read >()
◆ mlir::hasSingleEffect< MemoryEffects::Write >()
◆ wouldOpBeTriviallyDeadImpl()
static bool wouldOpBeTriviallyDeadImpl |
( |
Operation * |
rootOp | ) |
|
|
static |
Internal implementation of mlir::wouldOpBeTriviallyDead
that also considers terminator operations as dead if they have no side effects.
This allows for marking region operations as trivially dead without always being conservative of terminators.
Definition at line 43 of file SideEffectInterfaces.cpp.