LLVM
15.0.0git
|
#include "AMDGPUAsmPrinter.h"
#include "AMDGPU.h"
#include "AMDGPUHSAMetadataStreamer.h"
#include "AMDGPUResourceUsageAnalysis.h"
#include "AMDKernelCodeT.h"
#include "GCNSubtarget.h"
#include "MCTargetDesc/AMDGPUInstPrinter.h"
#include "MCTargetDesc/AMDGPUTargetStreamer.h"
#include "R600AsmPrinter.h"
#include "SIMachineFunctionInfo.h"
#include "TargetInfo/AMDGPUTargetInfo.h"
#include "Utils/AMDGPUBaseInfo.h"
#include "llvm/BinaryFormat/ELF.h"
#include "llvm/CodeGen/MachineFrameInfo.h"
#include "llvm/IR/DiagnosticInfo.h"
#include "llvm/MC/MCAssembler.h"
#include "llvm/MC/MCContext.h"
#include "llvm/MC/MCSectionELF.h"
#include "llvm/MC/MCStreamer.h"
#include "llvm/MC/TargetRegistry.h"
#include "llvm/Support/AMDHSAKernelDescriptor.h"
#include "llvm/Support/TargetParser.h"
#include "llvm/Target/TargetLoweringObjectFile.h"
#include "llvm/Target/TargetMachine.h"
Go to the source code of this file.
Functions | |
static uint32_t | getFPMode (AMDGPU::SIModeRegisterDefaults Mode) |
static AsmPrinter * | createAMDGPUAsmPrinterPass (TargetMachine &tm, std::unique_ptr< MCStreamer > &&Streamer) |
void LLVM_EXTERNAL_VISIBILITY | LLVMInitializeAMDGPUAsmPrinter () |
static unsigned | getRsrcReg (CallingConv::ID CallConv) |
static amd_element_byte_size_t | getElementByteSizeValue (unsigned Size) |
The AMDGPUAsmPrinter is used to print both assembly string and also binary code. When passed an MCAsmStreamer it prints assembly and when passed an MCObjectStreamer it outputs binary code.
Definition in file AMDGPUAsmPrinter.cpp.
|
static |
Definition at line 74 of file AMDGPUAsmPrinter.cpp.
References move.
Referenced by LLVMInitializeAMDGPUAsmPrinter().
|
static |
Definition at line 1062 of file AMDGPUAsmPrinter.cpp.
References AMD_ELEMENT_16_BYTES, AMD_ELEMENT_4_BYTES, AMD_ELEMENT_8_BYTES, and llvm_unreachable.
|
static |
Definition at line 66 of file AMDGPUAsmPrinter.cpp.
References FP_DENORM_MODE_DP, FP_DENORM_MODE_SP, FP_ROUND_MODE_DP, FP_ROUND_MODE_SP, FP_ROUND_ROUND_TO_NEAREST, and Mode.
|
static |
Definition at line 938 of file AMDGPUAsmPrinter.cpp.
References llvm::CallingConv::AMDGPU_CS, llvm::CallingConv::AMDGPU_ES, llvm::CallingConv::AMDGPU_GS, llvm::CallingConv::AMDGPU_HS, llvm::CallingConv::AMDGPU_LS, llvm::CallingConv::AMDGPU_PS, llvm::CallingConv::AMDGPU_VS, LLVM_FALLTHROUGH, R_00B028_SPI_SHADER_PGM_RSRC1_PS, R_00B128_SPI_SHADER_PGM_RSRC1_VS, R_00B228_SPI_SHADER_PGM_RSRC1_GS, R_00B328_SPI_SHADER_PGM_RSRC1_ES, R_00B428_SPI_SHADER_PGM_RSRC1_HS, R_00B528_SPI_SHADER_PGM_RSRC1_LS, and R_00B848_COMPUTE_PGM_RSRC1.
void LLVM_EXTERNAL_VISIBILITY LLVMInitializeAMDGPUAsmPrinter | ( | ) |
Definition at line 79 of file AMDGPUAsmPrinter.cpp.
References createAMDGPUAsmPrinterPass(), llvm::createR600AsmPrinterPass(), llvm::getTheAMDGPUTarget(), llvm::getTheGCNTarget(), and llvm::TargetRegistry::RegisterAsmPrinter().