LLVM 20.0.0git
Static Public Member Functions | List of all members
llvm::AMDGPU::EncodingFields< Fields > Struct Template Reference

#include "Target/AMDGPU/Utils/AMDGPUBaseInfo.h"

Static Public Member Functions

static constexpr uint64_t encode (Fields... Values)
 
static std::tuple< typename Fields::ValueType... > decode (uint64_t Encoded)
 

Detailed Description

template<typename... Fields>
struct llvm::AMDGPU::EncodingFields< Fields >

Definition at line 368 of file AMDGPUBaseInfo.h.

Member Function Documentation

◆ decode()

template<typename... Fields>
static std::tuple< typename Fields::ValueType... > llvm::AMDGPU::EncodingFields< Fields >::decode ( uint64_t  Encoded)
inlinestatic

Definition at line 373 of file AMDGPUBaseInfo.h.

References llvm::maxUIntN().

Referenced by llvm::SITargetLowering::EmitInstrWithCustomInserter(), and getHWReg().

◆ encode()

template<typename... Fields>
static constexpr uint64_t llvm::AMDGPU::EncodingFields< Fields >::encode ( Fields...  Values)
inlinestaticconstexpr

The documentation for this struct was generated from the following file: