LLVM 22.0.0git
Profile.h File Reference
#include "llvm/ADT/DenseMap.h"
#include "llvm/ADT/SmallVector.h"
#include "llvm/ADT/StringRef.h"
#include "llvm/Support/Compiler.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

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