/external/llvm/lib/Analysis/ |
D | ConstantFolding.cpp | 1403 return Op->getValueAPF().convertToFloat(); in getValueAsDouble() 1406 return Op->getValueAPF().convertToDouble(); in getValueAsDouble() 1409 APFloat APF = Op->getValueAPF(); in getValueAsDouble() 1420 APFloat Val(Op->getValueAPF()); in ConstantFoldScalarCall() 1432 APFloat V = Op->getValueAPF(); in ConstantFoldScalarCall() 1438 APFloat V = Op->getValueAPF(); in ConstantFoldScalarCall() 1444 APFloat V = Op->getValueAPF(); in ConstantFoldScalarCall() 1450 APFloat V = Op->getValueAPF(); in ConstantFoldScalarCall() 1456 APFloat V = Op->getValueAPF(); in ConstantFoldScalarCall() 1462 APFloat V = Op->getValueAPF(); in ConstantFoldScalarCall() [all …]
|
/external/llvm/lib/Target/WebAssembly/ |
D | WebAssemblyMCInstLower.cpp | 86 MCOp = MCOperand::createFPImm(Imm->getValueAPF().convertToFloat()); in Lower() 88 MCOp = MCOperand::createFPImm(Imm->getValueAPF().convertToDouble()); in Lower()
|
/external/llvm/lib/Target/Hexagon/ |
D | HexagonSplitConst32AndConst64.cpp | 114 APFloat Val = MI->getOperand(1).getFPImm()->getValueAPF(); in runOnMachineFunction() 133 APFloat Val = MI->getOperand(1).getFPImm()->getValueAPF(); in runOnMachineFunction()
|
D | HexagonMCInstLower.cpp | 105 APFloat Val = MO.getFPImm()->getValueAPF(); in HexagonLowerToMC()
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
D | SelectionDAGDumper.cpp | 425 if (&CSDN->getValueAPF().getSemantics()==&APFloat::IEEEsingle) in print_details() 426 OS << '<' << CSDN->getValueAPF().convertToFloat() << '>'; in print_details() 427 else if (&CSDN->getValueAPF().getSemantics()==&APFloat::IEEEdouble) in print_details() 428 OS << '<' << CSDN->getValueAPF().convertToDouble() << '>'; in print_details() 431 CSDN->getValueAPF().bitcastToAPInt().dump(); in print_details()
|
D | SelectionDAG.cpp | 77 return getValueAPF().bitwiseIsEqual(V); in isExactlyValue() 129 if (CFPN->getValueAPF().bitcastToAPInt().countTrailingOnes() < EltSize) in isBuildVectorAllOnes() 172 if (CFPN->getValueAPF().bitcastToAPInt().countTrailingZeros() < EltSize) in isBuildVectorAllZeros() 1969 APFloat::cmpResult R = N1C->getValueAPF().compare(N2C->getValueAPF()); in FoldSetCC() 2799 return !C->getValueAPF().isNaN(); in isKnownNeverNaN() 2920 APFloat V = C->getValueAPF(); // make copy in getNode() 3503 if (N2CFP && N2CFP->getValueAPF().isZero()) in getNode() 3507 if (N2CFP && N2CFP->getValueAPF().isZero()) in getNode() 3747 APFloat V1 = N1CFP->getValueAPF(), V2 = N2CFP->getValueAPF(); in getNode() 3787 APFloat V = N1CFP->getValueAPF(); // make copy in getNode() [all …]
|
/external/llvm/lib/Transforms/InstCombine/ |
D | InstCombineSelect.cpp | 907 !CFPt->getValueAPF().isZero()) || in visitSelectInst() 909 !CFPf->getValueAPF().isZero())) in visitSelectInst() 919 !CFPt->getValueAPF().isZero()) || in visitSelectInst() 921 !CFPf->getValueAPF().isZero())) in visitSelectInst() 950 !CFPt->getValueAPF().isZero()) || in visitSelectInst() 952 !CFPf->getValueAPF().isZero())) in visitSelectInst() 962 !CFPt->getValueAPF().isZero()) || in visitSelectInst() 964 !CFPf->getValueAPF().isZero())) in visitSelectInst()
|
D | InstCombineMulDivRem.cpp | 437 if (!CFP || !CFP->getValueAPF().isFiniteNonZero()) in isFiniteNonZeroFp() 444 cast<ConstantFP>(C)->getValueAPF().isFiniteNonZero(); in isFiniteNonZeroFp() 452 if (!CFP || !CFP->getValueAPF().isNormal()) in isNormalFp() 458 return isa<ConstantFP>(C) && cast<ConstantFP>(C)->getValueAPF().isNormal(); in isNormalFp() 1195 const APFloat &FpVal = cast<ConstantFP>(Divisor)->getValueAPF(); in CvtFDivConstToReciprocal()
|
D | InstCombineAddSub.cpp | 130 { Coeff.set(Coefficient->getValueAPF()); Val = V; } in set() 391 Addend0.set(APFloat(C0->getValueAPF().getSemantics()), nullptr); in drillValueDownOneStep() 499 const APFloat &F = CFP->getValueAPF(); in performFactorization()
|
/external/mesa3d/src/gallium/drivers/radeon/ |
D | AMDGPUMCInstLower.cpp | 41 const APFloat &FloatValue = MO.getFPImm()->getValueAPF(); in lower()
|
D | AMDGPUInstructions.td | 86 [{return N->getValueAPF().isZero();}]
|
D | AMDGPUISelLowering.cpp | 305 return CFP->getValueAPF().isZero(); in isHWFalseValue()
|
/external/llvm/lib/Transforms/Scalar/ |
D | Float2Int.cpp | 321 APFloat F = CF->getValueAPF(); in walkForwards() 344 CF->getValueAPF().convertToInteger(Int, in walkForwards() 458 CF->getValueAPF().convertToInteger(Val, in convert()
|
D | Reassociate.cpp | 1130 APFloat F1(FC1->getValueAPF()); in RemoveFactorFromExpression() 1131 APFloat F2(FC2->getValueAPF()); in RemoveFactorFromExpression() 1620 APFloat F(CF->getValueAPF()); in OptimizeAdd() 1995 APFloat Val = CF->getValueAPF(); in canonicalizeNegConstExpr()
|
D | IndVarSimplify.cpp | 288 if (!InitValueVal || !ConvertToSInt(InitValueVal->getValueAPF(), InitValue)) in handleFloatingPointIV() 301 !ConvertToSInt(IncValueVal->getValueAPF(), IncValue)) in handleFloatingPointIV() 339 !ConvertToSInt(ExitValueVal->getValueAPF(), ExitValue)) in handleFloatingPointIV()
|
/external/llvm/lib/Target/ARM/ |
D | ARMMCInstLower.cpp | 105 APFloat Val = MO.getFPImm()->getValueAPF(); in lowerOperand()
|
/external/llvm/lib/IR/ |
D | AsmWriter.cpp | 1098 if (&CFP->getValueAPF().getSemantics() == &APFloat::IEEEsingle || in WriteConstantInternal() 1099 &CFP->getValueAPF().getSemantics() == &APFloat::IEEEdouble) { in WriteConstantInternal() 1106 bool isDouble = &CFP->getValueAPF().getSemantics()==&APFloat::IEEEdouble; in WriteConstantInternal() 1107 bool isInf = CFP->getValueAPF().isInfinity(); in WriteConstantInternal() 1108 bool isNaN = CFP->getValueAPF().isNaN(); in WriteConstantInternal() 1110 double Val = isDouble ? CFP->getValueAPF().convertToDouble() : in WriteConstantInternal() 1111 CFP->getValueAPF().convertToFloat(); in WriteConstantInternal() 1135 APFloat apf = CFP->getValueAPF(); in WriteConstantInternal() 1148 APInt API = CFP->getValueAPF().bitcastToAPInt(); in WriteConstantInternal() 1149 if (&CFP->getValueAPF().getSemantics() == &APFloat::x87DoubleExtended) { in WriteConstantInternal() [all …]
|
D | ConstantFold.cpp | 195 FP->getValueAPF().bitcastToAPInt()); in FoldBitCast() 591 APFloat Val = FPC->getValueAPF(); in ConstantFoldCastInstruction() 606 const APFloat &V = FPC->getValueAPF(); in ConstantFoldCastInstruction() 1171 APFloat C1V = CFP1->getValueAPF(); in ConstantFoldBinaryInstruction() 1172 APFloat C2V = CFP2->getValueAPF(); in ConstantFoldBinaryInstruction() 1748 APFloat C1V = cast<ConstantFP>(C1)->getValueAPF(); in ConstantFoldCompareInstruction() 1749 APFloat C2V = cast<ConstantFP>(C2)->getValueAPF(); in ConstantFoldCompareInstruction()
|
D | Constants.cpp | 113 return CFP->getValueAPF().bitcastToAPInt().isAllOnesValue(); in isAllOnesValue() 135 return CFP->getValueAPF().bitcastToAPInt() == 1; in isOneValue() 157 return CFP->getValueAPF().bitcastToAPInt().isMinSignedValue(); in isMinSignedValue() 179 return !CFP->getValueAPF().bitcastToAPInt().isMinSignedValue(); in isNotMinSignedValue() 880 Elts.push_back(CFP->getValueAPF().bitcastToAPInt().getLimitedValue()); in getFPSequenceIfElementsMatch() 2643 NumElts, CFP->getValueAPF().bitcastToAPInt().getLimitedValue()); in getSplat() 2648 NumElts, CFP->getValueAPF().bitcastToAPInt().getLimitedValue()); in getSplat() 2653 NumElts, CFP->getValueAPF().bitcastToAPInt().getLimitedValue()); in getSplat()
|
D | Metadata.cpp | 842 APFloat AVal = mdconst::extract<ConstantFP>(A->getOperand(0))->getValueAPF(); in getMostGenericFPMath() 843 APFloat BVal = mdconst::extract<ConstantFP>(B->getOperand(0))->getValueAPF(); in getMostGenericFPMath()
|
/external/llvm/lib/Target/X86/ |
D | X86TargetObjectFile.cpp | 140 return APIntToHexString(CFP->getValueAPF().bitcastToAPInt()); in scalarConstantToHexString()
|
/external/llvm/lib/ExecutionEngine/ |
D | ExecutionEngine.cpp | 894 Result.FloatVal = cast<ConstantFP>(C)->getValueAPF().convertToFloat(); in getConstantValue() 897 Result.DoubleVal = cast<ConstantFP>(C)->getValueAPF().convertToDouble(); in getConstantValue() 902 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()
|
/external/llvm/lib/Target/NVPTX/ |
D | NVPTXAsmPrinter.cpp | 280 APFloat Val = Cnt->getValueAPF(); in lowerOperand() 1680 APFloat APF = APFloat(Fp->getValueAPF()); // make a copy in printFPConstant() 1859 float float32 = (float) CFP->getValueAPF().convertToFloat(); in bufferLEByte() 1863 double float64 = CFP->getValueAPF().convertToDouble(); in bufferLEByte()
|
/external/llvm/lib/Target/CppBackend/ |
D | CPPBackend.cpp | 222 APFloat APF = APFloat(CFP->getValueAPF()); // copy in printCFP() 241 std::string StrVal = ftostr(CFP->getValueAPF()); in printCFP() 258 << utohexstr(CFP->getValueAPF().bitcastToAPInt().getZExtValue()) in printCFP() 262 << utohexstr((uint32_t)CFP->getValueAPF(). in printCFP()
|
/external/llvm/include/llvm/CodeGen/ |
D | SelectionDAGNodes.h | 1457 const APFloat& getValueAPF() const { return Value->getValueAPF(); } 1483 Tmp.convert(Value->getValueAPF().getSemantics(),
|