summaryrefslogtreecommitdiff
path: root/lib/Target/SystemZ/SystemZ.h
diff options
context:
space:
mode:
authorRichard Sandiford <rsandifo@linux.vnet.ibm.com>2013-08-23 11:36:42 +0000
committerRichard Sandiford <rsandifo@linux.vnet.ibm.com>2013-08-23 11:36:42 +0000
commita550b51bac50493db75a7b5788a3f2c3b62fd913 (patch)
tree234c55a16d594496ca2d4c1f257bbbc90c8035bd /lib/Target/SystemZ/SystemZ.h
parent35c93e4e42d7a35a90e89211fa62f478e25ba0a4 (diff)
downloadllvm-a550b51bac50493db75a7b5788a3f2c3b62fd913.tar.gz
llvm-a550b51bac50493db75a7b5788a3f2c3b62fd913.tar.bz2
llvm-a550b51bac50493db75a7b5788a3f2c3b62fd913.tar.xz
[SystemZ] Add basic prefetch support
Just the instructions and intrinsics for now. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@189100 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/SystemZ/SystemZ.h')
-rw-r--r--lib/Target/SystemZ/SystemZ.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/Target/SystemZ/SystemZ.h b/lib/Target/SystemZ/SystemZ.h
index bb6ceac83b..ea6c7d17fa 100644
--- a/lib/Target/SystemZ/SystemZ.h
+++ b/lib/Target/SystemZ/SystemZ.h
@@ -57,6 +57,10 @@ namespace llvm {
const unsigned CCMASK_SRST_NOTFOUND = CCMASK_2;
const unsigned CCMASK_SRST = CCMASK_1 | CCMASK_2;
+ // Mask assignments for PFD.
+ const unsigned PFD_READ = 1;
+ const unsigned PFD_WRITE = 2;
+
// Return true if Val fits an LLILL operand.
static inline bool isImmLL(uint64_t Val) {
return (Val & ~0x000000000000ffffULL) == 0;