Searched refs:hasSingleEffect (Results 1 – 4 of 4) sorted by relevance
105 bool mlir::hasSingleEffect(Operation *op, Value value) { in hasSingleEffect() function in mlir125 template bool mlir::hasSingleEffect<MemoryEffects::Allocate>(Operation *,127 template bool mlir::hasSingleEffect<MemoryEffects::Free>(Operation *, Value);128 template bool mlir::hasSingleEffect<MemoryEffects::Read>(Operation *, Value);129 template bool mlir::hasSingleEffect<MemoryEffects::Write>(Operation *, Value);
257 bool hasSingleEffect(Operation *op, Value value = nullptr);
125 if (hasSingleEffect<MemoryEffects::Allocate>(defOp, v) && in isLocallyDefined()152 !hasSingleEffect<MemoryEffects::Allocate>(op) && in isLoopMemoryParallel()
1123 !hasSingleEffect<MemoryEffects::Allocate>(destDefOp, dest)) in matchAndRewrite()1129 !hasSingleEffect<MemoryEffects::Free>(user, dest); in matchAndRewrite()