aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/PowerPC/PPC.h
diff options
context:
space:
mode:
authorNate Begeman <natebegeman@mac.com>2005-07-21 20:44:43 +0000
committerNate Begeman <natebegeman@mac.com>2005-07-21 20:44:43 +0000
commit2497e6391f8df05926fe17b5cf08dad61c4797d2 (patch)
treefcd77e313058c02770557562cfd34229137702bc /lib/Target/PowerPC/PPC.h
parent2130c0893041718f6d5c2bf3df4ba0ddce9adb08 (diff)
downloadexternal_llvm-2497e6391f8df05926fe17b5cf08dad61c4797d2.zip
external_llvm-2497e6391f8df05926fe17b5cf08dad61c4797d2.tar.gz
external_llvm-2497e6391f8df05926fe17b5cf08dad61c4797d2.tar.bz2
Support building non-PIC
Remove the LoadHiAddr pseudo-instruction. Optimization of stores to and loads from statics. Force JIT to use new non-PIC codepaths. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22494 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/PowerPC/PPC.h')
-rw-r--r--lib/Target/PowerPC/PPC.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/Target/PowerPC/PPC.h b/lib/Target/PowerPC/PPC.h
index 944b1f5..2761910 100644
--- a/lib/Target/PowerPC/PPC.h
+++ b/lib/Target/PowerPC/PPC.h
@@ -28,6 +28,9 @@ FunctionPass *createPPC32ISelPattern(TargetMachine &TM);
FunctionPass *createPPC64ISelPattern(TargetMachine &TM);
FunctionPass *createDarwinAsmPrinter(std::ostream &OS, TargetMachine &TM);
FunctionPass *createAIXAsmPrinter(std::ostream &OS, TargetMachine &TM);
+
+extern bool GPOPT;
+extern bool PICEnabled;
} // end namespace llvm;
// GCC #defines PPC on Linux but we use it as our namespace name