Lines Matching refs:ConstantFP
390 ConstantInt::getAllOnesValue(Ty) : ConstantFP::get(Ty, -1.0); in LowerNegateToMultiply()
1144 } else if (ConstantFP *FC1 = dyn_cast<ConstantFP>(Factor)) { in RemoveFactorFromExpression()
1145 if (ConstantFP *FC2 = dyn_cast<ConstantFP>(Factors[i].Op)) { in RemoveFactorFromExpression()
1522 ConstantInt::get(Ty, NumFound) : ConstantFP::get(Ty, NumFound); in OptimizeAdd()
1635 } else if (ConstantFP *CF = dyn_cast<ConstantFP>(Factor)) { in OptimizeAdd()
1639 Factor = ConstantFP::get(CF->getContext(), F); in OptimizeAdd()
1994 } else if (auto *CF = dyn_cast<ConstantFP>(C)) { in canonicalizeNegConstExpr()
2019 ConstantFP *CF = cast<ConstantFP>(C); in canonicalizeNegConstExpr()
2022 I->setOperand(ConstIdx, ConstantFP::get(CF->getContext(), Val)); in canonicalizeNegConstExpr()
2225 isa<ConstantFP>(Ops.back().Op) && in ReassociateExpression()
2226 cast<ConstantFP>(Ops.back().Op)->isExactlyValue(-1.0)) { in ReassociateExpression()