LLVM 20.0.0git
Functions
SIProgramInfo.cpp File Reference

The SIProgramInfo tracks resource usage and hardware flags for kernels and entry functions. More...

#include "SIProgramInfo.h"
#include "GCNSubtarget.h"
#include "SIDefines.h"
#include "Utils/AMDGPUBaseInfo.h"
#include "llvm/MC/MCExpr.h"

Go to the source code of this file.

Functions

static uint64_t getComputePGMRSrc1Reg (const SIProgramInfo &ProgInfo, const GCNSubtarget &ST)
 
static uint64_t getPGMRSrc1Reg (const SIProgramInfo &ProgInfo, CallingConv::ID CC, const GCNSubtarget &ST)
 
static uint64_t getComputePGMRSrc2Reg (const SIProgramInfo &ProgInfo)
 
static const MCExprMaskShift (const MCExpr *Val, uint32_t Mask, uint32_t Shift, MCContext &Ctx)
 

Detailed Description

The SIProgramInfo tracks resource usage and hardware flags for kernels and entry functions.

Definition in file SIProgramInfo.cpp.

Function Documentation

◆ getComputePGMRSrc1Reg()

static uint64_t getComputePGMRSrc1Reg ( const SIProgramInfo ProgInfo,
const GCNSubtarget ST 
)
static

◆ getComputePGMRSrc2Reg()

static uint64_t getComputePGMRSrc2Reg ( const SIProgramInfo ProgInfo)
static

◆ getPGMRSrc1Reg()

static uint64_t getPGMRSrc1Reg ( const SIProgramInfo ProgInfo,
CallingConv::ID  CC,
const GCNSubtarget ST 
)
static

◆ MaskShift()

static const MCExpr * MaskShift ( const MCExpr Val,
uint32_t  Mask,
uint32_t  Shift,
MCContext Ctx 
)
static