LLVM 20.0.0git
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>

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

namespace  llvm
 This is an optimization pass for GlobalISel generic memory operations.
 
namespace  llvm::xray
 

Functions

Expected< Profilellvm::xray::loadProfile (StringRef Filename)
 This function will attempt to load an XRay Profiling Mode profile from the provided |Filename|.
 
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.
 
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.
 
Expected< Profilellvm::xray::profileFromTrace (const Trace &T)
 This function takes a Trace and creates a Profile instance from it.