LLVM  3.7.0
Macros | Functions
AMDGPUISelLowering.cpp File Reference

This is the parent TargetLowering class for hardware code gen targets. More...

#include "AMDGPUISelLowering.h"
#include "AMDGPU.h"
#include "AMDGPUFrameLowering.h"
#include "AMDGPUIntrinsicInfo.h"
#include "AMDGPURegisterInfo.h"
#include "AMDGPUSubtarget.h"
#include "R600MachineFunctionInfo.h"
#include "SIMachineFunctionInfo.h"
#include "llvm/CodeGen/CallingConvLower.h"
#include "llvm/CodeGen/MachineFunction.h"
#include "llvm/CodeGen/MachineRegisterInfo.h"
#include "llvm/CodeGen/SelectionDAG.h"
#include "llvm/CodeGen/TargetLoweringObjectFileImpl.h"
#include "llvm/IR/DataLayout.h"
#include "llvm/IR/DiagnosticInfo.h"
#include "llvm/IR/DiagnosticPrinter.h"
#include "AMDGPUGenCallingConv.inc"
Include dependency graph for AMDGPUISelLowering.cpp:

Go to the source code of this file.

Macros

#define NODE_NAME_CASE(node)   case AMDGPUISD::node: return #node;
 

Functions

static bool allocateStack (unsigned ValNo, MVT ValVT, MVT LocVT, CCValAssign::LocInfo LocInfo, ISD::ArgFlagsTy ArgFlags, CCState &State)
 
static bool hasDefinedInitializer (const GlobalValue *GV)
 
static SDValue extractF64Exponent (SDValue Hi, SDLoc SL, SelectionDAG &DAG)
 
static bool isU24 (SDValue Op, SelectionDAG &DAG)
 
static bool isI24 (SDValue Op, SelectionDAG &DAG)
 
static void simplifyI24 (SDValue Op, TargetLowering::DAGCombinerInfo &DCI)
 
template<typename IntTy >
static SDValue constantFoldBFE (SelectionDAG &DAG, IntTy Src0, uint32_t Offset, uint32_t Width, SDLoc DL)
 
static bool usesAllNormalStores (SDNode *LoadVal)
 
static void computeKnownBitsForMinMax (const SDValue Op0, const SDValue Op1, APInt &KnownZero, APInt &KnownOne, const SelectionDAG &DAG, unsigned Depth)
 

Detailed Description

This is the parent TargetLowering class for hardware code gen targets.

Definition in file AMDGPUISelLowering.cpp.

Macro Definition Documentation

#define NODE_NAME_CASE (   node)    case AMDGPUISD::node: return #node;

Function Documentation

static bool allocateStack ( unsigned  ValNo,
MVT  ValVT,
MVT  LocVT,
CCValAssign::LocInfo  LocInfo,
ISD::ArgFlagsTy  ArgFlags,
CCState State 
)
static
static void computeKnownBitsForMinMax ( const SDValue  Op0,
const SDValue  Op1,
APInt KnownZero,
APInt KnownOne,
const SelectionDAG DAG,
unsigned  Depth 
)
static
template<typename IntTy >
static SDValue constantFoldBFE ( SelectionDAG DAG,
IntTy  Src0,
uint32_t  Offset,
uint32_t  Width,
SDLoc  DL 
)
static

Definition at line 2357 of file AMDGPUISelLowering.cpp.

References llvm::SelectionDAG::getConstant(), and llvm::MVT::i32.

static SDValue extractF64Exponent ( SDValue  Hi,
SDLoc  SL,
SelectionDAG DAG 
)
static
static bool hasDefinedInitializer ( const GlobalValue GV)
static
static bool isI24 ( SDValue  Op,
SelectionDAG DAG 
)
static
static bool isU24 ( SDValue  Op,
SelectionDAG DAG 
)
static
static void simplifyI24 ( SDValue  Op,
TargetLowering::DAGCombinerInfo DCI 
)
static
static bool usesAllNormalStores ( SDNode LoadVal)
static