Home | History | Annotate | Download | only in Analysis

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"
25 Function *Trace::getFunction() const {
29 Module *Trace::getModule() const {
33 /// print - Write trace to output stream.
35 void Trace::print(raw_ostream &O) const {
37 O << "; Trace from function " << F->getNameStr() << ", blocks:\n";
43 O << "; Trace parent function: \n" << *F;
46 /// dump - Debugger convenience method; writes trace to standard error
49 void Trace::dump() const {