| /freebsd/contrib/llvm-project/llvm/include/llvm/IR/ |
| H A D | RuntimeLibcalls.td | 74 foreach FPTy = ["F32", "F64", "F80", "F128", "PPCF128"] in { 75 def ADD_#FPTy : RuntimeLibcall; 76 def FAST_ADD_#FPTy : RuntimeLibcall; 78 def SUB_#FPTy : RuntimeLibcall; 79 def FAST_SUB_#FPTy : RuntimeLibcall; 81 def MUL_#FPTy : RuntimeLibcall; 82 def FAST_MUL_#FPTy : RuntimeLibcall; 84 def DIV_#FPTy : RuntimeLibcall; 85 def FAST_DIV_#FPTy : RuntimeLibcall; 87 def REM_#FPTy : RuntimeLibcall; [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/ARM/ |
| H A D | ARMTargetTransformInfo.cpp | 2094 Type *FPTy = ICA.getArgTypes()[0]; in getIntrinsicInstrCost() local 2096 IntrinsicCostAttributes Attrs1(Intrinsic::minnum, FPTy, {FPTy, FPTy}); in getIntrinsicInstrCost() 2098 IntrinsicCostAttributes Attrs2(Intrinsic::maxnum, FPTy, {FPTy, FPTy}); in getIntrinsicInstrCost() 2102 RetTy, FPTy, TTI::CastContextHint::None, CostKind); in getIntrinsicInstrCost() 2105 Cost += getCmpSelInstrCost(BinaryOperator::FCmp, FPTy, CondTy, in getIntrinsicInstrCost()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/ |
| H A D | AArch64TargetTransformInfo.cpp | 855 Type *FPTy = ICA.getArgTypes()[0]->getScalarType(); in getIntrinsicInstrCost() local 858 FPTy = VectorType::get(FPTy, LT.second.getVectorElementCount()); in getIntrinsicInstrCost() 861 IntrinsicCostAttributes Attrs1(Intrinsic::minnum, FPTy, {FPTy, FPTy}); in getIntrinsicInstrCost() 863 IntrinsicCostAttributes Attrs2(Intrinsic::maxnum, FPTy, {FPTy, FPTy}); in getIntrinsicInstrCost() 867 RetTy, FPTy, TTI::CastContextHint::None, CostKind); in getIntrinsicInstrCost() 870 Cost += getCmpSelInstrCost(BinaryOperator::FCmp, FPTy, CondTy, in getIntrinsicInstrCost() 2009 Type *FPTy; in instCombineSVECondLast() local 2014 FPTy = IC.Builder.getHalfTy(); in instCombineSVECondLast() 2017 FPTy = IC.Builder.getFloatTy(); in instCombineSVECondLast() 2020 FPTy = IC.Builder.getDoubleTy(); in instCombineSVECondLast() [all …]
|
| /freebsd/contrib/llvm-project/clang/lib/Sema/ |
| H A D | Sema.cpp | 2285 if (const auto *FPTy = dyn_cast<FunctionProtoType>(Ty)) { in checkTypeSupport() local 2286 for (const auto &ParamTy : FPTy->param_types()) in checkTypeSupport() 2288 CheckType(FPTy->getReturnType(), /*IsRetTy=*/true); in checkTypeSupport()
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/ |
| H A D | GISelValueTracking.cpp | 1548 LLT FPTy = DstTy.getScalarType(); in computeKnownFPClass() local 1549 const fltSemantics &FltSem = getFltSemanticForLLT(FPTy); in computeKnownFPClass()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/ |
| H A D | InstructionCombining.cpp | 1490 Type *FPTy = BO.getType(); in foldFBinOpOfIntCastsFromSign() local 1497 APFloat::semanticsPrecision(FPTy->getScalarType()->getFltSemantics()); in foldFBinOpOfIntCastsFromSign() 1571 Op1IntC, FPTy, DL) != Op1FpC) in foldFBinOpOfIntCastsFromSign() 1637 return new SIToFPInst(IntBinOp, FPTy); in foldFBinOpOfIntCastsFromSign() 1638 return new UIToFPInst(IntBinOp, FPTy); in foldFBinOpOfIntCastsFromSign()
|
| H A D | InstCombineCasts.cpp | 1717 Type *FPTy = I.getType(); in isKnownExactCastIntToFP() local 1723 int DestNumSigBits = FPTy->getFPMantissaWidth(); in isKnownExactCastIntToFP()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/Mips/ |
| H A D | MipsISelLowering.cpp | 2974 EVT FPTy = EVT::getFloatingPointVT(Val.getValueSizeInBits()); in lowerFP_TO_SINT_STORE() local 2975 SDValue Tr = DAG.getNode(MipsISD::TruncIntFP, SDLoc(Val), FPTy, in lowerFP_TO_SINT_STORE() 3011 EVT FPTy = EVT::getFloatingPointVT(Op.getValueSizeInBits()); in lowerFP_TO_SINT() local 3012 SDValue Trunc = DAG.getNode(MipsISD::TruncIntFP, SDLoc(Op), FPTy, in lowerFP_TO_SINT()
|
| /freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | ValueTracking.cpp | 5606 Type *FPTy = Op->getType()->getScalarType(); in computeKnownFPClass() local 5607 if (ilogb(APFloat::getLargest(FPTy->getFltSemantics())) >= IntSize) in computeKnownFPClass()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/LoongArch/ |
| H A D | LoongArchISelLowering.cpp | 2822 EVT FPTy = EVT::getFloatingPointVT(Op.getValueSizeInBits()); in lowerFP_TO_SINT() local 2823 SDValue Trunc = DAG.getNode(LoongArchISD::FTINT, DL, FPTy, Op0); in lowerFP_TO_SINT()
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | DAGCombiner.cpp | 28754 Type *FPTy = Elts[0]->getType(); in convertSelectOfFPConstantsToLoadOffset() local 28758 Constant *CA = ConstantArray::get(ArrayType::get(FPTy, 2), Elts); in convertSelectOfFPConstantsToLoadOffset() 28760 TD.getPrefTypeAlign(FPTy)); in convertSelectOfFPConstantsToLoadOffset()
|