LLVM 20.0.0git
|
#include "llvm/XRay/Profile.h"
#include "llvm/Support/DataExtractor.h"
#include "llvm/Support/Error.h"
#include "llvm/Support/FileSystem.h"
#include "llvm/XRay/Trace.h"
#include <deque>
#include <memory>
Go to the source code of this file.
Namespaces | |
namespace | llvm |
This is an optimization pass for GlobalISel generic memory operations. | |
namespace | llvm::xray |
Functions | |
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< Profile > | llvm::xray::loadProfile (StringRef Filename) |
This function will attempt to load an XRay Profiling Mode profile from the provided |Filename|. | |
Expected< Profile > | llvm::xray::profileFromTrace (const Trace &T) |
This function takes a Trace and creates a Profile instance from it. | |
Profile::FuncID FuncId |
Definition at line 321 of file Profile.cpp.
Referenced by llvm::codeview::DebugInlineeLinesSubsection::addInlineSite(), llvm::MCStreamer::checkCVLocSection(), llvm::CodeViewContext::emitLineTableForFunction(), llvm::xray::FunctionRecord::functionId(), llvm::CodeViewContext::getCVFunctionInfo(), llvm::xray::InstrumentationMap::getFunctionAddr(), llvm::CodeViewContext::getFunctionLineEntries(), llvm::AMDGPUMangledLibFunc::getFunctionType(), llvm::CodeViewContext::getLineExtent(), llvm::CodeViewContext::getLineExtentIncludingInlinees(), llvm::AMDGPUMangledLibFunc::getNumArgs(), llvm::AMDGPUUnmangledLibFunc::getNumArgs(), loadObj(), llvm::CodeViewContext::recordFunctionId(), and llvm::CodeViewContext::recordInlinedCallSiteId().
uint32_t Number |
Definition at line 47 of file Profile.cpp.
Referenced by FunctionParam::FunctionParam(), llvm::DIEAbbrev::getNumber(), llvm::MachineBasicBlock::getNumber(), llvm::BasicBlock::getNumber(), FunctionParam::match(), FunctionParam::printLeft(), rol(), llvm::MachineBasicBlock::setNumber(), and llvm::DIEAbbrev::setNumber().
uint32_t Size |
Definition at line 46 of file Profile.cpp.
uint64_t Thread |
Definition at line 48 of file Profile.cpp.
Referenced by llvm::CrashRecoveryContext::RunSafelyOnThread().
uint64_t Timestamp |
Definition at line 320 of file Profile.cpp.
Referenced by llvm::TemporalProfTraceTy::createBPFunctionNodes().