LLVM API Documentation

Functions
SIISelLowering.cpp File Reference

Custom DAG lowering for SI. More...

#include "SIISelLowering.h"
#include "AMDGPU.h"
#include "AMDGPUIntrinsicInfo.h"
#include "AMDGPUSubtarget.h"
#include "SIInstrInfo.h"
#include "SIMachineFunctionInfo.h"
#include "SIRegisterInfo.h"
#include "llvm/ADT/BitVector.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 "llvm/ADT/SmallString.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.
static bool isVSrc (unsigned RegClass)
 Test if RegClass is one of the VSrc classes.
static bool isSSrc (unsigned RegClass)
 Test if RegClass is one of the SSrc classes.
static bool isNodeChanged (const SDNode *Node, const std::vector< SDValue > &Ops)
static unsigned SubIdx2Lane (unsigned Idx)
 Helper function for adjustWritemask.

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 743 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 1660 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 1476 of file SIISelLowering.cpp.

static bool isVSrc ( unsigned  RegClass) [static]

Test if RegClass is one of the VSrc classes.

Definition at line 1470 of file SIISelLowering.cpp.

static unsigned SubIdx2Lane ( unsigned  Idx) [static]

Helper function for adjustWritemask.

Definition at line 1786 of file SIISelLowering.cpp.