HomeSort by relevance Sort by last modified time
    Searched refs:Op2C (Results 1 - 2 of 2) sorted by null

  /external/llvm/lib/Transforms/Scalar/
SimplifyLibCalls.cpp 888 ConstantFP *Op2C = dyn_cast<ConstantFP>(Op2);
889 if (Op2C == 0) return 0;
891 if (Op2C->getValueAPF().isZero()) // pow(x, 0.0) -> 1.0
894 if (Op2C->isExactlyValue(0.5)) {
911 if (Op2C->isExactlyValue(1.0)) // pow(x, 1.0) -> x
913 if (Op2C->isExactlyValue(2.0)) // pow(x, 2.0) -> x*x
915 if (Op2C->isExactlyValue(-1.0)) // pow(x, -1.0) -> 1.0/x
    [all...]
  /external/llvm/lib/Analysis/
ConstantFolding.cpp     [all...]

Completed in 119 milliseconds