Lines Matching defs:effect
38 /// Log op if effect value is not known.
40 llvm::raw_ostream &os, mlir::MemoryEffects::EffectInstance effect,
52 /// against the effect of the current assignment, and if any conflict is found,
60 /// Start scheduling an assignment. Gather the write side effect from the
78 /// evaluating the current assignment. For expression with write effect,
88 /// regions effects are added to the "parent" effect list since evaluating the
168 /// side effect interface, or that are writing temporary variables that may be
194 LLVM_DEBUG(llvm::dbgs() << "unknown effect: " << op << "\n";);
212 for (auto &effect : opEffects)
213 if (!isForallIndex(effect.getValue())) {
214 if (mlir::isa<mlir::MemoryEffects::Read>(effect.getEffect())) {
215 LLVM_DEBUG(logIfUnkownEffectValue(llvm::dbgs(), effect, op););
216 effects.push_back(effect);
218 mlir::isa<mlir::MemoryEffects::Write>(effect.getEffect())) {
219 LLVM_DEBUG(logIfUnkownEffectValue(llvm::dbgs(), effect, op););
220 effects.push_back(effect);
239 /// Gather the effect of an assignment. This is the implicit write to the LHS
252 // The write effect on the INTENT(OUT) LHS argument is already taken
356 effects, [®ion](const mlir::MemoryEffects::EffectInstance &effect) {
357 if (mlir::isa<mlir::MemoryEffects::Write>(effect.getEffect())) {
358 if (mlir::Value v = effect.getValue()) {
397 // Yield has no effect as such, but in the context of order assignments.
408 // Region with write effect must be executed only once (unless all writes
412 << "saving eval because write effect prevents re-evaluation"
443 // Create a new run just for regions with side effect. Further analysis
564 // with write effect in the regions: entities local to the region may still
566 // a commitment that no write effect will affect the scheduling problem, and
567 // that all write effect caught by MLIR analysis can be ignored for the
598 // The LHS yield has no implicit read effect on the produced variable (the
738 llvm::raw_ostream &os, mlir::MemoryEffects::EffectInstance effect,
740 if (effect.getValue() != nullptr)
743 os << (mlir::isa<mlir::MemoryEffects::Read>(effect.getEffect()) ? "R" : "W");