LLVM 22.0.0git
Classes | Namespaces | Typedefs | Functions
MemProfUse.h File Reference
#include "llvm/ADT/IntrusiveRefCntPtr.h"
#include "llvm/IR/PassManager.h"
#include "llvm/ProfileData/DataAccessProf.h"
#include "llvm/ProfileData/MemProf.h"
#include "llvm/Support/Compiler.h"
#include <unordered_map>

Go to the source code of this file.

Classes

class  llvm::MemProfUsePass
 
struct  llvm::memprof::LineLocationHash
 

Namespaces

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

Typedefs

using llvm::memprof::LocToLocMap = std::unordered_map< LineLocation, LineLocation, LineLocationHash >
 

Functions

LLVM_ABI DenseMap< uint64_t, SmallVector< CallEdgeTy, 0 > > llvm::memprof::extractCallsFromIR (Module &M, const TargetLibraryInfo &TLI, function_ref< bool(uint64_t)> IsPresentInProfile=[](uint64_t) { return true;})
 
LLVM_ABI DenseMap< uint64_t, LocToLocMapllvm::memprof::computeUndriftMap (Module &M, IndexedInstrProfReader *MemProfReader, const TargetLibraryInfo &TLI)