Home
last modified time | relevance | path

Searched refs:v4f32 (Results 1 - 25 of 44) sorted by relevance

12

/third_party/skia/third_party/externals/swiftshader/third_party/subzero/crosstest/
H A Dtest_calling_conv.cpp40 v4f32 arg1 = {0, 1, 2, 3}; in caller_vlvilvfvdviv()
42 v4f32 arg3 = {6, 7, 8, 9}; in caller_vlvilvfvdviv()
45 v4f32 arg6 = {12, 13, 14, 15}; in caller_vlvilvfvdviv()
47 v4f32 arg8 = {17, 18, 19, 20}; in caller_vlvilvfvdviv()
49 v4f32 arg10 = {22, 23, 24, 25}; in caller_vlvilvfvdviv()
51 v4f32 arg12 = {27, 28, 29, 30}; in caller_vlvilvfvdviv()
78 callee_vlvilvfvdviv(v4f32 arg1, int64 arg2, v4f32 arg3, int arg4, int64 arg5, in callee_vlvilvfvdviv()
79 v4f32 arg6, float arg7, v4f32 arg in callee_vlvilvfvdviv()
[all...]
H A Dtest_calling_conv.h35 typedef void(callee_vlvilvfvdviv_Ty)(v4f32, int64, v4f32, int, int64, v4f32,
36 float, v4f32, double, v4f32, int, v4f32);
H A Dtest_arith.h47 v4f32 myFrem(v4f32 a, v4f32 b);
52 v4f32 test##inst(v4f32 a, v4f32 b);
58 // mySqrt for v4f32 is currently unsupported.
62 v4f32 myFabs(v4f32 a);
H A Dtest_select_main.cpp70 void testSelect<v4f32, v4i1>(size_t &TotalTests, size_t &Passes, in testSelect()
82 v4f32 Value1, Value2; in testSelect()
88 v4f32 ResultLlc = select(Cond, Value1, Value2); in testSelect()
89 v4f32 ResultSz = Subzero_::select(Cond, Value1, Value2); in testSelect()
95 std::cout << "select<v4f32>(Cond="; in testSelect()
97 << ", Value1=" << vectAsString<v4f32>(Value1) in testSelect()
98 << ", Value2=" << vectAsString<v4f32>(Value2) << ")\n"; in testSelect()
99 std::cout << "llc=" << vectAsString<v4f32>(ResultLlc) << "\n"; in testSelect()
100 std::cout << "sz =" << vectAsString<v4f32>(ResultSz) << "\n"; in testSelect()
140 testSelect<v4f32, v4i in main()
[all...]
H A Dtest_arith_main.cpp324 typedef v4f32 (*FuncType)(v4f32, v4f32); in testsVecFp()
341 v4f32 Value1, Value2; in testsVecFp()
347 v4f32 ResultSz = Funcs[f].FuncSz(Value1, Value2); in testsVecFp()
348 v4f32 ResultLlc = Funcs[f].FuncLlc(Value1, Value2); in testsVecFp()
354 std::cout << "test" << Funcs[f].Name << "v4f32" in testsVecFp()
355 << "(" << vectAsString<v4f32>(Value1) << "," in testsVecFp()
356 << vectAsString<v4f32>(Value2) in testsVecFp()
357 << "): sz=" << vectAsString<v4f32>(ResultS in testsVecFp()
[all...]
H A Dtest_fcmp_main.cpp32 extern "C" v4si32 fcmp##cmp##Vector(v4f32 a, v4f32 b); \
39 extern "C" v4si32 Subzero_fcmp##cmp##Vector(v4f32 a, v4f32 b);
159 typedef v4si32 (*FuncTypeVector)(v4f32, v4f32);
178 v4f32 Value1, Value2;
191 std::cout << Funcs[f].Name << "Vector(" << vectAsString<v4f32>(Value1)
192 << ", " << vectAsString<v4f32>(Value2)
H A Dtest_arith.cpp53 v4f32 test##inst(v4f32 a, v4f32 b) { return func(a op b); }
H A Dtest_vector_ops_main.cpp182 testInsertElement<v4f32>(TotalTests, Passes, Failures); in main()
193 testExtractElement<v4f32>(TotalTests, Passes, Failures); in main()
204 testShuffleVector<v4f32>(TotalTests, Passes, Failures); in main()
H A Dtest_cast_main.cpp313 testVector<v4ui32, v4f32>(TotalTests, Passes, Failures, "v4ui32", "v4f32"); in main()
314 testVector<v4si32, v4f32>(TotalTests, Passes, Failures, "v4si32", "v4f32"); in main()
315 testVector<v4f32, v4si32>(TotalTests, Passes, Failures, "v4f32", "v4si32"); in main()
316 testVector<v4f32, v4ui32>(TotalTests, Passes, Failures, "v4f32", "v4ui32"); in main()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
H A DX86TargetTransformInfo.cpp187 { ISD::FDIV, MVT::v4f32, 35 }, // divps in getArithmeticInstrCost()
203 { ISD::FMUL, MVT::v4f32, 2 }, // mulps in getArithmeticInstrCost()
205 { ISD::FDIV, MVT::v4f32, 39 }, // divps in getArithmeticInstrCost()
703 { ISD::FDIV, MVT::v4f32, 7 }, // Haswell from http://www.agner.org/ in getArithmeticInstrCost()
740 { ISD::FDIV, MVT::v4f32, 14 }, // SNB from http://www.agner.org/ in getArithmeticInstrCost()
755 { ISD::FADD, MVT::v4f32, 1 }, // Nehalem from http://www.agner.org/ in getArithmeticInstrCost()
760 { ISD::FSUB, MVT::v4f32, 1 }, // Nehalem from http://www.agner.org/ in getArithmeticInstrCost()
765 { ISD::FMUL, MVT::v4f32, 1 }, // Nehalem from http://www.agner.org/ in getArithmeticInstrCost()
768 { ISD::FDIV, MVT::v4f32, 14 }, // Nehalem from http://www.agner.org/ in getArithmeticInstrCost()
833 { ISD::FDIV, MVT::v4f32, 3 in getArithmeticInstrCost()
[all...]
H A DX86ISelLowering.cpp755 for (auto VT : { MVT::v4f32, MVT::v8f32, MVT::v16f32, in X86TargetLowering()
839 addRegisterClass(MVT::v4f32, Subtarget.hasVLX() ? &X86::VR128XRegClass in X86TargetLowering()
842 setOperationAction(ISD::FNEG, MVT::v4f32, Custom); in X86TargetLowering()
843 setOperationAction(ISD::FABS, MVT::v4f32, Custom); in X86TargetLowering()
844 setOperationAction(ISD::FCOPYSIGN, MVT::v4f32, Custom); in X86TargetLowering()
845 setOperationAction(ISD::BUILD_VECTOR, MVT::v4f32, Custom); in X86TargetLowering()
846 setOperationAction(ISD::VECTOR_SHUFFLE, MVT::v4f32, Custom); in X86TargetLowering()
847 setOperationAction(ISD::VSELECT, MVT::v4f32, Custom); in X86TargetLowering()
848 setOperationAction(ISD::EXTRACT_VECTOR_ELT, MVT::v4f32, Custom); in X86TargetLowering()
849 setOperationAction(ISD::SELECT, MVT::v4f32, Custo in X86TargetLowering()
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/
H A DAArch64TargetTransformInfo.cpp327 { ISD::SINT_TO_FP, MVT::v4f32, MVT::v4i32, 1 }, in getCastInstrCost()
330 { ISD::UINT_TO_FP, MVT::v4f32, MVT::v4i32, 1 }, in getCastInstrCost()
341 // Complex: to v4f32 in getCastInstrCost()
342 { ISD::SINT_TO_FP, MVT::v4f32, MVT::v4i8, 4 }, in getCastInstrCost()
343 { ISD::SINT_TO_FP, MVT::v4f32, MVT::v4i16, 2 }, in getCastInstrCost()
344 { ISD::UINT_TO_FP, MVT::v4f32, MVT::v4i8, 3 }, in getCastInstrCost()
345 { ISD::UINT_TO_FP, MVT::v4f32, MVT::v4i16, 2 }, in getCastInstrCost()
368 { ISD::FP_TO_SINT, MVT::v4i32, MVT::v4f32, 1 }, in getCastInstrCost()
371 { ISD::FP_TO_UINT, MVT::v4i32, MVT::v4f32, 1 }, in getCastInstrCost()
382 // Complex, from v4f32 in getCastInstrCost()
[all...]
H A DAArch64ISelDAGToDAG.cpp1842 (VT != MVT::v4f32 || NarrowVT != MVT::v4f16)) in tryHighFPExt()
3197 } else if (VT == MVT::v4i32 || VT == MVT::v4f32) { in Select()
3224 } else if (VT == MVT::v4i32 || VT == MVT::v4f32) { in Select()
3251 } else if (VT == MVT::v4i32 || VT == MVT::v4f32) { in Select()
3278 } else if (VT == MVT::v4i32 || VT == MVT::v4f32) { in Select()
3305 } else if (VT == MVT::v4i32 || VT == MVT::v4f32) { in Select()
3332 } else if (VT == MVT::v4i32 || VT == MVT::v4f32) { in Select()
3359 } else if (VT == MVT::v4i32 || VT == MVT::v4f32) { in Select()
3386 } else if (VT == MVT::v4i32 || VT == MVT::v4f32) { in Select()
3413 } else if (VT == MVT::v4i32 || VT == MVT::v4f32) { in Select()
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/
H A DARMTargetTransformInfo.cpp163 { ISD::FP_EXTEND, MVT::v4f32, 4 } in getCastInstrCost()
243 { ISD::SINT_TO_FP, MVT::v4f32, MVT::v4i32, 1 }, in getCastInstrCost()
244 { ISD::UINT_TO_FP, MVT::v4f32, MVT::v4i32, 1 }, in getCastInstrCost()
252 { ISD::SINT_TO_FP, MVT::v4f32, MVT::v4i1, 3 }, in getCastInstrCost()
253 { ISD::UINT_TO_FP, MVT::v4f32, MVT::v4i1, 3 }, in getCastInstrCost()
254 { ISD::SINT_TO_FP, MVT::v4f32, MVT::v4i8, 3 }, in getCastInstrCost()
255 { ISD::UINT_TO_FP, MVT::v4f32, MVT::v4i8, 3 }, in getCastInstrCost()
256 { ISD::SINT_TO_FP, MVT::v4f32, MVT::v4i16, 2 }, in getCastInstrCost()
257 { ISD::UINT_TO_FP, MVT::v4f32, MVT::v4i16, 2 }, in getCastInstrCost()
267 { ISD::FP_TO_SINT, MVT::v4i32, MVT::v4f32, in getCastInstrCost()
[all...]
H A DARMISelLowering.cpp313 const MVT FloatTypes[] = { MVT::v8f16, MVT::v4f32 }; in addMVEVectorTypes()
763 addQRTypeForNEON(MVT::v4f32); in ARMTargetLowering()
815 // The same with v4f32. But keep in mind that vadd, vsub, vmul are natively in ARMTargetLowering()
816 // supported for v4f32. in ARMTargetLowering()
817 setOperationAction(ISD::FSQRT, MVT::v4f32, Expand); in ARMTargetLowering()
818 setOperationAction(ISD::FSIN, MVT::v4f32, Expand); in ARMTargetLowering()
819 setOperationAction(ISD::FCOS, MVT::v4f32, Expand); in ARMTargetLowering()
820 setOperationAction(ISD::FPOW, MVT::v4f32, Expand); in ARMTargetLowering()
821 setOperationAction(ISD::FLOG, MVT::v4f32, Expand); in ARMTargetLowering()
822 setOperationAction(ISD::FLOG2, MVT::v4f32, Expan in ARMTargetLowering()
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/
H A DPPCISelLowering.cpp713 setOperationAction(ISD::FFLOOR, MVT::v4f32, Legal); in PPCTargetLowering()
714 setOperationAction(ISD::FCEIL, MVT::v4f32, Legal); in PPCTargetLowering()
715 setOperationAction(ISD::FTRUNC, MVT::v4f32, Legal); in PPCTargetLowering()
716 setOperationAction(ISD::FNEARBYINT, MVT::v4f32, Legal); in PPCTargetLowering()
731 addRegisterClass(MVT::v4f32, &PPC::VRRCRegClass); in PPCTargetLowering()
736 setOperationAction(ISD::MUL, MVT::v4f32, Legal); in PPCTargetLowering()
737 setOperationAction(ISD::FMA, MVT::v4f32, Legal); in PPCTargetLowering()
740 setOperationAction(ISD::FDIV, MVT::v4f32, Legal); in PPCTargetLowering()
741 setOperationAction(ISD::FSQRT, MVT::v4f32, Legal); in PPCTargetLowering()
752 setOperationAction(ISD::SCALAR_TO_VECTOR, MVT::v4f32, Custo in PPCTargetLowering()
[all...]
H A DPPCTargetTransformInfo.cpp842 LT.second == MVT::v4i32 || LT.second == MVT::v4f32); in getMemoryOpCost()
846 (LT.second == MVT::v4f64 || LT.second == MVT::v4f32); in getMemoryOpCost()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
H A DMachineValueType.h128 v4f32 = 73, // 4 x f32
353 SimpleTy == MVT::v8f16 || SimpleTy == MVT::v4f32 || in is128BitVector()
520 case v4f32: in getVectorElementType()
622 case v4f32: in getVectorNumElements()
765 case v4f32: in getSizeInBits()
996 if (NumElements == 4) return MVT::v4f32; in getVectorVT()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/robustness/
H A DvktRobustBufferAccessWithVariablePointersTests.cpp771 , v4f32(autoincrement) in Variables()
814 const Variable v4f32; member in vkt::robustness::__anon28603::Variables
911 (var.v4f32, is, op::TypeVector, var.f32, 4) in MakeShader()
912 (var.outputPtr, is, op::TypePointer, "Output", var.v4f32) in MakeShader()
915 (var.constants[7], is, op::ConstantComposite, var.v4f32, var.constants[6], var.constants[6], var.constants[6], var.constants[6]) in MakeShader()
925 (var.v4f32, is, op::TypeVector , var.f32, 4) in MakeShader()
926 (var.outputPtr, is, op::TypePointer, "Output" , var.v4f32) in MakeShader()
928 (var.inputPtr, is, op::TypePointer, "Input" , var.v4f32) in MakeShader()
1013 (var.v4f32, is, op::TypeVector, var.f32, 4) in MakeShader()
1039 shaderSource.makeSame(var.buffer_type_vec, var.v4f32); in MakeShader()
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/robustness/
H A DvktRobustBufferAccessWithVariablePointersTests.cpp775 , v4f32(autoincrement) in Variables()
818 const Variable v4f32; member in vkt::robustness::__anon29782::Variables
915 (var.v4f32, is, op::TypeVector, var.f32, 4) in MakeShader()
916 (var.outputPtr, is, op::TypePointer, "Output", var.v4f32) in MakeShader()
919 (var.constants[7], is, op::ConstantComposite, var.v4f32, var.constants[6], var.constants[6], var.constants[6], var.constants[6]) in MakeShader()
929 (var.v4f32, is, op::TypeVector , var.f32, 4) in MakeShader()
930 (var.outputPtr, is, op::TypePointer, "Output" , var.v4f32) in MakeShader()
932 (var.inputPtr, is, op::TypePointer, "Input" , var.v4f32) in MakeShader()
1017 (var.v4f32, is, op::TypeVector, var.f32, 4) in MakeShader()
1043 shaderSource.makeSame(var.buffer_type_vec, var.v4f32); in MakeShader()
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/SystemZ/
H A DSystemZISelLowering.cpp108 addRegisterClass(MVT::v4f32, &SystemZ::VR128BitRegClass); in SystemZTargetLowering()
334 // as such. In particular, we can do these for v4f32 even though there in SystemZTargetLowering()
420 setOperationAction(ISD::FP_TO_SINT, MVT::v4f32, Legal); in SystemZTargetLowering()
422 setOperationAction(ISD::FP_TO_UINT, MVT::v4f32, Legal); in SystemZTargetLowering()
424 setOperationAction(ISD::SINT_TO_FP, MVT::v4f32, Legal); in SystemZTargetLowering()
426 setOperationAction(ISD::UINT_TO_FP, MVT::v4f32, Legal); in SystemZTargetLowering()
429 setOperationAction(ISD::STRICT_FP_TO_SINT, MVT::v4f32, Legal); in SystemZTargetLowering()
431 setOperationAction(ISD::STRICT_FP_TO_UINT, MVT::v4f32, Legal); in SystemZTargetLowering()
433 setOperationAction(ISD::STRICT_SINT_TO_FP, MVT::v4f32, Legal); in SystemZTargetLowering()
435 setOperationAction(ISD::STRICT_UINT_TO_FP, MVT::v4f32, Lega in SystemZTargetLowering()
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/WebAssembly/
H A DWebAssemblyISelLowering.cpp63 addRegisterClass(MVT::v4f32, &WebAssembly::V128RegClass); in WebAssemblyTargetLowering()
85 for (auto T : {MVT::f32, MVT::f64, MVT::v4f32, MVT::v2f64}) { in WebAssemblyTargetLowering()
133 for (auto T : {MVT::v16i8, MVT::v8i16, MVT::v4i32, MVT::v4f32}) in WebAssemblyTargetLowering()
140 for (auto T : {MVT::v16i8, MVT::v8i16, MVT::v4i32, MVT::v4f32}) in WebAssemblyTargetLowering()
156 for (auto T : {MVT::v16i8, MVT::v8i16, MVT::v4i32, MVT::v4f32}) in WebAssemblyTargetLowering()
168 for (auto T : {MVT::v16i8, MVT::v8i16, MVT::v4i32, MVT::v4f32}) in WebAssemblyTargetLowering()
195 setOperationAction(Op, MVT::v4f32, Expand); in WebAssemblyTargetLowering()
207 setOperationAction(ISD::FSQRT, MVT::v4f32, Expand); in WebAssemblyTargetLowering()
208 setOperationAction(ISD::FDIV, MVT::v4f32, Expand); in WebAssemblyTargetLowering()
251 for (auto T : {MVT::v16i8, MVT::v8i16, MVT::v4i32, MVT::v2i64, MVT::v4f32, in WebAssemblyTargetLowering()
[all...]
H A DWebAssemblyFastISel.cpp139 case MVT::v4f32: in getLegalType()
697 case MVT::v4f32: in fastLowerArguments()
812 case MVT::v4f32: in selectCall()
1329 case MVT::v4f32: in selectRet()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/WebAssembly/MCTargetDesc/
H A DWebAssemblyMCTargetDesc.cpp147 case MVT::v4f32: in toValType()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
H A DAMDGPUISelLowering.cpp79 setOperationAction(ISD::LOAD, MVT::v4f32, Promote); in AMDGPUTargetLowering()
80 AddPromotedToType(ISD::LOAD, MVT::v4f32, MVT::v4i32); in AMDGPUTargetLowering()
155 setLoadExtAction(ISD::EXTLOAD, MVT::v4f32, MVT::v4f16, Expand); in AMDGPUTargetLowering()
162 setLoadExtAction(ISD::EXTLOAD, MVT::v4f64, MVT::v4f32, Expand); in AMDGPUTargetLowering()
179 setOperationAction(ISD::STORE, MVT::v4f32, Promote); in AMDGPUTargetLowering()
180 AddPromotedToType(ISD::STORE, MVT::v4f32, MVT::v4i32); in AMDGPUTargetLowering()
219 setTruncStoreAction(MVT::v4f32, MVT::v4f16, Expand); in AMDGPUTargetLowering()
230 setTruncStoreAction(MVT::v4f64, MVT::v4f32, Expand); in AMDGPUTargetLowering()
281 setOperationAction(ISD::CONCAT_VECTORS, MVT::v4f32, Custom); in AMDGPUTargetLowering()
290 setOperationAction(ISD::EXTRACT_SUBVECTOR, MVT::v4f32, Custo in AMDGPUTargetLowering()
[all...]

Completed in 56 milliseconds

12