Searched defs:Op2C (Results 1 - 1 of 1) sorted by relevance

/external/llvm/lib/Transforms/Utils/
H A DSimplifyLibCalls.cpp1072 ConstantFP *Op2C = dyn_cast<ConstantFP>(Op2); local
1073 if (!Op2C)
1076 if (Op2C->getValueAPF().isZero()) // pow(x, 0.0) -> 1.0
1079 if (Op2C->isExactlyValue(0.5) &&
1099 if (Op2C->isExactlyValue(1.0)) // pow(x, 1.0) -> x
1101 if (Op2C->isExactlyValue(2.0)) // pow(x, 2.0) -> x*x
1103 if (Op2C->isExactlyValue(-1.0)) // pow(x, -1.0) -> 1.0/x

Completed in 104 milliseconds