Home
last modified time | relevance | path

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

/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/ARM/
DARMMCInstLower.cpp113 MCOp = MCOperand::createDFPImm(bit_cast<uint64_t>(Val.convertToDouble())); in lowerOperand()
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/
DAMDGPULibCalls.cpp951 : CF->getValueAPF().convertToDouble(); in fold_pow()
1014 : CF->getValueAPF().convertToDouble(); in fold_pow()
1065 : CF->getValueAPF().convertToDouble(); in fold_pow()
1426 ? fpopr0->getValueAPF().convertToDouble() in evaluateScalarMathFunc()
1432 ? fpopr1->getValueAPF().convertToDouble() in evaluateScalarMathFunc()
1438 ? fpopr2->getValueAPF().convertToDouble() in evaluateScalarMathFunc()
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Analysis/
DConstantFolding.cpp1731 double Result = NativeFP(V.convertToDouble()); in ConstantFoldFP()
1743 double Result = NativeFP(V.convertToDouble(), W.convertToDouble()); in ConstantFoldBinaryFP()
1844 return Op->getValueAPF().convertToDouble(); in getValueAsDouble()
1849 return APF.convertToDouble(); in getValueAsDouble()
2531 APFloat((float)std::pow((float)Op1V.convertToDouble(), in ConstantFoldScalarCall2()
2536 APFloat((float)std::pow((float)Op1V.convertToDouble(), in ConstantFoldScalarCall2()
2541 APFloat((double)std::pow(Op1V.convertToDouble(), in ConstantFoldScalarCall2()
/freebsd-12-stable/contrib/llvm-project/llvm/lib/IR/
DProfileSummary.cpp130 Val = cast<ConstantFP>(ValMD->getValue())->getValueAPF().convertToDouble(); in getVal()
DAsmWriter.cpp1360 double Val = APF.convertToDouble(); in WriteConstantInternal()
1371 if (APFloat(APFloat::IEEEdouble(), StrVal).convertToDouble() == Val) { in WriteConstantInternal()
DCore.cpp1405 return cFP->getValueAPF().convertToDouble(); in LLVMConstRealGetDouble()
1412 return APF.convertToDouble(); in LLVMConstRealGetDouble()
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/
DLowerExpectIntrinsic.cpp68 double TrueProb = Confidence->getValueAPF().convertToDouble(); in getBranchWeight()
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/Utils/
DLibCallsShrinkWrap.cpp434 double D = CF->getValueAPF().convertToDouble(); in generateCondForPow()
DSimplifyLibCalls.cpp1577 Log = ConstantFP::get(Ty, std::log2(BaseF->convertToDouble())); in replacePowWithExp()
1757 Value *FMul = getPow(InnerChain, ExpoA.convertToDouble(), B); in optimizePow()
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/ADT/
DAPFloat.h310 double convertToDouble() const;
1141 double convertToDouble() const;
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Support/
DStringRef.cpp592 Result = F.convertToDouble(); in getAsDouble()
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()
/freebsd-12-stable/contrib/llvm-project/llvm/lib/ExecutionEngine/
DExecutionEngine.cpp888 Result.DoubleVal = cast<ConstantFP>(C)->getValueAPF().convertToDouble(); in getConstantValue()
968 CV->getOperand(i))->getValueAPF().convertToDouble(); in getConstantValue()
/freebsd-12-stable/contrib/llvm-project/lldb/source/Utility/
DScalar.cpp396 return result.convertToDouble(); in Double()
/freebsd-12-stable/contrib/llvm-project/clang/include/clang/ASTMatchers/
DASTMatchersInternal.h1785 return Node.getValue().convertToDouble() == ExpectedValue;
1794 return Node.getValue().convertToDouble() == ExpectedValue;
/freebsd-12-stable/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAGDumper.cpp621 OS << '<' << CSDN->getValueAPF().convertToDouble() << '>'; in print_details()
/freebsd-12-stable/contrib/llvm-project/clang/lib/AST/
DAPValue.cpp625 return V.convertToDouble(); in GetApproxValue()
DTextNodeDumper.cpp404 return V.convertToDouble(); in GetApproxValue()
DExpr.cpp1041 return V.convertToDouble(); in getValueAsApproximateDouble()
/freebsd-12-stable/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
DAsmPrinter.cpp973 OS << APF.convertToDouble(); in emitDebugValueComment()
980 OS << "(long double) " << APF.convertToDouble(); in emitDebugValueComment()
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/NVPTX/
DNVPTXAsmPrinter.cpp1863 double float64 = CFP->getValueAPF().convertToDouble(); in bufferLEByte()
DNVPTXInstrInfo.td827 N->getValueAPF().convertToDouble() == 1.0;
DNVPTXIntrinsics.td20 double d = (double)N->getValueAPF().convertToDouble();
25 double d = (double)N->getValueAPF().convertToDouble();
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
DPGOInstrumentation.cpp1703 double Scale = (SumCount / SumBFICount).convertToDouble(); in fixFuncEntryCount()
/freebsd-12-stable/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
DCombinerHelper.cpp1658 V = APFloat(sqrt(V.convertToDouble())); in constantFoldFpUnary()
1664 V = APFloat(log2(V.convertToDouble())); in constantFoldFpUnary()