LLVM API Documentation

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Functions | Variables
SIISelLowering.cpp File Reference

Custom DAG lowering for SI. More...

#include "SIISelLowering.h"
#include "AMDGPU.h"
#include "AMDILIntrinsicInfo.h"
#include "SIInstrInfo.h"
#include "SIMachineFunctionInfo.h"
#include "SIRegisterInfo.h"
#include "llvm/CodeGen/CallingConvLower.h"
#include "llvm/CodeGen/MachineInstrBuilder.h"
#include "llvm/CodeGen/MachineRegisterInfo.h"
#include "llvm/CodeGen/SelectionDAG.h"
#include "llvm/IR/Function.h"
Include dependency graph for SIISelLowering.cpp:

Go to the source code of this file.

Functions

static SDNodefindUser (SDValue Value, unsigned Opcode)
 Helper function for LowerBRCOND. More...
 
static bool isVSrc (unsigned RegClass)
 Test if RegClass is one of the VSrc classes. More...
 
static bool isSSrc (unsigned RegClass)
 Test if RegClass is one of the SSrc classes. More...
 
static bool isNodeChanged (const SDNode *Node, const std::vector< SDValue > &Ops)
 
static unsigned SubIdx2Lane (unsigned Idx)
 Helper function for adjustWritemask. More...
 

Variables

const uint64_t RSRC_DATA_FORMAT = 0xf00000000000LL
 

Detailed Description

Custom DAG lowering for SI.

Definition in file SIISelLowering.cpp.

Function Documentation

static SDNode* findUser ( SDValue  Value,
unsigned  Opcode 
)
static

Helper function for LowerBRCOND.

Definition at line 607 of file SIISelLowering.cpp.

References llvm::SDValue::getNode(), I, llvm::SDNode::use_begin(), and llvm::SDNode::use_end().

static bool isNodeChanged ( const SDNode Node,
const std::vector< SDValue > &  Ops 
)
static
Returns
true if Node's operands are different from the SDValue list Ops

Definition at line 1070 of file SIISelLowering.cpp.

References llvm::SDValue::getNode(), llvm::SDNode::getNumOperands(), and llvm::SDNode::getOperand().

static bool isSSrc ( unsigned  RegClass)
static

Test if RegClass is one of the SSrc classes.

Definition at line 900 of file SIISelLowering.cpp.

static bool isVSrc ( unsigned  RegClass)
static

Test if RegClass is one of the VSrc classes.

Definition at line 894 of file SIISelLowering.cpp.

static unsigned SubIdx2Lane ( unsigned  Idx)
static

Helper function for adjustWritemask.

Definition at line 1224 of file SIISelLowering.cpp.

Variable Documentation

const uint64_t RSRC_DATA_FORMAT = 0xf00000000000LL