10 #ifndef LLVM_IR_MODULESLOTTRACKER_H 11 #define LLVM_IR_MODULESLOTTRACKER_H 32 std::unique_ptr<SlotTracker> MachineStorage;
33 bool ShouldCreateStorage =
false;
34 bool ShouldInitializeAllMetadata =
false;
53 bool ShouldInitializeAllMetadata =
true);
This class represents lattice values for constants.
A Module instance is used to store all the information related to an LLVM module. ...
const Function * getCurrentFunction() const
int getLocalSlot(const Value *V)
Return the slot number of the specified local value.
Manage lifetime of a slot tracker for printing IR.
SlotTracker * getMachine()
Lazily creates a slot tracker.
const Module * getModule() 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.
LLVM Value Representation.