19 #include "llvm/Config/llvm-config.h" 39 O <<
"; Trace from function " << F->
getName() <<
", blocks:\n";
42 (*i)->printAsOperand(O,
true,
getModule());
45 O <<
"; Trace parent function: \n" << *
F;
48 #if !defined(NDEBUG) || defined(LLVM_ENABLE_DUMP) BasicBlock * getEntryBasicBlock() const
getEntryBasicBlock - Return the entry basic block (first block) of the trace.
This class represents lattice values for constants.
A Module instance is used to store all the information related to an LLVM module. ...
Function * getFunction() const
getFunction - Return this trace's parent function.
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.
Module * getModule() const
getModule - Return this Module that contains this trace's parent function.
void print(raw_ostream &O) const
print - Write trace to output stream.
StringRef getName() const
Return a constant reference to the value's name.
const Function * getParent() const
Return the enclosing method, or null if none.
BasicBlockListType::const_iterator const_iterator
Module * getParent()
Get the module that this global value is contained inside of...
This class implements an extremely fast bulk output stream that can only output to a stream...