Lines Matching refs:charTy
43 if (auto charTy = type.dyn_cast<fir::CharacterType>()) in recoverCharacterType() local
44 return charTy; in recoverCharacterType()
105 auto charTy = ty.dyn_cast<fir::CharacterType>(); in materializeValue() local
106 if (!charTy || charTy.getLen() == fir::CharacterType::unknownLen()) { in materializeValue()
111 loc, builder.getCharacterLengthType(), charTy.getLen()); in materializeValue()
112 auto temp = builder.create<fir::AllocaOp>(loc, charTy); in materializeValue()
147 if (auto charTy = type.dyn_cast<fir::CharacterType>()) { in toExtendedValue() local
148 if (!resultLen && charTy.getLen() != fir::CharacterType::unknownLen()) in toExtendedValue()
149 resultLen = builder.createIntegerConstant(loc, lenType, charTy.getLen()); in toExtendedValue()
199 auto charTy = recoverCharacterType(box.getBuffer().getType()); in createEmbox() local
201 fir::BoxCharType::get(builder.getContext(), charTy.getFKind()); in createEmbox()
236 auto charTy = fir::CharacterType::get(builder.getContext(), kind, typeLen); in toScalarCharacter() local
237 auto type = fir::ReferenceType::get(charTy); in toScalarCharacter()
263 auto charTy = recoverCharacterType(bufferType); in createElementAddr() local
264 auto singleTy = getSingletonCharType(builder.getContext(), charTy.getFKind()); in createElementAddr()
267 if (charTy.getLen() != fir::CharacterType::unknownLen()) in createElementAddr()
268 extent = charTy.getLen(); in createElementAddr()
370 auto charTy = fir::CharacterType::get(ctxt, kind, typeLen); in createCharacterTemp() local
374 auto ref = builder.allocateLocal(loc, charTy, "", ".chrtmp", in createCharacterTemp()
495 auto charTy = fir::CharacterType::getUnknownLen(builder.getContext(), kind); in createSubstring() local
496 auto resultType = builder.getRefType(charTy); in createSubstring()
637 auto charTy = recoverCharacterType(fir::getBase(exv).getType()); in hasConstantLengthInType() local
638 return charTy.hasConstantLen(); in hasConstantLengthInType()
669 auto charTy = recoverCharacterType(box.getType()); in readLengthFromBox() local
670 auto bits = builder.getKindMap().getCharacterBitsize(charTy.getFKind()); in readLengthFromBox()