Home
last modified time | relevance | path

Searched refs:Float32Type (Results 1 – 25 of 30) sorted by relevance

12

/llvm-project-15.0.7/cross-project-tests/debuginfo-tests/llvm-prettyprinters/gdb/
H A Dmlir-support.gdb36 # CHECK: typeID = mlir::TypeID::get<mlir::Float32Type>()
59 # CHECK-NEXT: typeID = mlir::TypeID::get<mlir::Float32Type>()
63 # CHECK: typeID = mlir::TypeID::get<mlir::Float32Type>()
68 # CHECK: typeID = mlir::TypeID::get<mlir::Float32Type>()
H A Dmlir-support.cpp16 mlir::Type FloatType = mlir::Float32Type::get(&Context);
/llvm-project-15.0.7/mlir/lib/Conversion/GPUCommon/
H A DOpToFuncCallLowering.h85 operand.getLoc(), Float32Type::get(rewriter.getContext()), operand); in maybeCast()
94 if (type.isa<Float32Type>()) in getFunctionName()
/llvm-project-15.0.7/mlir/lib/Conversion/ComplexToLibm/
H A DComplexToLibm.cpp25 if (!elementType.isa<Float32Type, Float64Type>()) in operator ()()
37 if (!elementType.isa<Float32Type, Float64Type>()) in operator ()()
/llvm-project-15.0.7/mlir/unittests/Interfaces/
H A DDataLayoutInterfacesTest.cpp337 EXPECT_EQ(layout.getTypeSize(Float32Type::get(&ctx)), 32u); in TEST()
339 EXPECT_EQ(layout.getTypeSizeInBits(Float32Type::get(&ctx)), 256u); in TEST()
341 EXPECT_EQ(layout.getTypeABIAlignment(Float32Type::get(&ctx)), 32u); in TEST()
343 EXPECT_EQ(layout.getTypePreferredAlignment(Float32Type::get(&ctx)), 64u); in TEST()
/llvm-project-15.0.7/mlir/lib/Conversion/GPUToVulkan/
H A DConvertLaunchFuncToVulkanCalls.cpp60 llvmFloatType = Float32Type::get(&getContext()); in initializeCachedTypes()
135 if (type.isa<Float32Type>()) in stringifyType()
325 Float32Type::get(&getContext()), IntegerType::get(&getContext(), 32), in declareVulkanFunctions()
/llvm-project-15.0.7/mlir/lib/IR/
H A DTypes.cpp23 bool Type::isF32() const { return isa<Float32Type>(); } in isF32()
H A DMLIRContext.cpp211 Float32Type f32Ty;
281 impl->f32Ty = TypeUniquer::get<Float32Type>(this); in MLIRContext()
814 Float32Type Float32Type::get(MLIRContext *context) { in get()
H A DBuiltinTypes.cpp96 if (isa<Float32Type>()) in getWidth()
113 if (isa<Float32Type>()) in getFloatSemantics()
/llvm-project-15.0.7/mlir/lib/Dialect/LLVMIR/IR/
H A DLLVMTypes.cpp764 Float32Type, in isCompatibleOuterType()
834 Float32Type, in isCompatibleImpl()
868 return type.isa<BFloat16Type, Float16Type, Float32Type, Float64Type, in isCompatibleFloatingPointType()
882 return elementType.isa<BFloat16Type, Float16Type, Float32Type, Float64Type, in isCompatibleVectorType()
970 .Case<Float32Type>([](Type) { return llvm::TypeSize::Fixed(32); }) in getPrimitiveTypeSizeInBits()
H A DFunctionCallUtils.cpp70 Float32Type::get(moduleOp->getContext()), in lookupOrCreatePrintF32Fn()
H A DNVVMDialect.cpp342 auto f32Ty = Float32Type::get(context); in verify()
H A DLLVMDialect.cpp2417 .isa<IntegerType, Float16Type, Float32Type, Float64Type>()) { in verify()
2538 !valType.isa<Float16Type>() && !valType.isa<Float32Type>() && in verify()
2613 !valType.isa<Float32Type>() && !valType.isa<Float64Type>()) in verify()
/llvm-project-15.0.7/mlir/include/mlir/IR/
H A DBuiltinTypes.h380 return type.isa<BFloat16Type, Float16Type, Float32Type, Float64Type, in classof()
393 return Float32Type::get(ctx); in getF32()
/llvm-project-15.0.7/mlir/lib/Dialect/X86Vector/Transforms/
H A DAVXTranspose.cpp117 auto vt = VectorType::get({8}, Float32Type::get(ib.getContext())); in transpose4x8xf32()
141 auto vt = VectorType::get({8}, Float32Type::get(ib.getContext())); in transpose8x8xf32()
/llvm-project-15.0.7/mlir/unittests/IR/
H A DInterfaceAttachmentTest.cpp76 FloatType flt = Float32Type::get(&context); in TEST()
78 Float32Type::attachInterface<OverridingModel>(context); in TEST()
/llvm-project-15.0.7/mlir/lib/Target/LLVMIR/
H A DTypeFromLLVM.cpp59 return Float32Type::get(&context); in translatePrimitiveType()
H A DTypeToLLVM.cpp48 [this](Float32Type) { return llvm::Type::getFloatTy(context); }) in translateType() argument
H A DModuleTranslation.cpp103 .Case<Float16Type, Float32Type, Float64Type, Float80Type, in translateDataLayout()
H A DConvertFromLLVMIR.cpp382 if (type.isa<Float32Type, Float64Type>()) { in getConstantAsAttr()
/llvm-project-15.0.7/mlir/lib/Conversion/MathToLibm/
H A DMathToLibm.cpp117 if (!type.template isa<Float32Type, Float64Type>()) in matchAndRewrite()
/llvm-project-15.0.7/mlir/lib/ExecutionEngine/
H A DJitRunner.cpp280 .isa<Float32Type>()) in checkCompatibleReturnType()
/llvm-project-15.0.7/mlir/lib/Conversion/VectorToGPU/
H A DNvGpuSupport.cpp144 Type f32Ty = Float32Type::get(ctx); in getMmaSyncRegisterType()
/llvm-project-15.0.7/mlir/lib/Conversion/NVGPUToNVVM/
H A DNVGPUToNVVM.cpp29 Type f32Ty = Float32Type::get(ctx); in inferIntrinsicResultType()
/llvm-project-15.0.7/mlir/test/lib/Dialect/Test/
H A DTestPatterns.cpp904 [](Float32Type type) { return Float64Type::get(type.getContext()); }); in TestRemapValueTypeConverter()

12