19 #ifndef LLVM_CODEGEN_PHYSICALREGISTERUSAGEINFO_H 20 #define LLVM_CODEGEN_PHYSICALREGISTERUSAGEINFO_H 32 class LLVMTargetMachine;
71 #endif // LLVM_CODEGEN_PHYSICALREGISTERUSAGEINFO_H 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...
static PassRegistry * getPassRegistry()
getPassRegistry - Access the global registry object, which is automatically initialized at applicatio...
This class represents lattice values for constants.
A Module instance is used to store all the information related to an LLVM module. ...
A global registry used in conjunction with static constructors to make pluggable components (like tar...
PhysicalRegisterUsageInfo()
void print(raw_ostream &OS, const Module *M=nullptr) const override
print - Print out the internal state of the pass.
bool doInitialization(Module &M) override
doInitialization - Virtual method overridden by subclasses to do any necessary initialization before ...
bool doFinalization(Module &M) override
doFinalization - Virtual method overriden by subclasses to do any necessary clean up after all passes...
void initializePhysicalRegisterUsageInfoPass(PassRegistry &)
void storeUpdateRegUsageInfo(const Function &FP, ArrayRef< uint32_t > RegMask)
To store RegMask for given Function *.
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...
ImmutablePass class - This class is used to provide information that does not need to be run...
This class implements an extremely fast bulk output stream that can only output to a stream...
PassRegistry - This class manages the registration and intitialization of the pass subsystem as appli...