Home
last modified time | relevance | path

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

12

/external/llvm/lib/Target/SystemZ/
DSystemZTDC.cpp142 } else if (Const->isExactlyValue(Smallest)) { in convertFCmp()
148 } else if (Const->isExactlyValue(NegSmallest)) { in convertFCmp()
DSystemZOperands.td435 def fpimm0 : PatLeaf<(fpimm), [{ return N->isExactlyValue(+0.0); }]>;
438 def fpimmneg0 : PatLeaf<(fpimm), [{ return N->isExactlyValue(-0.0); }]>;
/external/swiftshader/third_party/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/unittests/IR/
DMDBuilderTest.cpp43 EXPECT_TRUE(Val->isExactlyValue(1.0)); in TEST_F()
/external/llvm/include/llvm/IR/
DConstants.h303 bool isExactlyValue(const APFloat &V) const;
305 bool isExactlyValue(double V) const { in isExactlyValue() function
309 return isExactlyValue(FV); in isExactlyValue()
DPatternMatch.h332 return CFP->isExactlyValue(Val); in match()
336 return CFP->isExactlyValue(Val); in match()
/external/llvm/lib/Transforms/Utils/
DSimplifyLibCalls.cpp998 if (Op1C->isExactlyValue(1.0)) in optimizePow()
1001 if (Op1C->isExactlyValue(2.0) && in optimizePow()
1007 if (Op1C->isExactlyValue(10.0) && in optimizePow()
1041 if (Op2C->isExactlyValue(0.5) && in optimizePow()
1069 if (Op2C->isExactlyValue(1.0)) // pow(x, 1.0) -> x in optimizePow()
1071 if (Op2C->isExactlyValue(2.0)) // pow(x, 2.0) -> x*x in optimizePow()
1073 if (Op2C->isExactlyValue(-1.0)) // pow(x, -1.0) -> 1.0/x in optimizePow()
/external/swiftshader/third_party/LLVM/lib/Transforms/Scalar/
DSimplifyLibCalls.cpp858 if (Op1C->isExactlyValue(1.0)) // pow(1.0, x) -> 1.0 in CallOptimizer()
860 if (Op1C->isExactlyValue(2.0)) // pow(2.0, x) -> exp2(x) in CallOptimizer()
870 if (Op2C->isExactlyValue(0.5)) { in CallOptimizer()
887 if (Op2C->isExactlyValue(1.0)) // pow(x, 1.0) -> x in CallOptimizer()
889 if (Op2C->isExactlyValue(2.0)) // pow(x, 2.0) -> x*x in CallOptimizer()
891 if (Op2C->isExactlyValue(-1.0)) // pow(x, -1.0) -> 1.0/x in CallOptimizer()
/external/swiftshader/third_party/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/swiftshader/third_party/LLVM/lib/Target/Mips/
DMipsISelDAGToDAG.cpp303 if (Node->getValueType(0) == MVT::f64 && CN->isExactlyValue(+0.0)) { in Select()
DMipsInstrFPU.td356 return N->isExactlyValue(+0.0);
360 return N->isExactlyValue(-0.0);
/external/swiftshader/third_party/LLVM/lib/Target/SystemZ/
DSystemZInstrFP.td21 return N->isExactlyValue(+0.0);
25 return N->isExactlyValue(-0.0);
/external/swiftshader/third_party/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.td355 return N->isExactlyValue(+0.0);
/external/swiftshader/third_party/LLVM/include/llvm/CodeGen/
DSelectionDAGNodes.h1196 bool isExactlyValue(double V) const {
1204 return isExactlyValue(Tmp);
1206 bool isExactlyValue(const APFloat& V) const;
/external/llvm/unittests/AsmParser/
DAsmParserTest.cpp81 EXPECT_TRUE(cast<ConstantFP>(V)->isExactlyValue(3.5)); in TEST()
/external/llvm/lib/Target/X86/
DX86InstrFPStack.td61 return N->isExactlyValue(+0.0);
65 return N->isExactlyValue(-0.0);
69 return N->isExactlyValue(+1.0);
73 return N->isExactlyValue(-1.0);
/external/llvm/lib/Target/AMDGPU/
DAMDGPUInstructions.td436 [{return N->isExactlyValue(1.0);}]
441 [{return N->isExactlyValue(0.5);}]
DR600ISelLowering.cpp1096 return CFP->isExactlyValue(1.0); in isHWTrueValue()
1859 } else if (C->isExactlyValue(1.0)) { in CompactSwizzlableVector()
/external/llvm/include/llvm/CodeGen/
DSelectionDAGNodes.h1343 bool isExactlyValue(double V) const {
1348 return isExactlyValue(Tmp);
1350 bool isExactlyValue(const APFloat& V) const;
/external/llvm/lib/Target/Mips/
DMipsInstrFPU.td84 return N->isExactlyValue(+0.0);
88 return N->isExactlyValue(-0.0);
DMipsSEISelDAGToDAG.cpp750 if (Node->getValueType(0) == MVT::f64 && CN->isExactlyValue(+0.0)) { in trySelect()
/external/llvm/lib/CodeGen/SelectionDAG/
DDAGCombiner.cpp8250 if (XC1 && XC1->isExactlyValue(+1.0)) in visitFMULForFMACombine()
8252 if (XC1 && XC1->isExactlyValue(-1.0)) in visitFMULForFMACombine()
8271 if (XC0 && XC0->isExactlyValue(+1.0)) in visitFMULForFMACombine()
8275 if (XC0 && XC0->isExactlyValue(-1.0)) in visitFMULForFMACombine()
8281 if (XC1 && XC1->isExactlyValue(+1.0)) in visitFMULForFMACombine()
8284 if (XC1 && XC1->isExactlyValue(-1.0)) in visitFMULForFMACombine()
8538 if (N1CFP && N1CFP->isExactlyValue(1.0)) in visitFMUL()
8584 if (N1CFP && N1CFP->isExactlyValue(+2.0)) in visitFMUL()
8588 if (N1CFP && N1CFP->isExactlyValue(-1.0)) in visitFMUL()
8638 if (N0CFP && N0CFP->isExactlyValue(1.0)) in visitFMA()
[all …]
/external/llvm/lib/Transforms/Scalar/
DReassociate.cpp2147 cast<ConstantFP>(Ops.back().Op)->isExactlyValue(-1.0)) { in ReassociateExpression()

12