LLVM 20.0.0git
Functions
AMDGPUInstPrinter.cpp File Reference
#include "AMDGPUInstPrinter.h"
#include "MCTargetDesc/AMDGPUMCTargetDesc.h"
#include "SIDefines.h"
#include "Utils/AMDGPUAsmUtils.h"
#include "Utils/AMDGPUBaseInfo.h"
#include "llvm/MC/MCExpr.h"
#include "llvm/MC/MCInst.h"
#include "llvm/MC/MCInstrDesc.h"
#include "llvm/MC/MCInstrInfo.h"
#include "llvm/MC/MCRegisterInfo.h"
#include "llvm/MC/MCSubtargetInfo.h"
#include "llvm/Support/CommandLine.h"
#include "llvm/TargetParser/TargetParser.h"
#include "AMDGPUGenAsmWriter.inc"

Go to the source code of this file.

Functions

static bool printImmediateFP16 (uint32_t Imm, const MCSubtargetInfo &STI, raw_ostream &O)
 
static bool printImmediateBFloat16 (uint32_t Imm, const MCSubtargetInfo &STI, raw_ostream &O)
 
static bool allOpsDefaultValue (const int *Ops, int NumOps, int Mod, bool IsPacked, bool HasDstSel)
 
static void printSwizzleBitmask (const uint16_t AndMask, const uint16_t OrMask, const uint16_t XorMask, raw_ostream &O)
 

Function Documentation

◆ allOpsDefaultValue()

static bool allOpsDefaultValue ( const int *  Ops,
int  NumOps,
int  Mod,
bool  IsPacked,
bool  HasDstSel 
)
static

◆ printImmediateBFloat16()

static bool printImmediateBFloat16 ( uint32_t  Imm,
const MCSubtargetInfo STI,
raw_ostream O 
)
static

Definition at line 446 of file AMDGPUInstPrinter.cpp.

References llvm::MCSubtargetInfo::hasFeature().

◆ printImmediateFP16()

static bool printImmediateFP16 ( uint32_t  Imm,
const MCSubtargetInfo STI,
raw_ostream O 
)
static

Definition at line 420 of file AMDGPUInstPrinter.cpp.

References llvm::MCSubtargetInfo::hasFeature().

◆ printSwizzleBitmask()

static void printSwizzleBitmask ( const uint16_t  AndMask,
const uint16_t  OrMask,
const uint16_t  XorMask,
raw_ostream O 
)
static

Definition at line 1461 of file AMDGPUInstPrinter.cpp.

Referenced by llvm::AMDGPUInstPrinter::printSwizzle().