Home
last modified time | relevance | path

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

12

/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLowerExpectIntrinsic.cpp66 double TrueProb = Confidence->getValueAPF().convertToDouble(); in getBranchWeight()
130 double TrueProb = Confidence->getValueAPF().convertToDouble(); in handlePhiDef()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMMCInstLower.cpp129 MCOp = MCOperand::createDFPImm(bit_cast<uint64_t>(Val.convertToDouble())); in lowerOperand()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPULibCalls.cpp971 : CF->convertToDouble(); in fold_pow()
1042 : CF->convertToDouble(); in fold_pow()
1064 double V = CDV->getElementAsAPFloat(i).convertToDouble(); in fold_pow()
1429 ? fpopr0->getValueAPF().convertToDouble() in evaluateScalarMathFunc()
1435 ? fpopr1->getValueAPF().convertToDouble() in evaluateScalarMathFunc()
/freebsd-14.2/contrib/llvm-project/llvm/lib/IR/
H A DProfileSummary.cpp129 Val = cast<ConstantFP>(ValMD->getValue())->getValueAPF().convertToDouble(); in getVal()
H A DCore.cpp1504 return cFP->getValueAPF().convertToDouble(); in LLVMConstRealGetDouble()
1511 return APF.convertToDouble(); in LLVMConstRealGetDouble()
H A DAsmWriter.cpp1433 double Val = APF.convertToDouble(); in WriteConstantInternal()
1444 if (APFloat(APFloat::IEEEdouble(), StrVal).convertToDouble() == Val) { in WriteConstantInternal()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/SPIRV/MCTargetDesc/
H A DSPIRVInstPrinter.cpp89 FP.convertToDouble()); in printOpConstantVarOps()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/
H A DConstantFolding.cpp1764 double Result = NativeFP(V.convertToDouble()); in ConstantFoldFP()
1776 double Result = NativeFP(V.convertToDouble(), W.convertToDouble()); in ConstantFoldBinaryFP()
1877 return Op->getValueAPF().convertToDouble(); in getValueAsDouble()
1882 return APF.convertToDouble(); in getValueAsDouble()
2707 APFloat((float)std::pow((float)Op1V.convertToDouble(), in ConstantFoldScalarCall2()
2712 APFloat((float)std::pow((float)Op1V.convertToDouble(), in ConstantFoldScalarCall2()
2717 APFloat((double)std::pow(Op1V.convertToDouble(), in ConstantFoldScalarCall2()
/freebsd-14.2/contrib/llvm-project/lldb/source/Plugins/Instruction/RISCV/
H A DEmulateInstructionRISCV.cpp1528 double d = rs1.convertToDouble(); in operator ()()
1549 &APFloat::convertToDouble); in operator ()()
1553 &APFloat::convertToDouble); in operator ()()
1563 &APFloat::convertToDouble); in operator ()()
1567 &APFloat::convertToDouble); in operator ()()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DLibCallsShrinkWrap.cpp427 double D = CF->getValueAPF().convertToDouble(); in generateCondForPow()
H A DSimplifyLibCalls.cpp2108 Log = ConstantFP::get(Ty, std::log2(BaseF->convertToDouble())); in replacePowWithExp()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Support/
H A DStringRef.cpp609 Result = F.convertToDouble(); in getAsDouble()
H A DAPFloat.cpp3666 double IEEEFloat::convertToDouble() const { in convertToDouble() function in llvm::detail::IEEEFloat
5255 double APFloat::convertToDouble() const { in convertToDouble() function in llvm::APFloat
5257 return getIEEE().convertToDouble(); in convertToDouble()
5265 return Temp.getIEEE().convertToDouble(); in convertToDouble()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/ADT/
H A DAPFloat.h356 double convertToDouble() const;
1219 double convertToDouble() const;
/freebsd-14.2/contrib/llvm-project/llvm/lib/ExecutionEngine/
H A DExecutionEngine.cpp906 Result.DoubleVal = cast<ConstantFP>(C)->getValueAPF().convertToDouble(); in getConstantValue()
986 CV->getOperand(i))->getValueAPF().convertToDouble(); in getConstantValue()
/freebsd-14.2/contrib/llvm-project/lldb/source/Utility/
H A DScalar.cpp397 return result.convertToDouble(); in Double()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/ASTMatchers/
H A DASTMatchersInternal.h1757 return Node.getValue().convertToDouble() == ExpectedValue;
1766 return Node.getValue().convertToDouble() == ExpectedValue;
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGDumper.cpp660 OS << '<' << CSDN->getValueAPF().convertToDouble() << '>'; in print_details()
/freebsd-14.2/contrib/llvm-project/clang/lib/AST/
H A DAPValue.cpp627 return V.convertToDouble(); in GetApproxValue()
H A DTextNodeDumper.cpp434 return V.convertToDouble(); in GetApproxValue()
H A DExpr.cpp1066 return V.convertToDouble(); in getValueAsApproximateDouble()
/freebsd-14.2/contrib/llvm-project/lldb/source/Expression/
H A DIRInterpreter.cpp174 scalar = cfp->getValueAPF().convertToDouble(); in EvaluateValue()
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DAsmPrinter.cpp1209 OS << APF.convertToDouble(); in emitDebugValueComment()
1216 OS << "(long double) " << APF.convertToDouble(); in emitDebugValueComment()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DPGOInstrumentation.cpp1865 double Scale = (SumCount / SumBFICount).convertToDouble(); in fixFuncEntryCount()
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DCombinerHelper.cpp1518 Result = APFloat(sqrt(Result.convertToDouble())); in constantFoldFpUnary()
1525 Result = APFloat(log2(Result.convertToDouble())); in constantFoldFpUnary()

12