Implement 'large' PIC model
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76006 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Target/SystemZ/SystemZSubtarget.h b/lib/Target/SystemZ/SystemZSubtarget.h
index 41a3741..fd8212c 100644
--- a/lib/Target/SystemZ/SystemZSubtarget.h
+++ b/lib/Target/SystemZ/SystemZSubtarget.h
@@ -21,6 +21,7 @@
namespace llvm {
class Module;
class TargetMachine;
+class GlobalValue;
class SystemZSubtarget : public TargetSubtarget {
bool HasZ10Insts;
@@ -37,6 +38,9 @@
const std::string &CPU);
bool isZ10() const { return HasZ10Insts; }
+
+ bool GVRequiresExtraLoad(const GlobalValue* GV, const TargetMachine& TM,
+ bool isDirectCall) const;
};
} // End llvm namespace