Home
last modified time | relevance | path

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

/external/llvm/unittests/Support/
DMDBuilderTest.cpp41 EXPECT_TRUE(Val->isExactlyValue(1.0)); in TEST_F()
/external/llvm/include/llvm/
DConstants.h282 bool isExactlyValue(const APFloat &V) const;
284 bool isExactlyValue(double V) const { in isExactlyValue() function
291 return isExactlyValue(FV); in isExactlyValue()
/external/llvm/lib/Transforms/Scalar/
DSimplifyLibCalls.cpp882 if (Op1C->isExactlyValue(1.0)) // pow(1.0, x) -> 1.0 in CallOptimizer()
884 if (Op1C->isExactlyValue(2.0)) // pow(2.0, x) -> exp2(x) in CallOptimizer()
894 if (Op2C->isExactlyValue(0.5)) { in CallOptimizer()
911 if (Op2C->isExactlyValue(1.0)) // pow(x, 1.0) -> x in CallOptimizer()
913 if (Op2C->isExactlyValue(2.0)) // pow(x, 2.0) -> x*x in CallOptimizer()
915 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()
269 if (F->isExactlyValue(1.0)) in visitFMul()
DInstCombineAddSub.cpp342 if (CFP->isExactlyValue(ConstantFP::getNegativeZero in visitFAdd()
/external/llvm/include/llvm/CodeGen/
DSelectionDAGNodes.h1198 bool isExactlyValue(double V) const {
1206 return isExactlyValue(Tmp);
1208 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.td349 return N->isExactlyValue(+0.0);
/external/llvm/lib/Target/Mips/
DMipsInstrFPU.td64 return N->isExactlyValue(+0.0);
68 return N->isExactlyValue(-0.0);
DMipsISelDAGToDAG.cpp461 if (Node->getValueType(0) == MVT::f64 && CN->isExactlyValue(+0.0)) { in Select()
/external/llvm/lib/Target/CppBackend/
DCPPBackend.cpp245 (CFP->isExactlyValue(atof(StrVal.c_str())))) { in printCFP()
/external/llvm/lib/VMCore/
DConstants.cpp593 bool ConstantFP::isExactlyValue(const APFloat &V) const { in isExactlyValue() function in ConstantFP
/external/llvm/lib/CodeGen/SelectionDAG/
DDAGCombiner.cpp5724 if (N1CFP && N1CFP->isExactlyValue(+2.0)) in visitFMUL()
5727 if (N1CFP && N1CFP->isExactlyValue(-1.0)) in visitFMUL()
DSelectionDAG.cpp84 bool ConstantFPSDNode::isExactlyValue(const APFloat& V) const { in isExactlyValue() function in ConstantFPSDNode