diff options
Diffstat (limited to 'llvm/lib/Target/Mips/MipsABIInfo.h')
-rw-r--r-- | llvm/lib/Target/Mips/MipsABIInfo.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/llvm/lib/Target/Mips/MipsABIInfo.h b/llvm/lib/Target/Mips/MipsABIInfo.h index c1d90a7c4f7..778b04d9ce7 100644 --- a/llvm/lib/Target/Mips/MipsABIInfo.h +++ b/llvm/lib/Target/Mips/MipsABIInfo.h @@ -10,7 +10,11 @@ #ifndef MIPSABIINFO_H #define MIPSABIINFO_H +#include "llvm/ADT/ArrayRef.h" +#include "llvm/MC/MCRegisterInfo.h" + namespace llvm { + class MipsABIInfo { public: enum class ABI { Unknown, O32, N32, N64, EABI }; @@ -34,6 +38,8 @@ public: bool IsEABI() const { return ThisABI == ABI::EABI; } ABI GetEnumValue() const { return ThisABI; } + const ArrayRef<MCPhysReg> GetByValArgRegs() const; + /// Ordering of ABI's /// MipsGenSubtargetInfo.inc will use this to resolve conflicts when given /// multiple ABI options. |