Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/
H A DPatternInit.cpp56 Ty->getScalarType()->getFltSemantics()); in initializationPatternFor()
/freebsd-14.2/contrib/llvm-project/llvm/lib/FuzzMutate/
H A DOpDescriptor.cpp28 auto &Sem = T->getFltSemantics(); in makeConstantsWithType()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUAtomicOptimizer.cpp658 return ConstantFP::get(C, APFloat::getZero(Ty->getFltSemantics(), true)); in getIdentityValueForAtomicOp()
660 return ConstantFP::get(C, APFloat::getZero(Ty->getFltSemantics(), false)); in getIdentityValueForAtomicOp()
662 return ConstantFP::get(C, APFloat::getInf(Ty->getFltSemantics(), false)); in getIdentityValueForAtomicOp()
664 return ConstantFP::get(C, APFloat::getInf(Ty->getFltSemantics(), true)); in getIdentityValueForAtomicOp()
H A DAMDGPUInstCombineIntrinsic.cpp457 auto *QNaN = ConstantFP::get(Ty, APFloat::getQNaN(Ty->getFltSemantics())); in instCombineIntrinsic()
516 auto *QNaN = ConstantFP::get(Ty, APFloat::getQNaN(Ty->getFltSemantics())); in instCombineIntrinsic()
640 II.getType()->getScalarType()->getFltSemantics(); in instCombineIntrinsic()
H A DAMDGPUCodeGenPrepare.cpp843 APFloat::getSmallestNormalized(Ty->getFltSemantics()); in emitSqrtIEEE2ULP()
870 APFloat::getSmallestNormalized(Ty->getFltSemantics()); in emitRsqIEEE1ULP()
H A DSIISelLowering.cpp8026 APFloat Max = APFloat::getLargest(Type->getFltSemantics()); in LowerINTRINSIC_WO_CHAIN()
8027 APFloat Min = APFloat::getLargest(Type->getFltSemantics(), true); in LowerINTRINSIC_WO_CHAIN()
15732 const fltSemantics &Flt = RMW->getType()->getScalarType()->getFltSemantics(); in fpModeMatchesGlobalFPAtomicMode()
/freebsd-14.2/contrib/llvm-project/llvm/lib/IR/
H A DConstants.cpp368 APFloat::getZero(Ty->getFltSemantics())); in getNullValue()
409 APFloat FL = APFloat::getAllOnesValue(Ty->getFltSemantics()); in getAllOnesValue()
932 FV.convert(Ty->getScalarType()->getFltSemantics(), in get()
958 APFloat FV(Ty->getScalarType()->getFltSemantics(), Str); in get()
969 const fltSemantics &Semantics = Ty->getScalarType()->getFltSemantics(); in getNaN()
980 const fltSemantics &Semantics = Ty->getScalarType()->getFltSemantics(); in getQNaN()
991 const fltSemantics &Semantics = Ty->getScalarType()->getFltSemantics(); in getSNaN()
1002 const fltSemantics &Semantics = Ty->getScalarType()->getFltSemantics(); in getZero()
1028 const fltSemantics &Semantics = Ty->getScalarType()->getFltSemantics(); in getInfinity()
1039 assert(&V.getSemantics() == &Ty->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()
260 Val.convert(DestTy->getFltSemantics(), APFloat::rmNearestTiesToEven, in ConstantFoldCastInstruction()
285 APFloat apf(DestTy->getFltSemantics(), in ConstantFoldCastInstruction()
/freebsd-14.2/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-14.2/contrib/llvm-project/llvm/lib/Target/SystemZ/
H A DSystemZTDC.cpp134 auto &Sem = Op0->getType()->getFltSemantics(); in convertFCmp()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DFloat2Int.cpp374 = APFloat::semanticsPrecision(ConvertedToTy->getFltSemantics()) - 1; in validateAndTransform()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/
H A DConstantFolding.cpp136 APFloat FP(DestTy->getFltSemantics(), Result); in FoldBitCast()
1331 I->getFunction()->getDenormalMode(Ty->getFltSemantics()); in FlushFPConstant()
1345 APFloat::getZero(Ty->getFltSemantics(), APF.isNegative())); in FlushFPConstant()
1351 APFloat::getZero(Ty->getFltSemantics(), false)); in FlushFPConstant()
1733 APF.convert(Ty->getFltSemantics(), APFloat::rmNearestTiesToEven, &unused); in GetConstantFoldFPValue()
2419 Ty->getFltSemantics(), APFloat::rmNearestTiesToEven, &lost); in ConstantFoldScalarCall1()
H A DValueTracking.cpp3910 return F.getDenormalMode(Ty->getFltSemantics()).Input == DenormalMode::IEEE; in inputDenormalIsIEEE()
3915 DenormalMode Mode = F.getDenormalMode(Ty->getFltSemantics()); in inputDenormalIsIEEEOrPosZero()
3922 DenormalMode Mode = F.getDenormalMode(Ty->getFltSemantics()); in outputDenormalIsIEEEOrPosZero()
3947 DenormalMode Mode = F.getDenormalMode(Ty->getScalarType()->getFltSemantics()); in isKnownNeverLogicalPosZero()
3975 DenormalMode Mode = F.getDenormalMode(Ty->getScalarType()->getFltSemantics()); in propagateDenormal()
4623 II->getType()->getScalarType()->getFltSemantics()); in computeKnownFPClass()
4657 II->getType()->getScalarType()->getFltSemantics(); in computeKnownFPClass()
4828 II->getType()->getScalarType()->getFltSemantics(); in computeKnownFPClass()
5081 Op->getType()->getScalarType()->getFltSemantics(); in computeKnownFPClass()
5083 Op->getOperand(0)->getType()->getScalarType()->getFltSemantics(); in computeKnownFPClass()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/tools/llvm-stress/
H A Dllvm-stress.cpp438 APFloat RandomFloat(Ty->getFltSemantics(), RandomInt); in Act()
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/
H A DExpandVectorPredication.cpp388 const fltSemantics &Semantics = EltTy->getFltSemantics(); in getNeutralReductionElement()
/freebsd-14.2/contrib/llvm-project/llvm/lib/ExecutionEngine/
H A DExecutionEngine.cpp850 const fltSemantics &Sem = CE->getOperand(0)->getType()->getFltSemantics(); in getConstantValue()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/AsmParser/
H A DAMDGPUAsmParser.cpp1864 static const fltSemantics *getFltSemantics(unsigned Size) { in getFltSemantics() function
1877 static const fltSemantics *getFltSemantics(MVT VT) { in getFltSemantics() function
1878 return getFltSemantics(VT.getSizeInBits() / 8); in getFltSemantics()
1931 APFloat::opStatus Status = FPLiteral.convert(*getFltSemantics(VT), in canLosslesslyConvertToFPType()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineCalls.cpp842 return F.getDenormalMode(Ty->getFltSemantics()).Input == DenormalMode::IEEE; in inputDenormalIsIEEE()
847 return F.getDenormalMode(Ty->getFltSemantics()).inputsAreZero(); in inputDenormalIsDAZ()
H A DInstCombineCasts.cpp370 const fltSemantics &Semantics = InputTy->getFltSemantics(); in canEvaluateTruncated()
H A DInstCombineAddSub.cpp1885 APFloat::semanticsPrecision(FScalarTy->getFltSemantics()); in visitFAdd()
H A DInstCombineCompares.cpp7785 X->getType()->getScalarType()->getFltSemantics(); in visitFCmpInst()
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DTargetLowering.cpp8386 const llvm::fltSemantics &Semantics = FloatTy->getFltSemantics(); in expandIS_FPCLASS()
H A DDAGCombiner.cpp5551 const fltSemantics &Semantics = InputTy->getFltSemantics(); in isSaturatingMinMax()