LLVM  5.0.0
Macros | Functions
AMDGPUInstructionSelector.cpp File Reference

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"
Include dependency graph for AMDGPUInstructionSelector.cpp:

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)
 

Detailed Description

This file implements the targeting of the InstructionSelector class for AMDGPU.

Todo:
This should be generated by TableGen.

Definition in file AMDGPUInstructionSelector.cpp.

Macro Definition Documentation

#define DEBUG_TYPE   "amdgpu-isel"

Definition at line 29 of file AMDGPUInstructionSelector.cpp.

Function Documentation

static unsigned getSmrdOpcode ( unsigned  BaseOpcode,
unsigned  LoadSize 
)
static

Definition at line 235 of file AMDGPUInstructionSelector.cpp.

References llvm_unreachable().

static bool isConstant ( const MachineInstr &  MI)
static
static bool isInstrUniform ( const MachineInstr &  MI)
static