LLVM API Documentation

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Static Public Member Functions | Friends | List of all members
llvm::StoreSDNode Class Reference

#include <SelectionDAGNodes.h>

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

Public Member Functions

bool isTruncatingStore () const
 
const SDValuegetValue () const
 
const SDValuegetBasePtr () const
 
const SDValuegetOffset () const
 
- Public Member Functions inherited from llvm::LSBaseSDNode
 LSBaseSDNode (ISD::NodeType NodeTy, unsigned Order, DebugLoc dl, SDValue *Operands, unsigned numOperands, SDVTList VTs, ISD::MemIndexedMode AM, EVT MemVT, MachineMemOperand *MMO)
 
const SDValuegetOffset () const
 
ISD::MemIndexedMode getAddressingMode () const
 
bool isIndexed () const
 isIndexed - Return true if this is a pre/post inc/dec load/store. More...
 
bool isUnindexed () const
 isUnindexed - Return true if this is NOT a pre/post inc/dec load/store. More...
 
- Public Member Functions inherited from llvm::MemSDNode
 MemSDNode (unsigned Opc, unsigned Order, DebugLoc dl, SDVTList VTs, EVT MemoryVT, MachineMemOperand *MMO)
 
 MemSDNode (unsigned Opc, unsigned Order, DebugLoc dl, SDVTList VTs, const SDValue *Ops, unsigned NumOps, EVT MemoryVT, MachineMemOperand *MMO)
 
bool readMem () const
 
bool writeMem () const
 
unsigned getOriginalAlignment () const
 Returns alignment and volatility of the memory access. More...
 
unsigned getAlignment () const
 
unsigned getRawSubclassData () const
 
bool isVolatile () const
 
bool isNonTemporal () const
 
bool isInvariant () const
 
AtomicOrdering getOrdering () const
 
SynchronizationScope getSynchScope () const
 
const ValuegetSrcValue () const
 Returns the SrcValue and offset that describes the location of the access. More...
 
int64_t getSrcValueOffset () const
 
const MDNodegetTBAAInfo () const
 Returns the TBAAInfo that describes the dereference. More...
 
const MDNodegetRanges () const
 Returns the Ranges that describes the dereference. More...
 
EVT getMemoryVT () const
 getMemoryVT - Return the type of the in-memory value. More...
 
MachineMemOperandgetMemOperand () const
 
const MachinePointerInfogetPointerInfo () const
 
unsigned getAddressSpace () const
 getAddressSpace - Return the address space for the associated pointer More...
 
void refineAlignment (const MachineMemOperand *NewMMO)
 
const SDValuegetChain () const
 
const SDValuegetBasePtr () const
 
- Public Member Functions inherited from llvm::SDNode
unsigned getOpcode () const
 
bool isTargetOpcode () const
 
bool isTargetMemoryOpcode () const
 
bool isMachineOpcode () const
 
unsigned getMachineOpcode () const
 
bool getHasDebugValue () const
 getHasDebugValue - get this bit. More...
 
void setHasDebugValue (bool b)
 setHasDebugValue - set this bit. More...
 
bool use_empty () const
 
bool hasOneUse () const
 
size_t use_size () const
 
int getNodeId () const
 
void setNodeId (int Id)
 setNodeId - Set unique node id. More...
 
unsigned getIROrder () const
 
void setIROrder (unsigned Order)
 
const DebugLoc getDebugLoc () const
 getDebugLoc - Return the source location info. More...
 
void setDebugLoc (const DebugLoc dl)
 
use_iterator use_begin () const
 
bool hasNUsesOfValue (unsigned NUses, unsigned Value) const
 
bool hasAnyUseOfValue (unsigned Value) const
 
bool isOnlyUserOf (SDNode *N) const
 
bool isOperandOf (SDNode *N) const
 
bool isPredecessorOf (const SDNode *N) const
 
bool hasPredecessor (const SDNode *N) const
 
bool hasPredecessorHelper (const SDNode *N, SmallPtrSet< const SDNode *, 32 > &Visited, SmallVectorImpl< const SDNode * > &Worklist) const
 
unsigned getNumOperands () const
 
uint64_t getConstantOperandVal (unsigned Num) const
 
const SDValuegetOperand (unsigned Num) const
 
op_iterator op_begin () const
 
op_iterator op_end () const
 
SDVTList getVTList () const
 
SDNodegetGluedNode () const
 
const SDNodegetGluedMachineNode () const
 
SDNodegetGluedUser () const
 
unsigned getNumValues () const
 
EVT getValueType (unsigned ResNo) const
 
MVT getSimpleValueType (unsigned ResNo) const
 
unsigned getValueSizeInBits (unsigned ResNo) const
 
value_iterator value_begin () const
 
