Go to the documentation of this file.
18 #ifndef LLVM_CODEGEN_REGISTERUSAGEINFO_H
19 #define LLVM_CODEGEN_REGISTERUSAGEINFO_H
32 class LLVMTargetMachine;
71 #endif // LLVM_CODEGEN_REGISTERUSAGEINFO_H
void initializePhysicalRegisterUsageInfoPass(PassRegistry &)
This is an optimization pass for GlobalISel generic memory operations.
ImmutablePass class - This class is used to provide information that does not need to be run.
void print(raw_ostream &OS, const Module *M=nullptr) const override
print - Print out the internal state of the pass.
ArrayRef< uint32_t > getRegUsageInfo(const Function &FP)
To query stored RegMask for given Function *, it will returns ane empty array if function is not know...
bool doFinalization(Module &M) override
doFinalization - Virtual method overriden by subclasses to do any necessary clean up after all passes...
static PassRegistry * getPassRegistry()
getPassRegistry - Access the global registry object, which is automatically initialized at applicatio...
void storeUpdateRegUsageInfo(const Function &FP, ArrayRef< uint32_t > RegMask)
To store RegMask for given Function *.
PassRegistry - This class manages the registration and intitialization of the pass subsystem as appli...
This class implements an extremely fast bulk output stream that can only output to a stream.
unsigned ID
LLVM IR allows to use arbitrary numbers as calling convention identifiers.
A Module instance is used to store all the information related to an LLVM module.
PhysicalRegisterUsageInfo()
void setTargetMachine(const LLVMTargetMachine &TM)
Set TargetMachine which is used to print analysis.
This class describes a target machine that is implemented with the LLVM target-independent code gener...
bool doInitialization(Module &M) override
doInitialization - Virtual method overridden by subclasses to do any necessary initialization before ...
A global registry used in conjunction with static constructors to make pluggable components (like tar...