Home
last modified time | relevance | path

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

12

/freebsd/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/contrib/llvm-project/llvm/lib/Target/ARM/
H A DARMMCInstLower.cpp126 MCOp = MCOperand::createDFPImm(bit_cast<uint64_t>(Val.convertToDouble())); in lowerOperand()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPULibCalls.cpp981 : CF->convertToDouble(); in fold_pow()
1053 : CF->convertToDouble(); in fold_pow()
1075 double V = CDV->getElementAsAPFloat(i).convertToDouble(); in fold_pow()
1474 ? fpopr0->getValueAPF().convertToDouble() in evaluateScalarMathFunc()
1480 ? fpopr1->getValueAPF().convertToDouble() in evaluateScalarMathFunc()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DProfileSummary.cpp129 Val = cast<ConstantFP>(ValMD->getValue())->getValueAPF().convertToDouble(); in getVal()
H A DAsmWriter.cpp1520 double Val = APF.convertToDouble(); in WriteAPFloatInternal()
1531 if (APFloat(APFloat::IEEEdouble(), StrVal).convertToDouble() == Val) { in WriteAPFloatInternal()
H A DCore.cpp1591 return cFP->getValueAPF().convertToDouble(); in LLVMConstRealGetDouble()
1598 return APF.convertToDouble(); in LLVMConstRealGetDouble()
/freebsd/contrib/llvm-project/lldb/source/Plugins/Instruction/RISCV/
H A DEmulateInstructionRISCV.cpp1544 double d = rs1.convertToDouble(); in operator ()()
1565 &APFloat::convertToDouble); in operator ()()
1569 &APFloat::convertToDouble); in operator ()()
1579 &APFloat::convertToDouble); in operator ()()
1583 &APFloat::convertToDouble); in operator ()()
/freebsd/contrib/llvm-project/llvm/lib/Target/SPIRV/MCTargetDesc/
H A DSPIRVInstPrinter.cpp87 FP.convertToDouble()); in printOpConstantVarOps()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DLibCallsShrinkWrap.cpp427 double D = CF->getValueAPF().convertToDouble(); in generateCondForPow()
/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DStringRef.cpp610 Result = F.convertToDouble(); in getAsDouble()
H A DAPFloat.cpp3855 double IEEEFloat::convertToDouble() const { in convertToDouble() function in llvm::detail::IEEEFloat
5563 double APFloat::convertToDouble() const { in convertToDouble() function in llvm::APFloat
5565 return getIEEE().convertToDouble(); in convertToDouble()
5573 return Temp.getIEEE().convertToDouble(); in convertToDouble()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DConstantFolding.cpp1977 double Result = NativeFP(V.convertToDouble()); in ConstantFoldFP()
2003 double Result = NativeFP(V.convertToDouble(), W.convertToDouble()); in ConstantFoldBinaryFP()
2104 return Op->getValueAPF().convertToDouble(); in getValueAsDouble()
2109 return APF.convertToDouble(); in getValueAsDouble()
3212 return ConstantFP::get(Ty, std::pow(Op1V.convertToDouble(), Exp)); in ConstantFoldIntrinsicCall2()
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/
H A DExecutionEngine.cpp905 Result.DoubleVal = cast<ConstantFP>(C)->getValueAPF().convertToDouble(); in getConstantValue()
983 CV->getOperand(i))->getValueAPF().convertToDouble(); in getConstantValue()
/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/
H A DAPFloat.h471 LLVM_ABI double convertToDouble() const;
1382 LLVM_ABI double convertToDouble() const;
/freebsd/contrib/llvm-project/lldb/source/Utility/
H A DScalar.cpp397 return result.convertToDouble(); in Double()
/freebsd/contrib/llvm-project/clang/include/clang/ASTMatchers/
H A DASTMatchersInternal.h1755 return Node.getValue().convertToDouble() == ExpectedValue;
1764 return Node.getValue().convertToDouble() == ExpectedValue;
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGDumper.cpp744 OS << '<' << CSDN->getValueAPF().convertToDouble() << '>'; in print_details()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DAPValue.cpp637 return V.convertToDouble(); in GetApproxValue()
H A DTextNodeDumper.cpp603 return V.convertToDouble(); in GetApproxValue()
/freebsd/contrib/llvm-project/lldb/source/Expression/
H A DIRInterpreter.cpp172 scalar = cfp->getValueAPF().convertToDouble(); in EvaluateValue()
/freebsd/contrib/llvm-project/clang/lib/Parse/
H A DParseHLSLRootSignature.cpp1350 double DoubleVal = Val.convertToDouble(); in handleFloatLiteral()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/AsmPrinter/
H A DAsmPrinter.cpp1229 OS << APF.convertToDouble(); in emitDebugValueComment()
1236 OS << "(long double) " << APF.convertToDouble(); in emitDebugValueComment()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DPGOInstrumentation.cpp2061 double Scale = (SumCount / SumBFICount).convertToDouble(); in fixFuncEntryCount()
/freebsd/contrib/llvm-project/llvm/lib/Target/NVPTX/
H A DNVPTXInstrInfo.td1012 Imm.convertToDouble() == 1.0;
1017 Imm.convertToDouble() == -1.0;
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DCombinerHelper.cpp1742 Result = APFloat(sqrt(Result.convertToDouble())); in constantFoldFpUnary()
1749 Result = APFloat(log2(Result.convertToDouble())); in constantFoldFpUnary()

12