LLVM 20.0.0git
Classes | Namespaces | Enumerations | Functions | Variables
SIModeRegisterDefaults.h File Reference
#include "Utils/AMDGPUBaseInfo.h"
#include "llvm/ADT/FloatingPointMode.h"

Go to the source code of this file.

Classes

struct  llvm::SIModeRegisterDefaults
 

Namespaces

namespace  llvm
 This is an optimization pass for GlobalISel generic memory operations.
 
namespace  llvm::AMDGPU
 

Enumerations

enum  llvm::AMDGPU::AMDGPUFltRounds : int8_t {
  llvm::AMDGPU::TowardZero = static_cast<int8_t>(RoundingMode::TowardZero) , llvm::AMDGPU::NearestTiesToEven = static_cast<int8_t>(RoundingMode::NearestTiesToEven) , llvm::AMDGPU::TowardPositive = static_cast<int8_t>(RoundingMode::TowardPositive) , llvm::AMDGPU::TowardNegative = static_cast<int8_t>(RoundingMode::TowardNegative) ,
  llvm::AMDGPU::NearestTiesToAwayUnsupported , llvm::AMDGPU::Dynamic = static_cast<int8_t>(RoundingMode::Dynamic) , llvm::AMDGPU::NearestTiesToEvenF32_NearestTiesToEvenF64 = NearestTiesToEven , llvm::AMDGPU::NearestTiesToEvenF32_TowardPositiveF64 = 8 ,
  llvm::AMDGPU::NearestTiesToEvenF32_TowardNegativeF64 = 9 , llvm::AMDGPU::NearestTiesToEvenF32_TowardZeroF64 = 10 , llvm::AMDGPU::TowardPositiveF32_NearestTiesToEvenF64 = 11 , llvm::AMDGPU::TowardPositiveF32_TowardPositiveF64 = TowardPositive ,
  llvm::AMDGPU::TowardPositiveF32_TowardNegativeF64 = 12 , llvm::AMDGPU::TowardPositiveF32_TowardZeroF64 = 13 , llvm::AMDGPU::TowardNegativeF32_NearestTiesToEvenF64 = 14 , llvm::AMDGPU::TowardNegativeF32_TowardPositiveF64 = 15 ,
  llvm::AMDGPU::TowardNegativeF32_TowardNegativeF64 = TowardNegative , llvm::AMDGPU::TowardNegativeF32_TowardZeroF64 = 16 , llvm::AMDGPU::TowardZeroF32_NearestTiesToEvenF64 = 17 , llvm::AMDGPU::TowardZeroF32_TowardPositiveF64 = 18 ,
  llvm::AMDGPU::TowardZeroF32_TowardNegativeF64 = 19 , llvm::AMDGPU::TowardZeroF32_TowardZeroF64 = TowardZero , llvm::AMDGPU::Invalid = static_cast<int8_t>(RoundingMode::Invalid)
}
 Return values used for llvm.get.rounding. More...
 

Functions

uint32_t llvm::AMDGPU::decodeFltRoundToHWConversionTable (uint32_t FltRounds)
 Read the hardware rounding mode equivalent of a AMDGPUFltRounds value.
 

Variables

static constexpr uint32_t llvm::AMDGPU::ExtendedFltRoundOffset = 4
 Offset of nonstandard values for llvm.get.rounding results from the largest supported mode.
 
static constexpr uint32_t llvm::AMDGPU::F32FltRoundOffset = 0
 Offset in mode register of f32 rounding mode.
 
static constexpr uint32_t llvm::AMDGPU::F64FltRoundOffset = 2
 Offset in mode register of f64/f16 rounding mode.
 
const uint64_t llvm::AMDGPU::FltRoundConversionTable
 
const uint64_t llvm::AMDGPU::FltRoundToHWConversionTable