Home
last modified time | relevance | path

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

/external/llvm/unittests/IR/
DMDBuilderTest.cpp43 EXPECT_TRUE(Val->isExactlyValue(1.0)); in TEST_F()
/external/mesa3d/src/gallium/drivers/radeon/
DAMDGPUInstructions.td91 [{return N->isExactlyValue(1.0);}]
DAMDGPUISelLowering.cpp294 return CFP->isExactlyValue(1.0); in isHWTrueValue()
/external/llvm/include/llvm/IR/
DConstants.h279 bool isExactlyValue(const APFloat &V) const;
281 bool isExactlyValue(double V) const { in isExactlyValue() function
285 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.cpp1057 if (Op1C->isExactlyValue(1.0)) in optimizePow()
1060 if (Op1C->isExactlyValue(2.0) && in optimizePow()
1065 if (Op1C->isExactlyValue(10.0) && in optimizePow()
1079 if (Op2C->isExactlyValue(0.5) && in optimizePow()
1099 if (Op2C->isExactlyValue(1.0)) // pow(x, 1.0) -> x in optimizePow()
1101 if (Op2C->isExactlyValue(2.0)) // pow(x, 2.0) -> x*x in optimizePow()
1103 if (Op2C->isExactlyValue(-1.0)) // pow(x, -1.0) -> 1.0/x in optimizePow()
/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);
DX86InstrFragmentsSIMD.td562 return N->isExactlyValue(+0.0);
/external/llvm/lib/Target/SystemZ/
DSystemZOperands.td375 def fpimm0 : PatLeaf<(fpimm), [{ return N->isExactlyValue(+0.0); }]>;
378 def fpimmneg0 : PatLeaf<(fpimm), [{ return N->isExactlyValue(-0.0); }]>;
/external/llvm/lib/Target/R600/
DAMDGPUInstructions.td433 [{return N->isExactlyValue(1.0);}]
438 [{return N->isExactlyValue(0.5);}]
DSIISelLowering.cpp1052 CLHS->isExactlyValue(1.0)) { in LowerFastFDIV()
DR600ISelLowering.cpp1746 } else if (C->isExactlyValue(1.0)) { in CompactSwizzlableVector()
DAMDGPUISelLowering.cpp2569 return CFP->isExactlyValue(1.0); in isHWTrueValue()
/external/llvm/include/llvm/CodeGen/
DSelectionDAGNodes.h1418 bool isExactlyValue(double V) const {
1423 return isExactlyValue(Tmp);
1425 bool isExactlyValue(const APFloat& V) const;
/external/llvm/lib/Target/Mips/
DMipsInstrFPU.td81 return N->isExactlyValue(+0.0);
85 return N->isExactlyValue(-0.0);
DMipsSEISelDAGToDAG.cpp726 if (Node->getValueType(0) == MVT::f64 && CN->isExactlyValue(+0.0)) { in selectNode()
/external/llvm/lib/CodeGen/SelectionDAG/
DDAGCombiner.cpp7556 if (N1CFP && N1CFP->isExactlyValue(1.0)) in visitFMUL()
7602 if (N1CFP && N1CFP->isExactlyValue(+2.0)) in visitFMUL()
7606 if (N1CFP && N1CFP->isExactlyValue(-1.0)) in visitFMUL()
7648 if (N0CFP && N0CFP->isExactlyValue(1.0)) in visitFMA()
7650 if (N1CFP && N1CFP->isExactlyValue(1.0)) in visitFMA()
7680 if (N1CFP->isExactlyValue(1.0)) in visitFMA()
7683 if (N1CFP->isExactlyValue(-1.0) && in visitFMA()
7817 if (N0CFP && N0CFP->isExactlyValue(1.0)) in visitFDIV()
DSelectionDAG.cpp74 bool ConstantFPSDNode::isExactlyValue(const APFloat& V) const { in isExactlyValue() function in ConstantFPSDNode
3273 if (CFP->isExactlyValue(1.0)) in getNode()
DSelectionDAGBuilder.cpp4360 IsExp10 = LHSC->isExactlyValue(Ten); in expandPow()
/external/llvm/lib/Transforms/Scalar/
DReassociate.cpp2226 cast<ConstantFP>(Ops.back().Op)->isExactlyValue(-1.0)) { in ReassociateExpression()
/external/llvm/lib/Target/CppBackend/
DCPPBackend.cpp251 (CFP->isExactlyValue(atof(StrVal.c_str())))) { in printCFP()
/external/llvm/lib/IR/
DConstants.cpp731 bool ConstantFP::isExactlyValue(const APFloat &V) const { in isExactlyValue() function in ConstantFP
/external/llvm/lib/Target/AArch64/
DAArch64InstrFormats.td708 return N->isExactlyValue(+0.0);