summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTobias Grosser <tobias@grosser.es>2015-09-05 07:46:40 +0000
committerTobias Grosser <tobias@grosser.es>2015-09-05 07:46:40 +0000
commit166c422952fd470b61121d6933a142276ff4093c (patch)
tree1ceee2cf494fb982385ee6dd390b521cd6d0dad2
parenta416e57b89e253cfbd936935ed06dc43afc972a8 (diff)
downloadbcm5719-llvm-166c422952fd470b61121d6933a142276ff4093c.tar.gz
bcm5719-llvm-166c422952fd470b61121d6933a142276ff4093c.zip
Use uppercase variable names [NFC]
llvm-svn: 246916
-rw-r--r--polly/include/polly/ScopInfo.h6
-rw-r--r--polly/lib/Analysis/ScopInfo.cpp12
2 files changed, 9 insertions, 9 deletions
diff --git a/polly/include/polly/ScopInfo.h b/polly/include/polly/ScopInfo.h
index 4550ee8bb90..4c0ae064d2c 100644
--- a/polly/include/polly/ScopInfo.h
+++ b/polly/include/polly/ScopInfo.h
@@ -273,7 +273,7 @@ private:
Value *AccessValue;
/// Updated access relation read from JSCOP file.
- isl_map *newAccessRelation;
+ isl_map *NewAccessRelation;
/// @brief A unique identifier for this memory access.
///
@@ -362,7 +362,7 @@ public:
bool isWrite() const { return isMustWrite() || isMayWrite(); }
/// @brief Check if a new access relation was imported or set by a pass.
- bool hasNewAccessRelation() const { return newAccessRelation; }
+ bool hasNewAccessRelation() const { return NewAccessRelation; }
/// @brief Return the newest access relation of this access.
///
@@ -441,7 +441,7 @@ public:
ReductionType getReductionType() const { return RedType; }
/// @brief Set the updated access relation read from JSCOP file.
- void setNewAccessRelation(__isl_take isl_map *newAccessRelation);
+ void setNewAccessRelation(__isl_take isl_map *NewAccessRelation);
/// @brief Mark this a reduction like access
void markAsReductionLike(ReductionType RT) { RedType = RT; }
diff --git a/polly/lib/Analysis/ScopInfo.cpp b/polly/lib/Analysis/ScopInfo.cpp
index 1e4b582cb95..32fb3dbdbc8 100644
--- a/polly/lib/Analysis/ScopInfo.cpp
+++ b/polly/lib/Analysis/ScopInfo.cpp
@@ -269,7 +269,7 @@ static MemoryAccess::ReductionType getReductionType(const BinaryOperator *BinOp,
MemoryAccess::~MemoryAccess() {
isl_id_free(Id);
isl_map_free(AccessRelation);
- isl_map_free(newAccessRelation);
+ isl_map_free(NewAccessRelation);
}
static MemoryAccess::AccessType getMemoryAccessType(const IRAccess &Access) {
@@ -321,7 +321,7 @@ __isl_give isl_space *MemoryAccess::getOriginalAccessRelationSpace() const {
}
__isl_give isl_map *MemoryAccess::getNewAccessRelation() const {
- return isl_map_copy(newAccessRelation);
+ return isl_map_copy(NewAccessRelation);
}
__isl_give isl_basic_map *
@@ -484,7 +484,7 @@ MemoryAccess::MemoryAccess(const IRAccess &Access, Instruction *AccInst,
int Identifier)
: AccType(getMemoryAccessType(Access)), Statement(Statement),
AccessInstruction(AccInst), AccessValue(Access.getAccessValue()),
- newAccessRelation(nullptr) {
+ NewAccessRelation(nullptr) {
isl_ctx *Ctx = Statement->getIslCtx();
BaseAddr = Access.getBase();
@@ -667,9 +667,9 @@ bool MemoryAccess::isStrideOne(const isl_map *Schedule) const {
return isStrideX(Schedule, 1);
}
-void MemoryAccess::setNewAccessRelation(isl_map *newAccess) {
- isl_map_free(newAccessRelation);
- newAccessRelation = newAccess;
+void MemoryAccess::setNewAccessRelation(isl_map *NewAccess) {
+ isl_map_free(NewAccessRelation);
+ NewAccessRelation = NewAccess;
}
//===----------------------------------------------------------------------===//
OpenPOWER on IntegriCloud