LLVM API Documentation

DAGISelHeader.h File Reference

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  ISelUpdater

Functions

static bool IsChainCompatible (SDNode *Chain, SDNode *Op)
void ReplaceUses (SDValue F, SDValue T) DISABLE_INLINE
void ReplaceUses (const SDValue *F, const SDValue *T, unsigned Num) DISABLE_INLINE
void ReplaceUses (SDNode *F, SDNode *T) DISABLE_INLINE
void SelectRoot (SelectionDAG &DAG)

Variables

SelectionDAG::allnodes_iterator ISelPosition


Function Documentation

static bool IsChainCompatible ( SDNode *  Chain,
SDNode *  Op 
) [static]

IsChainCompatible - Returns true if Chain is Op or Chain does not reach Op.

Definition at line 31 of file DAGISelHeader.h.

References llvm::ISD::EntryToken, and llvm::ISD::TokenFactor.

void ReplaceUses ( SDNode *  F,
SDNode *  T 
)

ReplaceUses - replace all uses of the old node F with the use of the new node T.

Definition at line 82 of file DAGISelHeader.h.

References F, ISelPosition, and T.

void ReplaceUses ( const SDValue *  F,
const SDValue *  T,
unsigned  Num 
)

ReplaceUses - replace all uses of the old nodes F with the use of the new nodes T.

Definition at line 74 of file DAGISelHeader.h.

References F, ISelPosition, and T.

void ReplaceUses ( SDValue  F,
SDValue  T 
)

ReplaceUses - replace all uses of the old node F with the use of the new node T.

Definition at line 67 of file DAGISelHeader.h.

References F, ISelPosition, and T.

Referenced by SelectRoot().

void SelectRoot ( SelectionDAG &  DAG  ) 

SelectRoot - Top level entry to DAG instruction selector. Selects instructions starting at the root of the current DAG.

Definition at line 96 of file DAGISelHeader.h.

References llvm::PIC16ISD::Dummy, ISelPosition, llvm::next(), Node, and ReplaceUses().


Variable Documentation

SelectionDAG::allnodes_iterator ISelPosition

ISelPosition - Node iterator marking the current position of instruction selection as it procedes through the topologically-sorted node list.

Definition at line 27 of file DAGISelHeader.h.

Referenced by ISelUpdater::NodeDeleted(), ReplaceUses(), and SelectRoot().