|
LLVM 22.0.0git
|
#include "SDNodeDbgValue.h"#include "llvm/ADT/APFloat.h"#include "llvm/ADT/APInt.h"#include "llvm/ADT/SmallPtrSet.h"#include "llvm/ADT/StringExtras.h"#include "llvm/CodeGen/ISDOpcodes.h"#include "llvm/CodeGen/MachineBasicBlock.h"#include "llvm/CodeGen/MachineConstantPool.h"#include "llvm/CodeGen/MachineMemOperand.h"#include "llvm/CodeGen/SelectionDAG.h"#include "llvm/CodeGen/SelectionDAGNodes.h"#include "llvm/CodeGen/SelectionDAGTargetInfo.h"#include "llvm/CodeGen/TargetInstrInfo.h"#include "llvm/CodeGen/TargetLowering.h"#include "llvm/CodeGen/TargetRegisterInfo.h"#include "llvm/CodeGen/TargetSubtargetInfo.h"#include "llvm/CodeGen/ValueTypes.h"#include "llvm/CodeGenTypes/MachineValueType.h"#include "llvm/Config/llvm-config.h"#include "llvm/IR/BasicBlock.h"#include "llvm/IR/Constants.h"#include "llvm/IR/DebugInfoMetadata.h"#include "llvm/IR/DebugLoc.h"#include "llvm/IR/Function.h"#include "llvm/IR/Intrinsics.h"#include "llvm/IR/ModuleSlotTracker.h"#include "llvm/IR/Value.h"#include "llvm/Support/Casting.h"#include "llvm/Support/CommandLine.h"#include "llvm/Support/Compiler.h"#include "llvm/Support/Debug.h"#include "llvm/Support/ErrorHandling.h"#include "llvm/Support/Printable.h"#include "llvm/Support/raw_ostream.h"#include "llvm/Target/TargetMachine.h"#include <cstdint>#include <iterator>#include "llvm/IR/VPIntrinsics.def"Go to the source code of this file.
Macros | |
| #define | BEGIN_REGISTER_VP_SDNODE(SDID, LEGALARG, NAME, ...) |
Typedefs | |
| using | VisitedSDNodeSet = SmallPtrSet<const SDNode *, 32> |
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.")) |
| #define BEGIN_REGISTER_VP_SDNODE | ( | SDID, | |
| LEGALARG, | |||
| NAME, | |||
| ... ) |
| using VisitedSDNodeSet = SmallPtrSet<const SDNode *, 32> |
Definition at line 1133 of file SelectionDAGDumper.cpp.
|
static |
Definition at line 1056 of file SelectionDAGDumper.cpp.
References llvm::dbgs(), DumpNodes(), G, llvm::raw_ostream::indent(), N, and shouldPrintInline().
Referenced by llvm::SelectionDAG::dump(), and DumpNodes().
|
static |
Definition at line 1135 of file SelectionDAGDumper.cpp.
References DumpNodesr(), G, llvm::raw_ostream::indent(), llvm::SmallPtrSetImpl< PtrType >::insert(), N, and printOperand().
Referenced by DumpNodesr(), llvm::SDNode::dumpr(), and llvm::SDNode::dumpr().
|
static |
Definition at line 632 of file SelectionDAGDumper.cpp.
References llvm::MachineFunction::getFunction(), llvm::ModuleSlotTracker::incorporateFunction(), llvm::MachineMemOperand::print(), and TII.
Referenced by llvm::SDNode::print_details(), and printMemOperand().
|
static |
Definition at line 643 of file SelectionDAGDumper.cpp.
References G, llvm::MachineFunction::getFrameInfo(), llvm::MachineFunction::getFunction(), llvm::GlobalValue::getParent(), and printMemOperand().
Definition at line 614 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().
|
static |
Definition at line 1112 of file SelectionDAGDumper.cpp.
References G, PrintNodeId(), and shouldPrintInline().
Referenced by DumpNodesr(), llvm::SDNode::print(), printAddress(), and llvm::SystemZAsmPrinter::PrintAsmOperand().
|
static |
Definition at line 1173 of file SelectionDAGDumper.cpp.
References G, llvm::raw_ostream::indent(), N, printrWithDepthHelper(), and shouldPrintInline().
Referenced by llvm::SDNode::printrWithDepth(), and printrWithDepthHelper().
|
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 1045 of file SelectionDAGDumper.cpp.
References llvm::ISD::EntryToken, G, and VerboseDAGDumping.
Referenced by llvm::SelectionDAG::dump(), DumpNodes(), printOperand(), and printrWithDepthHelper().
|
static |
Referenced by llvm::SelectionDAG::dump(), llvm::SDNode::print(), llvm::SDNode::print_details(), and shouldPrintInline().