[mips] Move all ByVal handling into CCState and tablegen-erated code. NFC.
[oota-llvm.git] / lib / Target / Mips / MipsABIInfo.h
index c1d90a7c4f7ff366cad1456bcc9a471051f93282..778b04d9ce751daadf0ce8d7767f1e14d0cb1628 100644 (file)
 #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.