LLVM  14.0.0git
Macros | Functions | Variables
AMDGPUISelDAGToDAG.cpp File Reference
#include "AMDGPUISelDAGToDAG.h"
#include "AMDGPU.h"
#include "AMDGPUTargetMachine.h"
#include "MCTargetDesc/R600MCTargetDesc.h"
#include "R600RegisterInfo.h"
#include "SIMachineFunctionInfo.h"
#include "llvm/Analysis/LegacyDivergenceAnalysis.h"
#include "llvm/Analysis/ValueTracking.h"
#include "llvm/CodeGen/FunctionLoweringInfo.h"
#include "llvm/CodeGen/SelectionDAG.h"
#include "llvm/CodeGen/SelectionDAGISel.h"
#include "llvm/CodeGen/SelectionDAGNodes.h"
#include "llvm/IR/IntrinsicsAMDGPU.h"
#include "llvm/InitializePasses.h"
Include dependency graph for AMDGPUISelDAGToDAG.cpp:

Go to the source code of this file.

Macros

#define DEBUG_TYPE   "isel"
 

Functions

 INITIALIZE_PASS_BEGIN (AMDGPUDAGToDAGISel, "amdgpu-isel", "AMDGPU DAG->DAG Pattern Instruction Selection", false, false) INITIALIZE_PASS_END(AMDGPUDAGToDAGISel
 
static bool getBaseWithOffsetUsingSplitOR (SelectionDAG &DAG, SDValue Addr, SDValue &N0, SDValue &N1)
 
static bool IsCopyFromSGPR (const SIRegisterInfo &TRI, SDValue Val)
 
static MemSDNodefindMemSDNode (SDNode *N)
 
static SDValue matchZExtFromI32 (SDValue Op)
 
static SDValue SelectSAddrFI (SelectionDAG *CurDAG, SDValue SAddr)
 
static unsigned gwsIntrinToOpcode (unsigned IntrID)
 

Variables

amdgpu isel
 
amdgpu AMDGPU DAG DAG Pattern Instruction Selection
 
amdgpu AMDGPU DAG DAG Pattern Instruction false
 

Detailed Description

Defines an instruction selector for the AMDGPU target.

Definition in file AMDGPUISelDAGToDAG.cpp.

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "isel"

Definition at line 34 of file AMDGPUISelDAGToDAG.cpp.

Function Documentation

◆ findMemSDNode()

static MemSDNode* findMemSDNode ( SDNode N)
static

Definition at line 1469 of file AMDGPUISelDAGToDAG.cpp.

References assert(), llvm_unreachable, and N.

◆ getBaseWithOffsetUsingSplitOR()

static bool getBaseWithOffsetUsingSplitOR ( SelectionDAG DAG,
SDValue  Addr,
SDValue N0,
SDValue N1 
)
static

◆ gwsIntrinToOpcode()

static unsigned gwsIntrinToOpcode ( unsigned  IntrID)
static

Definition at line 2286 of file AMDGPUISelDAGToDAG.cpp.

References llvm_unreachable.

◆ INITIALIZE_PASS_BEGIN()

INITIALIZE_PASS_BEGIN ( AMDGPUDAGToDAGISel  ,
"amdgpu-isel ,
"AMDGPU DAG->DAG Pattern Instruction Selection ,
false  ,
false   
)

◆ IsCopyFromSGPR()

static bool IsCopyFromSGPR ( const SIRegisterInfo TRI,
SDValue  Val 
)
static

◆ matchZExtFromI32()

static SDValue matchZExtFromI32 ( SDValue  Op)
static

◆ SelectSAddrFI()

static SDValue SelectSAddrFI ( SelectionDAG CurDAG,
SDValue  SAddr 
)
static

Variable Documentation

◆ false

amdgpu AMDGPU DAG DAG Pattern Instruction false

Definition at line 108 of file AMDGPUISelDAGToDAG.cpp.

◆ isel

amdgpu isel

Definition at line 107 of file AMDGPUISelDAGToDAG.cpp.

◆ Selection

amdgpu AMDGPU DAG DAG Pattern Instruction Selection