Lines Matching refs:boxTy
1141 static int getCFIAttr(fir::BoxType boxTy) { in getCFIAttr()
1142 auto eleTy = boxTy.getEleTy(); in getCFIAttr()
1150 static fir::RecordType unwrapIfDerived(fir::BoxType boxTy) { in unwrapIfDerived()
1151 return fir::unwrapSequenceType(fir::dyn_cast_ptrOrBoxEleTy(boxTy)) in unwrapIfDerived()
1154 static bool isDerivedTypeWithLenParams(fir::BoxType boxTy) { in isDerivedTypeWithLenParams()
1155 auto recTy = unwrapIfDerived(boxTy); in isDerivedTypeWithLenParams()
1158 static bool isDerivedType(fir::BoxType boxTy) { in isDerivedType()
1159 return static_cast<bool>(unwrapIfDerived(boxTy)); in isDerivedType()
1275 auto boxTy = dest.getType(); in insertField() local
1276 auto fldTy = this->getBoxEleTy(boxTy, fldIndexes); in insertField()
1285 return rewriter.create<mlir::LLVM::InsertValueOp>(loc, boxTy, dest, value, in insertField()
1356 auto boxTy = box.getType().template dyn_cast<fir::BoxType>(); in consDescriptorPrefix() local
1357 auto convTy = this->lowerTy().convertBoxType(boxTy, rank); in consDescriptorPrefix()
1365 if (!box.substr().empty() && fir::hasDynamicSize(boxTy.getEleTy())) in consDescriptorPrefix()
1371 getSizeAndTypeCode(loc, rewriter, boxTy.getEleTy(), typeparams); in consDescriptorPrefix()
1381 this->genI32Constant(loc, rewriter, getCFIAttr(boxTy))); in consDescriptorPrefix()
1382 const bool hasAddendum = isDerivedType(boxTy); in consDescriptorPrefix()
1389 fir::dyn_cast_ptrOrBoxEleTy(boxTy).template isa<fir::SequenceType>(); in consDescriptorPrefix()
1392 getTypeDescriptor(box, rewriter, loc, unwrapIfDerived(boxTy)); in consDescriptorPrefix()
1398 return {boxTy, descriptor, eleSize}; in consDescriptorPrefix()
1521 auto [boxTy, dest, eleSize] = consDescriptorPrefix( in matchAndRewrite()
1524 if (isDerivedTypeWithLenParams(boxTy)) { in matchAndRewrite()
1543 auto [boxTy, dest, eleSize] = in matchAndRewrite()
1559 mlir::Type eleTy = boxTy.getEleTy(); in matchAndRewrite()
1707 if (isDerivedTypeWithLenParams(boxTy)) in matchAndRewrite()
1751 auto [boxTy, dest, eleSize] = in matchAndRewrite()