|
LLVM
10.0.0
|
#include "Target/AMDGPU/Utils/AMDGPUBaseInfo.h"
Public Member Functions | |
| SIModeRegisterDefaults () | |
| SIModeRegisterDefaults (const Function &F, const GCNSubtarget &ST) | |
| bool | operator== (const SIModeRegisterDefaults Other) const |
| bool | isInlineCompatible (SIModeRegisterDefaults CalleeMode) const |
Static Public Member Functions | |
| static SIModeRegisterDefaults | getDefaultForCallingConv (CallingConv::ID CC) |
| static bool | oneWayCompatible (bool CallerMode, bool CalleeMode) |
| Returns true if a flag is compatible if it's enabled in the callee, but disabled in the caller. More... | |
Public Attributes | |
| bool | IEEE: 1 |
| Floating point opcodes that support exception flag gathering quiet and propagate signaling NaN inputs per IEEE 754-2008. More... | |
| bool | DX10Clamp: 1 |
| Used by the vector ALU to force DX10-style treatment of NaNs: when set, clamp NaN to zero; otherwise, pass NaN through. More... | |
| bool | FP32Denormals: 1 |
| If this is set, neither input or output denormals are flushed for most f32 instructions. More... | |
| bool | FP64FP16Denormals: 1 |
| If this is set, neither input or output denormals are flushed for both f64 and f16/v2f16 instructions. More... | |
Definition at line 667 of file AMDGPUBaseInfo.h.
|
inline |
Definition at line 689 of file AMDGPUBaseInfo.h.
| llvm::AMDGPU::SIModeRegisterDefaults::SIModeRegisterDefaults | ( | const Function & | F, |
| const GCNSubtarget & | ST | ||
| ) |
|
inlinestatic |
Definition at line 698 of file AMDGPUBaseInfo.h.
References DX10Clamp, FP32Denormals, FP64FP16Denormals, IEEE, llvm::AMDGPU::isCompute(), and Mode.
|
inline |
Definition at line 723 of file AMDGPUBaseInfo.h.
References DX10Clamp, FP32Denormals, FP64FP16Denormals, and IEEE.
Referenced by llvm::GCNTTIImpl::areInlineCompatible().
|
inlinestatic |
Returns true if a flag is compatible if it's enabled in the callee, but disabled in the caller.
Definition at line 717 of file AMDGPUBaseInfo.h.
|
inline |
Definition at line 709 of file AMDGPUBaseInfo.h.
References DX10Clamp, FP32Denormals, FP64FP16Denormals, and IEEE.
| bool llvm::AMDGPU::SIModeRegisterDefaults::DX10Clamp |
Used by the vector ALU to force DX10-style treatment of NaNs: when set, clamp NaN to zero; otherwise, pass NaN through.
Definition at line 676 of file AMDGPUBaseInfo.h.
Referenced by getDefaultForCallingConv(), getSplatConstantFP(), hasAnyNonFlatUseOfReg(), isClampZeroToOne(), isInlineCompatible(), llvm::SITargetLowering::isKnownNeverNaNForTargetNode(), operator==(), llvm::GCNTargetMachine::parseMachineFunctionInfo(), and llvm::yaml::SIMode::SIMode().
| bool llvm::AMDGPU::SIModeRegisterDefaults::FP32Denormals |
If this is set, neither input or output denormals are flushed for most f32 instructions.
TODO: Split into separate input and output fields if necessary like the control bits really provide?
Definition at line 683 of file AMDGPUBaseInfo.h.
Referenced by getDefaultForCallingConv(), hasFP32Denormals(), isInlineCompatible(), llvm::AMDGPULegalizerInfo::legalizeFastUnsafeFDIV(), llvm::AMDGPULegalizerInfo::legalizeFMad(), llvm::AMDGPUTargetLowering::LowerDIVREM24(), llvm::AMDGPUTargetLowering::LowerUDIVREM64(), operator==(), llvm::GCNTargetMachine::parseMachineFunctionInfo(), and llvm::yaml::SIMode::SIMode().
| bool llvm::AMDGPU::SIModeRegisterDefaults::FP64FP16Denormals |
If this is set, neither input or output denormals are flushed for both f64 and f16/v2f16 instructions.
Definition at line 687 of file AMDGPUBaseInfo.h.
Referenced by getDefaultForCallingConv(), hasFP64FP16Denormals(), isInlineCompatible(), llvm::AMDGPULegalizerInfo::legalizeFMad(), operator==(), llvm::GCNTargetMachine::parseMachineFunctionInfo(), and llvm::yaml::SIMode::SIMode().
| bool llvm::AMDGPU::SIModeRegisterDefaults::IEEE |
Floating point opcodes that support exception flag gathering quiet and propagate signaling NaN inputs per IEEE 754-2008.
Min_dx10 and max_dx10 become IEEE 754- 2008 compliant due to signaling NaN propagation and quieting.
Definition at line 672 of file AMDGPUBaseInfo.h.
Referenced by getDefaultForCallingConv(), getOModValue(), hasAnyNonFlatUseOfReg(), isInlineCompatible(), llvm::AMDGPULegalizerInfo::legalizeMinNumMaxNum(), operator==(), llvm::GCNTargetMachine::parseMachineFunctionInfo(), llvm::SITargetLowering::shouldEmitPCReloc(), and llvm::yaml::SIMode::SIMode().
1.8.13