|
LLVM
5.0.0
|
This file implements the targeting of the InstructionSelector class for AMDGPU. More...
#include "AMDGPUInstructionSelector.h"#include "AMDGPUInstrInfo.h"#include "AMDGPURegisterBankInfo.h"#include "AMDGPURegisterInfo.h"#include "AMDGPUSubtarget.h"#include "llvm/CodeGen/MachineBasicBlock.h"#include "llvm/CodeGen/MachineFunction.h"#include "llvm/CodeGen/MachineInstr.h"#include "llvm/CodeGen/MachineInstrBuilder.h"#include "llvm/CodeGen/MachineRegisterInfo.h"#include "llvm/IR/Type.h"#include "llvm/Support/Debug.h"#include "llvm/Support/raw_ostream.h"Go to the source code of this file.
Macros | |
| #define | DEBUG_TYPE "amdgpu-isel" |
Functions | |
| static bool | isConstant (const MachineInstr &MI) |
| static bool | isInstrUniform (const MachineInstr &MI) |
| static unsigned | getSmrdOpcode (unsigned BaseOpcode, unsigned LoadSize) |
This file implements the targeting of the InstructionSelector class for AMDGPU.
Definition in file AMDGPUInstructionSelector.cpp.
| #define DEBUG_TYPE "amdgpu-isel" |
Definition at line 29 of file AMDGPUInstructionSelector.cpp.
Definition at line 235 of file AMDGPUInstructionSelector.cpp.
References llvm_unreachable().
|
static |
Definition at line 178 of file AMDGPUInstructionSelector.cpp.
References llvm::MachineInstr::getOpcode().
Referenced by cheapToScalarize(), isReadOnly(), and LLVMIsGlobalConstant().
|
static |
Definition at line 216 of file AMDGPUInstructionSelector.cpp.
References llvm::dyn_cast(), llvm::Instruction::getMetadata(), llvm::MachineMemOperand::getValue(), llvm::MachineInstr::hasOneMemOperand(), llvm::MachineInstr::memoperands_begin(), and Ptr.
1.8.6