LLVM  5.0.0
Typedefs | Functions | Variables
SelectionDAGDumper.cpp File Reference
#include "ScheduleDAGSDNodes.h"
#include "llvm/ADT/StringExtras.h"
#include "llvm/CodeGen/MachineConstantPool.h"
#include "llvm/CodeGen/MachineFunction.h"
#include "llvm/CodeGen/MachineModuleInfo.h"
#include "llvm/CodeGen/SelectionDAG.h"
#include "llvm/IR/DebugInfo.h"
#include "llvm/IR/Function.h"
#include "llvm/IR/Intrinsics.h"
#include "llvm/Support/Debug.h"
#include "llvm/Support/GraphWriter.h"
#include "llvm/Support/Printable.h"
#include "llvm/Support/raw_ostream.h"
#include "llvm/Target/TargetInstrInfo.h"
#include "llvm/Target/TargetIntrinsicInfo.h"
#include "llvm/Target/TargetMachine.h"
#include "llvm/Target/TargetRegisterInfo.h"
#include "llvm/Target/TargetSubtargetInfo.h"
Include dependency graph for SelectionDAGDumper.cpp:

Go to the source code of this file.

Typedefs

typedef SmallPtrSet< const
SDNode *, 32 > 
VisitedSDNodeSet
 

Functions

static Printable PrintNodeId (const SDNode &Node)
 
static bool shouldPrintInline (const SDNode &Node)
 Return true if this node is so simple that we should just print it inline if it appears as an operand. More...
 
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."))
 

Typedef Documentation

Definition at line 643 of file SelectionDAGDumper.cpp.

Function Documentation

static void DumpNodes ( const SDNode *  N,
unsigned  indent,
const SelectionDAG *  G 
)
static

Definition at line 589 of file SelectionDAGDumper.cpp.

static void DumpNodesr ( raw_ostream &  OS,
const SDNode *  N,
unsigned  indent,
const SelectionDAG *  G,
VisitedSDNodeSet &  once 
)
static

Definition at line 644 of file SelectionDAGDumper.cpp.

References llvm::SDValue::getNode(), N, and printOperand().

Referenced by llvm::SDNode::dumpr().

static Printable PrintNodeId ( const SDNode &  Node)
static

Definition at line 376 of file SelectionDAGDumper.cpp.

References llvm::SDNode::PersistentId.

static bool printOperand ( raw_ostream &  OS,
const SelectionDAG *  G,
const SDValue  Value 
)
static

Definition at line 624 of file SelectionDAGDumper.cpp.

Referenced by DumpNodesr(), and llvm::SDNode::print().

static void printrWithDepthHelper ( raw_ostream &  OS,
const SDNode *  N,
const SelectionDAG *  G,
unsigned  depth,
unsigned  indent 
)
static
static bool shouldPrintInline ( const SDNode &  Node)
static

Return true if this node is so simple that we should just print it inline if it appears as an operand.

Definition at line 582 of file SelectionDAGDumper.cpp.

Variable Documentation

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