Lines Matching defs:ty
92 mlir::Type ty, bool isByRef) {
93 ty = fir::unwrapRefType(ty);
101 return fir::getTypeAsString(ty, kindMap, (name + byrefAddition).str());
106 const fir::KindMapping &kindMap, mlir::Type ty, bool isByRef) {
129 return getReductionName(reductionName, kindMap, ty, isByRef);
142 if (auto ty = mlir::dyn_cast<mlir::FloatType>(type)) {
143 const llvm::fltSemantics &sem = ty.getFloatSemantics();
152 if (auto ty = mlir::dyn_cast<mlir::FloatType>(type)) {
153 const llvm::fltSemantics &sem = ty.getFloatSemantics();
372 mlir::Type ty, mlir::Value lhs, mlir::Value rhs,
374 ty = fir::unwrapRefType(ty);
376 if (fir::isa_trivial(ty)) {
381 builder, loc, redId, ty, lhsLoaded, rhsLoaded);
391 if (auto boxTy = mlir::dyn_cast<fir::BaseBoxType>(ty)) {
400 static mlir::Type unwrapSeqOrBoxedType(mlir::Type ty) {
401 if (auto seqTy = mlir::dyn_cast<fir::SequenceType>(ty))
403 if (auto boxTy = mlir::dyn_cast<fir::BaseBoxType>(ty)) {
409 return ty;
436 mlir::Type ty = fir::unwrapRefType(type);
439 loc, unwrapSeqOrBoxedType(ty), redId, builder);
448 if (fir::isa_trivial(ty)) {
452 mlir::Value alloca = builder.create<fir::AllocaOp>(loc, ty);
464 mlir::Value boxAlloca = builder.create<fir::AllocaOp>(loc, ty);