LLVM
8.0.1
|
#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/ErrorHandling.h"
#include "llvm/Support/MathExtras.h"
#include "llvm/Support/raw_ostream.h"
#include <cassert>
#include "AMDGPUGenAsmWriter.inc"
#include "R600GenAsmWriter.inc"
Go to the source code of this file.
Functions | |
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) |
|
static |
Definition at line 816 of file AMDGPUInstPrinter.cpp.
References llvm::VGPRIndexMode::DST_ENABLE, llvm::SISrcMods::DST_OP_SEL, llvm::MCOperand::getImm(), llvm::AMDGPU::getNamedOperandIdx(), llvm::MCInst::getOpcode(), llvm::MCInst::getOperand(), I, llvm::SIInstrFlags::IsPacked, llvm::Mod, Name, llvm::SISrcMods::NEG, llvm::SISrcMods::NEG_HI, llvm::SISrcMods::OP_SEL_0, llvm::SISrcMods::OP_SEL_1, printOperand(), llvm::VGPRIndexMode::SRC0_ENABLE, llvm::VGPRIndexMode::SRC1_ENABLE, llvm::VGPRIndexMode::SRC2_ENABLE, and llvm::SIInstrFlags::VOP3_OPSEL.
|
static |
Definition at line 1049 of file AMDGPUInstPrinter.cpp.
References llvm::AMDGPU::Swizzle::BITMASK_MASK, llvm::AMDGPU::Swizzle::BITMASK_WIDTH, and llvm::BitmaskEnumDetail::Mask().
Referenced by llvm::AMDGPUInstPrinter::printSwizzle().