Home
last modified time | relevance | path

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

/external/llvm/unittests/AsmParser/
DAsmParserTest.cpp81 EXPECT_TRUE(cast<ConstantFP>(V)->isExactlyValue(3.5)); in TEST()
/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.h290 bool isExactlyValue(const APFloat &V) const;
292 bool isExactlyValue(double V) const { in isExactlyValue() function
296 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.cpp1104 if (Op1C->isExactlyValue(1.0)) in optimizePow()
1107 if (Op1C->isExactlyValue(2.0) && in optimizePow()
1113 if (Op1C->isExactlyValue(10.0) && in optimizePow()
1153 if (Op2C->isExactlyValue(0.5) && in optimizePow()
1178 if (Op2C->isExactlyValue(1.0)) // pow(x, 1.0) -> x in optimizePow()
1180 if (Op2C->isExactlyValue(2.0)) // pow(x, 2.0) -> x*x in optimizePow()
1182 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.td884 return N->isExactlyValue(+0.0);
/external/llvm/lib/Target/SystemZ/
DSystemZOperands.td435 def fpimm0 : PatLeaf<(fpimm), [{ return N->isExactlyValue(+0.0); }]>;
438 def fpimmneg0 : PatLeaf<(fpimm), [{ return N->isExactlyValue(-0.0); }]>;
/external/llvm/lib/Target/AMDGPU/
DAMDGPUInstructions.td440 [{return N->isExactlyValue(1.0);}]
445 [{return N->isExactlyValue(0.5);}]
DR600ISelLowering.cpp1744 } else if (C->isExactlyValue(1.0)) { in CompactSwizzlableVector()
DSIISelLowering.cpp1419 CLHS->isExactlyValue(1.0)) { in LowerFastFDIV()
DAMDGPUISelLowering.cpp2620 return CFP->isExactlyValue(1.0); in isHWTrueValue()
/external/llvm/include/llvm/CodeGen/
DSelectionDAGNodes.h1480 bool isExactlyValue(double V) const {
1485 return isExactlyValue(Tmp);
1487 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.cpp736 if (Node->getValueType(0) == MVT::f64 && CN->isExactlyValue(+0.0)) { in selectNode()
/external/llvm/lib/CodeGen/SelectionDAG/
DDAGCombiner.cpp8111 if (XC1 && XC1->isExactlyValue(+1.0)) in visitFMULForFMACombine()
8113 if (XC1 && XC1->isExactlyValue(-1.0)) in visitFMULForFMACombine()
8132 if (XC0 && XC0->isExactlyValue(+1.0)) in visitFMULForFMACombine()
8136 if (XC0 && XC0->isExactlyValue(-1.0)) in visitFMULForFMACombine()
8142 if (XC1 && XC1->isExactlyValue(+1.0)) in visitFMULForFMACombine()
8145 if (XC1 && XC1->isExactlyValue(-1.0)) in visitFMULForFMACombine()
8400 if (N1CFP && N1CFP->isExactlyValue(1.0)) in visitFMUL()
8446 if (N1CFP && N1CFP->isExactlyValue(+2.0)) in visitFMUL()
8450 if (N1CFP && N1CFP->isExactlyValue(-1.0)) in visitFMUL()
8500 if (N0CFP && N0CFP->isExactlyValue(1.0)) in visitFMA()
[all …]
DSelectionDAG.cpp76 bool ConstantFPSDNode::isExactlyValue(const APFloat& V) const { in isExactlyValue() function in ConstantFPSDNode
3514 if (N2CFP && N2CFP->isExactlyValue(1.0)) in getNode()
DSelectionDAGBuilder.cpp4156 IsExp10 = LHSC->isExactlyValue(Ten); in expandPow()
/external/llvm/lib/Transforms/Scalar/
DReassociate.cpp2212 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.cpp757 bool ConstantFP::isExactlyValue(const APFloat &V) const { in isExactlyValue() function in ConstantFP
/external/llvm/lib/Target/AArch64/
DAArch64InstrFormats.td758 return N->isExactlyValue(+0.0);