LLVM API Documentation
#include "AMDGPUAsmPrinter.h"
#include "AMDGPU.h"
#include "AMDGPUSubtarget.h"
#include "R600Defines.h"
#include "R600MachineFunctionInfo.h"
#include "R600RegisterInfo.h"
#include "SIDefines.h"
#include "SIMachineFunctionInfo.h"
#include "SIRegisterInfo.h"
#include "llvm/CodeGen/MachineFrameInfo.h"
#include "llvm/MC/MCContext.h"
#include "llvm/MC/MCSectionELF.h"
#include "llvm/MC/MCStreamer.h"
#include "llvm/Support/ELF.h"
#include "llvm/Support/MathExtras.h"
#include "llvm/Support/TargetRegistry.h"
#include "llvm/Target/TargetLoweringObjectFile.h"
Go to the source code of this file.
Functions | |
static uint32_t | getFPMode (const MachineFunction &F) |
static AsmPrinter * | createAMDGPUAsmPrinterPass (TargetMachine &tm, MCStreamer &Streamer) |
void | LLVMInitializeR600AsmPrinter () |
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 AsmPrinter* createAMDGPUAsmPrinterPass | ( | TargetMachine & | tm, |
MCStreamer & | Streamer | ||
) | [static] |
Definition at line 75 of file AMDGPUAsmPrinter.cpp.
Referenced by LLVMInitializeR600AsmPrinter().
static uint32_t getFPMode | ( | const MachineFunction & | F | ) | [static] |
Definition at line 59 of file AMDGPUAsmPrinter.cpp.
References FP_DENORM_FLUSH_IN_FLUSH_OUT, FP_DENORM_FLUSH_NONE, FP_DENORM_MODE_DP, FP_DENORM_MODE_SP, FP_ROUND_MODE_DP, FP_ROUND_MODE_SP, FP_ROUND_ROUND_TO_NEAREST, llvm::TargetMachine::getSubtarget(), llvm::MachineFunction::getTarget(), llvm::AMDGPUSubtarget::hasFP32Denormals(), llvm::AMDGPUSubtarget::hasFP64Denormals(), and llvm::AArch64DB::ST.
void LLVMInitializeR600AsmPrinter | ( | ) |
Definition at line 80 of file AMDGPUAsmPrinter.cpp.
References createAMDGPUAsmPrinterPass(), llvm::TargetRegistry::RegisterAsmPrinter(), and llvm::TheAMDGPUTarget.