LLVM: lib/CodeGen/SelectionDAG/SelectionDAGDumper.cpp File Reference (original) (raw)

Go to the source code of this file.

Macros
#define BEGIN_REGISTER_VP_SDNODE(SDID, LEGALARG, NAME, ...)
Functions
static Printable PrintNodeId (const SDNode &Node)
static void printMemOperand (raw_ostream &OS, const MachineMemOperand &MMO, const MachineFunction *MF, const Module *M, const MachineFrameInfo *MFI, const TargetInstrInfo *TII, LLVMContext &Ctx)
static void printMemOperand (raw_ostream &OS, const MachineMemOperand &MMO, const SelectionDAG *G)
static bool shouldPrintInline (const SDNode &Node, const SelectionDAG *G)
Return true if this node is so simple that we should just print it inline if it appears as an operand.
static void DumpNodes (const SDNode *N, unsigned indent, const SelectionDAG *G)
static bool printOperand (raw_ostream &OS, const SelectionDAG *G, const SDValue Value)
static void DumpNodesr (raw_ostream &OS, const SDNode *N, unsigned indent, const SelectionDAG *G, VisitedSDNodeSet &once)
static void printrWithDepthHelper (raw_ostream &OS, const SDNode *N, const SelectionDAG *G, unsigned depth, unsigned indent)
Variables
static cl::opt< bool > VerboseDAGDumping ("dag-dump-verbose", cl::Hidden, cl::desc("Display more information when dumping selection " "DAG nodes."))

BEGIN_REGISTER_VP_SDNODE

#define BEGIN_REGISTER_VP_SDNODE ( SDID,
LEGALARG,
NAME,
... )

Value:

case ISD::SDID: \

return #NAME;

VisitedSDNodeSet

DumpNodes()

DumpNodesr()

printMemOperand() [1/2]

printMemOperand() [2/2]

PrintNodeId()

Definition at line 618 of file SelectionDAGDumper.cpp.

References llvm::raw_ostream::BLACK, llvm::raw_ostream::BLUE, llvm::raw_ostream::changeColor(), llvm::raw_ostream::CYAN, llvm::raw_ostream::GREEN, llvm::raw_ostream::MAGENTA, llvm::raw_ostream::RED, llvm::raw_ostream::resetColor(), and llvm::raw_ostream::YELLOW.

Referenced by llvm::SDDbgValue::print(), printOperand(), and llvm::SDNode::printr().

printOperand()

printrWithDepthHelper()

shouldPrintInline()

VerboseDAGDumping

cl::opt< bool > VerboseDAGDumping("dag-dump-verbose", cl::Hidden, cl::desc("Display more information when dumping selection " "DAG nodes.")) ( "dag-dump-verbose" , cl::Hidden , cl::desc("Display more information when dumping selection " "DAG nodes.") ) static