LLVM  5.0.0
Namespaces | Functions
AMDGPUISelDAGToDAG.cpp File Reference

Defines an instruction selector for the AMDGPU target. More...

#include "AMDGPU.h"
#include "AMDGPUISelLowering.h"
#include "AMDGPUInstrInfo.h"
#include "AMDGPURegisterInfo.h"
#include "AMDGPUSubtarget.h"
#include "SIDefines.h"
#include "SIISelLowering.h"
#include "SIInstrInfo.h"
#include "SIMachineFunctionInfo.h"
#include "SIRegisterInfo.h"
#include "llvm/ADT/APInt.h"
#include "llvm/ADT/SmallVector.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/Analysis/ValueTracking.h"
#include "llvm/CodeGen/FunctionLoweringInfo.h"
#include "llvm/CodeGen/ISDOpcodes.h"
#include "llvm/CodeGen/MachineFunction.h"
#include "llvm/CodeGen/MachineRegisterInfo.h"
#include "llvm/CodeGen/MachineValueType.h"
#include "llvm/CodeGen/SelectionDAG.h"
#include "llvm/CodeGen/SelectionDAGISel.h"
#include "llvm/CodeGen/SelectionDAGNodes.h"
#include "llvm/CodeGen/ValueTypes.h"
#include "llvm/IR/BasicBlock.h"
#include "llvm/IR/Instruction.h"
#include "llvm/MC/MCInstrDesc.h"
#include "llvm/Support/Casting.h"
#include "llvm/Support/CodeGen.h"
#include "llvm/Support/ErrorHandling.h"
#include "llvm/Support/MathExtras.h"
#include <cassert>
#include <cstdint>
#include <new>
#include <vector>
#include "AMDGPUGenDAGISel.inc"
Include dependency graph for AMDGPUISelDAGToDAG.cpp:

Go to the source code of this file.

Namespaces

 llvm
 Compute iterated dominance frontiers using a linear time algorithm.
 

Functions

static unsigned selectSGPRVectorRegClassID (unsigned NumVectorElts)
 
static bool getConstantValue (SDValue N, uint32_t &Out)
 
static bool isLegalMUBUFImmOffset (unsigned Imm)
 
static bool isLegalMUBUFImmOffset (const ConstantSDNode *Imm)
 
static bool isStackPtrRelative (const MachinePointerInfo &PtrInfo)
 
static SDValue stripBitcast (SDValue Val)
 
static bool isExtractHiElt (SDValue In, SDValue &Out)
 
static SDValue stripExtractLoElt (SDValue In)
 

Detailed Description

Defines an instruction selector for the AMDGPU target.

Definition in file AMDGPUISelDAGToDAG.cpp.

Function Documentation

static bool getConstantValue ( SDValue  N,
uint32_t &  Out 
)
static

Definition at line 323 of file AMDGPUISelDAGToDAG.cpp.

References C.

static bool isExtractHiElt ( SDValue  In,
SDValue &  Out 
)
static
static bool isLegalMUBUFImmOffset ( unsigned  Imm)
static

Definition at line 961 of file AMDGPUISelDAGToDAG.cpp.

Referenced by isLegalMUBUFImmOffset().

static bool isLegalMUBUFImmOffset ( const ConstantSDNode *  Imm)
static
static bool isStackPtrRelative ( const MachinePointerInfo &  PtrInfo)
static
static unsigned selectSGPRVectorRegClassID ( unsigned  NumVectorElts)
static

Definition at line 306 of file AMDGPUISelDAGToDAG.cpp.

References llvm_unreachable().

static SDValue stripBitcast ( SDValue  Val)
static
static SDValue stripExtractLoElt ( SDValue  In)
static