Home
last modified time | relevance | path

Searched refs:LogicalType (Results 1 – 16 of 16) sorted by relevance

/llvm-project-15.0.7/flang/lib/Optimizer/Dialect/
H A DFIRType.cpp532 mlir::Type fir::LogicalType::parse(mlir::AsmParser &parser) { in parse()
533 return parseKindSingleton<fir::LogicalType>(parser); in parse()
536 void fir::LogicalType::print(mlir::AsmPrinter &printer) const { in print()
974 FieldType, HeapType, fir::IntegerType, LenType, LogicalType, in registerTypes()
H A DFIROps.cpp874 if (auto toTy = getType().dyn_cast<fir::LogicalType>()) in fold()
875 if (auto fromTy = inner.getValue().getType().dyn_cast<fir::LogicalType>()) in fold()
882 if (inner.getType().isa<fir::LogicalType>() && (toTy == fromTy) && in fold()
891 fir::LogicalType>(); in isIntegerCompatible()
2797 fir::LogicalType, fir::CharacterType>()) in verify()
/llvm-project-15.0.7/flang/include/flang/Optimizer/Dialect/
H A DFIRType.h133 t.isa<fir::LogicalType>(); in isa_trivial()
H A DFIROps.td2564 "fir::ComplexType, fir::IntegerType, fir::LogicalType,"
/llvm-project-15.0.7/flang/lib/Evaluate/
H A Dintrinsics.cpp66 static constexpr CategorySet LogicalType{TypeCategory::Logical}; variable
73 IntType | RealType | ComplexType | CharType | LogicalType};
111 LogicalType, KindCode::defaultLogicalKind};
128 static constexpr TypePattern AnyLogical{LogicalType, KindCode::any};
148 static constexpr TypePattern SameLogical{LogicalType, KindCode::same};
166 static constexpr TypePattern ResultLogical{LogicalType, KindCode::likeMultiply};
174 static constexpr TypePattern KINDLogical{LogicalType, KindCode::effectiveKind};
1657 CHECK(result.categorySet == LogicalType); in Match()
H A Dtools.cpp1041 using LogicalType = value::Logical<FromWordType::bits>; in DataConstantConversionHelper() typedef
1043 std::conditional_t<TO == TypeCategory::Logical, LogicalType, in DataConstantConversionHelper()
1044 typename LogicalType::Word>; in DataConstantConversionHelper()
/llvm-project-15.0.7/flang/lib/Lower/
H A DMangler.cpp266 if (auto logical{t.dyn_cast<fir::LogicalType>()}) { in typeToString()
H A DConvertType.cpp78 return fir::LogicalType::get(context, KIND); in genLogicalType()
H A DIntrinsicCall.cpp3088 fir::LogicalType logTy = fir::LogicalType::get( in genIndex()
3737 fir::LogicalType logTy = fir::LogicalType::get( in genScan()
4374 fir::LogicalType logTy = fir::LogicalType::get( in genVerify()
H A DIO.cpp447 if (type.isa<fir::LogicalType>()) in getOutputFunc()
546 if (type.isa<fir::LogicalType>()) in getInputFunc()
603 if (itemTy.isa<fir::LogicalType>()) in createIoRuntimeCallForItem()
H A DConvertVariable.cpp405 if (eleTy.isa<mlir::IntegerType, mlir::FloatType, fir::LogicalType>()) { in defineGlobal()
H A DConvertExpr.cpp5493 eleTy.isa<fir::LogicalType, mlir::IntegerType, mlir::FloatType>()) in genarr()
/llvm-project-15.0.7/flang/lib/Optimizer/CodeGen/
H A DTypeConverter.h85 addConversion([&](fir::LogicalType boolTy) { in LLVMTypeConverter()
H A DCodeGen.cpp826 if (fromFirTy.isa<fir::LogicalType>() && toFirTy == i1Type) { in matchAndRewrite()
832 if (fromFirTy == i1Type && toFirTy.isa<fir::LogicalType>()) { in matchAndRewrite()
1242 if (auto ty = boxEleTy.dyn_cast<fir::LogicalType>())
/llvm-project-15.0.7/flang/lib/Optimizer/Builder/Runtime/
H A DReduction.cpp825 else if (eleTy.isa<fir::LogicalType>()) in genDotProduct()
/llvm-project-15.0.7/flang/lib/Optimizer/Builder/
H A DFIRBuilder.cpp1206 if (type.isa<fir::LogicalType>() || type == i1) in createZeroValue()