| /llvm-project-15.0.7/mlir/unittests/Interfaces/ |
| H A D | DataLayoutInterfacesTest.cpp | 256 EXPECT_EQ(layout.getTypeSize(Float16Type::get(&ctx)), 2u); in TEST() 258 EXPECT_EQ(layout.getTypeSizeInBits(Float16Type::get(&ctx)), 16u); in TEST() 260 EXPECT_EQ(layout.getTypeABIAlignment(Float16Type::get(&ctx)), 2u); in TEST() 279 EXPECT_EQ(layout.getTypeSize(Float16Type::get(&ctx)), 16u); in TEST() 283 EXPECT_EQ(layout.getTypeABIAlignment(Float16Type::get(&ctx)), 16u); in TEST() 302 EXPECT_EQ(layout.getTypeSize(Float16Type::get(&ctx)), 16u); in TEST() 306 EXPECT_EQ(layout.getTypeABIAlignment(Float16Type::get(&ctx)), 16u); in TEST() 328 EXPECT_EQ(layout.getTypeSize(Float16Type::get(&ctx)), 6u); in TEST() 330 EXPECT_EQ(layout.getTypeSizeInBits(Float16Type::get(&ctx)), 48u); in TEST() 332 EXPECT_EQ(layout.getTypeABIAlignment(Float16Type::get(&ctx)), 8u); in TEST() [all …]
|
| /llvm-project-15.0.7/mlir/lib/Conversion/GPUToVulkan/ |
| H A D | ConvertLaunchFuncToVulkanCalls.cpp | 137 if (type.isa<Float16Type>()) in stringifyType() 244 if (type.isa<Float16Type>()) { in createBindMemRefCalls() 327 Float16Type::get(&getContext())}; in declareVulkanFunctions() 331 if (type.isa<Float16Type>()) in declareVulkanFunctions()
|
| /llvm-project-15.0.7/mlir/lib/IR/ |
| H A D | Types.cpp | 22 bool Type::isF16() const { return isa<Float16Type>(); } in isF16()
|
| H A D | MLIRContext.cpp | 210 Float16Type f16Ty; 280 impl->f16Ty = TypeUniquer::get<Float16Type>(this); in MLIRContext() 811 Float16Type Float16Type::get(MLIRContext *context) { in get()
|
| H A D | BuiltinTypes.cpp | 94 if (isa<Float16Type, BFloat16Type>()) in getWidth() 111 if (isa<Float16Type>()) in getFloatSemantics()
|
| H A D | AsmPrinter.cpp | 2071 .Case<Float16Type>([&](Type) { os << "f16"; }) in printType()
|
| /llvm-project-15.0.7/mlir/lib/Dialect/LLVMIR/IR/ |
| H A D | LLVMTypes.cpp | 763 Float16Type, in isCompatibleOuterType() 833 Float16Type, in isCompatibleImpl() 868 return type.isa<BFloat16Type, Float16Type, Float32Type, Float64Type, in isCompatibleFloatingPointType() 882 return elementType.isa<BFloat16Type, Float16Type, Float32Type, Float64Type, in isCompatibleVectorType() 968 .Case<BFloat16Type, Float16Type>( in getPrimitiveTypeSizeInBits()
|
| H A D | NVVMDialect.cpp | 80 LLVM::getFixedVectorType(Float16Type::get(operandElType.getContext()), 2); in inferOperandMMAType() 339 auto f16Ty = Float16Type::get(context); in verify()
|
| H A D | LLVMDialect.cpp | 2417 .isa<IntegerType, Float16Type, Float32Type, Float64Type>()) { in verify() 2538 !valType.isa<Float16Type>() && !valType.isa<Float32Type>() && in verify() 2612 !valType.isa<BFloat16Type>() && !valType.isa<Float16Type>() && in verify()
|
| /llvm-project-15.0.7/mlir/include/mlir/IR/ |
| H A D | BuiltinTypes.h | 380 return type.isa<BFloat16Type, Float16Type, Float32Type, Float64Type, in classof() 389 return Float16Type::get(ctx); in getF16()
|
| H A D | BuiltinTypes.td | 87 // Float16Type
|
| /llvm-project-15.0.7/mlir/lib/Conversion/GPUCommon/ |
| H A D | OpToFuncCallLowering.h | 81 if (!type.isa<Float16Type>()) in maybeCast()
|
| /llvm-project-15.0.7/mlir/lib/Target/LLVMIR/ |
| H A D | TypeFromLLVM.cpp | 55 return Float16Type::get(&context); in translatePrimitiveType()
|
| H A D | TypeToLLVM.cpp | 43 [this](Float16Type) { return llvm::Type::getHalfTy(context); }) in translateType() argument
|
| H A D | ModuleTranslation.cpp | 103 .Case<Float16Type, Float32Type, Float64Type, Float80Type, in translateDataLayout()
|
| /llvm-project-15.0.7/mlir/lib/Conversion/MathToLibm/ |
| H A D | MathToLibm.cpp | 97 if (!opType.template isa<Float16Type, BFloat16Type>()) in matchAndRewrite()
|
| /llvm-project-15.0.7/mlir/lib/Conversion/VectorToGPU/ |
| H A D | NvGpuSupport.cpp | 107 LLVM::getFixedVectorType(Float16Type::get(ctx), 2), 2, 32, in getMmaSyncRegisterType()
|
| /llvm-project-15.0.7/mlir/lib/Conversion/NVGPUToNVVM/ |
| H A D | NVGPUToNVVM.cpp | 24 auto f16x2Ty = LLVM::getFixedVectorType(Float16Type::get(ctx), 2); in inferIntrinsicResultType()
|