summaryrefslogtreecommitdiff
path: root/lib/Target/PowerPC/PPC.h
diff options
context:
space:
mode:
authorUlrich Weigand <ulrich.weigand@de.ibm.com>2013-06-21 14:42:20 +0000
committerUlrich Weigand <ulrich.weigand@de.ibm.com>2013-06-21 14:42:20 +0000
commit92cfa61c50d01307d658753f8d47f4e8555a6fa9 (patch)
treeea0eec7772debf7b3948052fdaecbcb0a6700523 /lib/Target/PowerPC/PPC.h
parente0026d00f90027a9f2b8ad6b6a2b48e36f808dbe (diff)
downloadllvm-92cfa61c50d01307d658753f8d47f4e8555a6fa9.tar.gz
llvm-92cfa61c50d01307d658753f8d47f4e8555a6fa9.tar.bz2
llvm-92cfa61c50d01307d658753f8d47f4e8555a6fa9.tar.xz
[PowerPC] Rename some more VK_PPC_ enums
This renames more VK_PPC_ enums, to make them more closely reflect the @modifier string they represent. This also prepares for adding a bunch of new VK_PPC_ enums in upcoming patches. For consistency, some MO_ flags related to VK_PPC_ enums are likewise renamed. No change in behaviour. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@184547 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/PowerPC/PPC.h')
-rw-r--r--lib/Target/PowerPC/PPC.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/lib/Target/PowerPC/PPC.h b/lib/Target/PowerPC/PPC.h
index bcad94f409..d5a08eed6d 100644
--- a/lib/Target/PowerPC/PPC.h
+++ b/lib/Target/PowerPC/PPC.h
@@ -74,18 +74,18 @@ namespace llvm {
/// The next are not flags but distinct values.
MO_ACCESS_MASK = 0xf0,
- /// MO_LO16, MO_HA16 - lo16(symbol) and ha16(symbol)
- MO_LO16 = 1 << 4,
- MO_HA16 = 2 << 4,
+ /// MO_LO, MO_HA - lo16(symbol) and ha16(symbol)
+ MO_LO = 1 << 4,
+ MO_HA = 2 << 4,
- MO_TPREL16_HA = 3 << 4,
- MO_TPREL16_LO = 4 << 4,
+ MO_TPREL_LO = 4 << 4,
+ MO_TPREL_HA = 3 << 4,
/// These values identify relocations on immediates folded
/// into memory operations.
- MO_DTPREL16_LO = 5 << 4,
- MO_TLSLD16_LO = 6 << 4,
- MO_TOC16_LO = 7 << 4
+ MO_DTPREL_LO = 5 << 4,
+ MO_TLSLD_LO = 6 << 4,
+ MO_TOC_LO = 7 << 4
};
} // end namespace PPCII