LLVM API Documentation

llvm::LoadSDNode Class Reference

#include <SelectionDAGNodes.h>

Inheritance diagram for llvm::LoadSDNode:
[legend]
Collaboration diagram for llvm::LoadSDNode:
[legend]

List of all members.

Public Member Functions

ISD::LoadExtType getExtensionType () const
const SDValue & getBasePtr () const
const SDValue & getOffset () const

Static Public Member Functions

static bool classof (const LoadSDNode *)
static bool classof (const SDNode *N)

Protected Member Functions

 LoadSDNode (SDValue *ChainPtrOff, SDVTList VTs, ISD::MemIndexedMode AM, ISD::LoadExtType ETy, MVT LVT, const Value *SV, int O=0, unsigned Align=0, bool Vol=false)
 LoadSDNode (SDValue *ChainPtrOff, DebugLoc dl, SDVTList VTs, ISD::MemIndexedMode AM, ISD::LoadExtType ETy, MVT LVT, const Value *SV, int O=0, unsigned Align=0, bool Vol=false)

Friends

class SelectionDAG


Detailed Description

LoadSDNode - This class is used to represent ISD::LOAD nodes.

Definition at line 2401 of file SelectionDAGNodes.h.


Constructor & Destructor Documentation

llvm::LoadSDNode::LoadSDNode ( SDValue *  ChainPtrOff,
SDVTList  VTs,
ISD::MemIndexedMode  AM,
ISD::LoadExtType  ETy,
MVT  LVT,
const Value *  SV,
int  O = 0,
unsigned  Align = 0,
bool  Vol = false 
) [inline, protected]

Definition at line 2404 of file SelectionDAGNodes.h.

llvm::LoadSDNode::LoadSDNode ( SDValue *  ChainPtrOff,
DebugLoc  dl,
SDVTList  VTs,
ISD::MemIndexedMode  AM,
ISD::LoadExtType  ETy,
MVT  LVT,
const Value *  SV,
int  O = 0,
unsigned  Align = 0,
bool  Vol = false 
) [inline, protected]

Definition at line 2412 of file SelectionDAGNodes.h.


Member Function Documentation

ISD::LoadExtType llvm::LoadSDNode::getExtensionType (  )  const [inline]

getExtensionType - Return whether this is a plain node, or one of the varieties of value-extending loads.

Definition at line 2424 of file SelectionDAGNodes.h.

Referenced by llvm::SelectionDAG::ComputeNumSignBits(), ExpandUnalignedLoad(), llvm::SelectionDAG::getIndexedLoad(), isCalleeLoad(), llvm::ISD::isNormalLoad(), isRMWLoad(), LowerLOAD(), PerformBuildVectorCombine(), and llvm::TargetLowering::SimplifySetCC().

const SDValue& llvm::LoadSDNode::getBasePtr (  )  const [inline]

const SDValue& llvm::LoadSDNode::getOffset (  )  const [inline]

Reimplemented from llvm::LSBaseSDNode.

Definition at line 2429 of file SelectionDAGNodes.h.

References llvm::SDValue::getOperand().

Referenced by llvm::SelectionDAG::getIndexedLoad().

static bool llvm::LoadSDNode::classof ( const LoadSDNode *   )  [inline, static]

Definition at line 2431 of file SelectionDAGNodes.h.

static bool llvm::LoadSDNode::classof ( const SDNode *  N  )  [inline, static]

Reimplemented from llvm::LSBaseSDNode.

Definition at line 2432 of file SelectionDAGNodes.h.

References llvm::SDNode::getOpcode(), and llvm::ISD::LOAD.


Friends And Related Function Documentation

friend class SelectionDAG [friend]

Reimplemented from llvm::SDNode.

Definition at line 2403 of file SelectionDAGNodes.h.


The documentation for this class was generated from the following file: