summaryrefslogtreecommitdiffstats
path: root/llvm/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
commit03481334b56e88d0713fb97694256b303ab6e81a (patch)
tree71a52b51e7903d25b80f46539323f02f643d1a47 /llvm/lib/Target/SystemZ/SystemZ.h
parent24e597b8c5986f4cc2d23e8145c0f04c57fae0bd (diff)
downloadbcm5719-llvm-03481334b56e88d0713fb97694256b303ab6e81a.tar.gz
bcm5719-llvm-03481334b56e88d0713fb97694256b303ab6e81a.zip
[SystemZ] Add basic prefetch support
Just the instructions and intrinsics for now. llvm-svn: 189100
Diffstat (limited to 'llvm/lib/Target/SystemZ/SystemZ.h')
-rw-r--r--llvm/lib/Target/SystemZ/SystemZ.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/llvm/lib/Target/SystemZ/SystemZ.h b/llvm/lib/Target/SystemZ/SystemZ.h
index bb6ceac83b6..ea6c7d17fa5 100644
--- a/llvm/lib/Target/SystemZ/SystemZ.h
+++ b/llvm/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;
OpenPOWER on IntegriCloud