value_iterator value_end () const
 
std::string getOperationName (const SelectionDAG *G=0) const
 
void print_types (raw_ostream &OS, const SelectionDAG *G) const
 
void print_details (raw_ostream &OS, const SelectionDAG *G) const
 
void print (raw_ostream &OS, const SelectionDAG *G=0) const
 
void printr (raw_ostream &OS, const SelectionDAG *G=0) const
 
void printrFull (raw_ostream &O, const SelectionDAG *G=0) const
 
void printrWithDepth (raw_ostream &O, const SelectionDAG *G=0, unsigned depth=100) const
 
void dump () const
 dump - Dump this node, for debugging. More...
 
void dumpr () const
 dumpr - Dump (recursively) this node and its use-def subgraph. More...
 
void dump (const SelectionDAG *G) const
 
void dumpr (const SelectionDAG *G) const
 
void dumprFull (const SelectionDAG *G=0) const
 
void dumprWithDepth (const SelectionDAG *G=0, unsigned depth=100) const
 
void Profile (FoldingSetNodeID &ID) const
 
void addUse (SDUse &U)
 
- Public Member Functions inherited from llvm::FoldingSetImpl::Node
 Node ()
 
void * getNextInBucket () const
 
void SetNextInBucket (void *N)
 
- Public Member Functions inherited from llvm::ilist_node< SDNode >
SDNodegetPrevNode ()
 Get the previous node, or 0 for the list head. More...
 
const SDNodegetPrevNode () const
 Get the previous node, or 0 for the list head. More...
 
SDNodegetNextNode ()
 Get the next node, or 0 for the list tail. More...
 
const SDNodegetNextNode () const
 Get the next node, or 0 for the list tail. More...
 

Static Public Member Functions

static bool classof (const SDNode *N)
 
- Static Public Member Functions inherited from llvm::LSBaseSDNode
static bool classof (const SDNode *N)
 
- Static Public Member Functions inherited from llvm::MemSDNode
static bool classof (const SDNode *N)
 
- Static Public Member Functions inherited from llvm::SDNode
static use_iterator use_end ()
 
static const char * getIndexedModeName (ISD::MemIndexedMode AM)
 

Friends

class SelectionDAG
 

Additional Inherited Members

- Public Types inherited from llvm::SDNode
typedef SDUseop_iterator
 
typedef const EVTvalue_iterator
 
- Protected Member Functions inherited from llvm::SDNode
 SDNode (unsigned Opc, unsigned Order, const DebugLoc dl, SDVTList VTs, const SDValue *Ops, unsigned NumOps)
 
 SDNode (unsigned Opc, unsigned Order, const DebugLoc dl, SDVTList VTs)
 
void InitOperands (SDUse *Ops, const SDValue &Op0)
 InitOperands - Initialize the operands list of this with 1 operand. More...
 
void InitOperands (SDUse *Ops, const SDValue &Op0, const SDValue &Op1)
 InitOperands - Initialize the operands list of this with 2 operands. More...
 
void InitOperands (SDUse *Ops, const SDValue &Op0, const SDValue &Op1, const SDValue &Op2)
 InitOperands - Initialize the operands list of this with 3 operands. More...
 
void InitOperands (SDUse *Ops, const SDValue &Op0, const SDValue &Op1, const SDValue &Op2, const SDValue &Op3)
 InitOperands - Initialize the operands list of this with 4 operands. More...
 
void InitOperands (SDUse *Ops, const SDValue *Vals, unsigned N)
 InitOperands - Initialize the operands list of this with N operands. More...
 
void DropOperands ()
 
- Protected Member Functions inherited from llvm::ilist_node< SDNode >
 ilist_node ()
 
- Static Protected Member Functions inherited from llvm::SDNode
static SDVTList getSDVTList (EVT VT)
 
- Protected Attributes inherited from llvm::MemSDNode
MachineMemOperandMMO
 MMO - Memory reference information. More...
 
- Protected Attributes inherited from llvm::SDNode
uint16_t SubclassData: 14
 

Detailed Description

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

Definition at line 1749 of file SelectionDAGNodes.h.

Member Function Documentation

static bool llvm::StoreSDNode::classof ( const SDNode N)
inlinestatic

Definition at line 1772 of file SelectionDAGNodes.h.

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

const SDValue& llvm::StoreSDNode::getBasePtr ( ) const
inline
const SDValue& llvm::StoreSDNode::getOffset ( ) const
inline
const SDValue& llvm::StoreSDNode::getValue ( ) const
inline
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 1766 of file SelectionDAGNodes.h.

References llvm::SDNode::SubclassData.

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

Friends And Related Function Documentation

friend class SelectionDAG
friend

Definition at line 1750 of file SelectionDAGNodes.h.


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