Go to the documentation of this file.
9 #ifndef LLVM_CODEGEN_MACHINEMODULESLOTTRACKER_H
10 #define LLVM_CODEGEN_MACHINEMODULESLOTTRACKER_H
16 class AbstractSlotTrackerStorage;
18 class MachineModuleInfo;
19 class MachineFunction;
25 unsigned MDNStartSlot = 0, MDNEndSlot = 0;
30 bool ShouldInitializeAllMetadata);
33 bool ShouldInitializeAllMetadata);
37 bool ShouldInitializeAllMetadata =
true);
45 #endif // LLVM_CODEGEN_MACHINEMODULESLOTTRACKER_H
This is an optimization pass for GlobalISel generic memory operations.
We currently emits eax Perhaps this is what we really should generate is Is imull three or four cycles eax eax The current instruction priority is based on pattern complexity The former is more complex because it folds a load so the latter will not be emitted Perhaps we should use AddedComplexity to give LEA32r a higher priority We should always try to match LEA first since the LEA matching code does some estimate to determine whether the match is profitable if we care more about code then imull is better It s two bytes shorter than movl leal On a Pentium M
Manage lifetime of a slot tracker for printing IR.
This class contains meta information specific to a module.
~MachineModuleSlotTracker()
A Module instance is used to store all the information related to an LLVM module.
MachineModuleSlotTracker(const MachineFunction *MF, bool ShouldInitializeAllMetadata=true)
Machine Check Debug Module
std::vector< std::pair< unsigned, const MDNode * > > MachineMDNodeListType
Abstract interface of slot tracker storage.
void collectMachineMDNodes(MachineMDNodeListType &L) const