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 | 091872cb375b46d96cc3fc76aff56244cd5a680e (patch) | |
tree | 2ed8eee438a4a11b31eef75c0cc1a1f92b9408ad /llvm/lib/Target/SystemZ/SystemZSubtarget.h | |
parent | 569a94c4d0b41567d35cb8d8aabb863b072788b4 (diff) | |
download | bcm5719-llvm-091872cb375b46d96cc3fc76aff56244cd5a680e.tar.gz bcm5719-llvm-091872cb375b46d96cc3fc76aff56244cd5a680e.zip |
Implement 'large' PIC model
llvm-svn: 76006
Diffstat (limited to 'llvm/lib/Target/SystemZ/SystemZSubtarget.h')
-rw-r--r-- | llvm/lib/Target/SystemZ/SystemZSubtarget.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/lib/Target/SystemZ/SystemZSubtarget.h b/llvm/lib/Target/SystemZ/SystemZSubtarget.h index 41a3741a354..fd8212c8727 100644 --- a/llvm/lib/Target/SystemZ/SystemZSubtarget.h +++ b/llvm/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 |