LLVM 20.0.0git
|
Code to lower AMDGPU MachineInstrs to their corresponding MCInst. More...
#include "AMDGPUMCInstLower.h"
#include "AMDGPU.h"
#include "AMDGPUAsmPrinter.h"
#include "AMDGPUMachineFunction.h"
#include "AMDGPUTargetMachine.h"
#include "MCTargetDesc/AMDGPUInstPrinter.h"
#include "MCTargetDesc/AMDGPUMCTargetDesc.h"
#include "llvm/CodeGen/MachineBasicBlock.h"
#include "llvm/CodeGen/MachineInstr.h"
#include "llvm/IR/Constants.h"
#include "llvm/IR/Function.h"
#include "llvm/IR/GlobalVariable.h"
#include "llvm/MC/MCCodeEmitter.h"
#include "llvm/MC/MCContext.h"
#include "llvm/MC/MCExpr.h"
#include "llvm/MC/MCInst.h"
#include "llvm/MC/MCObjectStreamer.h"
#include "llvm/MC/MCStreamer.h"
#include "llvm/Support/ErrorHandling.h"
#include "llvm/Support/Format.h"
#include <algorithm>
#include "AMDGPUGenMCPseudoLowering.inc"
Go to the source code of this file.
Functions | |
static MCSymbolRefExpr::VariantKind | getVariantKind (unsigned MOFlags) |
Code to lower AMDGPU MachineInstrs to their corresponding MCInst.
Definition in file AMDGPUMCInstLower.cpp.
|
static |
Definition at line 46 of file AMDGPUMCInstLower.cpp.
References llvm::SIInstrInfo::MO_ABS32_HI, llvm::SIInstrInfo::MO_ABS32_LO, llvm::SIInstrInfo::MO_GOTPCREL, llvm::SIInstrInfo::MO_GOTPCREL32_HI, llvm::SIInstrInfo::MO_GOTPCREL32_LO, llvm::SIInstrInfo::MO_REL32_HI, llvm::SIInstrInfo::MO_REL32_LO, llvm::MCSymbolRefExpr::VK_AMDGPU_ABS32_HI, llvm::MCSymbolRefExpr::VK_AMDGPU_ABS32_LO, llvm::MCSymbolRefExpr::VK_AMDGPU_GOTPCREL32_HI, llvm::MCSymbolRefExpr::VK_AMDGPU_GOTPCREL32_LO, llvm::MCSymbolRefExpr::VK_AMDGPU_REL32_HI, llvm::MCSymbolRefExpr::VK_AMDGPU_REL32_LO, llvm::MCSymbolRefExpr::VK_GOTPCREL, and llvm::MCSymbolRefExpr::VK_None.
Referenced by llvm::SystemZMCInstLower::lowerOperand(), and AMDGPUMCInstLower::lowerOperand().