Home
last modified time | relevance | path

Searched refs:F32 (Results 1 – 25 of 80) sorted by relevance

1234

/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyInstrConv.td100 def : Pat<(fp_to_sint_sat F32:$src, i32), (I32_TRUNC_S_SAT_F32 F32:$src)>;
101 def : Pat<(fp_to_uint_sat F32:$src, i32), (I32_TRUNC_U_SAT_F32 F32:$src)>;
104 def : Pat<(fp_to_sint_sat F32:$src, i64), (I64_TRUNC_S_SAT_F32 F32:$src)>;
105 def : Pat<(fp_to_uint_sat F32:$src, i64), (I64_TRUNC_U_SAT_F32 F32:$src)>;
166 def : Pat<(int_wasm_trunc_signed F32:$src),
167 (I32_TRUNC_S_F32 F32:$src)>;
168 def : Pat<(int_wasm_trunc_unsigned F32:$src),
169 (I32_TRUNC_U_F32 F32:$src)>;
174 def : Pat<(int_wasm_trunc_signed F32:$src),
175 (I64_TRUNC_S_F32 F32:$src)>;
[all …]
H A DWebAssemblyInstrFloat.td16 defm _F32 : I<(outs F32:$dst), (ins F32:$src), (outs), (ins),
17 [(set F32:$dst, (node F32:$src))],
27 defm _F32 : I<(outs F32:$dst), (ins F32:$lhs, F32:$rhs), (outs), (ins),
28 [(set F32:$dst, (node F32:$lhs, F32:$rhs))],
38 [(set I32:$dst, (setcc F32:$lhs, F32:$rhs, cond))],
106 defm SELECT_F32 : I<(outs F32:$dst), (ins F32:$lhs, F32:$rhs, I32:$cond),
108 [(set F32:$dst, (select I32:$cond, F32:$lhs, F32:$rhs))],
118 def : Pat<(select (i32 (setne I32:$cond, 0)), F32:$lhs, F32:$rhs),
119 (SELECT_F32 F32:$lhs, F32:$rhs, I32:$cond)>;
124 def : Pat<(select (i32 (seteq I32:$cond, 0)), F32:$lhs, F32:$rhs),
[all …]
H A DWebAssemblyRuntimeLibcallSignatures.cpp542 Rets.push_back(wasm::ValType::F32); in getLibcallSignature()
543 Params.push_back(wasm::ValType::F32); in getLibcallSignature()
546 Rets.push_back(wasm::ValType::F32); in getLibcallSignature()
550 Rets.push_back(wasm::ValType::F32); in getLibcallSignature()
554 Rets.push_back(wasm::ValType::F32); in getLibcallSignature()
558 Rets.push_back(wasm::ValType::F32); in getLibcallSignature()
563 Params.push_back(wasm::ValType::F32); in getLibcallSignature()
602 Rets.push_back(wasm::ValType::F32); in getLibcallSignature()
607 Rets.push_back(wasm::ValType::F32); in getLibcallSignature()
612 Rets.push_back(wasm::ValType::F32); in getLibcallSignature()
[all …]
H A DWebAssemblyFastISel.cpp1098 bool F32 = getSimpleType(FCmp->getOperand(0)->getType()) != MVT::f64; in selectFCmp() local
1103 Opc = F32 ? WebAssembly::EQ_F32 : WebAssembly::EQ_F64; in selectFCmp()
1106 Opc = F32 ? WebAssembly::NE_F32 : WebAssembly::NE_F64; in selectFCmp()
1109 Opc = F32 ? WebAssembly::GT_F32 : WebAssembly::GT_F64; in selectFCmp()
1112 Opc = F32 ? WebAssembly::GE_F32 : WebAssembly::GE_F64; in selectFCmp()
1115 Opc = F32 ? WebAssembly::LT_F32 : WebAssembly::LT_F64; in selectFCmp()
1118 Opc = F32 ? WebAssembly::LE_F32 : WebAssembly::LE_F64; in selectFCmp()
1121 Opc = F32 ? WebAssembly::LE_F32 : WebAssembly::LE_F64; in selectFCmp()
1125 Opc = F32 ? WebAssembly::LT_F32 : WebAssembly::LT_F64; in selectFCmp()
1129 Opc = F32 ? WebAssembly::GE_F32 : WebAssembly::GE_F64; in selectFCmp()
[all …]
H A DWebAssemblyInstrInfo.td281 defm "": ARGUMENT<F32, f32>;
363 defm "" : LOCAL<F32, global_op32>;
378 defm CONST_F32 : I<(outs F32:$res), (ins f32imm_op:$imm),
380 [(set F32:$res, fpimm:$imm)],
H A DWebAssemblyRegisterInfo.td64 def F32 : WebAssemblyRegClass<[f32], 32, (add F32_0)>;
H A DWebAssemblyInstrMemory.td60 defm LOAD_F32 : WebAssemblyLoad<F32, "f32.load", 0x2a, []>;
139 defm STORE_F32 : WebAssemblyStore<F32, "f32.store", 0x38>;
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/WebAssembly/MCTargetDesc/
H A DWebAssemblyMCTypeUtilities.cpp28 return wasm::ValType::F32; in parseType()
46 .Case("f32", WebAssembly::BlockType::F32) in parseBlockType()
112 return wasm::ValType::F32; in regClassToValType()
H A DWebAssemblyMCTypeUtilities.h30 F32 = unsigned(wasm::ValType::F32), enumerator
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonPatterns.td470 def: Pat<(i32 (bitconvert F32:$v)), (I32:$v)>;
949 def: Pat<(select I1:$Pu, F32:$Rs, F32:$Rt),
950 (C2_mux I1:$Pu, F32:$Rs, F32:$Rt)>;
955 def: Pat<(select (i1 (setult F32:$Ra, F32:$Rb)), F32:$Rs, F32:$Rt),
956 (C2_mux (F2_sfcmpgt F32:$Rb, F32:$Ra), F32:$Rs, F32:$Rt)>;
1487 def: Pat<(fabs F32:$Rs), (S2_clrbit_i F32:$Rs, 31)>;
1488 def: Pat<(fneg F32:$Rs), (S2_togglebit_i F32:$Rs, 31)>;
1844 def: Pat<(fma F32:$Rs, F32:$Rt, F32:$Rx),
1845 (F2_sffma F32:$Rx, F32:$Rs, F32:$Rt)>;
1846 def: Pat<(fma (fneg F32:$Rs), F32:$Rt, F32:$Rx),
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/VE/
H A DVEInstrVec.td480 defm VBRDU : VBRDm<"vbrdu", 0x8c, V64, F32, VM>;
1114 defm VFADDS : RVm<"vfadd.s", 0xcc, V64, F32, VM, simm7fp>;
1128 defm VFSUBS : RVm<"vfsub.s", 0xdc, V64, F32, VM, simm7fp>;
1142 defm VFMULS : RVm<"vfmul.s", 0xcd, V64, F32, VM, simm7fp>;
1151 defm VFDIVS : RVDIVm<"vfdiv.s", 0xdd, V64, F32, VM, simm7fp>;
1166 defm VFCMPS : RVm<"vfcmp.s", 0xfc, V64, F32, VM, simm7fp>;
1180 defm VFMAXS : RVm<"vfmax.s", 0xbd, V64, F32, VM, simm7fp>;
1208 defm VFMADS : RVMm<"vfmad.s", 0xe2, V64, F32, VM, simm7fp>;
1408 let cx = 1 in defm VFIAS : RVI2m<"vfia.s", 0xce, V64, F32>;
1412 let cx = 1 in defm VFISS : RVI2m<"vfis.s", 0xde, V64, F32>;
[all …]
H A DVEInstrInfo.td1044 defm LDU : LOADm<"ldu", 0x02, F32, f32, load>;
1102 defm STU : STOREm<"stu", 0x12, F32, f32, store>;
1129 defm DLDU : LOADm<"dldu", 0x0a, F32, f32, load>;
1424 defm CVTWSSX : CVTRDm<"cvt.w.s.sx", 0x4E, I32, F32>;
1426 defm CVTWSZX : CVTRDm<"cvt.w.s.zx", 0x4E, I32, F32>;
1434 defm CVTSW : CVTm<"cvt.s.w", 0x5E, F32, f32, I32, i32, sint_to_fp>;
1440 defm CVTSD : CVTm<"cvt.s.d", 0x1F, F32, f32, I64, f64, fpround>;
1442 defm CVTSQ : CVTm<"cvt.s.q", 0x1F, F32, f32, F128, f128, fpround>;
1445 defm CVTDS : CVTm<"cvt.d.s", 0x0F, I64, f64, F32, f32, fpextend>;
1452 defm CVTQS : CVTm<"cvt.q.s", 0x2D, F128, f128, F32, f32, fpextend>;
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPULegalizerInfo.cpp3174 const LLT F32 = LLT::scalar(32); in getScaledLogInput() local
3257 const LLT F32 = LLT::scalar(32); in legalizeFlogCommon() local
3404 const LLT F32 = LLT::scalar(32); in legalizeFExp2() local
3417 assert(Ty == F32); in legalizeFExp2()
3455 LLT F32 = LLT::scalar(32); in legalizeFExpUnsafe() local
3461 if (Ty == F32) { in legalizeFExpUnsafe()
3501 const LLT F32 = LLT::scalar(32); in legalizeFExp() local
3525 assert(Ty == F32); in legalizeFExp()
3642 const LLT F32 = LLT::float32(); in legalizeFPow() local
3644 if (Ty == F32) { in legalizeFPow()
[all …]
H A DSISchedule.td32 // Conversion to or from F32 (but not converting F64 to or from F32)
34 // F16 or F32 transcendental instructions (these are quarter rate)
71 // F16 or F32 pseudo scalar transcendental instructions
H A DAMDGPULibFunc.cpp393 P.ArgType = AMDGPULibFunc::F32; P.VectorSize = 4; break; in getNextParam()
645 case 'f': res.ArgType = AMDGPULibFunc::F32; break; in parseItaniumParam()
752 case AMDGPULibFunc::F32: return "f"; in getItaniumTypeName()
898 P.ArgType = AMDGPULibFunc::F32; in getFromTy()
947 case AMDGPULibFunc::F32: T = Type::getFloatTy(C); break; in getIntrinsicParamType()
H A DAMDGPULibCalls.cpp848 if (getArgType(FInfo) == AMDGPULibFunc::F32) { in TDOFold()
969 double dval = (getArgType(FInfo) == AMDGPULibFunc::F32) in fold_pow()
1040 double V = (getArgType(FInfo) == AMDGPULibFunc::F32) in fold_pow()
1069 if (getArgType(FInfo) == AMDGPULibFunc::F32) { in fold_pow()
1315 if ((getArgType(fInfo) != AMDGPULibFunc::F32 && in fold_sincos()
1631 if (getArgType(FInfo) == AMDGPULibFunc::F32) { in evaluateCall()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AArch64/
H A DAArch64SchedNeoverseV1.td904 // ASIMD FP convert, long (F16 to F32)
933 // ASIMD FP divide, F32
934 // ASIMD FP square root, F32
975 // ASIMD convert, F32 to BF16
987 // Scalar convert, F32 to BF16
1578 // Floating point convert, long or narrow (F16 to F32 or F32 to F16)
1583 // Floating point convert, long or narrow (F16 to F64, F32 to F64, F64 to F32 or F64 to F16)
1598 // Floating point divide, F32
1632 // Floating point reduction, F32
1650 // Floating point square root, F32
[all …]
H A DAArch64SchedNeoverseN2.td1092 // ASIMD FP divide, D-form, F32
1098 // ASIMD FP divide, Q-form, F32
1151 // ASIMD convert, F32 to BF16
1164 // Scalar convert, F32 to BF16
1942 // Floating point convert, long or narrow (F16 to F32 or F32 to F16)
1947 // Floating point convert, long or narrow (F16 to F64, F32 to F64, F64 to F32
1959 // Floating point base2 log, F32
1982 // Floating point divide, F32
2025 // Floating point reduction, F32
2045 // Floating point square root, F32
[all …]
H A DAArch64SchedNeoverseN1.td672 // ASIMD FP convert, long (F16 to F32)
675 // ASIMD FP convert, long (F32 to F64)
678 // ASIMD FP convert, narrow (F32 to F16)
681 // ASIMD FP convert, narrow (F64 to F32)
701 // ASIMD FP divide, D-form, F32
702 // ASIMD FP square root, D-form, F32
709 // ASIMD FP divide, Q-form, F32
710 // ASIMD FP square root, Q-form, F32
719 // ASIMD FP max/min, reduce, F32 and D-form F16
734 // ASIMD FP round, D-form F32 and Q-form F64
[all …]
H A DAArch64SchedNeoverseV2.td1592 // ASIMD FP divide, D-form, F32
1598 // ASIMD FP divide, Q-form, F32
1650 // ASIMD convert, F32 to BF16
1663 // Scalar convert, F32 to BF16
2466 // Floating point convert, long or narrow (F16 to F32 or F32 to F16)
2471 // Floating point convert, long or narrow (F16 to F64, F32 to F64, F64 to F32
2483 // Floating point base2 log, F32
2506 // Floating point divide, F32
2552 // Floating point reduction, F32
2572 // Floating point square root, F32
[all …]
H A DAArch64SchedA510.td1005 // Floating point associative add, F32
1024 // Floating point convert, long or narrow (F16 to F32 or F32 to F16)
1029 // Floating point convert, long or narrow (F16 to F64, F32 to F64, F64 to F32
1041 // Floating point base2 log, F32
1050 // Floating point convert to integer, F32
1064 // Floating point divide, F32
1092 // Floating point reciprocal estimate, F32
1106 // Floating point reduction, F32
1120 // Floating point round to integral, F32
1129 // Floating point square root, F32
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Frontend/HLSL/
H A DHLSLResource.h69 F32, enumerator
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/WebAssembly/Utils/
H A DWebAssemblyTypeUtilities.cpp46 return wasm::ValType::F32; in toValType()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Demangle/
H A DRustDemangle.cpp55 F32, enumerator
404 Type = BasicType::F32; in parseBasicType()
500 case BasicType::F32: in printBasicType()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Support/
H A DAMDGPUMetadata.h103 F32 = 8, enumerator

1234