diff options
Diffstat (limited to 'lib/Target/PowerPC/PPC.h')
-rw-r--r-- | lib/Target/PowerPC/PPC.h | 22 |
1 files changed, 10 insertions, 12 deletions
diff --git a/lib/Target/PowerPC/PPC.h b/lib/Target/PowerPC/PPC.h index a259ed3fd3276..e01f49dce81e7 100644 --- a/lib/Target/PowerPC/PPC.h +++ b/lib/Target/PowerPC/PPC.h @@ -16,7 +16,6 @@ #define LLVM_LIB_TARGET_POWERPC_PPC_H #include "MCTargetDesc/PPCMCTargetDesc.h" -#include <string> // GCC #defines PPC on Linux but we use it as our namespace name #undef PPC @@ -34,7 +33,6 @@ namespace llvm { #ifndef NDEBUG FunctionPass *createPPCCTRLoopsVerify(); #endif - FunctionPass *createPPCLoopDataPrefetchPass(); FunctionPass *createPPCLoopPreIncPrepPass(PPCTargetMachine &TM); FunctionPass *createPPCTOCRegDepsPass(); FunctionPass *createPPCEarlyReturnPass(); @@ -43,6 +41,7 @@ namespace llvm { FunctionPass *createPPCVSXSwapRemovalPass(); FunctionPass *createPPCMIPeepholePass(); FunctionPass *createPPCBranchSelectionPass(); + FunctionPass *createPPCQPXLoadSplatPass(); FunctionPass *createPPCISelDag(PPCTargetMachine &TM); FunctionPass *createPPCTLSDynamicCallPass(); FunctionPass *createPPCBoolRetToIntPass(); @@ -60,13 +59,12 @@ namespace llvm { //===------------------------------------------------------------------===// // PPC Specific MachineOperand flags. MO_NO_FLAG, - - /// MO_PLT_OR_STUB - On a symbol operand "FOO", this indicates that the - /// reference is actually to the "FOO$stub" or "FOO@plt" symbol. This is - /// used for calls and jumps to external functions on Tiger and earlier, and + + /// On a symbol operand "FOO", this indicates that the reference is actually + /// to "FOO@plt". This is used for calls and jumps to external functions on /// for PIC calls on Linux and ELF systems. - MO_PLT_OR_STUB = 1, - + MO_PLT = 1, + /// MO_PIC_FLAG - If this bit is set, the symbol reference is relative to /// the function's picbase, e.g. lo16(symbol-picbase). MO_PIC_FLAG = 2, @@ -74,7 +72,7 @@ namespace llvm { /// MO_NLP_FLAG - If this bit is set, the symbol reference is actually to /// the non_lazy_ptr for the global, e.g. lo16(symbol$non_lazy_ptr-picbase). MO_NLP_FLAG = 4, - + /// MO_NLP_HIDDEN_FLAG - If this bit is set, the symbol reference is to a /// symbol with hidden visibility. This causes a different kind of /// non-lazy-pointer to be generated. @@ -93,11 +91,11 @@ namespace llvm { /// These values identify relocations on immediates folded /// into memory operations. MO_DTPREL_LO = 5 << 4, - MO_TLSLD_LO = 6 << 4, - MO_TOC_LO = 7 << 4, + MO_TLSLD_LO = 6 << 4, + MO_TOC_LO = 7 << 4, // Symbol for VK_PPC_TLS fixup attached to an ADD instruction - MO_TLS = 8 << 4 + MO_TLS = 8 << 4 }; } // end namespace PPCII |