Lines Matching full:trace
1 //===- Trace.cpp - Implementation of Trace class --------------------------===//
9 // This class represents a single trace of LLVM basic blocks. A trace is a
10 // single entry, multiple exit, region of code that is often hot. Trace-based
12 // block: because the trace path is assumed to be hot, optimizations for the
17 #include "llvm/Analysis/Trace.h"
27 Function *Trace::getFunction() const { in getFunction()
31 Module *Trace::getModule() const { in getModule()
35 /// print - Write trace to output stream.
36 void Trace::print(raw_ostream &O) const { in print()
38 O << "; Trace from function " << F->getName() << ", blocks:\n"; in print()
44 O << "; Trace parent function: \n" << *F; in print()
48 /// dump - Debugger convenience method; writes trace to standard error
50 LLVM_DUMP_METHOD void Trace::dump() const { in dump()