Lines Matching refs:resultTy
141 mlir::Type resultTy, in getValueFromBox() argument
147 auto pty = mlir::LLVM::LLVMPointerType::get(resultTy); in getValueFromBox()
150 return rewriter.create<mlir::LLVM::LoadOp>(loc, resultTy, p); in getValueFromBox()
366 mlir::Type resultTy = ty; in matchAndRewrite() local
403 if (ty == resultTy) { in matchAndRewrite()
410 rewriter.replaceOpWithNewOp<mlir::LLVM::BitcastOp>(alloc, resultTy, al); in matchAndRewrite()
1412 mlir::Type resultTy = in genBoxOffsetGep() local
1416 auto arrayTy = resultTy.dyn_cast<mlir::LLVM::LLVMArrayType>(); in genBoxOffsetGep()
1421 resultTy = arrayTy.getElementType(); in genBoxOffsetGep()
1427 if (auto structTy = resultTy.dyn_cast<mlir::LLVM::LLVMStructType>()) { in genBoxOffsetGep()
1429 resultTy = structTy.getBody()[cstIndex]; in genBoxOffsetGep()
1431 resultTy.dyn_cast<mlir::LLVM::LLVMArrayType>()) { in genBoxOffsetGep()
1432 resultTy = arrayTy.getElementType(); in genBoxOffsetGep()
1440 if (auto arrayTy = resultTy.dyn_cast<mlir::LLVM::LLVMArrayType>()) { in genBoxOffsetGep()
1442 resultTy = arrayTy.getElementType(); in genBoxOffsetGep()
1459 resultTy = mlir::LLVM::LLVMPointerType::get(resultTy); in genBoxOffsetGep()
1460 return rewriter.create<mlir::LLVM::GEPOp>(loc, resultTy, base, gepArgs); in genBoxOffsetGep()