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

/external/llvm/lib/Transforms/Utils/
H A DSimplifyLibCalls.cpp1260 ConstantFP *Op2C = dyn_cast<ConstantFP>(Op2); variable
1261 if (!Op2C) return Ret;
1263 if (Op2C->getValueAPF().isZero()) // pow(x, 0.0) -> 1.0
1266 if (Op2C->isExactlyValue(0.5) &&
1287 if (Op2C->isExactlyValue(1.0)) // pow(x, 1.0) -> x
1289 if (Op2C->isExactlyValue(2.0)) // pow(x, 2.0) -> x*x
1291 if (Op2C->isExactlyValue(-1.0)) // pow(x, -1.0) -> 1.0/x
/external/llvm/lib/Analysis/
H A DConstantFolding.cpp1637 } else if (ConstantInt *Op2C = dyn_cast<ConstantInt>(Operands[1])) {
1641 (int)Op2C->getZExtValue())));
1645 (int)Op2C->getZExtValue())));
1649 (int)Op2C->getZExtValue())));

Completed in 1377 milliseconds