Lines Matching refs:Trace
1 //===- Trace.cpp - Implementation of Trace class --------------------------===//
10 // This class represents a single trace of LLVM basic blocks. A trace is a
11 // single entry, multiple exit, region of code that is often hot. Trace-based
13 // block: because the trace path is assumed to be hot, optimizations for the
18 #include "llvm/Analysis/Trace.h"
24 Function *Trace::getFunction() const {
28 Module *Trace::getModule() const {
32 /// print - Write trace to output stream.
34 void Trace::print(raw_ostream &O) const {
36 O << "; Trace from function " << F->getName() << ", blocks:\n";
42 O << "; Trace parent function: \n" << *F;
46 /// dump - Debugger convenience method; writes trace to standard error
49 void Trace::dump() const {