10 #ifndef LLVM_IR_MODULESLOTTRACKER_H
11 #define LLVM_IR_MODULESLOTTRACKER_H
31 std::unique_ptr<SlotTracker> MachineStorage;
50 bool ShouldInitializeAllMetadata =
true);
A Module instance is used to store all the information related to an LLVM module. ...
Manage lifetime of a slot tracker for printing IR.
SlotTracker * getMachine() const
This class provides computation of slot numbers for LLVM Assembly writing.
void incorporateFunction(const Function &F)
Incorporate the given function.
ModuleSlotTracker(SlotTracker &Machine, const Module *M, const Function *F=nullptr)
Wrap a preinitialized SlotTracker.
~ModuleSlotTracker()
Destructor to clean up storage.
const Module * getModule() const
const Function * getCurrentFunction() const