|
LLVM
5.0.0
|
#include "llvm/CodeGen/GlobalISel/LegalizerHelper.h"#include "llvm/CodeGen/GlobalISel/CallLowering.h"#include "llvm/CodeGen/GlobalISel/LegalizerInfo.h"#include "llvm/CodeGen/MachineRegisterInfo.h"#include "llvm/Support/Debug.h"#include "llvm/Support/raw_ostream.h"#include "llvm/Target/TargetLowering.h"#include "llvm/Target/TargetSubtargetInfo.h"#include <sstream>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) |
| #define DEBUG_TYPE "legalizer" |
Definition at line 27 of file LegalizerHelper.cpp.
|
static |
Definition at line 77 of file LegalizerHelper.cpp.
References llvm::RTLIB::ADD_F32, llvm::RTLIB::ADD_F64, assert(), llvm_unreachable(), llvm::RTLIB::POW_F32, llvm::RTLIB::POW_F64, llvm::RTLIB::REM_F32, llvm::RTLIB::REM_F64, llvm::RTLIB::SDIV_I32, llvm::RTLIB::SREM_I32, llvm::RTLIB::UDIV_I32, and llvm::RTLIB::UREM_I32.
Referenced by simpleLibcall().
|
static |
Definition at line 119 of file LegalizerHelper.cpp.
References llvm::createLibcall(), llvm::MachineInstr::getOpcode(), llvm::MachineInstr::getOperand(), llvm::MachineOperand::getReg(), getRTLibDesc(), and llvm::AMDGPU::CodeObject::Kernel::Arg::Key::Size.
Referenced by llvm::LegalizerHelper::libcall().
1.8.6