Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for onlyHasEffect (0.12 sec)

  1. tensorflow/compiler/mlir/tensorflow/transforms/hoist_loop_invariant.cc

             (isMemoryEffectFree(op) && isSpeculatable(op));
    }
    
    bool OnlyHasReadEffect(Operation *op) {
      auto interface = llvm::dyn_cast<MemoryEffectOpInterface>(op);
      if (!interface) return false;
      return interface.onlyHasEffect<MemoryEffects::Read>();
    }
    
    // Get read only variable handles in `func`.
    llvm::DenseSet<ResourceHandle> GetReadOnlyVariables(func::FuncOp func) {
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 5.3K bytes
    - Viewed (0)
Back to top