Home | History | Annotate | Download | only in Scalar

Lines Matching refs:Op2C

864     ConstantFP *Op2C = dyn_cast<ConstantFP>(Op2);
865 if (Op2C == 0) return 0;
867 if (Op2C->getValueAPF().isZero()) // pow(x, 0.0) -> 1.0
870 if (Op2C->isExactlyValue(0.5)) {
887 if (Op2C->isExactlyValue(1.0)) // pow(x, 1.0) -> x
889 if (Op2C->isExactlyValue(2.0)) // pow(x, 2.0) -> x*x
891 if (Op2C->isExactlyValue(-1.0)) // pow(x, -1.0) -> 1.0/x