summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/Mips/MipsABIInfo.h
diff options
context:
space:
mode:
authorDaniel Sanders <daniel.sanders@imgtec.com>2014-11-02 16:09:29 +0000
committerDaniel Sanders <daniel.sanders@imgtec.com>2014-11-02 16:09:29 +0000
commit23e987766b97d75fcad57f8a0f7ac8e4790e09d8 (patch)
tree12aacbef5a24458f84b25d5611c70d92eb005399 /llvm/lib/Target/Mips/MipsABIInfo.h
parent8ba95b7b4d9ca3318d177882ee4e29f119c443ef (diff)
downloadbcm5719-llvm-23e987766b97d75fcad57f8a0f7ac8e4790e09d8.tar.gz
bcm5719-llvm-23e987766b97d75fcad57f8a0f7ac8e4790e09d8.zip
Re-commit r221056 and others with fix, "[mips] Move F128 argument handling into MipsCCState as we did for returns. NFC."
sret arguments can never originate from an f128 argument so we detect sret arguments and push false into OriginalArgWasF128. llvm-svn: 221102
Diffstat (limited to 'llvm/lib/Target/Mips/MipsABIInfo.h')
-rw-r--r--llvm/lib/Target/Mips/MipsABIInfo.h6
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.
OpenPOWER on IntegriCloud