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

/freebsd-9.3-release/contrib/llvm/lib/Transforms/Utils/
H A DSimplifyLibCalls.cpp1167 ConstantFP *Op2C = dyn_cast<ConstantFP>(Op2); local
1168 if (Op2C == 0) return Ret;
1170 if (Op2C->getValueAPF().isZero()) // pow(x, 0.0) -> 1.0
1173 if (Op2C->isExactlyValue(0.5) &&
1194 if (Op2C->isExactlyValue(1.0)) // pow(x, 1.0) -> x
1196 if (Op2C->isExactlyValue(2.0)) // pow(x, 2.0) -> x*x
1198 if (Op2C->isExactlyValue(-1.0)) // pow(x, -1.0) -> 1.0/x
/freebsd-9.3-release/contrib/llvm/lib/Analysis/
H A DConstantFolding.cpp1568 } else if (ConstantInt *Op2C = dyn_cast<ConstantInt>(Operands[1])) {
1572 (int)Op2C->getZExtValue())));
1576 (int)Op2C->getZExtValue())));
1580 (int)Op2C->getZExtValue())));

Completed in 138 milliseconds