Lines Matching refs:OpOperand
127 SmallVector<OpOperand *> outOfPlaceOpOperands; in resolveTensorOpOperandConflicts()
128 DenseSet<OpOperand *> copiedOpOperands; in resolveTensorOpOperandConflicts()
129 DenseSet<OpOperand *> escapingOpOperandCopies; in resolveTensorOpOperandConflicts()
135 for (OpOperand &opOperand : op->getOpOperands()) { in resolveTensorOpOperandConflicts()
178 for (OpOperand *opOperand : outOfPlaceOpOperands) { in resolveTensorOpOperandConflicts()
197 SmallVector<OpOperand *> uses = llvm::to_vector(llvm::map_range( in resolveTensorOpOperandConflicts()
198 opResult.getUses(), [](OpOperand &use) { return &use; })); in resolveTensorOpOperandConflicts()
199 for (OpOperand *use : uses) { in resolveTensorOpOperandConflicts()
319 SmallVector<OpOperand *>
330 AnalysisState::getAliasingOpResult(OpOperand &opOperand) const { in getAliasingOpResult()
339 bool AnalysisState::bufferizesToMemoryRead(OpOperand &opOperand) const { in bufferizesToMemoryRead()
351 bool AnalysisState::bufferizesToMemoryWrite(OpOperand &opOperand) const { in bufferizesToMemoryWrite()
363 bool AnalysisState::bufferizesToAliasOnly(OpOperand &opOperand) const { in bufferizesToAliasOnly()
378 SmallVector<OpOperand *> workingSet; in isValueRead()
379 for (OpOperand &use : value.getUses()) in isValueRead()
383 OpOperand *uMaybeReading = workingSet.pop_back_val(); in isValueRead()
387 for (OpOperand &use : opResult.getUses()) in isValueRead()
413 SmallVector<OpOperand *> opOperands = getAliasingOpOperand(opResult); in findValueInReverseUseDefChain()
419 for (OpOperand *o : opOperands) in findValueInReverseUseDefChain()
447 bool AnalysisState::canOmitTensorCopy(OpOperand &opOperand) const { in canOmitTensorCopy()
468 bool AnalysisState::isInPlace(OpOperand &opOperand) const { in isInPlace()
490 bool AnalysisState::hasUndefinedContents(OpOperand *opOperand) const { in hasUndefinedContents()
503 SmallVector<OpOperand *> worklist; in isTensorYielded()
504 for (OpOperand &use : tensor.getUses()) in isTensorYielded()
508 OpOperand *operand = worklist.pop_back_val(); in isTensorYielded()
530 for (OpOperand &use : opResult.getUses()) in isTensorYielded()