Searched refs:LogicalType (Results 1 – 16 of 16) sorted by relevance
| /llvm-project-15.0.7/flang/lib/Optimizer/Dialect/ |
| H A D | FIRType.cpp | 532 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 D | FIROps.cpp | 874 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 D | FIRType.h | 133 t.isa<fir::LogicalType>(); in isa_trivial()
|
| H A D | FIROps.td | 2564 "fir::ComplexType, fir::IntegerType, fir::LogicalType,"
|
| /llvm-project-15.0.7/flang/lib/Evaluate/ |
| H A D | intrinsics.cpp | 66 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 D | tools.cpp | 1041 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 D | Mangler.cpp | 266 if (auto logical{t.dyn_cast<fir::LogicalType>()}) { in typeToString()
|
| H A D | ConvertType.cpp | 78 return fir::LogicalType::get(context, KIND); in genLogicalType()
|
| H A D | IntrinsicCall.cpp | 3088 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 D | IO.cpp | 447 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 D | ConvertVariable.cpp | 405 if (eleTy.isa<mlir::IntegerType, mlir::FloatType, fir::LogicalType>()) { in defineGlobal()
|
| H A D | ConvertExpr.cpp | 5493 eleTy.isa<fir::LogicalType, mlir::IntegerType, mlir::FloatType>()) in genarr()
|
| /llvm-project-15.0.7/flang/lib/Optimizer/CodeGen/ |
| H A D | TypeConverter.h | 85 addConversion([&](fir::LogicalType boolTy) { in LLVMTypeConverter()
|
| H A D | CodeGen.cpp | 826 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 D | Reduction.cpp | 825 else if (eleTy.isa<fir::LogicalType>()) in genDotProduct()
|
| /llvm-project-15.0.7/flang/lib/Optimizer/Builder/ |
| H A D | FIRBuilder.cpp | 1206 if (type.isa<fir::LogicalType>() || type == i1) in createZeroValue()
|