/external/llvm-project/llvm/unittests/ADT/ |
D | FloatingPointMode.cpp | 17 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/ |
D | FloatingPointMode.h | 67 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/ |
D | FloatingPointMode.h | 22 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/ |
D | TargetOptions.h | 143 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/ |
D | CommandFlags.cpp | 62 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/ |
D | CodeGenOptions.h | 175 llvm::DenormalMode FPDenormalMode = llvm::DenormalMode::getIEEE(); 178 llvm::DenormalMode FP32DenormalMode = llvm::DenormalMode::getIEEE();
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Target/ |
D | TargetOptions.h | 58 enum DenormalMode { enum 303 FPDenormal::DenormalMode FPDenormalMode = FPDenormal::IEEE;
|
/external/llvm-project/llvm/include/llvm/CodeGen/ |
D | CommandFlags.h | 65 DenormalMode::DenormalModeKind getDenormalFPMath(); 66 DenormalMode::DenormalModeKind getDenormalFP32Math();
|
D | MachineFunction.h | 49 struct DenormalMode; 661 DenormalMode getDenormalMode(const fltSemantics &FPType) const;
|
/external/llvm-project/clang/lib/Driver/ToolChains/ |
D | PS4CPU.h | 97 llvm::DenormalMode getDefaultDenormalModeForType( in getDefaultDenormalModeForType() 101 return llvm::DenormalMode::getPreserveSign(); in getDefaultDenormalModeForType()
|
D | AMDGPU.cpp | 471 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()
|
D | Linux.h | 53 llvm::DenormalMode getDefaultDenormalModeForType(
|
D | AMDGPU.h | 79 llvm::DenormalMode getDefaultDenormalModeForType(
|
D | Linux.cpp | 892 llvm::DenormalMode 903 return llvm::DenormalMode::getPreserveSign(); in getDefaultDenormalModeForType() 904 return llvm::DenormalMode::getIEEE(); in getDefaultDenormalModeForType() 907 return llvm::DenormalMode::getIEEE(); in getDefaultDenormalModeForType()
|
D | Cuda.h | 150 llvm::DenormalMode getDefaultDenormalModeForType(
|
D | Cuda.cpp | 803 llvm::DenormalMode CudaToolChain::getDefaultDenormalModeForType( in getDefaultDenormalModeForType() 811 return llvm::DenormalMode::getPreserveSign(); in getDefaultDenormalModeForType() 815 return llvm::DenormalMode::getIEEE(); in getDefaultDenormalModeForType()
|
D | Clang.cpp | 2528 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/ |
D | AMDGPUBaseInfo.cpp | 1580 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/ |
D | NVPTXTargetTransformInfo.cpp | 322 DenormalMode Mode = parseDenormalFPAttribute(Attr); in simplifyNvvmIntrinsic() 323 bool FtzEnabled = Mode.Output != DenormalMode::IEEE; in simplifyNvvmIntrinsic()
|
/external/llvm-project/clang/include/clang/Driver/ |
D | ToolChain.h | 665 virtual llvm::DenormalMode getDefaultDenormalModeForType( 668 return llvm::DenormalMode::getIEEE();
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/ |
D | MachineFunction.cpp | 273 DenormalMode MachineFunction::getDenormalMode(const fltSemantics &FPType) const { in getDenormalMode() 283 return DenormalMode::Invalid; in getDenormalMode()
|
/external/llvm-project/llvm/include/llvm/IR/ |
D | Function.h | 687 DenormalMode getDenormalMode(const fltSemantics &FPType) const;
|
/external/llvm-project/llvm/lib/Target/ARM/ |
D | ARMAsmPrinter.cpp | 601 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/ |
D | MachineFunction.h | 580 DenormalMode getDenormalMode(const fltSemantics &FPType) const;
|
/external/llvm-project/llvm/lib/Target/PowerPC/ |
D | PPCISelLowering.h | 1292 const DenormalMode &Mode) const override;
|