LLVM 20.0.0git
Public Member Functions | List of all members
llvm::MachineModuleSlotTracker Class Reference

#include "llvm/CodeGen/MachineModuleSlotTracker.h"

Inheritance diagram for llvm::MachineModuleSlotTracker:
Inheritance graph
[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 = std::vector< std::pair< unsigned, const MDNode * > >
 

Detailed Description

Definition at line 22 of file MachineModuleSlotTracker.h.

Constructor & Destructor Documentation

◆ MachineModuleSlotTracker()

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

Definition at line 66 of file MachineModuleSlotTracker.cpp.

References F, and llvm::ModuleSlotTracker::setProcessHook().

◆ ~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: