Searched refs:FPOne (Results 1 – 2 of 2) sorted by relevance
| /llvm-project-15.0.7/llvm/unittests/CodeGen/GlobalISel/ |
| H A D | PatternMatchTest.cpp | 644 Register FPOne = B.buildFConstant(LLT::scalar(64), 1.0).getReg(0); in TEST_F() local 652 EXPECT_FALSE(mi_match(FPOne, *MRI, m_GCst(ValReg))); in TEST_F() 653 EXPECT_TRUE(mi_match(FPOne, *MRI, m_GFCst(FValReg))); in TEST_F() 654 EXPECT_EQ(FPOne, FValReg->VReg); in TEST_F() 665 Register FPOne = B.buildFConstant(s64, 1.0).getReg(0); in TEST_F() local 694 auto ZeroOne = B.buildBuildVector(v4s64, {FPZero, FPZero, FPZero, FPOne}); in TEST_F()
|
| /llvm-project-15.0.7/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | DAGCombiner.cpp | 15202 SDValue FPOne = DAG.getConstantFP(1.0, DL, VT); in combineRepeatedFPDivisors() local 15203 SDValue Reciprocal = DAG.getNode(ISD::FDIV, DL, VT, FPOne, N1, Flags); in combineRepeatedFPDivisors() 15208 if (Dividend != FPOne) { in combineRepeatedFPDivisors() 24406 SDValue FPOne = DAG.getConstantFP(1.0, DL, VT); in BuildDivEstimate() local 24422 (i == Iterations - 1 ? N : FPOne), NewEst, Flags); in BuildDivEstimate()
|