LLVM API Documentation
#include <SelectionDAGNodes.h>
Public Member Functions | |
SDLoc () | |
SDLoc (const SDNode *N) | |
SDLoc (const SDValue V) | |
SDLoc (const Instruction *I, int Order) | |
unsigned | getIROrder () |
DebugLoc | getDebugLoc () |
Wrapper class for IR location info (IR ordering and DebugLoc) to be passed into SDNode creation functions. When an SDNode is created from the DAGBuilder, the DebugLoc is extracted from the original Instruction, and IROrder is the ordinal position of the instruction. When an SDNode is created after the DAG is being built, both DebugLoc and the IROrder are propagated from the original SDNode. So SDLoc class provides two constructors besides the default one, one to be used by the DAGBuilder, the other to be used by others.
Definition at line 799 of file SelectionDAGNodes.h.
|
inline |
Definition at line 807 of file SelectionDAGNodes.h.
|
inline |
Definition at line 808 of file SelectionDAGNodes.h.
|
inline |
Definition at line 811 of file SelectionDAGNodes.h.
|
inline |
Definition at line 814 of file SelectionDAGNodes.h.
|
inline |
Definition at line 824 of file SelectionDAGNodes.h.
References llvm::Instruction::getDebugLoc(), llvm::SDNode::getDebugLoc(), I, and N.
Referenced by llvm::SelectionDAG::getAddrSpaceCast(), llvm::SelectionDAG::getAtomic(), llvm::SelectionDAG::getConvertRndSat(), llvm::SelectionDAG::getEHLabel(), llvm::SelectionDAG::getGlobalAddress(), llvm::SelectionDAG::getIndexedStore(), llvm::SelectionDAG::getLoad(), llvm::SelectionDAG::getMachineNode(), llvm::SelectionDAG::getMemIntrinsicNode(), llvm::SelectionDAG::getNode(), llvm::SelectionDAG::getStore(), llvm::SelectionDAG::getTruncStore(), and llvm::SelectionDAG::getVectorShuffle().
|
inline |
Definition at line 817 of file SelectionDAGNodes.h.
References llvm::SDNode::getIROrder(), and N.
Referenced by llvm::SelectionDAG::getAddrSpaceCast(), llvm::SelectionDAG::getAtomic(), llvm::SelectionDAG::getConvertRndSat(), llvm::SelectionDAG::getEHLabel(), llvm::SelectionDAG::getGlobalAddress(), llvm::SelectionDAG::getIndexedStore(), llvm::SelectionDAG::getLoad(), llvm::SelectionDAG::getMachineNode(), llvm::SelectionDAG::getMemIntrinsicNode(), llvm::SelectionDAG::getNode(), llvm::SelectionDAG::getStore(), llvm::SelectionDAG::getTruncStore(), and llvm::SelectionDAG::getVectorShuffle().