LLVM
8.0.1
|
#include "llvm/CodeGen/GlobalISel/LegalizerHelper.h"
#include "llvm/CodeGen/GlobalISel/CallLowering.h"
#include "llvm/CodeGen/GlobalISel/GISelChangeObserver.h"
#include "llvm/CodeGen/GlobalISel/LegalizerInfo.h"
#include "llvm/CodeGen/MachineRegisterInfo.h"
#include "llvm/CodeGen/TargetInstrInfo.h"
#include "llvm/CodeGen/TargetLowering.h"
#include "llvm/CodeGen/TargetSubtargetInfo.h"
#include "llvm/Support/Debug.h"
#include "llvm/Support/MathExtras.h"
#include "llvm/Support/raw_ostream.h"
Go to the source code of this file.
Macros | |
#define | DEBUG_TYPE "legalizer" |
Functions | |
static RTLIB::Libcall | getRTLibDesc (unsigned Opcode, unsigned Size) |
static LegalizerHelper::LegalizeResult | simpleLibcall (MachineInstr &MI, MachineIRBuilder &MIRBuilder, unsigned Size, Type *OpType) |
static RTLIB::Libcall | getConvRTLibDesc (unsigned Opcode, Type *ToType, Type *FromType) |
static LegalizerHelper::LegalizeResult | conversionLibcall (MachineInstr &MI, MachineIRBuilder &MIRBuilder, Type *ToType, Type *FromType) |
#define DEBUG_TYPE "legalizer" |
Definition at line 28 of file LegalizerHelper.cpp.
|
static |
Definition at line 182 of file LegalizerHelper.cpp.
References llvm::createLibcall(), getConvRTLibDesc(), llvm::MachineInstr::getOpcode(), llvm::MachineInstr::getOperand(), and llvm::MachineOperand::getReg().
Referenced by llvm::LegalizerHelper::libcall().
|
static |
Definition at line 159 of file LegalizerHelper.cpp.
References llvm::RTLIB::getFPEXT(), llvm::RTLIB::getFPROUND(), llvm::RTLIB::getFPTOSINT(), llvm::RTLIB::getFPTOUINT(), llvm::RTLIB::getSINTTOFP(), llvm::RTLIB::getUINTTOFP(), llvm::MVT::getVT(), and llvm_unreachable.
Referenced by conversionLibcall().
|
static |
Definition at line 90 of file LegalizerHelper.cpp.
References assert(), and llvm_unreachable.
Referenced by simpleLibcall().
|
static |
Definition at line 148 of file LegalizerHelper.cpp.
References llvm::AMDGPU::HSAMD::Kernel::Key::Args, llvm::createLibcall(), llvm::MachineInstr::getNumOperands(), llvm::MachineInstr::getOpcode(), llvm::MachineInstr::getOperand(), llvm::MachineOperand::getReg(), getRTLibDesc(), and Size.
Referenced by llvm::LegalizerHelper::libcall().