LLVM API Documentation
#include <SelectionDAGNodes.h>
Public Member Functions | |
const GlobalValue * | getGlobal () const |
int64_t | getOffset () const |
unsigned char | getTargetFlags () const |
unsigned | getAddressSpace () const |
Static Public Member Functions | |
static bool | classof (const SDNode *N) |
Friends | |
class | SelectionDAG |
Definition at line 1432 of file SelectionDAGNodes.h.
static bool llvm::GlobalAddressSDNode::classof | ( | const SDNode * | N | ) | [inline, static] |
Definition at line 1448 of file SelectionDAGNodes.h.
References llvm::SDNode::getOpcode(), llvm::ISD::GlobalAddress, llvm::ISD::GlobalTLSAddress, llvm::ISD::TargetGlobalAddress, and llvm::ISD::TargetGlobalTLSAddress.
unsigned GlobalAddressSDNode::getAddressSpace | ( | ) | const |
Definition at line 6625 of file SelectionDAG.cpp.
References llvm::PointerType::getAddressSpace(), getGlobal(), and llvm::GlobalValue::getType().
Referenced by AddNodeIDCustom(), and llvm::AMDGPUTargetLowering::LowerGlobalAddress().
const GlobalValue* llvm::GlobalAddressSDNode::getGlobal | ( | ) | const [inline] |
Definition at line 1442 of file SelectionDAGNodes.h.
Referenced by AddNodeIDCustom(), getAddressSpace(), GetTLSADDR(), llvm::TargetLowering::isGAPlusOffset(), isMemSrcFromString(), llvm::TargetLowering::isOffsetFoldingLegal(), llvm::AMDGPUTargetLowering::LowerGlobalAddress(), llvm::SparcTargetLowering::LowerGlobalTLSAddress(), LowerToTLSExecModel(), and LowerToTLSLocalDynamicModel().
int64_t llvm::GlobalAddressSDNode::getOffset | ( | ) | const [inline] |
Definition at line 1443 of file SelectionDAGNodes.h.
Referenced by AddNodeIDCustom(), GetTLSADDR(), llvm::TargetLowering::isGAPlusOffset(), llvm::AMDGPUTargetLowering::LowerGlobalAddress(), LowerToTLSExecModel(), and LowerToTLSLocalDynamicModel().
unsigned char llvm::GlobalAddressSDNode::getTargetFlags | ( | ) | const [inline] |
Definition at line 1444 of file SelectionDAGNodes.h.
Referenced by AddNodeIDCustom().
friend class SelectionDAG [friend] |
Reimplemented from llvm::SDNode.
Definition at line 1436 of file SelectionDAGNodes.h.