Home
last modified time | relevance | path

Searched refs:FPType (Results 1 – 22 of 22) sorted by relevance

/freebsd/contrib/llvm-project/libc/src/__support/FPUtil/
H A DFPBits.h35 enum class FPType { enum
96 template <FPType> struct FPLayout {};
98 template <> struct FPLayout<FPType::IEEE754_Binary16> {
106 template <> struct FPLayout<FPType::IEEE754_Binary32> {
114 template <> struct FPLayout<FPType::IEEE754_Binary64> {
122 template <> struct FPLayout<FPType::IEEE754_Binary128> {
130 template <> struct FPLayout<FPType::X86_Binary80> {
142 template <> struct FPLayout<FPType::BFloat16> {
151 template <FPType fp_type> struct FPStorage : public FPLayout<fp_type> {
371 template <FPType fp_type, typename RetT>
[all …]
H A Dbfloat16.h54 fputil::FPType::IEEE754_Binary32,
H A Dfpbits_str.h61 if constexpr (fputil::get_fp_type<T>() == fputil::FPType::X86_Binary80) { in str()
H A DBasicOperations.h260 if constexpr (get_fp_type<T>() == FPType::X86_Binary80) { in canonicalize()
/freebsd/contrib/llvm-project/clang/lib/Driver/ToolChains/
H A DAMDGPU.cpp738 const llvm::fltSemantics *FPType) const { in getDefaultDenormalModeForType()
740 if (!FPType || FPType != &llvm::APFloat::IEEEsingle()) in getDefaultDenormalModeForType()
747 if (FPType && FPType == &llvm::APFloat::IEEEsingle() && in getDefaultDenormalModeForType()
H A DAMDGPU.h90 const llvm::fltSemantics *FPType = nullptr) const override;
H A DPS4CPU.h117 const llvm::fltSemantics *FPType) const override { in getDefaultDenormalModeForType() argument
H A DCuda.h207 const llvm::fltSemantics *FPType = nullptr) const override;
H A DCuda.cpp917 const llvm::fltSemantics *FPType) const { in getDefaultDenormalModeForType()
919 if (FPType && FPType == &llvm::APFloat::IEEEsingle() && in getDefaultDenormalModeForType()
/freebsd/contrib/llvm-project/llvm/include/llvm/Target/
H A DTargetOptions.h439 LLVM_ABI DenormalMode getDenormalMode(const fltSemantics &FPType) const;
/freebsd/stand/common/
H A Dgfx_fb.h151 uint16_t FPType; /* Flat Panel Type */ member
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/Utils/
H A DAMDGPUBaseInfo.cpp734 FPType getFPDstSelType(unsigned Opc) { in getFPDstSelType()
737 return FPType::None; in getFPDstSelType()
739 return FPType::FP8; in getFPDstSelType()
741 return FPType::FP4; in getFPDstSelType()
743 return FPType::None; in getFPDstSelType()
H A DAMDGPUBaseInfo.h62 enum class FPType { None, FP4, FP8 }; enum
971 FPType getFPDstSelType(unsigned Opc);
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DFunction.cpp803 DenormalMode Function::getDenormalMode(const fltSemantics &FPType) const { in getDenormalMode()
804 if (&FPType == &APFloat::IEEEsingle()) { in getDenormalMode()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DFunction.h712 DenormalMode getDenormalMode(const fltSemantics &FPType) const;
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DMachineFunction.cpp325 DenormalMode MachineFunction::getDenormalMode(const fltSemantics &FPType) const { in getDenormalMode()
326 return F.getDenormalMode(FPType); in getDenormalMode()
/freebsd/contrib/llvm-project/clang/include/clang/Driver/
H A DToolChain.h833 const llvm::fltSemantics *FPType = nullptr) const {
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DGCNHazardRecognizer.cpp901 AMDGPU::FPType IsFP4OrFP8ConvOpc = AMDGPU::getFPDstSelType(Opcode); in getDstSelForwardingOperand()
909 if (IsFP4OrFP8ConvOpc == AMDGPU::FPType::FP8 && in getDstSelForwardingOperand()
917 if (IsFP4OrFP8ConvOpc == AMDGPU::FPType::FP4) in getDstSelForwardingOperand()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/
H A DGISelValueTracking.cpp1113 const fltSemantics &FPType = getFltSemanticForLLT(Ty); in computeKnownFPClass() local
1114 DenormalMode DenormMode = MF->getDenormalMode(FPType); in computeKnownFPClass()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DMachineFunction.h879 DenormalMode getDenormalMode(const fltSemantics &FPType) const;
/freebsd/contrib/llvm-project/llvm/lib/Transforms/InstCombine/
H A DInstCombineCompares.cpp1908 Type *FPType = V->getType()->getScalarType(); in foldICmpAndConstConst() local
1909 if (FPType->isIEEELikeFPTy() && (C1.isZero() || C1 == *C2)) { in foldICmpAndConstConst()
1911 APFloat::getInf(FPType->getFltSemantics()).bitcastToAPInt(); in foldICmpAndConstConst()
3481 Type *FPType = SrcType->getScalarType(); in foldICmpBitCast() local
3484 Cmp.isEquality() && FPType->isIEEELikeFPTy()) { in foldICmpBitCast()
3485 FPClassTest Mask = APFloat(FPType->getFltSemantics(), *C).classify(); in foldICmpBitCast()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DValueTracking.cpp1312 Type *FPType = V->getType()->getScalarType(); in computeKnownBitsFromOperator() local
1327 APFloat::getInf(FPType->getFltSemantics()).bitcastToAPInt())); in computeKnownBitsFromOperator()
1331 APInt::getZero(FPType->getScalarSizeInBits()))); in computeKnownBitsFromOperator()
5081 const fltSemantics &FPType = in computeKnownFPClass() local
5083 DenormalMode DenormMode = F->getDenormalMode(FPType); in computeKnownFPClass()