diff options
| author | Anand Shukla <ashukla@cs.uiuc.edu> | 2003-07-20 15:39:30 +0000 |
|---|---|---|
| committer | Anand Shukla <ashukla@cs.uiuc.edu> | 2003-07-20 15:39:30 +0000 |
| commit | bd2d0577fb12288c47fbcde3dad8977948625bff (patch) | |
| tree | 5ea27faaadc1710bcf9d9093b5ea230ffcefedd5 /llvm/lib/Target/Sparc/SparcInternals.h | |
| parent | 63e14b5a4a08359a0632bb54559a1d7326a72a60 (diff) | |
| download | bcm5719-llvm-bd2d0577fb12288c47fbcde3dad8977948625bff.tar.gz bcm5719-llvm-bd2d0577fb12288c47fbcde3dad8977948625bff.zip | |
Added special consideration for instrumentation strategy
llvm-svn: 7208
Diffstat (limited to 'llvm/lib/Target/Sparc/SparcInternals.h')
| -rw-r--r-- | llvm/lib/Target/Sparc/SparcInternals.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/lib/Target/Sparc/SparcInternals.h b/llvm/lib/Target/Sparc/SparcInternals.h index 47885a4f578..2cd54b2c00e 100644 --- a/llvm/lib/Target/Sparc/SparcInternals.h +++ b/llvm/lib/Target/Sparc/SparcInternals.h @@ -447,6 +447,10 @@ public: return MachineRegClassArr[RegClassID]->isRegVolatile(Reg); } + inline bool modifiedByCall(int RegClassID, int Reg) const { + return MachineRegClassArr[RegClassID]->modifiedByCall(Reg); + } + // Get the register type for a register identified different ways. int getRegType(const Type* type) const; int getRegType(const LiveRange *LR) const; |

