/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/ |
H A D | MachineValueType.h | 119 v2f16 = 64, // 2 x f16 144 FIRST_FP_FIXEDLEN_VECTOR_VALUETYPE = v2f16, 337 SimpleTy == MVT::v2f16 || SimpleTy == MVT::v1f32); in is32BitVector() 508 case v2f16: in getVectorElementType() 641 case v2f16: in getVectorNumElements() 723 case v2f16: in getSizeInBits() 985 if (NumElements == 2) return MVT::v2f16; in getVectorVT()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/NVPTX/ |
H A D | NVPTXISelLowering.cpp | 147 case MVT::v2f16: in IsPTXVectorType() 199 // Split vectors into individual elements, except for v2f16, which in ComputePTXValueVTs() 205 // us as an array of v2f16 elements. We must match this so we in ComputePTXValueVTs() 208 EltVT = MVT::v2f16; in ComputePTXValueVTs() 383 addRegisterClass(MVT::v2f16, &NVPTX::Float16x2RegsRegClass); in NVPTXTargetLowering() 388 setOperationAction(ISD::BUILD_VECTOR, MVT::v2f16, Custom); in NVPTXTargetLowering() 389 setOperationAction(ISD::EXTRACT_VECTOR_ELT, MVT::v2f16, Custom); in NVPTXTargetLowering() 390 setOperationAction(ISD::INSERT_VECTOR_ELT, MVT::v2f16, Expand); in NVPTXTargetLowering() 391 setOperationAction(ISD::VECTOR_SHUFFLE, MVT::v2f16, Expand); in NVPTXTargetLowering() 394 setFP16OperationAction(ISD::SETCC, MVT::v2f16, Lega in NVPTXTargetLowering() [all...] |
H A D | NVPTXISelDAGToDAG.cpp | 603 // Find all instances of extract_vector_elt that use this v2f16 vector 610 if (Vector.getSimpleValueType() != MVT::v2f16) in tryEXTRACT_VECTOR_ELEMENT() 828 case MVT::v2f16: 895 assert(LoadedVT == MVT::v2f16 && "Unexpected vector type"); 896 // v2f16 is loaded using ld.b32 1063 // instruction. Instead, we split the vector into v2f16 chunks and 1065 if (EltVT == MVT::v2f16) { 1273 // vectors of f16 are loaded/stored as multiples of v2f16 elements. 1274 if (EltVT == MVT::f16 && N->getValueType(0) == MVT::v2f16) { 1276 EltVT = MVT::v2f16; [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/ |
H A D | SIISelLowering.cpp | 156 addRegisterClass(MVT::v2f16, &AMDGPU::SReg_32RegClass); in SITargetLowering() 318 setOperationAction(ISD::INSERT_VECTOR_ELT, MVT::v2f16, Custom); in SITargetLowering() 323 setOperationAction(ISD::EXTRACT_VECTOR_ELT, MVT::v2f16, Custom); in SITargetLowering() 525 for (MVT VT : {MVT::v2i16, MVT::v2f16, MVT::v4i16, MVT::v4f16}) { in SITargetLowering() 550 setOperationAction(ISD::ConstantFP, MVT::v2f16, Legal); in SITargetLowering() 553 setOperationAction(ISD::UNDEF, MVT::v2f16, Legal); in SITargetLowering() 557 setOperationAction(ISD::STORE, MVT::v2f16, Promote); in SITargetLowering() 558 AddPromotedToType(ISD::STORE, MVT::v2f16, MVT::i32); in SITargetLowering() 562 setOperationAction(ISD::LOAD, MVT::v2f16, Promote); in SITargetLowering() 563 AddPromotedToType(ISD::LOAD, MVT::v2f16, MV in SITargetLowering() [all...] |
H A D | AMDGPUISelLowering.cpp | 153 setLoadExtAction(ISD::EXTLOAD, MVT::v2f32, MVT::v2f16, Expand); in AMDGPUTargetLowering() 166 setLoadExtAction(ISD::EXTLOAD, MVT::v2f64, MVT::v2f16, Expand); in AMDGPUTargetLowering() 217 setTruncStoreAction(MVT::v2f32, MVT::v2f16, Expand); in AMDGPUTargetLowering() 228 setTruncStoreAction(MVT::v2f64, MVT::v2f16, Expand); in AMDGPUTargetLowering() 752 (Subtarget->hasVOP3PInsts() && VT == MVT::v2f16); in isFNegFree() 2164 // Don't handle v2f16. The extra instructions to scalarize and repack around the
|
H A D | AMDGPUISelDAGToDAG.cpp | 419 if (VT != MVT::v2i16 && VT != MVT::v2f16) in matchLoadD16FromBuildVector() 918 MVT NewVT = Opc == AMDGPUISD::CVT_PKRTZ_F16_F32 ? MVT::v2f16 : MVT::v2i16; in Select()
|
/third_party/mesa3d/src/gallium/drivers/radeonsi/ |
H A D | si_shader_llvm_ps.c | 228 return LLVMBuildBitCast(ctx->builder, tmp, ctx->v2f16, ""); in pack_two_16bit() 866 ctx->ac.v2f16, ""); in si_llvm_build_ps_epilog()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/ |
H A D | ValueTypes.cpp | 209 case MVT::v2f16: return VectorType::get(Type::getHalfTy(Context), 2); in getTypeForEVT()
|
/third_party/mesa3d/src/amd/llvm/ |
H A D | ac_llvm_build.h | 86 LLVMTypeRef v2f16; member
|
H A D | ac_llvm_build.c | 91 ctx->v2f16 = LLVMVectorType(ctx->f16, 2); in ac_llvm_context_init() 1810 else if (result_type == ctx->v2f16) in ac_build_ddxy() 2346 return ac_build_intrinsic(ctx, "llvm.amdgcn.cvt.pkrtz", ctx->v2f16, args, 2, in ac_build_cvt_pkrtz_f16() 2531 if (bitsize == 64 || (bitsize == 16 && ctx->gfx_level <= GFX8) || type == ctx->v2f16) { in ac_build_fsat()
|
H A D | ac_nir_to_llvm.c | 2413 output = LLVMBuildLoad2(ctx->ac.builder, ctx->ac.v2f16, output_addr, ""); in visit_store_output()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ray_tracing/ |
H A D | vktRayTracingDataSpillTests.cpp | 1425 using v2f16 = tcu::Vector<tcu::Float16, 2>; 1515 else if (dataType == DataType::FLOAT16) GEN_V2_FILL(v2f16); in fillInputBuffer()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/ray_tracing/ |
H A D | vktRayTracingDataSpillTests.cpp | 1425 using v2f16 = tcu::Vector<tcu::Float16, 2>; 1515 else if (dataType == DataType::FLOAT16) GEN_V2_FILL(v2f16); in fillInputBuffer()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/AsmParser/ |
H A D | AMDGPUAsmParser.cpp | 509 return isVSrcF16() || isLiteralImm(MVT::v2f16); in isVSrcV2F16() 1630 MVT ExpectedType = (type == MVT::v2f16)? MVT::f16 : in isLiteralImm()
|