Lines Matching refs:eleTy
57 mlir::Type fir::FirOpBuilder::getRefType(mlir::Type eleTy) { in getRefType() argument
58 assert(!eleTy.isa<fir::ReferenceType>() && "cannot be a reference type"); in getRefType()
59 return fir::ReferenceType::get(eleTy); in getRefType()
62 mlir::Type fir::FirOpBuilder::getVarLenSeqTy(mlir::Type eleTy, unsigned rank) { in getVarLenSeqTy() argument
64 return fir::SequenceType::get(shape, eleTy); in getVarLenSeqTy()
283 auto eleTy = helper.getComplexPartType(toTy); in convertWithSemantics() local
284 auto cast = createConvert(loc, eleTy, val); in convertWithSemantics()
287 auto imag = createRealConstant(loc, eleTy, zero); in convertWithSemantics()
742 auto eleTy = fir::unwrapAllRefAndSeqType(boxTy.getEleTy()); in getFromBox() local
743 if (auto recTy = eleTy.dyn_cast<fir::RecordType>()) { in getFromBox()
748 } else if (auto charTy = eleTy.dyn_cast<fir::CharacterType>()) { in getFromBox()
893 auto eleTy = fir::unwrapSequenceType(fir::dyn_cast_ptrOrBoxEleTy(fieldTy)); in componentToExtendedValue() local
894 if (auto charTy = eleTy.dyn_cast<fir::CharacterType>()) { in componentToExtendedValue()
903 if (auto recTy = eleTy.dyn_cast<fir::RecordType>()) in componentToExtendedValue()
1176 auto eleTy = fir::applyPathToType(seqTy, path); in genLenOfCharacter() local
1177 if (!fir::hasDynamicSize(eleTy)) { in genLenOfCharacter()
1178 if (auto charTy = eleTy.dyn_cast<fir::CharacterType>()) { in genLenOfCharacter()