Searched refs:newValues (Results 1 – 7 of 7) sorted by relevance
| /llvm-project-15.0.7/mlir/lib/IR/ |
| H A D | PatternMatch.cpp | 213 Operation *op, ValueRange newValues, bool *allUsesReplaced, in replaceOpWithIf() argument 215 assert(op->getNumResults() == newValues.size() && in replaceOpWithIf() 223 for (auto it : llvm::zip(op->getResults(), newValues)) { in replaceOpWithIf() 235 void RewriterBase::replaceOpWithinBlock(Operation *op, ValueRange newValues, in replaceOpWithinBlock() argument 237 replaceOpWithIf(op, newValues, allUsesReplaced, [block](OpOperand &use) { in replaceOpWithinBlock() 245 void RewriterBase::replaceOp(Operation *op, ValueRange newValues) { in replaceOp() argument 249 assert(op->getNumResults() == newValues.size() && in replaceOp() 251 op->replaceAllUsesWith(newValues); in replaceOp()
|
| /llvm-project-15.0.7/mlir/include/mlir/Dialect/Func/Transforms/ |
| H A D | DecomposeCallGraphTypes.h | 72 SmallVectorImpl<Value> &newValues) -> Optional<LogicalResult> { in wrapDecomposeValueConversionCallback() 74 return callback(builder, loc, derivedType, value, newValues); in wrapDecomposeValueConversionCallback()
|
| /llvm-project-15.0.7/mlir/lib/Bindings/Python/ |
| H A D | Globals.h | 41 void setDialectSearchPrefixes(std::vector<std::string> newValues) { in setDialectSearchPrefixes() argument 42 dialectSearchPrefixes.swap(newValues); in setDialectSearchPrefixes()
|
| /llvm-project-15.0.7/mlir/include/mlir/IR/ |
| H A D | PatternMatch.h | 428 replaceOpWithIf(Operation *op, ValueRange newValues, bool *allUsesReplaced, 430 void replaceOpWithIf(Operation *op, ValueRange newValues, in replaceOpWithIf() argument 432 replaceOpWithIf(op, newValues, /*allUsesReplaced=*/nullptr, in replaceOpWithIf() 440 void replaceOpWithinBlock(Operation *op, ValueRange newValues, Block *block, 446 virtual void replaceOp(Operation *op, ValueRange newValues);
|
| /llvm-project-15.0.7/mlir/lib/Transforms/Utils/ |
| H A D | DialectConversion.cpp | 934 void notifyOpReplaced(Operation *op, ValueRange newValues); 1402 ValueRange newValues) { in notifyOpReplaced() argument 1403 assert(newValues.size() == op->getNumResults()); in notifyOpReplaced() 1411 for (auto it : llvm::zip(newValues, op->getResults())) { in notifyOpReplaced() 1501 Operation *op, ValueRange newValues, bool *allUsesReplaced, in replaceOpWithIf() argument 1513 void ConversionPatternRewriter::replaceOp(Operation *op, ValueRange newValues) { in replaceOp() argument 1518 impl->notifyOpReplaced(op, newValues); in replaceOp()
|
| /llvm-project-15.0.7/mlir/include/mlir/Transforms/ |
| H A D | DialectConversion.h | 576 Operation *op, ValueRange newValues, bool *allUsesReplaced, 580 void replaceOp(Operation *op, ValueRange newValues) override;
|
| /llvm-project-15.0.7/flang/lib/Optimizer/CodeGen/ |
| H A D | TargetRewrite.cpp | 830 void replaceOp(mlir::Operation *op, mlir::ValueRange newValues) { in replaceOp() argument 831 op->replaceAllUsesWith(newValues); in replaceOp()
|