Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/
H A DAMDGPULibCalls.cpp950 : CF->getValueAPF().convertToDouble(); in fold_pow()
1013 : CF->getValueAPF().convertToDouble(); in fold_pow()
1064 : CF->getValueAPF().convertToDouble(); in fold_pow()
1425 ? fpopr0->getValueAPF().convertToDouble() in evaluateScalarMathFunc()
1431 ? fpopr1->getValueAPF().convertToDouble() in evaluateScalarMathFunc()
1437 ? fpopr2->getValueAPF().convertToDouble() in evaluateScalarMathFunc()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/ARM/
H A DARMMCInstLower.cpp113 MCOp = MCOperand::createDFPImm(bit_cast<uint64_t>(Val.convertToDouble())); in lowerOperand()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Analysis/
H A DConstantFolding.cpp1686 double Result = NativeFP(V.convertToDouble()); in ConstantFoldFP()
1698 double Result = NativeFP(V.convertToDouble(), W.convertToDouble()); in ConstantFoldBinaryFP()
1799 return Op->getValueAPF().convertToDouble(); in getValueAsDouble()
1804 return APF.convertToDouble(); in getValueAsDouble()
2397 APFloat((float)std::pow((float)Op1V.convertToDouble(), in ConstantFoldScalarCall2()
2402 APFloat((float)std::pow((float)Op1V.convertToDouble(), in ConstantFoldScalarCall2()
2407 APFloat((double)std::pow(Op1V.convertToDouble(), in ConstantFoldScalarCall2()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/IR/
H A DProfileSummary.cpp130 Val = cast<ConstantFP>(ValMD->getValue())->getValueAPF().convertToDouble(); in getVal()
H A DAsmWriter.cpp1371 double Val = APF.convertToDouble(); in WriteConstantInternal()
1382 if (APFloat(APFloat::IEEEdouble(), StrVal).convertToDouble() == Val) { in WriteConstantInternal()
H A DCore.cpp1405 return cFP->getValueAPF().convertToDouble(); in LLVMConstRealGetDouble()
1412 return APF.convertToDouble(); in LLVMConstRealGetDouble()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Scalar/
H A DLowerExpectIntrinsic.cpp68 double TrueProb = Confidence->getValueAPF().convertToDouble(); in getBranchWeight()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Utils/
H A DLibCallsShrinkWrap.cpp434 double D = CF->getValueAPF().convertToDouble(); in generateCondForPow()
H A DSimplifyLibCalls.cpp1575 Log = ConstantFP::get(Ty, std::log2(BaseF->convertToDouble())); in replacePowWithExp()
1754 Value *FMul = getPow(InnerChain, ExpoA.convertToDouble(), B); in optimizePow()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/ADT/
H A DAPFloat.h310 double convertToDouble() const;
1141 double convertToDouble() const;
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Support/
H A DStringRef.cpp595 Result = F.convertToDouble(); in getAsDouble()
H A DAPFloat.cpp3367 double IEEEFloat::convertToDouble() const { in convertToDouble() function in llvm::detail::IEEEFloat
4885 double APFloat::convertToDouble() const { in convertToDouble() function in llvm::APFloat
4887 return getIEEE().convertToDouble(); in convertToDouble()
4895 return Temp.getIEEE().convertToDouble(); in convertToDouble()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/ExecutionEngine/
H A DExecutionEngine.cpp888 Result.DoubleVal = cast<ConstantFP>(C)->getValueAPF().convertToDouble(); in getConstantValue()
968 CV->getOperand(i))->getValueAPF().convertToDouble(); in getConstantValue()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/ASTMatchers/
H A DASTMatchersInternal.h1785 return Node.getValue().convertToDouble() == ExpectedValue;
1794 return Node.getValue().convertToDouble() == ExpectedValue;
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGDumper.cpp619 OS << '<' << CSDN->getValueAPF().convertToDouble() << '>'; in print_details()
/netbsd-src/external/apache2/llvm/dist/clang/lib/AST/
H A DAPValue.cpp625 return V.convertToDouble(); in GetApproxValue()
H A DTextNodeDumper.cpp363 return V.convertToDouble(); in GetApproxValue()
H A DExpr.cpp975 return V.convertToDouble(); in getValueAsApproximateDouble()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/AsmPrinter/
H A DAsmPrinter.cpp959 OS << APF.convertToDouble(); in emitDebugValueComment()
966 OS << "(long double) " << APF.convertToDouble(); in emitDebugValueComment()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Target/NVPTX/
H A DNVPTXAsmPrinter.cpp1863 double float64 = CFP->getValueAPF().convertToDouble(); in bufferLEByte()
H A DNVPTXInstrInfo.td825 N->getValueAPF().convertToDouble() == 1.0;
H A DNVPTXIntrinsics.td20 double d = (double)N->getValueAPF().convertToDouble();
25 double d = (double)N->getValueAPF().convertToDouble();
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Instrumentation/
H A DPGOInstrumentation.cpp1703 double Scale = (SumCount / SumBFICount).convertToDouble(); in fixFuncEntryCount()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/CodeGen/GlobalISel/
H A DCombinerHelper.cpp1617 V = APFloat(sqrt(V.convertToDouble())); in constantFoldFpUnary()
1623 V = APFloat(log2(V.convertToDouble())); in constantFoldFpUnary()
/netbsd-src/external/apache2/llvm/dist/clang/tools/libclang/
H A DCIndex.cpp3978 result->EvalData.floatVal = apFloat.convertToDouble(); in evaluateExpr()