|
LLVM 22.0.0git
|
#include "llvm/CodeGen/RegisterUsageInfo.h"
Public Member Functions | |
| void | setTargetMachine (const TargetMachine &TM) |
| Set TargetMachine which is used to print analysis. | |
| bool | doInitialization (Module &M) |
| bool | doFinalization (Module &M) |
| void | storeUpdateRegUsageInfo (const Function &FP, ArrayRef< uint32_t > RegMask) |
| To store RegMask for given Function *. | |
| ArrayRef< uint32_t > | getRegUsageInfo (const Function &FP) |
| To query stored RegMask for given Function *, it will returns ane empty array if function is not known. | |
| void | print (raw_ostream &OS, const Module *M=nullptr) const |
| bool | invalidate (Module &M, const PreservedAnalyses &PA, ModuleAnalysisManager::Invalidator &Inv) |
Definition at line 35 of file RegisterUsageInfo.h.
Definition at line 51 of file RegisterUsageInfo.cpp.
References DumpRegUsage, llvm::errs(), and print().
Definition at line 46 of file RegisterUsageInfo.cpp.
Referenced by llvm::PhysicalRegisterUsageAnalysis::run().
To query stored RegMask for given Function *, it will returns ane empty array if function is not known.
Definition at line 65 of file RegisterUsageInfo.cpp.
References FP.
| bool PhysicalRegisterUsageInfo::invalidate | ( | Module & | M, |
| const PreservedAnalyses & | PA, | ||
| ModuleAnalysisManager::Invalidator & | Inv ) |
Definition at line 101 of file RegisterUsageInfo.cpp.
References llvm::PreservedAnalyses::getChecker().
| void PhysicalRegisterUsageInfo::print | ( | raw_ostream & | OS, |
| const Module * | M = nullptr ) const |
Definition at line 72 of file RegisterUsageInfo.cpp.
References A(), B(), llvm::MachineOperand::clobbersPhysReg(), llvm::make_pointer_range(), llvm::printReg(), llvm::sort(), and TRI.
Referenced by doFinalization().
| void llvm::PhysicalRegisterUsageInfo::setTargetMachine | ( | const TargetMachine & | TM | ) |
Set TargetMachine which is used to print analysis.
References FP.
| void PhysicalRegisterUsageInfo::storeUpdateRegUsageInfo | ( | const Function & | FP, |
| ArrayRef< uint32_t > | RegMask ) |
To store RegMask for given Function *.
Definition at line 59 of file RegisterUsageInfo.cpp.
References FP.