diff options
| author | Anton Korobeynikov <asl@math.spbu.ru> | 2010-07-24 21:52:08 +0000 |
|---|---|---|
| committer | Anton Korobeynikov <asl@math.spbu.ru> | 2010-07-24 21:52:08 +0000 |
| commit | 6cd461f358b227a0dce4d8ef6d872aa3a192f367 (patch) | |
| tree | 22c17028e13afec642876ead757e6aa5c42bb78c /include/llvm/Target/TargetLowering.h | |
| parent | 2bfb28d3aaac30fb593ac868dd522793d4992102 (diff) | |
| download | external_llvm-6cd461f358b227a0dce4d8ef6d872aa3a192f367.zip external_llvm-6cd461f358b227a0dce4d8ef6d872aa3a192f367.tar.gz external_llvm-6cd461f358b227a0dce4d8ef6d872aa3a192f367.tar.bz2 | |
Hook in GlobalMerge pass
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@109359 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Target/TargetLowering.h')
| -rw-r--r-- | include/llvm/Target/TargetLowering.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/llvm/Target/TargetLowering.h b/include/llvm/Target/TargetLowering.h index 2d8838c..197b8d1 100644 --- a/include/llvm/Target/TargetLowering.h +++ b/include/llvm/Target/TargetLowering.h @@ -792,6 +792,12 @@ public: return false; } + /// getMaximalGlobalOffset - Returns the maximal possible offset which can be + /// used for loads / stores from the global. + virtual unsigned getMaximalGlobalOffset() const { + return 0; + } + //===--------------------------------------------------------------------===// // TargetLowering Optimization Methods // |
