#include "AMDGPUMCKernelDescriptor.h"
#include "AMDGPUMCTargetDesc.h"
#include "Utils/AMDGPUBaseInfo.h"
#include "llvm/MC/MCContext.h"
#include "llvm/MC/MCExpr.h"
#include "llvm/MC/MCSubtargetInfo.h"
#include "llvm/TargetParser/TargetParser.h"
usingnamespacellvm;
usingnamespacellvm::AMDGPU;
MCKernelDescriptor
MCKernelDescriptor::getDefaultAmdhsaKernelDescriptor(const MCSubtargetInfo *STI,
MCContext &Ctx) { … }
void MCKernelDescriptor::bits_set(const MCExpr *&Dst, const MCExpr *Value,
uint32_t Shift, uint32_t Mask,
MCContext &Ctx) { … }
const MCExpr *MCKernelDescriptor::bits_get(const MCExpr *Src, uint32_t Shift,
uint32_t Mask, MCContext &Ctx) { … }