Searched refs:fromTy (Results 1 – 6 of 6) sorted by relevance
276 auto fromTy = val.getType(); in convertWithSemantics() local277 if (fromTy == toTy) in convertWithSemantics()280 if ((fir::isa_real(fromTy) || fir::isa_integer(fromTy)) && in convertWithSemantics()290 if (fir::isa_complex(fromTy) && in convertWithSemantics()297 if (fromTy.isa<fir::BoxCharType>()) { in convertWithSemantics()316 if (fir::isa_ref_type(toTy) && fir::isa_box_type(fromTy)) { in convertWithSemantics()320 fir::unwrapRefType(fir::unwrapPassByRefType(fromTy)) && in convertWithSemantics()
114 QualType fromTy, QualType toTy) { in makeNonLoc() argument117 if (fromTy == toTy) in makeNonLoc()119 return nonloc::SymbolVal(SymMgr.getCastSymbol(operand, fromTy, toTy)); in makeNonLoc()
326 nonloc::SymbolVal makeNonLoc(const SymExpr *operand, QualType fromTy,
776 auto fromTy = convertType(fromFirTy); in matchAndRewrite() local779 if (fromTy == toTy) { in matchAndRewrite()827 mlir::Value zero = genConstantIndex(loc, fromTy, rewriter, 0); in matchAndRewrite()838 if (isFloatingPointTy(fromTy)) { in matchAndRewrite()840 auto fromBits = mlir::LLVM::getPrimitiveTypeSizeInBits(fromTy); in matchAndRewrite()850 } else if (fromTy.isa<mlir::IntegerType>()) { in matchAndRewrite()853 auto fromBits = mlir::LLVM::getPrimitiveTypeSizeInBits(fromTy); in matchAndRewrite()873 } else if (fromTy.isa<mlir::LLVM::LLVMPointerType>()) { in matchAndRewrite()885 return emitError(loc) << "cannot convert " << fromTy << " to " << toTy; in matchAndRewrite()
875 if (auto fromTy = inner.getValue().getType().dyn_cast<fir::LogicalType>()) in fold() local876 if (inner.getType().isa<mlir::IntegerType>() && (toTy == fromTy)) in fold()880 if (auto fromTy = in fold() local882 if (inner.getType().isa<fir::LogicalType>() && (toTy == fromTy) && in fold()883 (fromTy.getWidth() == 1)) in fold()
1351 auto fromTy = boxCharAddr.getType(); in genval() local1352 if (auto charTy = fromTy.dyn_cast<fir::CharacterType>()) { in genval()1361 kindMap.getCharacterBitsize(fir::unwrapRefType(fromTy) in genval()