LLVM API Documentation

llvm::GlobalAddressSDNode Class Reference

#include <SelectionDAGNodes.h>

Inheritance diagram for llvm::GlobalAddressSDNode:

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

Collaboration graph
[legend]
List of all members.

Public Member Functions

GlobalValuegetGlobal () const
int getOffset () const

Static Public Member Functions

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

Protected Member Functions

 GlobalAddressSDNode (bool isTarget, const GlobalValue *GA, MVT::ValueType VT, int o=0)

Friends

class SelectionDAG

Detailed Description

Definition at line 1150 of file SelectionDAGNodes.h.


Constructor & Destructor Documentation

llvm::GlobalAddressSDNode::GlobalAddressSDNode ( bool  isTarget,
const GlobalValue GA,
MVT::ValueType  VT,
int  o = 0 
) [inline, protected]

Definition at line 1155 of file SelectionDAGNodes.h.


Member Function Documentation

GlobalValue* llvm::GlobalAddressSDNode::getGlobal (  )  const [inline]

Definition at line 1163 of file SelectionDAGNodes.h.

Referenced by LowerGlobalAddress(), and llvm::AlphaTargetLowering::LowerOperation().

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

Definition at line 1164 of file SelectionDAGNodes.h.

References Offset.

Referenced by LowerGlobalAddress(), and llvm::AlphaTargetLowering::LowerOperation().

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

Definition at line 1166 of file SelectionDAGNodes.h.

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

Reimplemented from llvm::SDNode.

Definition at line 1167 of file SelectionDAGNodes.h.

References llvm::SDNode::getOpcode(), llvm::ISD::GlobalAddress, and llvm::ISD::TargetGlobalAddress.


Friends And Related Function Documentation

friend class SelectionDAG [friend]

Reimplemented from llvm::SDNode.

Definition at line 1154 of file SelectionDAGNodes.h.


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