summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTobias Grosser <grosser@fim.uni-passau.de>2012-06-22 10:59:36 +0000
committerTobias Grosser <grosser@fim.uni-passau.de>2012-06-22 10:59:36 +0000
commitb5f971f744c7ac08d194d7ba689b598d15c3c119 (patch)
treefee7a367bca4b55ec63e7f192f6b3659408a9931
parent83884a10424f47cf1da01e3ad669a2f6f60ea9d4 (diff)
downloadbcm5719-llvm-b5f971f744c7ac08d194d7ba689b598d15c3c119.tar.gz
bcm5719-llvm-b5f971f744c7ac08d194d7ba689b598d15c3c119.zip
Add TempScop::isWrite() function.
llvm-svn: 158987
-rwxr-xr-xpolly/include/polly/TempScopInfo.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/polly/include/polly/TempScopInfo.h b/polly/include/polly/TempScopInfo.h
index 8d342dbbc18..d8215ae9ced 100755
--- a/polly/include/polly/TempScopInfo.h
+++ b/polly/include/polly/TempScopInfo.h
@@ -65,6 +65,7 @@ public:
bool isRead() const { return Type == READ; }
+ bool isWrite() const { return Type == WRITE; }
};
class Comparison {
OpenPOWER on IntegriCloud