LLVM API Documentation

llvm::ConstantPoolSDNode Class Reference

#include <SelectionDAGNodes.h>

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

List of all members.

Public Member Functions

bool isMachineConstantPoolEntry () const
Constant * getConstVal () const
MachineConstantPoolValue * getMachineCPVal () const
int getOffset () const
unsigned getAlignment () const
const Type * getType () const

Static Public Member Functions

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

Protected Member Functions

 ConstantPoolSDNode (bool isTarget, Constant *c, MVT VT, int o=0)
 ConstantPoolSDNode (bool isTarget, Constant *c, MVT VT, int o, unsigned Align)
 ConstantPoolSDNode (bool isTarget, MachineConstantPoolValue *v, MVT VT, int o=0)
 ConstantPoolSDNode (bool isTarget, MachineConstantPoolValue *v, MVT VT, int o, unsigned Align)

Friends

class SelectionDAG


Detailed Description

Definition at line 1902 of file SelectionDAGNodes.h.


Constructor & Destructor Documentation

llvm::ConstantPoolSDNode::ConstantPoolSDNode ( bool  isTarget,
Constant *  c,
MVT  VT,
int  o = 0 
) [inline, protected]

Definition at line 1911 of file SelectionDAGNodes.h.

References Offset, and Val.

llvm::ConstantPoolSDNode::ConstantPoolSDNode ( bool  isTarget,
Constant *  c,
MVT  VT,
int  o,
unsigned  Align 
) [inline, protected]

Definition at line 1917 of file SelectionDAGNodes.h.

References Offset, and Val.

llvm::ConstantPoolSDNode::ConstantPoolSDNode ( bool  isTarget,
MachineConstantPoolValue *  v,
MVT  VT,
int  o = 0 
) [inline, protected]

Definition at line 1923 of file SelectionDAGNodes.h.

References Offset, and Val.

llvm::ConstantPoolSDNode::ConstantPoolSDNode ( bool  isTarget,
MachineConstantPoolValue *  v,
MVT  VT,
int  o,
unsigned  Align 
) [inline, protected]

Definition at line 1931 of file SelectionDAGNodes.h.

References Offset, and Val.


Member Function Documentation

bool llvm::ConstantPoolSDNode::isMachineConstantPoolEntry (  )  const [inline]

Definition at line 1941 of file SelectionDAGNodes.h.

References Offset.

Referenced by AddNodeIDCustom(), and LowerConstantPool().

Constant* llvm::ConstantPoolSDNode::getConstVal (  )  const [inline]

MachineConstantPoolValue* llvm::ConstantPoolSDNode::getMachineCPVal (  )  const [inline]

Definition at line 1950 of file SelectionDAGNodes.h.

References Val.

Referenced by AddNodeIDCustom(), and LowerConstantPool().

int llvm::ConstantPoolSDNode::getOffset (  )  const [inline]

Definition at line 1955 of file SelectionDAGNodes.h.

References Offset.

Referenced by AddNodeIDCustom().

unsigned llvm::ConstantPoolSDNode::getAlignment (  )  const [inline]

const Type * ConstantPoolSDNode::getType (  )  const

Definition at line 6060 of file SelectionDAG.cpp.

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

Definition at line 1965 of file SelectionDAGNodes.h.

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


Friends And Related Function Documentation

friend class SelectionDAG [friend]

Reimplemented from llvm::SDNode.

Definition at line 1910 of file SelectionDAGNodes.h.


Member Data Documentation

Definition at line 1904 of file SelectionDAGNodes.h.

Definition at line 1905 of file SelectionDAGNodes.h.


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