|
LLVM
4.0.0
|
The SI code emitter produces machine code that can be executed directly on the GPU device. More...
#include "AMDGPU.h"#include "MCTargetDesc/AMDGPUFixupKinds.h"#include "MCTargetDesc/AMDGPUMCCodeEmitter.h"#include "MCTargetDesc/AMDGPUMCTargetDesc.h"#include "Utils/AMDGPUBaseInfo.h"#include "llvm/MC/MCCodeEmitter.h"#include "llvm/MC/MCContext.h"#include "llvm/MC/MCExpr.h"#include "llvm/MC/MCFixup.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/MC/MCSymbol.h"#include "llvm/Support/Casting.h"#include "llvm/Support/ErrorHandling.h"#include "llvm/Support/MathExtras.h"#include "llvm/Support/raw_ostream.h"#include <cassert>#include <cstdint>#include <cstdlib>Go to the source code of this file.
Functions | |
| template<typename IntTy > | |
| static uint32_t | getIntInlineImmEncoding (IntTy Imm) |
| static uint32_t | getLit16Encoding (uint16_t Val, const MCSubtargetInfo &STI) |
| static uint32_t | getLit32Encoding (uint32_t Val, const MCSubtargetInfo &STI) |
| static uint32_t | getLit64Encoding (uint64_t Val, const MCSubtargetInfo &STI) |
The SI code emitter produces machine code that can be executed directly on the GPU device.
Definition in file SIMCCodeEmitter.cpp.
|
static |
Definition at line 85 of file SIMCCodeEmitter.cpp.
References llvm::abs().
Referenced by getLit16Encoding(), getLit32Encoding(), and getLit64Encoding().
|
static |
Definition at line 95 of file SIMCCodeEmitter.cpp.
References llvm::MCSubtargetInfo::getFeatureBits(), and getIntInlineImmEncoding().
|
static |
Definition at line 131 of file SIMCCodeEmitter.cpp.
References llvm::FloatToBits(), llvm::MCSubtargetInfo::getFeatureBits(), and getIntInlineImmEncoding().
|
static |
Definition at line 167 of file SIMCCodeEmitter.cpp.
References llvm::DoubleToBits(), llvm::MCSubtargetInfo::getFeatureBits(), and getIntInlineImmEncoding().
1.8.6