LLVM API Documentation

Defines | 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.

Defines

#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 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)
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.


Define 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 
) [static]

Definition at line 1896 of file AMDGPUISelLowering.cpp.

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

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]