Lines Matching defs:substringBounds
4052 llvm::SmallVector<mlir::Value> substringBounds;
4053 populateBounds(substringBounds, substring);
4055 builder, loc, destination, iterSpace.iterVec(), substringBounds);
4057 loc, builder, arrayOp, dstLen, exv, innerArg, substringBounds);
5743 llvm::SmallVector<mlir::Value> substringBounds;
5744 populateBounds(substringBounds, components.substring);
5746 mlir::Type iTy = substringBounds[0].getType();
5747 if (substringBounds.size() != 2) {
5755 substringBounds.push_back(lenValue);
5759 substringBounds.push_back(typeparams.back());
5764 builder.createIntegerConstant(loc, substringBounds[0].getType(), 1);
5765 substringBounds[0] =
5766 builder.create<mlir::arith::SubIOp>(loc, substringBounds[0], one);
5768 mlir::Value cast = builder.createConvert(loc, iTy, substringBounds[1]);
5771 builder.create<mlir::arith::SubIOp>(loc, cast, substringBounds[0]);
5775 substringBounds[1] =
5779 substringBounds);
5855 llvm::SmallVector<mlir::Value> substringBounds;
5856 populateBounds(substringBounds, components.substring);
5857 if (!substringBounds.empty()) {
5861 substringBounds);
5864 .createSubstring(dstChar, substringBounds);
5958 llvm::SmallVector<mlir::Value> substringBounds;
5959 populateBounds(substringBounds, components.substring);
5960 if (!substringBounds.empty()) {
5962 builder, loc, arrLoad, iters.iterVec(), substringBounds);
5965 .createSubstring(dstChar, substringBounds);
6890 llvm::SmallVector<mlir::Value> substringBounds =
6903 builder, loc, load, iters.iterVec(), substringBounds);
6906 substringBounds);
6982 builder, loc, load, iters.iterVec(), substringBounds);
6983 if (!substringBounds.empty()) {
6986 charDst = helper.createSubstring(charDst, substringBounds);