Home
last modified time | relevance | path

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

12

/external/llvm-project/llvm/unittests/ADT/
DFloatingPointMode.cpp17 EXPECT_EQ(DenormalMode::IEEE, parseDenormalFPAttributeComponent("ieee")); in TEST()
18 EXPECT_EQ(DenormalMode::IEEE, parseDenormalFPAttributeComponent("")); in TEST()
19 EXPECT_EQ(DenormalMode::PreserveSign, in TEST()
21 EXPECT_EQ(DenormalMode::PositiveZero, in TEST()
23 EXPECT_EQ(DenormalMode::Invalid, parseDenormalFPAttributeComponent("foo")); in TEST()
27 EXPECT_EQ("ieee", denormalModeKindName(DenormalMode::IEEE)); in TEST()
28 EXPECT_EQ("preserve-sign", denormalModeKindName(DenormalMode::PreserveSign)); in TEST()
29 EXPECT_EQ("positive-zero", denormalModeKindName(DenormalMode::PositiveZero)); in TEST()
30 EXPECT_EQ("", denormalModeKindName(DenormalMode::Invalid)); in TEST()
34 EXPECT_EQ(DenormalMode(DenormalMode::IEEE, DenormalMode::IEEE), in TEST()
[all …]
/external/llvm-project/llvm/include/llvm/ADT/
DFloatingPointMode.h67 struct DenormalMode { struct
92 constexpr DenormalMode() = default;
93 constexpr DenormalMode(DenormalModeKind Out, DenormalModeKind In) : in DenormalMode() function
97 static constexpr DenormalMode getInvalid() { in getInvalid() argument
98 return DenormalMode(DenormalModeKind::Invalid, DenormalModeKind::Invalid); in getInvalid()
101 static constexpr DenormalMode getIEEE() { in getIEEE() argument
102 return DenormalMode(DenormalModeKind::IEEE, DenormalModeKind::IEEE); in getIEEE()
105 static constexpr DenormalMode getPreserveSign() { in getPreserveSign() argument
106 return DenormalMode(DenormalModeKind::PreserveSign, in getPreserveSign()
110 static constexpr DenormalMode getPositiveZero() { in getPositiveZero() argument
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/
DFloatingPointMode.h22 enum class DenormalMode { enum
36 inline DenormalMode parseDenormalFPAttribute(StringRef Str) { in parseDenormalFPAttribute()
38 return StringSwitch<DenormalMode>(Str) in parseDenormalFPAttribute()
39 .Cases("", "ieee", DenormalMode::IEEE) in parseDenormalFPAttribute()
40 .Case("preserve-sign", DenormalMode::PreserveSign) in parseDenormalFPAttribute()
41 .Case("positive-zero", DenormalMode::PositiveZero) in parseDenormalFPAttribute()
42 .Default(DenormalMode::Invalid); in parseDenormalFPAttribute()
47 inline StringRef denormalModeName(DenormalMode Mode) { in denormalModeName()
49 case DenormalMode::IEEE: in denormalModeName()
51 case DenormalMode::PreserveSign: in denormalModeName()
[all …]
/external/llvm-project/llvm/include/llvm/Target/
DTargetOptions.h143 FPDenormalMode(DenormalMode::IEEE, DenormalMode::IEEE) {} in TargetOptions()
374 DenormalMode FPDenormalMode;
378 DenormalMode FP32DenormalMode;
381 void setFPDenormalMode(DenormalMode Mode) { in setFPDenormalMode()
385 void setFP32DenormalMode(DenormalMode Mode) { in setFP32DenormalMode()
389 DenormalMode getRawFPDenormalMode() const { in getRawFPDenormalMode()
393 DenormalMode getRawFP32DenormalMode() const { in getRawFP32DenormalMode()
397 DenormalMode getDenormalMode(const fltSemantics &FPType) const;
/external/llvm-project/llvm/lib/CodeGen/
DCommandFlags.cpp62 CGOPT(DenormalMode::DenormalModeKind, DenormalFPMath) in CGOPT()
63 CGOPT(DenormalMode::DenormalModeKind, DenormalFP32Math) in CGOPT()
230 cl::values(clEnumValN(DenormalMode::IEEE, "ieee", in CGOPT()
232 clEnumValN(DenormalMode::PreserveSign, "preserve-sign", in CGOPT()
235 clEnumValN(DenormalMode::PositiveZero, "positive-zero", in CGOPT()
239 static cl::opt<DenormalMode::DenormalModeKind> DenormalFPMath( in CGOPT()
242 cl::init(DenormalMode::IEEE), in CGOPT()
246 static cl::opt<DenormalMode::DenormalModeKind> DenormalFP32Math( in CGOPT()
249 cl::init(DenormalMode::Invalid), in CGOPT()
522 DenormalMode::DenormalModeKind DenormKind = getDenormalFPMath(); in InitTargetOptionsFromCodeGenFlags()
[all …]
/external/llvm-project/clang/include/clang/Basic/
DCodeGenOptions.h175 llvm::DenormalMode FPDenormalMode = llvm::DenormalMode::getIEEE();
178 llvm::DenormalMode FP32DenormalMode = llvm::DenormalMode::getIEEE();
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Target/
DTargetOptions.h58 enum DenormalMode { enum
303 FPDenormal::DenormalMode FPDenormalMode = FPDenormal::IEEE;
/external/llvm-project/llvm/include/llvm/CodeGen/
DCommandFlags.h65 DenormalMode::DenormalModeKind getDenormalFPMath();
66 DenormalMode::DenormalModeKind getDenormalFP32Math();
DMachineFunction.h49 struct DenormalMode;
661 DenormalMode getDenormalMode(const fltSemantics &FPType) const;
/external/llvm-project/clang/lib/Driver/ToolChains/
DPS4CPU.h97 llvm::DenormalMode getDefaultDenormalModeForType( in getDefaultDenormalModeForType()
101 return llvm::DenormalMode::getPreserveSign(); in getDefaultDenormalModeForType()
DAMDGPU.cpp471 llvm::DenormalMode AMDGPUToolChain::getDefaultDenormalModeForType( in getDefaultDenormalModeForType()
476 return llvm::DenormalMode::getIEEE(); in getDefaultDenormalModeForType()
486 return llvm::DenormalMode::getPreserveSign(); in getDefaultDenormalModeForType()
488 return llvm::DenormalMode::getIEEE(); in getDefaultDenormalModeForType()
501 return DAZ ? llvm::DenormalMode::getPreserveSign() : in getDefaultDenormalModeForType()
502 llvm::DenormalMode::getIEEE(); in getDefaultDenormalModeForType()
DLinux.h53 llvm::DenormalMode getDefaultDenormalModeForType(
DAMDGPU.h79 llvm::DenormalMode getDefaultDenormalModeForType(
DLinux.cpp892 llvm::DenormalMode
903 return llvm::DenormalMode::getPreserveSign(); in getDefaultDenormalModeForType()
904 return llvm::DenormalMode::getIEEE(); in getDefaultDenormalModeForType()
907 return llvm::DenormalMode::getIEEE(); in getDefaultDenormalModeForType()
DCuda.h150 llvm::DenormalMode getDefaultDenormalModeForType(
DCuda.cpp803 llvm::DenormalMode CudaToolChain::getDefaultDenormalModeForType( in getDefaultDenormalModeForType()
811 return llvm::DenormalMode::getPreserveSign(); in getDefaultDenormalModeForType()
815 return llvm::DenormalMode::getIEEE(); in getDefaultDenormalModeForType()
DClang.cpp2528 const llvm::DenormalMode DefaultDenormalFPMath = in RenderFloatingPointOptions()
2530 const llvm::DenormalMode DefaultDenormalFP32Math = in RenderFloatingPointOptions()
2533 llvm::DenormalMode DenormalFPMath = DefaultDenormalFPMath; in RenderFloatingPointOptions()
2534 llvm::DenormalMode DenormalFP32Math = DefaultDenormalFP32Math; in RenderFloatingPointOptions()
2561 DenormalFPMath = llvm::DenormalMode::getIEEE(); in RenderFloatingPointOptions()
2565 DenormalFP32Math = llvm::DenormalMode::getIEEE(); in RenderFloatingPointOptions()
2743 DenormalFPMath = llvm::DenormalMode::getIEEE(); in RenderFloatingPointOptions()
2744 DenormalFP32Math = llvm::DenormalMode::getIEEE(); in RenderFloatingPointOptions()
2778 DenormalFP32Math = llvm::DenormalMode::getIEEE(); in RenderFloatingPointOptions()
2789 DenormalFPMath == llvm::DenormalMode::getIEEE() && in RenderFloatingPointOptions()
[all …]
/external/llvm-project/llvm/lib/Target/AMDGPU/Utils/
DAMDGPUBaseInfo.cpp1580 DenormalMode DenormMode = parseDenormalFPAttribute(DenormF32Attr); in SIModeRegisterDefaults()
1581 FP32InputDenormals = DenormMode.Input == DenormalMode::IEEE; in SIModeRegisterDefaults()
1582 FP32OutputDenormals = DenormMode.Output == DenormalMode::IEEE; in SIModeRegisterDefaults()
1587 DenormalMode DenormMode = parseDenormalFPAttribute(DenormAttr); in SIModeRegisterDefaults()
1590 FP32InputDenormals = DenormMode.Input == DenormalMode::IEEE; in SIModeRegisterDefaults()
1591 FP32OutputDenormals = DenormMode.Output == DenormalMode::IEEE; in SIModeRegisterDefaults()
1594 FP64FP16InputDenormals = DenormMode.Input == DenormalMode::IEEE; in SIModeRegisterDefaults()
1595 FP64FP16OutputDenormals = DenormMode.Output == DenormalMode::IEEE; in SIModeRegisterDefaults()
/external/llvm-project/llvm/lib/Target/NVPTX/
DNVPTXTargetTransformInfo.cpp322 DenormalMode Mode = parseDenormalFPAttribute(Attr); in simplifyNvvmIntrinsic()
323 bool FtzEnabled = Mode.Output != DenormalMode::IEEE; in simplifyNvvmIntrinsic()
/external/llvm-project/clang/include/clang/Driver/
DToolChain.h665 virtual llvm::DenormalMode getDefaultDenormalModeForType(
668 return llvm::DenormalMode::getIEEE();
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DMachineFunction.cpp273 DenormalMode MachineFunction::getDenormalMode(const fltSemantics &FPType) const { in getDenormalMode()
283 return DenormalMode::Invalid; in getDenormalMode()
/external/llvm-project/llvm/include/llvm/IR/
DFunction.h687 DenormalMode getDenormalMode(const fltSemantics &FPType) const;
/external/llvm-project/llvm/lib/Target/ARM/
DARMAsmPrinter.cpp601 DenormalMode Value) { in checkDenormalAttributeConsistency()
666 DenormalMode::getPreserveSign())) in emitAttributes()
671 DenormalMode::getPositiveZero())) in emitAttributes()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DMachineFunction.h580 DenormalMode getDenormalMode(const fltSemantics &FPType) const;
/external/llvm-project/llvm/lib/Target/PowerPC/
DPPCISelLowering.h1292 const DenormalMode &Mode) const override;

12