mirror of
https://github.com/RPCSX/llvm.git
synced 2024-12-12 22:26:14 +00:00
Add a getRegisterInfo() accessor just like on the X86 target.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13147 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
c991586b92
commit
27beae85a0
@ -39,6 +39,9 @@ public:
|
||||
virtual const TargetRegInfo &getRegInfo() const { return regInfo; }
|
||||
virtual const TargetFrameInfo &getFrameInfo() const { return frameInfo; }
|
||||
virtual TargetJITInfo *getJITInfo() { return &jitInfo; }
|
||||
virtual const MRegisterInfo *getRegisterInfo() const {
|
||||
return &instrInfo.getRegisterInfo();
|
||||
}
|
||||
|
||||
virtual bool addPassesToEmitAssembly(PassManager &PM, std::ostream &Out);
|
||||
virtual bool addPassesToEmitMachineCode(FunctionPassManager &PM,
|
||||
|
Loading…
Reference in New Issue
Block a user