/external/llvm/lib/Target/SystemZ/ |
D | SystemZTDC.cpp | 142 } else if (Const->isExactlyValue(Smallest)) { in convertFCmp() 148 } else if (Const->isExactlyValue(NegSmallest)) { in convertFCmp()
|
D | SystemZOperands.td | 435 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/ |
D | Constants.h | 277 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/ |
D | MDBuilderTest.cpp | 43 EXPECT_TRUE(Val->isExactlyValue(1.0)); in TEST_F()
|
/external/llvm/include/llvm/IR/ |
D | Constants.h | 303 bool isExactlyValue(const APFloat &V) const; 305 bool isExactlyValue(double V) const { in isExactlyValue() function 309 return isExactlyValue(FV); in isExactlyValue()
|
D | PatternMatch.h | 332 return CFP->isExactlyValue(Val); in match() 336 return CFP->isExactlyValue(Val); in match()
|
/external/llvm/lib/Transforms/Utils/ |
D | SimplifyLibCalls.cpp | 998 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/ |
D | SimplifyLibCalls.cpp | 858 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/ |
D | InstCombineMulDivRem.cpp | 264 if (Op1F->isExactlyValue(1.0)) in visitFMul() 271 if (F->isExactlyValue(1.0)) in visitFMul()
|
D | InstCombineAddSub.cpp | 331 if (CFP->isExactlyValue(ConstantFP::getNegativeZero in visitFAdd()
|
/external/swiftshader/third_party/LLVM/lib/Target/Mips/ |
D | MipsISelDAGToDAG.cpp | 303 if (Node->getValueType(0) == MVT::f64 && CN->isExactlyValue(+0.0)) { in Select()
|
D | MipsInstrFPU.td | 356 return N->isExactlyValue(+0.0); 360 return N->isExactlyValue(-0.0);
|
/external/swiftshader/third_party/LLVM/lib/Target/SystemZ/ |
D | SystemZInstrFP.td | 21 return N->isExactlyValue(+0.0); 25 return N->isExactlyValue(-0.0);
|
/external/swiftshader/third_party/LLVM/lib/Target/X86/ |
D | X86InstrFPStack.td | 59 return N->isExactlyValue(+0.0); 63 return N->isExactlyValue(-0.0); 67 return N->isExactlyValue(+1.0); 71 return N->isExactlyValue(-1.0);
|
D | X86InstrFragmentsSIMD.td | 355 return N->isExactlyValue(+0.0);
|
/external/swiftshader/third_party/LLVM/include/llvm/CodeGen/ |
D | SelectionDAGNodes.h | 1196 bool isExactlyValue(double V) const { 1204 return isExactlyValue(Tmp); 1206 bool isExactlyValue(const APFloat& V) const;
|
/external/llvm/unittests/AsmParser/ |
D | AsmParserTest.cpp | 81 EXPECT_TRUE(cast<ConstantFP>(V)->isExactlyValue(3.5)); in TEST()
|
/external/llvm/lib/Target/X86/ |
D | X86InstrFPStack.td | 61 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/ |
D | AMDGPUInstructions.td | 436 [{return N->isExactlyValue(1.0);}] 441 [{return N->isExactlyValue(0.5);}]
|
D | R600ISelLowering.cpp | 1096 return CFP->isExactlyValue(1.0); in isHWTrueValue() 1859 } else if (C->isExactlyValue(1.0)) { in CompactSwizzlableVector()
|
/external/llvm/include/llvm/CodeGen/ |
D | SelectionDAGNodes.h | 1343 bool isExactlyValue(double V) const { 1348 return isExactlyValue(Tmp); 1350 bool isExactlyValue(const APFloat& V) const;
|
/external/llvm/lib/Target/Mips/ |
D | MipsInstrFPU.td | 84 return N->isExactlyValue(+0.0); 88 return N->isExactlyValue(-0.0);
|
D | MipsSEISelDAGToDAG.cpp | 750 if (Node->getValueType(0) == MVT::f64 && CN->isExactlyValue(+0.0)) { in trySelect()
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
D | DAGCombiner.cpp | 8250 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/ |
D | Reassociate.cpp | 2147 cast<ConstantFP>(Ops.back().Op)->isExactlyValue(-1.0)) { in ReassociateExpression()
|