LLVM
8.0.1
|
Wrapper class for IR location info (IR ordering and DebugLoc) to be passed into SDNode creation functions. More...
#include "llvm/CodeGen/SelectionDAGNodes.h"
Public Member Functions | |
SDLoc ()=default | |
SDLoc (const SDNode *N) | |
SDLoc (const SDValue V) | |
SDLoc (const Instruction *I, int Order) | |
unsigned | getIROrder () const |
const DebugLoc & | getDebugLoc () const |
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 1080 of file SelectionDAGNodes.h.
|
default |
Definition at line 1087 of file SelectionDAGNodes.h.
Definition at line 1088 of file SelectionDAGNodes.h.
|
inline |
Definition at line 1089 of file SelectionDAGNodes.h.
References assert(), and llvm::Instruction::getDebugLoc().
Definition at line 1096 of file SelectionDAGNodes.h.
Referenced by emitNonHSAIntrinsicError(), emitRemovedIntrinsicError(), errorUnsupported(), fail(), findUser(), llvm::SelectionDAG::getAddrSpaceCast(), llvm::SelectionDAG::getAtomic(), llvm::SelectionDAG::getGlobalAddress(), llvm::SelectionDAG::getIndexedStore(), llvm::SelectionDAG::getLabelNode(), llvm::SelectionDAG::getLoad(), llvm::SelectionDAG::getMachineNode(), llvm::SelectionDAG::getMaskedGather(), llvm::SelectionDAG::getMaskedLoad(), llvm::SelectionDAG::getMaskedScatter(), llvm::SelectionDAG::getMaskedStore(), llvm::SelectionDAG::getMemIntrinsicNode(), llvm::SelectionDAG::getNode(), llvm::SelectionDAG::getStore(), llvm::SelectionDAG::getTargetMemSDNode(), llvm::HexagonTargetLowering::getTargetNodeName(), llvm::SelectionDAG::getTruncStore(), llvm::SelectionDAG::getVectorShuffle(), llvm::SITargetLowering::LowerFormalArguments(), llvm::AMDGPUTargetLowering::lowerUnhandledCall(), parseTexFail(), llvm::SelectionDAG::SelectNodeTo(), and llvm::SelectionDAG::~SelectionDAG().
|
inline |
Definition at line 1095 of file SelectionDAGNodes.h.
Referenced by llvm::SelectionDAG::getAddrSpaceCast(), llvm::SelectionDAG::getAtomic(), llvm::SelectionDAG::getGlobalAddress(), llvm::SelectionDAG::getIndexedStore(), llvm::SelectionDAG::getLabelNode(), llvm::SelectionDAG::getLoad(), llvm::SelectionDAG::getMachineNode(), llvm::SelectionDAG::getMaskedGather(), llvm::SelectionDAG::getMaskedLoad(), llvm::SelectionDAG::getMaskedScatter(), llvm::SelectionDAG::getMaskedStore(), llvm::SelectionDAG::getMemIntrinsicNode(), llvm::SelectionDAG::getNode(), llvm::SelectionDAG::getStore(), llvm::SelectionDAG::getTargetMemSDNode(), llvm::SelectionDAG::getTruncStore(), llvm::SelectionDAG::getVectorShuffle(), llvm::SelectionDAG::SelectNodeTo(), and llvm::SelectionDAG::~SelectionDAG().