diff options
author | Anton Korobeynikov <asl@math.spbu.ru> | 2009-07-16 14:16:05 +0000 |
---|---|---|
committer | Anton Korobeynikov <asl@math.spbu.ru> | 2009-07-16 14:16:05 +0000 |
commit | 1c2eedb3b6e3210f79b1e991021698e4e4949ed3 (patch) | |
tree | e8b7e30b19761f001bf7ef80cf05472f74948967 /lib/Target/SystemZ/SystemZSubtarget.h | |
parent | 43e1b32a01365ef5fe10e9c0f0496ad2d1f54fe1 (diff) | |
download | external_llvm-1c2eedb3b6e3210f79b1e991021698e4e4949ed3.zip external_llvm-1c2eedb3b6e3210f79b1e991021698e4e4949ed3.tar.gz external_llvm-1c2eedb3b6e3210f79b1e991021698e4e4949ed3.tar.bz2 |
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.h | 4 |
1 files changed, 4 insertions, 0 deletions
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 @@ public: const std::string &CPU); bool isZ10() const { return HasZ10Insts; } + + bool GVRequiresExtraLoad(const GlobalValue* GV, const TargetMachine& TM, + bool isDirectCall) const; }; } // End llvm namespace |