LLVM API Documentation

llvm::StoreSDNode Class Reference

#include <SelectionDAGNodes.h>

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

List of all members.

Public Member Functions

bool isTruncatingStore () const
const SDValue & getValue () const
const SDValue & getBasePtr () const
const SDValue & getOffset () const

Static Public Member Functions

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

Protected Member Functions

 StoreSDNode (SDValue *ChainValuePtrOff, SDVTList VTs, ISD::MemIndexedMode AM, bool isTrunc, MVT SVT, const Value *SV, int O=0, unsigned Align=0, bool Vol=false)
 StoreSDNode (SDValue *ChainValuePtrOff, DebugLoc dl, SDVTList VTs, ISD::MemIndexedMode AM, bool isTrunc, MVT SVT, const Value *SV, int O=0, unsigned Align=0, bool Vol=false)

Friends

class SelectionDAG


Detailed Description

StoreSDNode - This class is used to represent ISD::STORE nodes.

Definition at line 2439 of file SelectionDAGNodes.h.


Constructor & Destructor Documentation

llvm::StoreSDNode::StoreSDNode ( SDValue *  ChainValuePtrOff,
SDVTList  VTs,
ISD::MemIndexedMode  AM,
bool  isTrunc,
MVT  SVT,
const Value *  SV,
int  O = 0,
unsigned  Align = 0,
bool  Vol = false 
) [inline, protected]

Definition at line 2442 of file SelectionDAGNodes.h.

llvm::StoreSDNode::StoreSDNode ( SDValue *  ChainValuePtrOff,
DebugLoc  dl,
SDVTList  VTs,
ISD::MemIndexedMode  AM,
bool  isTrunc,
MVT  SVT,
const Value *  SV,
int  O = 0,
unsigned  Align = 0,
bool  Vol = false 
) [inline, protected]

Definition at line 2450 of file SelectionDAGNodes.h.


Member Function Documentation

bool llvm::StoreSDNode::isTruncatingStore (  )  const [inline]

isTruncatingStore - Return true if the op does a truncation before store. For integers this is the same as doing a TRUNCATE and storing the result. For floats, it is the same as doing an FP_ROUND and storing the result.

Definition at line 2463 of file SelectionDAGNodes.h.

Referenced by llvm::SelectionDAG::getIndexedStore(), llvm::ISD::isNormalStore(), and LowerSTORE().

const SDValue& llvm::StoreSDNode::getValue (  )  const [inline]

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

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

Reimplemented from llvm::LSBaseSDNode.

Definition at line 2467 of file SelectionDAGNodes.h.

References llvm::SDValue::getOperand().

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

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

Definition at line 2469 of file SelectionDAGNodes.h.

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

Reimplemented from llvm::LSBaseSDNode.

Definition at line 2470 of file SelectionDAGNodes.h.

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


Friends And Related Function Documentation

friend class SelectionDAG [friend]

Reimplemented from llvm::SDNode.

Definition at line 2441 of file SelectionDAGNodes.h.


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