Lines Matching defs:lengths

30                 mlir::ValueRange lengths, mlir::Value tdesc = {}) {
52 // Ignore lengths if already constant in the box type (this would trigger an
58 // unknown or constant lengths.
67 cleanedLengths.append(lengths.begin(), lengths.end());
72 cleanedLengths.append(lengths.begin(), lengths.end());
76 cleanedLengths = lengths;
168 llvm::SmallVectorImpl<mlir::Value> &lengths) {
171 lengths.emplace_back(readCharacterLength());
211 mlir::ValueRange extents, mlir::ValueRange lengths,
214 updateMutableProperties(addr, lbounds, extents, lengths);
216 updateIRBox(addr, lbounds, extents, lengths, tdesc);
257 llvm::SmallVector<mlir::Value> lengths;
260 lbounds, extents, lengths);
261 updateMutableProperties(addr, lbounds, extents, lengths);
270 llvm::SmallVector<mlir::Value> lengths;
272 lengths);
273 updateIRBox(addr, lbounds, extents, lengths);
279 mlir::ValueRange extents, mlir::ValueRange lengths,
283 extents, lengths, tdesc);
290 mlir::ValueRange lengths) {
318 llvm::zip(lengths, mutableProperties.deferredParams))
436 llvm::SmallVector<mlir::Value> lengths;
447 MutablePropertyReader(builder, loc, box).read(lbounds, extents, lengths);
452 auto len = lengths.empty() ? mlir::Value{} : lengths[0];
523 /*lengths=*/std::nullopt, sourceBox);
528 /*lengths=*/std::nullopt);
537 arr.getExtents(), /*lengths=*/std::nullopt);
634 /*lengths=*/std::nullopt);
638 /*lengths=*/std::nullopt);
646 /*lengths=*/std::nullopt);
721 llvm::SmallVector<mlir::Value> lengths;
726 lengths.emplace_back(
731 lengths.emplace_back(builder.createConvert(loc, idxTy, len));
734 loc, "could not deduce character lengths in character allocation");
738 return lengths;
747 auto lengths = getNewLengths(builder, loc, box, lenParams);
749 loc, box.getBaseTy(), allocName, lengths, extents);
756 std::nullopt, extents, lengths);
767 auto lengths = getNewLengths(builder, loc, box, lenParams);
772 lengths, safeExtents);
774 heap, lbounds, safeExtents, lengths);
939 auto lengths = getNewLengths(builder, loc, box, lenParams);
946 heap, lbs, extents, lengths);