Lines Matching defs:boxTy
1190 mlir::ModuleOp mod, fir::BaseBoxType boxTy,
1221 mlir::Type structTy = typeConverter.convertBoxTypeAsStruct(boxTy);
1238 static int getCFIAttr(fir::BaseBoxType boxTy) {
1239 auto eleTy = boxTy.getEleTy();
1304 auto boxTy = dest.getType();
1305 auto fldTy = this->getBoxEleTy(boxTy, fldIndexes);
1374 fir::BaseBoxType boxTy, mlir::Type inputType,
1380 auto llvmBoxTy = this->lowerTy().convertBoxTypeAsStruct(boxTy, rank);
1381 bool isUnlimitedPolymorphic = fir::isUnlimitedPolymorphicType(boxTy);
1382 bool useInputType = fir::isPolymorphicType(boxTy) || isUnlimitedPolymorphic;
1394 this->genI32Constant(loc, rewriter, getCFIAttr(boxTy)));
1396 const bool hasAddendum = fir::boxHasAddendum(boxTy);
1430 unsigned typeDescFieldId = getTypeDescFieldId(boxTy);
1445 fir::unwrapIfDerived(boxTy));
1459 {getLenParamFieldId(boxTy), 0}, zero);
1473 auto boxTy = mlir::dyn_cast<fir::BaseBoxType>(box.getType());
1474 bool useInputType = fir::isPolymorphicType(boxTy) &&
1478 if (!box.getSubstr().empty() && fir::hasDynamicSize(boxTy.getEleTy()))
1494 loc, rewriter, useInputType ? inputType : boxTy.getEleTy(), typeparams);
1500 if (fir::isPolymorphicType(boxTy) && sourceBox) {
1515 descriptor = populateDescriptor(loc, gpuMod, boxTy, inputType, rewriter,
1519 descriptor = populateDescriptor(loc, mod, boxTy, inputType, rewriter,
1523 return {boxTy, descriptor, eleSize};
1533 auto boxTy = mlir::dyn_cast<fir::BaseBoxType>(box.getType());
1537 if (!box.getSubstr().empty() && fir::hasDynamicSize(boxTy.getEleTy()))
1541 getSizeAndTypeCode(loc, rewriter, boxTy.getEleTy(), typeparams);
1547 if (fir::isPolymorphicType(boxTy)) {
1567 populateDescriptor(loc, gpuMod, boxTy, box.getBox().getType(),
1572 populateDescriptor(loc, mod, boxTy, box.getBox().getType(), rewriter,
1576 return {boxTy, descriptor, eleSize};
1658 mlir::Location loc, mlir::Type boxTy,
1667 auto baseBoxTy = mlir::dyn_cast<fir::BaseBoxType>(boxTy);
1675 this->attachTBAATag(storeOp, boxTy, boxTy, nullptr);
1715 auto [boxTy, dest, eleSize] = consDescriptorPrefix(
1720 if (fir::isDerivedTypeWithLenParams(boxTy)) {
1726 placeInMemoryIfNotGlobalInit(rewriter, embox.getLoc(), boxTy, dest);
1785 auto [boxTy, dest, resultEleSize] = consDescriptorPrefix(
1801 mlir::Type eleTy = boxTy.getEleTy();
1957 if (fir::isDerivedTypeWithLenParams(boxTy))
1960 rewriter, loc, boxTy, dest,
2032 auto [boxTy, dest, eleSize] =
2052 return sliceBox(rebox, adaptor, boxTy, dest, baseAddr, inputExtents,
2054 return reshapeBox(rebox, adaptor, boxTy, dest, baseAddr, inputExtents,
3155 if (auto boxTy = mlir::dyn_cast<fir::BaseBoxType>(load.getType())) {
3173 genCUFAllocDescriptor(loc, rewriter, mod, boxTy, lowerTy());
3180 TypePair boxTypePair{boxTy, llvmLoadTy};
3189 attachTBAATag(memcpy, boxTy, boxTy, nullptr);
3471 if (auto boxTy = mlir::dyn_cast<fir::BaseBoxType>(storeTy)) {
3472 mlir::Type llvmBoxTy = lowerTy().convertBoxTypeAsStruct(boxTy);
3475 TypePair boxTypePair{boxTy, llvmBoxTy};