LLVM 22.0.0git
llvm::MachineModuleSlotTracker Class Reference

#include "llvm/CodeGen/MachineModuleSlotTracker.h"

Inheritance diagram for llvm::MachineModuleSlotTracker:
[legend]

Public Member Functions

 MachineModuleSlotTracker (const MachineModuleInfo &MMI, const MachineFunction *MF, bool ShouldInitializeAllMetadata=true)
 ~MachineModuleSlotTracker ()
void collectMachineMDNodes (MachineMDNodeListType &L) const
Public Member Functions inherited from llvm::ModuleSlotTracker
 ModuleSlotTracker (SlotTracker &Machine, const Module *M, const Function *F=nullptr)
 Wrap a preinitialized SlotTracker.
 ModuleSlotTracker (const Module *M, bool ShouldInitializeAllMetadata=true)
 Construct a slot tracker from a module.
virtual ~ModuleSlotTracker ()
 Destructor to clean up storage.
SlotTrackergetMachine ()
 Lazily creates a slot tracker.
const ModulegetModule () const
const FunctiongetCurrentFunction () const
void incorporateFunction (const Function &F)
 Incorporate the given function.
int getLocalSlot (const Value *V)
 Return the slot number of the specified local value.
void setProcessHook (std::function< void(AbstractSlotTrackerStorage *, const Module *, bool)>)
void setProcessHook (std::function< void(AbstractSlotTrackerStorage *, const Function *, bool)>)
void collectMDNodes (MachineMDNodeListType &L, unsigned LB, unsigned UB) const

Additional Inherited Members

Public Types inherited from llvm::ModuleSlotTracker
using MachineMDNodeListType

Detailed Description

Definition at line 23 of file MachineModuleSlotTracker.h.

Constructor & Destructor Documentation

◆ MachineModuleSlotTracker()

MachineModuleSlotTracker::MachineModuleSlotTracker ( const MachineModuleInfo & MMI,
const MachineFunction * MF,
bool ShouldInitializeAllMetadata = true )

◆ ~MachineModuleSlotTracker()

MachineModuleSlotTracker::~MachineModuleSlotTracker ( )
default

Member Function Documentation

◆ collectMachineMDNodes()

void MachineModuleSlotTracker::collectMachineMDNodes ( MachineMDNodeListType & L) const

The documentation for this class was generated from the following files: