Searched refs:origVal (Results 1 – 1 of 1) sorted by relevance
4205 mlir::Value origVal) { in convertElementForUpdate() argument4206 if (auto origEleTy = fir::dyn_cast_ptrEleTy(origVal.getType())) in convertElementForUpdate()4209 origVal = builder.create<fir::LoadOp>(loc, origVal); in convertElementForUpdate()4211 if (origVal.getType().isa<fir::BoxType>() && !eleTy.isa<fir::BoxType>()) { in convertElementForUpdate()4217 !origVal.getType().isa<fir::BoxType>()) { in convertElementForUpdate()4221 assert(fir::isa_ref_type(origVal.getType())); in convertElementForUpdate()4222 if (auto eleTy = fir::dyn_cast_ptrEleTy(origVal.getType()); in convertElementForUpdate()4226 auto castTo = builder.createConvert(loc, memrefTy, origVal); in convertElementForUpdate()4227 origVal = builder.create<fir::EmboxOp>(loc, eleTy, castTo); in convertElementForUpdate()4229 mlir::Value val = builder.createConvert(loc, eleTy, origVal); in convertElementForUpdate()