Go to the documentation of this file.
18 #include "llvm/Config/llvm-config.h"
38 O <<
"; Trace from function " <<
F->getName() <<
", blocks:\n";
44 O <<
"; Trace parent function: \n" << *
F;
47 #if !defined(NDEBUG) || defined(LLVM_ENABLE_DUMP)
Module * getModule() const
getModule - Return this Module that contains this trace's parent function.
#define LLVM_DUMP_METHOD
Mark debug helper function definitions like dump() that should not be stripped from debug builds.
This is an optimization pass for GlobalISel generic memory operations.
const Function * getParent() const
Return the enclosing method, or null if none.
BasicBlockListType::const_iterator const_iterator
void dump() const
dump - Debugger convenience method; writes trace to standard error output stream.
raw_ostream & dbgs()
dbgs() - This returns a reference to a raw_ostream for debugging messages.
Function * getFunction() const
getFunction - Return this trace's parent function.
This class implements an extremely fast bulk output stream that can only output to a stream.
void print(raw_ostream &O) const
print - Write trace to output stream.
Module * getParent()
Get the module that this global value is contained inside of...
BasicBlock * getEntryBasicBlock() const
getEntryBasicBlock - Return the entry basic block (first block) of the trace.
A Module instance is used to store all the information related to an LLVM module.