| /llvm-project-15.0.7/mlir/lib/Dialect/SCF/Transforms/ |
| H A D | StructuralTypeConversions.cpp | 25 SmallVector<Type, 6> newResultTypes; in matchAndRewrite() local 30 newResultTypes.push_back(newType); in matchAndRewrite() 67 for (auto t : llvm::zip(newOp.getResults(), newResultTypes)) in matchAndRewrite() 93 SmallVector<Type, 6> newResultTypes; in matchAndRewrite() local 98 newResultTypes.push_back(newType); in matchAndRewrite() 111 for (auto t : llvm::zip(newOp.getResults(), newResultTypes)) in matchAndRewrite() 145 SmallVector<Type> newResultTypes; in matchAndRewrite() local 146 if (failed(converter->convertTypes(op.getResultTypes(), newResultTypes))) in matchAndRewrite() 149 auto newOp = rewriter.create<WhileOp>(op.getLoc(), newResultTypes, in matchAndRewrite()
|
| H A D | BufferizableOpInterfaceImpl.cpp | 83 TypeRange newResultTypes(yieldOp.getResults()); in bufferize() local 87 rewriter.create<scf::ExecuteRegionOp>(op->getLoc(), newResultTypes); in bufferize() 975 TypeRange newResultTypes; in bufferize() local 977 foreachThreadOp.getLoc(), newResultTypes, in bufferize()
|
| /llvm-project-15.0.7/mlir/lib/Dialect/Func/Transforms/ |
| H A D | DecomposeCallGraphTypes.cpp | 85 SmallVector<Type, 2> newResultTypes; in matchAndRewrite() local 87 newResultTypes))) in matchAndRewrite() 91 newResultTypes)); in matchAndRewrite() 149 SmallVector<Type, 2> newResultTypes; in matchAndRewrite() local 152 unsigned oldSize = newResultTypes.size(); in matchAndRewrite() 153 if (failed(typeConverter->convertType(resultType, newResultTypes))) in matchAndRewrite() 156 for (unsigned i = oldSize, e = newResultTypes.size(); i < e; i++) in matchAndRewrite() 161 newResultTypes, newOperands); in matchAndRewrite()
|
| /llvm-project-15.0.7/flang/lib/Optimizer/Transforms/ |
| H A D | AbstractResult.cpp | 89 llvm::SmallVector<mlir::Type> newResultTypes; in matchAndRewrite() local 94 rewriter.create<fir::CallOp>(loc, *callOp.getCallee(), newResultTypes, in matchAndRewrite() 102 newResultTypes); in matchAndRewrite() 110 rewriter.create<fir::CallOp>(loc, mlir::SymbolRefAttr{}, newResultTypes, in matchAndRewrite()
|
| /llvm-project-15.0.7/mlir/lib/Dialect/Linalg/Transforms/ |
| H A D | DecomposeLinalgOps.cpp | 155 SmallVector<Type> newResultTypes; in createPeeledGenericOp() local 191 newResultTypes.push_back(initTensor.getType()); in createPeeledGenericOp() 199 resultTypes.append(newResultTypes.begin(), newResultTypes.end()); in createPeeledGenericOp()
|
| /llvm-project-15.0.7/mlir/lib/Dialect/Shape/Transforms/ |
| H A D | BufferizableOpInterfaceImpl.cpp | 70 TypeRange newResultTypes(yieldOp.operands()); in bufferize() local 72 op->getLoc(), newResultTypes, assumingOp.getWitness()); in bufferize()
|
| /llvm-project-15.0.7/mlir/lib/Dialect/Bufferization/Transforms/ |
| H A D | BufferResultsToOutParams.cpp | 153 auto newResultTypes = llvm::to_vector<6>(llvm::map_range( in updateCalls() local 156 newResultTypes, newOperands); in updateCalls()
|
| /llvm-project-15.0.7/mlir/include/mlir/IR/ |
| H A D | FunctionInterfaces.td | 371 TypeRange newResultTypes = function_interface_impl::insertTypesInto( 373 return $_op.cloneTypeWith(newArgTypes, newResultTypes); 384 TypeRange newResultTypes = function_interface_impl::filterTypesOut( 386 return $_op.cloneTypeWith(newArgTypes, newResultTypes); 396 TypeRange newResultTypes = function_interface_impl::filterTypesOut( 398 return $_op.cloneTypeWith($_op.getArgumentTypes(), newResultTypes);
|
| /llvm-project-15.0.7/mlir/lib/IR/ |
| H A D | BuiltinTypes.cpp | 172 TypeRange newResultTypes = function_interface_impl::insertTypesInto( in getWithArgsAndResults() local 174 return clone(newArgTypes, newResultTypes); in getWithArgsAndResults() 184 TypeRange newResultTypes = function_interface_impl::filterTypesOut( in getWithoutArgsAndResults() local 186 return clone(newArgTypes, newResultTypes); in getWithoutArgsAndResults()
|
| /llvm-project-15.0.7/mlir/lib/Dialect/Linalg/IR/ |
| H A D | LinalgOps.cpp | 886 SmallVector<Type> newResultTypes; in matchAndRewrite() local 888 newResultTypes = llvm::to_vector(llvm::map_range( in matchAndRewrite() 892 loc, newResultTypes, newInputOperands, newOutputOperands, in matchAndRewrite() 1666 SmallVector<Type, 4> newResultTypes; in matchAndRewrite() local 1667 newResultTypes.reserve(op->getNumResults()); in matchAndRewrite() 1683 newResultTypes.push_back(newOperands.back().getType()); in matchAndRewrite() 1687 op.clone(rewriter, op->getLoc(), newResultTypes, newOperands); in matchAndRewrite()
|
| /llvm-project-15.0.7/mlir/lib/Dialect/SCF/IR/ |
| H A D | SCF.cpp | 3091 SmallVector<Type> newResultTypes; in matchAndRewrite() local 3106 newResultTypes.emplace_back(result.getType()); in matchAndRewrite() 3122 rewriter.create<WhileOp>(op.getLoc(), newResultTypes, op.getInits()); in matchAndRewrite() 3125 &newWhile.getAfter(), /*insertPt*/ {}, newResultTypes, newArgLocs); in matchAndRewrite()
|