LLVM  9.0.0svn
Classes | Namespaces | Functions
Profile.h File Reference
#include "llvm/ADT/DenseMap.h"
#include "llvm/ADT/SmallVector.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/Support/Error.h"
#include <list>
#include <utility>
#include <vector>
Include dependency graph for Profile.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  llvm::xray::Profile
 Profile instances are thread-compatible. More...
 
struct  llvm::xray::Profile::Data
 
struct  llvm::xray::Profile::Block
 

Namespaces

 llvm
 This class represents lattice values for constants.
 
 llvm::xray
 

Functions

Expected< Profile > llvm::xray::loadProfile (StringRef Filename)
 This function will attempt to load an XRay Profiling Mode profile from the provided |Filename|. More...
 
Profile llvm::xray::mergeProfilesByThread (const Profile &L, const Profile &R)
 This algorithm will merge two Profile instances into a single Profile instance, aggregating blocks by Thread ID. More...
 
Profile llvm::xray::mergeProfilesByStack (const Profile &L, const Profile &R)
 This algorithm will merge two Profile instances into a single Profile instance, aggregating blocks by function call stack. More...
 
Expected< Profile > llvm::xray::profileFromTrace (const Trace &T)
 This function takes a Trace and creates a Profile instance from it. More...