Home
last modified time | relevance | path

Searched refs:isExactlyValue (Results 1 – 14 of 14) sorted by relevance

/external/llvm/include/llvm/
DConstants.h277 bool isExactlyValue(const APFloat &V) const;
279 bool isExactlyValue(double V) const { in isExactlyValue() function
286 return isExactlyValue(FV); in isExactlyValue()
/external/llvm/lib/Transforms/Scalar/
DSimplifyLibCalls.cpp853 if (Op1C->isExactlyValue(1.0)) // pow(1.0, x) -> 1.0 in CallOptimizer()
855 if (Op1C->isExactlyValue(2.0)) // pow(2.0, x) -> exp2(x) in CallOptimizer()
865 if (Op2C->isExactlyValue(0.5)) { in CallOptimizer()
882 if (Op2C->isExactlyValue(1.0)) // pow(x, 1.0) -> x in CallOptimizer()
884 if (Op2C->isExactlyValue(2.0)) // pow(x, 2.0) -> x*x in CallOptimizer()
886 if (Op2C->isExactlyValue(-1.0)) // pow(x, -1.0) -> 1.0/x in CallOptimizer()
/external/llvm/lib/Transforms/InstCombine/
DInstCombineMulDivRem.cpp264 if (Op1F->isExactlyValue(1.0)) in visitFMul()
271 if (F->isExactlyValue(1.0)) in visitFMul()
DInstCombineAddSub.cpp331 if (CFP->isExactlyValue(ConstantFP::getNegativeZero in visitFAdd()
/external/llvm/lib/Target/SystemZ/
DSystemZInstrFP.td21 return N->isExactlyValue(+0.0);
25 return N->isExactlyValue(-0.0);
/external/llvm/lib/Target/Mips/
DMipsInstrFPU.td348 return N->isExactlyValue(+0.0);
352 return N->isExactlyValue(-0.0);
DMipsISelDAGToDAG.cpp417 if (Node->getValueType(0) == MVT::f64 && CN->isExactlyValue(+0.0)) { in Select()
/external/llvm/include/llvm/CodeGen/
DSelectionDAGNodes.h1159 bool isExactlyValue(double V) const {
1167 return isExactlyValue(Tmp);
1169 bool isExactlyValue(const APFloat& V) const;
/external/llvm/lib/Target/X86/
DX86InstrFPStack.td59 return N->isExactlyValue(+0.0);
63 return N->isExactlyValue(-0.0);
67 return N->isExactlyValue(+1.0);
71 return N->isExactlyValue(-1.0);
DX86InstrFragmentsSIMD.td320 return N->isExactlyValue(+0.0);
/external/llvm/lib/Target/CppBackend/
DCPPBackend.cpp243 (CFP->isExactlyValue(atof(StrVal.c_str())))) { in printCFP()
/external/llvm/lib/VMCore/
DConstants.cpp567 bool ConstantFP::isExactlyValue(const APFloat &V) const { in isExactlyValue() function in ConstantFP
/external/llvm/lib/CodeGen/SelectionDAG/
DDAGCombiner.cpp5335 if (N1CFP && N1CFP->isExactlyValue(+2.0)) in visitFMUL()
5338 if (N1CFP && N1CFP->isExactlyValue(-1.0)) in visitFMUL()
DSelectionDAG.cpp84 bool ConstantFPSDNode::isExactlyValue(const APFloat& V) const { in isExactlyValue() function in ConstantFPSDNode