summaryrefslogtreecommitdiff
path: root/lib/Target/SystemZ/SystemZSubtarget.h
diff options
context:
space:
mode:
authorAnton Korobeynikov <asl@math.spbu.ru>2009-07-16 14:16:05 +0000
committerAnton Korobeynikov <asl@math.spbu.ru>2009-07-16 14:16:05 +0000
commit6fe326c713c25e33e7e3ea3d1202ba19a19090c5 (patch)
treee8b7e30b19761f001bf7ef80cf05472f74948967 /lib/Target/SystemZ/SystemZSubtarget.h
parent48e8b3cc5841f0652430aa9f0ce3eb9fa09bdcda (diff)
downloadllvm-6fe326c713c25e33e7e3ea3d1202ba19a19090c5.tar.gz
llvm-6fe326c713c25e33e7e3ea3d1202ba19a19090c5.tar.bz2
llvm-6fe326c713c25e33e7e3ea3d1202ba19a19090c5.tar.xz
Implement 'large' PIC model
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76006 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/SystemZ/SystemZSubtarget.h')
-rw-r--r--lib/Target/SystemZ/SystemZSubtarget.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/Target/SystemZ/SystemZSubtarget.h b/lib/Target/SystemZ/SystemZSubtarget.h
index 41a3741a35..fd8212c872 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 @@ public:
const std::string &CPU);
bool isZ10() const { return HasZ10Insts; }
+
+ bool GVRequiresExtraLoad(const GlobalValue* GV, const TargetMachine& TM,
+ bool isDirectCall) const;
};
} // End llvm namespace