Home
last modified time | relevance | path

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

1234

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DConstantFolding.cpp1650 return Op->getValueAPF().convertToFloat(); in getValueAsDouble()
1653 return Op->getValueAPF().convertToDouble(); in getValueAsDouble()
1656 APFloat APF = Op->getValueAPF(); in getValueAsDouble()
1735 APFloat Val(Op->getValueAPF()); in ConstantFoldScalarCall1()
1747 APFloat U = Op->getValueAPF(); in ConstantFoldScalarCall1()
1782 if (Op->getValueAPF().isNaN() || Op->getValueAPF().isInfinity()) in ConstantFoldScalarCall1()
2005 return ConstantFoldSSEConvertToInt(FPOp->getValueAPF(), in ConstantFoldScalarCall1()
2015 return ConstantFoldSSEConvertToInt(FPOp->getValueAPF(), in ConstantFoldScalarCall1()
2047 APFloat V1 = Op1->getValueAPF(); in ConstantFoldScalarCall2()
2048 const APFloat &V2 = Op2->getValueAPF(); in ConstantFoldScalarCall2()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPULibCalls.cpp969 ? (double)CF->getValueAPF().convertToFloat() in fold_pow()
970 : CF->getValueAPF().convertToDouble(); in fold_pow()
1032 ? (double)CF->getValueAPF().convertToFloat() in fold_pow()
1033 : CF->getValueAPF().convertToDouble(); in fold_pow()
1083 ? (double)CF->getValueAPF().convertToFloat() in fold_pow()
1084 : CF->getValueAPF().convertToDouble(); in fold_pow()
1441 ? fpopr0->getValueAPF().convertToDouble() in evaluateScalarMathFunc()
1442 : (double)fpopr0->getValueAPF().convertToFloat(); in evaluateScalarMathFunc()
1447 ? fpopr1->getValueAPF().convertToDouble() in evaluateScalarMathFunc()
1448 : (double)fpopr1->getValueAPF().convertToFloat(); in evaluateScalarMathFunc()
[all …]
DAMDGPUISelDAGToDAG.cpp96 Out = C->getValueAPF().bitcastToAPInt().getSExtValue(); in getConstantValue()
546 return TII->isInlineConstant(-C->getValueAPF().bitcastToAPInt()); in isInlineImmediate()
553 return TII->isInlineConstant(C->getValueAPF().bitcastToAPInt()); in isInlineImmediate()
836 Imm = FP->getValueAPF().bitcastToAPInt().getZExtValue(); in Select()
2633 C->getValueAPF().bitcastToAPInt().getZExtValue() << 16, SL, MVT::i32); in getHi16Elt()
DAMDGPUPrintfRuntimeBinding.cpp417 APFloat Val(fpCons->getValueAPF()); in lowerPrintfForGpu()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DFloat2Int.cpp315 const APFloat &F = CF->getValueAPF(); in walkForwards()
338 CF->getValueAPF().convertToInteger(Int, in walkForwards()
453 CF->getValueAPF().convertToInteger(Val, in convert()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAGDumper.cpp583 if (&CSDN->getValueAPF().getSemantics() == &APFloat::IEEEsingle()) in print_details()
584 OS << '<' << CSDN->getValueAPF().convertToFloat() << '>'; in print_details()
585 else if (&CSDN->getValueAPF().getSemantics() == &APFloat::IEEEdouble()) in print_details()
586 OS << '<' << CSDN->getValueAPF().convertToDouble() << '>'; in print_details()
589 CSDN->getValueAPF().bitcastToAPInt().print(OS, false); in print_details()
DSelectionDAG.cpp119 return getValueAPF().bitwiseIsEqual(V); in isExactlyValue()
186 if (CFPN->getValueAPF().bitcastToAPInt().countTrailingOnes() < EltSize) in isBuildVectorAllOnes()
225 if (CFPN->getValueAPF().bitcastToAPInt().countTrailingZeros() < EltSize) in isBuildVectorAllZeros()
2077 APFloat::cmpResult R = N1CFP->getValueAPF().compare(N2CFP->getValueAPF()); in FoldSetCC()
2138 } else if ((N2CFP && N2CFP->getValueAPF().isNaN()) || in FoldSetCC()
2517 Known.One = C->getValueAPF().bitcastToAPInt(); in computeKnownBits()
3044 APInt Value = CFP->getValueAPF().bitcastToAPInt(); in computeKnownBits()
3060 APInt Value = CFP->getValueAPF().bitcastToAPInt(); in computeKnownBits()
4017 APInt Value = CFP->getValueAPF().bitcastToAPInt(); in ComputeNumSignBits()
4090 return !C->getValueAPF().isNaN() || in isKnownNeverNaN()
[all …]
DLegalizeFloatTypes.cpp213 uint64_t words[2] = { CN->getValueAPF().bitcastToAPInt().getRawData()[1], in SoftenFloatRes_ConstantFP()
214 CN->getValueAPF().bitcastToAPInt().getRawData()[0] }; in SoftenFloatRes_ConstantFP()
220 return DAG.getConstant(CN->getValueAPF().bitcastToAPInt(), SDLoc(CN), in SoftenFloatRes_ConstantFP()
1198 APInt C = cast<ConstantFPSDNode>(N)->getValueAPF().bitcastToAPInt(); in ExpandFloatRes_ConstantFP()
2180 SDValue C = DAG.getConstant(CFPNode->getValueAPF().bitcastToAPInt(), DL, in PromoteFloatRes_ConstantFP()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/WebAssembly/
DWebAssemblyMCInstLower.cpp278 MCOp = MCOperand::createFPImm(Imm->getValueAPF().convertToFloat()); in lower()
280 MCOp = MCOperand::createFPImm(Imm->getValueAPF().convertToDouble()); in lower()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/IR/
DConstants.cpp108 return CFP->getValueAPF().bitcastToAPInt().isAllOnesValue(); in isAllOnesValue()
134 return CFP->getValueAPF().bitcastToAPInt().isOneValue(); in isOneValue()
160 return !CFP->getValueAPF().bitcastToAPInt().isOneValue(); in isNotOneValue()
184 return CFP->getValueAPF().bitcastToAPInt().isMinSignedValue(); in isMinSignedValue()
210 return !CFP->getValueAPF().bitcastToAPInt().isMinSignedValue(); in isNotMinSignedValue()
229 return CFP->getValueAPF().isFiniteNonZero(); in isFiniteNonZeroFP()
234 if (!CFP || !CFP->getValueAPF().isFiniteNonZero()) in isFiniteNonZeroFP()
242 return CFP->getValueAPF().isNormal(); in isNormalFP()
247 if (!CFP || !CFP->getValueAPF().isNormal()) in isNormalFP()
255 return CFP->getValueAPF().getExactInverse(nullptr); in hasExactInverseFP()
[all …]
DConstantFold.cpp197 FP->getValueAPF().bitcastToAPInt()); in FoldBitCast()
596 APFloat Val = FPC->getValueAPF(); in ConstantFoldCastInstruction()
611 const APFloat &V = FPC->getValueAPF(); in ConstantFoldCastInstruction()
974 const APFloat &CV = CFP->getValueAPF(); in ConstantFoldUnaryInstruction()
1309 const APFloat &C1V = CFP1->getValueAPF(); in ConstantFoldBinaryInstruction()
1310 const APFloat &C2V = CFP2->getValueAPF(); in ConstantFoldBinaryInstruction()
1903 const APFloat &C1V = cast<ConstantFP>(C1)->getValueAPF(); in ConstantFoldCompareInstruction()
1904 const APFloat &C2V = cast<ConstantFP>(C2)->getValueAPF(); in ConstantFoldCompareInstruction()
DMetadata.cpp935 APFloat AVal = mdconst::extract<ConstantFP>(A->getOperand(0))->getValueAPF(); in getMostGenericFPMath()
936 APFloat BVal = mdconst::extract<ConstantFP>(B->getOperand(0))->getValueAPF(); in getMostGenericFPMath()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DMIRVRegNamerUtils.cpp62 MO.getFPImm()->getValueAPF().bitcastToAPInt().getZExtValue()); in getInstructionOpcodeHash()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/
DARMMCInstLower.cpp110 APFloat Val = MO.getFPImm()->getValueAPF(); in lowerOperand()
DARMInstructionSelector.cpp821 APFloat FPImmValue = OldInst.getOperand(1).getFPImm()->getValueAPF(); in renderVFPF32Imm()
833 APFloat FPImmValue = OldInst.getOperand(1).getFPImm()->getValueAPF(); in renderVFPF64Imm()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/
DHexagonMCInstLower.cpp130 APFloat Val = MO.getFPImm()->getValueAPF(); in HexagonLowerToMC()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/
DExecutionEngine.cpp891 Result.FloatVal = cast<ConstantFP>(C)->getValueAPF().convertToFloat(); in getConstantValue()
894 Result.DoubleVal = cast<ConstantFP>(C)->getValueAPF().convertToDouble(); in getConstantValue()
899 Result.IntVal = cast <ConstantFP>(C)->getValueAPF().bitcastToAPInt(); in getConstantValue()
949 CV->getOperand(i))->getValueAPF().convertToFloat(); in getConstantValue()
971 CV->getOperand(i))->getValueAPF().convertToDouble(); in getConstantValue()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/NVPTX/
DNVPTXAsmPrinter.cpp261 const APFloat &Val = Cnt->getValueAPF(); in lowerOperand()
1691 APFloat APF = APFloat(Fp->getValueAPF()); // make a copy in printFPConstant()
1865 APInt API = CFP->getValueAPF().bitcastToAPInt(); in bufferLEByte()
1870 float float32 = (float) CFP->getValueAPF().convertToFloat(); in bufferLEByte()
1874 double float64 = CFP->getValueAPF().convertToDouble(); in bufferLEByte()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/IR/
DPatternMatch.h180 Res = &CI->getValueAPF(); in match()
186 Res = &CI->getValueAPF(); in match()
286 return this->isValue(CF->getValueAPF()); in match()
290 return this->isValue(CF->getValueAPF()); in match()
303 if (!CF || !this->isValue(CF->getValueAPF())) in match()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Utils/
DFunctionComparator.cpp296 const APFloat &LAPF = cast<ConstantFP>(L)->getValueAPF(); in cmpConstants()
297 const APFloat &RAPF = cast<ConstantFP>(R)->getValueAPF(); in cmpConstants()
DLibCallsShrinkWrap.cpp434 double D = CF->getValueAPF().convertToDouble(); in generateCondForPow()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/GlobalISel/
DUtils.cpp242 return CstVal.getFPImm()->getValueAPF().bitcastToAPInt(); in getConstantVRegValWithLookThrough()
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/src/
DIceConverter.cpp155 return Ctx->getConstantFloat(CFP->getValueAPF().convertToFloat()); in convertConstant()
157 return Ctx->getConstantDouble(CFP->getValueAPF().convertToDouble()); in convertConstant()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/InstCombine/
DInstCombineCalls.cpp3466 const APFloat &ArgVal = C->getValueAPF(); in visitCallInst()
3491 APFloat Significand = frexp(C->getValueAPF(), Exp, in visitCallInst()
3590 const APFloat &Val = CVal->getValueAPF(); in visitCallInst()
3614 APFloat Val0 = C0->getValueAPF(); in visitCallInst()
3615 APFloat Val1 = C1->getValueAPF(); in visitCallInst()
3785 APFloat Result = fmed3AMDGCN(C0->getValueAPF(), C1->getValueAPF(), in visitCallInst()
3786 C2->getValueAPF()); in visitCallInst()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DSelectionDAGNodes.h1616 const APFloat& getValueAPF() const { return Value->getValueAPF(); }
1640 return Value->getValueAPF().isExactlyValue(V);

1234