Home
last modified time | relevance | path

Searched refs:getFltSemantics (Results 1 – 25 of 26) sorted by relevance

12

/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DPatternInit.cpp56 Ty->getScalarType()->getFltSemantics()); in initializationPatternFor()
/freebsd/contrib/llvm-project/llvm/lib/FuzzMutate/
H A DOpDescriptor.cpp33 auto &Sem = T->getFltSemantics(); in makeConstantsWithType()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUInstCombineIntrinsic.cpp453 auto *QNaN = ConstantFP::get(Ty, APFloat::getQNaN(Ty->getFltSemantics())); in instCombineIntrinsic()
512 auto *QNaN = ConstantFP::get(Ty, APFloat::getQNaN(Ty->getFltSemantics())); in instCombineIntrinsic()
636 II.getType()->getScalarType()->getFltSemantics(); in instCombineIntrinsic()
1118 II.getType(), APFloat::getQNaN(II.getType()->getFltSemantics())); in instCombineIntrinsic()
1158 APFloat Zero = APFloat::getZero(II.getType()->getFltSemantics()); in instCombineIntrinsic()
H A DAMDGPUAtomicOptimizer.cpp644 return ConstantFP::get(C, APFloat::getZero(Ty->getFltSemantics(), true)); in getIdentityValueForAtomicOp()
646 return ConstantFP::get(C, APFloat::getZero(Ty->getFltSemantics(), false)); in getIdentityValueForAtomicOp()
653 return ConstantFP::get(C, APFloat::getNaN(Ty->getFltSemantics())); in getIdentityValueForAtomicOp()
H A DAMDGPUCodeGenPrepare.cpp845 APFloat::getSmallestNormalized(Ty->getFltSemantics()); in emitSqrtIEEE2ULP()
872 APFloat::getSmallestNormalized(Ty->getFltSemantics()); in emitRsqIEEE1ULP()
H A DSIISelLowering.cpp8463 APFloat Max = APFloat::getLargest(Type->getFltSemantics()); in LowerINTRINSIC_WO_CHAIN()
8464 APFloat Min = APFloat::getLargest(Type->getFltSemantics(), true); in LowerINTRINSIC_WO_CHAIN()
16066 const fltSemantics &Flt = RMW->getType()->getScalarType()->getFltSemantics();
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DConstants.cpp382 APFloat::getZero(Ty->getFltSemantics())); in getNullValue()
423 APFloat FL = APFloat::getAllOnesValue(Ty->getFltSemantics()); in getAllOnesValue()
969 FV.convert(Ty->getScalarType()->getFltSemantics(), in get()
995 APFloat FV(Ty->getScalarType()->getFltSemantics(), Str); in get()
1006 const fltSemantics &Semantics = Ty->getScalarType()->getFltSemantics(); in getNaN()
1017 const fltSemantics &Semantics = Ty->getScalarType()->getFltSemantics(); in getQNaN()
1028 const fltSemantics &Semantics = Ty->getScalarType()->getFltSemantics(); in getSNaN()
1039 const fltSemantics &Semantics = Ty->getScalarType()->getFltSemantics(); in getZero()
1085 const fltSemantics &Semantics = Ty->getScalarType()->getFltSemantics(); in getInfinity()
1096 assert(&V.getSemantics() == &Ty->getScalarType()->getFltSemantics() && in ConstantFP()
H A DType.cpp70 const fltSemantics &Type::getFltSemantics() const { in getFltSemantics() function in Type
84 return APFloat::getZero(getFltSemantics()).isIEEE(); in isIEEE()
H A DConstantFold.cpp94 APFloat(DestTy->getFltSemantics(), in FoldBitCast()
200 Val.convert(DestTy->getFltSemantics(), APFloat::rmNearestTiesToEven, in ConstantFoldCastInstruction()
225 APFloat apf(DestTy->getFltSemantics(), in ConstantFoldCastInstruction()
/freebsd/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZTDC.cpp134 auto &Sem = Op0->getType()->getFltSemantics(); in convertFCmp()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DType.h198 const fltSemantics &getFltSemantics() const;
H A DFixedPointBuilder.h129 const fltSemantics *FloatSema = &Ty->getFltSemantics(); in getAccommodatingFloatType()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DFloat2Int.cpp372 = APFloat::semanticsPrecision(ConvertedToTy->getFltSemantics()) - 1; in validateAndTransform()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DConstantFolding.cpp136 APFloat FP(DestTy->getFltSemantics(), Result); in FoldBitCast()
1316 I->getFunction()->getDenormalMode(Ty->getFltSemantics()); in FlushFPConstant()
1330 APFloat::getZero(Ty->getFltSemantics(), APF.isNegative())); in FlushFPConstant()
1336 APFloat::getZero(Ty->getFltSemantics(), false)); in FlushFPConstant()
1738 APF.convert(Ty->getFltSemantics(), APFloat::rmNearestTiesToEven, &unused); in GetConstantFoldFPValue()
2462 Ty->getFltSemantics(), APFloat::rmNearestTiesToEven, &lost); in ConstantFoldScalarCall1()
H A DValueTracking.cpp1187 APFloat::getInf(FPType->getFltSemantics()).bitcastToAPInt())); in computeKnownBitsFromOperator()
4223 return F.getDenormalMode(Ty->getFltSemantics()).Input == DenormalMode::IEEE; in inputDenormalIsIEEE()
4228 DenormalMode Mode = F.getDenormalMode(Ty->getFltSemantics()); in inputDenormalIsIEEEOrPosZero()
4235 DenormalMode Mode = F.getDenormalMode(Ty->getFltSemantics()); in outputDenormalIsIEEEOrPosZero()
4260 DenormalMode Mode = F.getDenormalMode(Ty->getScalarType()->getFltSemantics()); in isKnownNeverLogicalPosZero()
4288 DenormalMode Mode = F.getDenormalMode(Ty->getScalarType()->getFltSemantics()); in propagateDenormal()
5196 II->getType()->getScalarType()->getFltSemantics()); in computeKnownFPClass()
5250 II->getType()->getScalarType()->getFltSemantics(); in computeKnownFPClass()
5440 II->getType()->getScalarType()->getFltSemantics(); in computeKnownFPClass()
5700 Op->getType()->getScalarType()->getFltSemantics(); in computeKnownFPClass()
[all …]
/freebsd/contrib/llvm-project/llvm/tools/llvm-stress/
H A Dllvm-stress.cpp438 APFloat RandomFloat(Ty->getFltSemantics(), RandomInt); in Act()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DExpandVectorPredication.cpp399 const fltSemantics &Semantics = EltTy->getFltSemantics(); in getNeutralReductionElement()
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/
H A DExecutionEngine.cpp850 const fltSemantics &Sem = CE->getOperand(0)->getType()->getFltSemantics(); in getConstantValue()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DNumericalStabilitySanitizer.cpp477 Ty, extendConstantFP(CFP->getValueAPF(), Ty->getFltSemantics())); in getShadowConstant()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineCompares.cpp1859 APFloat::getInf(FPType->getFltSemantics()).bitcastToAPInt(); in foldICmpAndConstConst()
3338 FPClassTest Mask = APFloat(FPType->getFltSemantics(), *C).classify(); in foldICmpBitCast()
8040 LHSI->getType()->getScalarType()->getFltSemantics()) == in foldFCmpFSubIntoFCmp()
8277 X->getType()->getScalarType()->getFltSemantics(); in visitFCmpInst()
H A DInstCombineCalls.cpp835 return F.getDenormalMode(Ty->getFltSemantics()).Input == DenormalMode::IEEE; in inputDenormalIsIEEE()
840 return F.getDenormalMode(Ty->getFltSemantics()).inputsAreZero(); in inputDenormalIsDAZ()
H A DInstCombineCasts.cpp378 const fltSemantics &Semantics = InputTy->getFltSemantics(); in canEvaluateTruncated()
H A DInstructionCombining.cpp1449 APFloat::semanticsPrecision(FPTy->getScalarType()->getFltSemantics()); in foldFBinOpOfIntCastsFromSign()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/AsmParser/
H A DAMDGPUAsmParser.cpp1900 static const fltSemantics *getFltSemantics(unsigned Size) { in getFltSemantics() function
1913 static const fltSemantics *getFltSemantics(MVT VT) { in getFltSemantics() function
1914 return getFltSemantics(VT.getSizeInBits() / 8); in getFltSemantics()
1977 APFloat::opStatus Status = FPLiteral.convert(*getFltSemantics(VT), in canLosslesslyConvertToFPType()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DTargetLowering.cpp8590 const llvm::fltSemantics &Semantics = FloatTy->getFltSemantics(); in expandIS_FPCLASS()

12