/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/ |
D | ConstantFolding.cpp | 1650 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/ |
D | AMDGPULibCalls.cpp | 969 ? (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 …]
|
D | AMDGPUISelDAGToDAG.cpp | 96 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()
|
D | AMDGPUPrintfRuntimeBinding.cpp | 417 APFloat Val(fpCons->getValueAPF()); in lowerPrintfForGpu()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/ |
D | Float2Int.cpp | 315 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/ |
D | SelectionDAGDumper.cpp | 583 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()
|
D | SelectionDAG.cpp | 119 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 …]
|
D | LegalizeFloatTypes.cpp | 213 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/ |
D | WebAssemblyMCInstLower.cpp | 278 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/ |
D | Constants.cpp | 108 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 …]
|
D | ConstantFold.cpp | 197 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()
|
D | Metadata.cpp | 935 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/ |
D | MIRVRegNamerUtils.cpp | 62 MO.getFPImm()->getValueAPF().bitcastToAPInt().getZExtValue()); in getInstructionOpcodeHash()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/ |
D | ARMMCInstLower.cpp | 110 APFloat Val = MO.getFPImm()->getValueAPF(); in lowerOperand()
|
D | ARMInstructionSelector.cpp | 821 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/ |
D | HexagonMCInstLower.cpp | 130 APFloat Val = MO.getFPImm()->getValueAPF(); in HexagonLowerToMC()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/ |
D | ExecutionEngine.cpp | 891 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/ |
D | NVPTXAsmPrinter.cpp | 261 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/ |
D | PatternMatch.h | 180 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/ |
D | FunctionComparator.cpp | 296 const APFloat &LAPF = cast<ConstantFP>(L)->getValueAPF(); in cmpConstants() 297 const APFloat &RAPF = cast<ConstantFP>(R)->getValueAPF(); in cmpConstants()
|
D | LibCallsShrinkWrap.cpp | 434 double D = CF->getValueAPF().convertToDouble(); in generateCondForPow()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/GlobalISel/ |
D | Utils.cpp | 242 return CstVal.getFPImm()->getValueAPF().bitcastToAPInt(); in getConstantVRegValWithLookThrough()
|
/third_party/skia/third_party/externals/swiftshader/third_party/subzero/src/ |
D | IceConverter.cpp | 155 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/ |
D | InstCombineCalls.cpp | 3466 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/ |
D | SelectionDAGNodes.h | 1616 const APFloat& getValueAPF() const { return Value->getValueAPF(); } 1640 return Value->getValueAPF().isExactlyValue(V);
|