Lines Matching defs:ity
86 genConstantIndex(mlir::Location loc, mlir::Type ity,
90 return rewriter.create<mlir::LLVM::ConstantOp>(loc, ity, cattr);
171 genAllocationScaleSize(OP op, mlir::Type ity,
192 genConstantIndex(loc, ity, rewriter, constSize).getResult()};
230 mlir::Type ity = lowerTy().indexType();
232 mlir::Value size = genConstantIndex(loc, ity, rewriter, 1).getResult();
246 size = integerCast(loc, rewriter, ity, lenParams[0], /*fold=*/true);
255 loc, ity, lenParams,
264 if (auto scaleSize = genAllocationScaleSize(alloc, ity, rewriter))
266 rewriter.createOrFold<mlir::LLVM::MulOp>(loc, ity, size, scaleSize);
271 loc, ity, size,
272 integerCast(loc, rewriter, ity, operands[i], /*fold=*/true));
1016 auto ity = lowerTy().indexType();
1021 mlir::Value size = genTypeSizeInBytes(loc, ity, rewriter, llvmObjectTy);
1022 if (auto scaleSize = genAllocationScaleSize(heap, ity, rewriter))
1023 size = rewriter.create<mlir::LLVM::MulOp>(loc, ity, size, scaleSize);
1026 loc, ity, size, integerCast(loc, rewriter, ity, opnd));