diff options
| -rw-r--r-- | polly/include/polly/ScopInfo.h | 8 | ||||
| -rw-r--r-- | polly/lib/Analysis/ScopInfo.cpp | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/polly/include/polly/ScopInfo.h b/polly/include/polly/ScopInfo.h index 3ea7491d5d1..eabd3477c36 100644 --- a/polly/include/polly/ScopInfo.h +++ b/polly/include/polly/ScopInfo.h @@ -233,7 +233,7 @@ public: /// @param S The scop this array object belongs to. /// @param BaseName The optional name of this memory reference. ScopArrayInfo(Value *BasePtr, Type *ElementType, isl_ctx *IslCtx, - ArrayRef<const SCEV *> DimensionSizes, enum MemoryKind Kind, + ArrayRef<const SCEV *> DimensionSizes, MemoryKind Kind, const DataLayout &DL, Scop *S, const char *BaseName = nullptr); /// Update the element type of the ScopArrayInfo object. @@ -320,7 +320,7 @@ public: __isl_give isl_id *getBasePtrId() const; /// Return what kind of memory this represents. - enum MemoryKind getKind() const { return Kind; } + MemoryKind getKind() const { return Kind; } /// Is this array info modeling an llvm::Value? bool isValueKind() const { return Kind == MemoryKind::Value; } @@ -399,7 +399,7 @@ private: /// The type of this scop array info object. /// /// We distinguish between SCALAR, PHI and ARRAY objects. - enum MemoryKind Kind; + MemoryKind Kind; /// The data layout of the module. const DataLayout &DL; @@ -1536,7 +1536,7 @@ private: /// The affinator used to translate SCEVs to isl expressions. SCEVAffinator Affinator; - typedef std::map<std::pair<AssertingVH<const Value>, enum MemoryKind>, + typedef std::map<std::pair<AssertingVH<const Value>, MemoryKind>, std::unique_ptr<ScopArrayInfo>> ArrayInfoMapTy; diff --git a/polly/lib/Analysis/ScopInfo.cpp b/polly/lib/Analysis/ScopInfo.cpp index ed74c990f29..8be46659273 100644 --- a/polly/lib/Analysis/ScopInfo.cpp +++ b/polly/lib/Analysis/ScopInfo.cpp @@ -186,7 +186,7 @@ static const ScopArrayInfo *identifyBasePtrOriginSAI(Scop *S, Value *BasePtr) { } ScopArrayInfo::ScopArrayInfo(Value *BasePtr, Type *ElementType, isl_ctx *Ctx, - ArrayRef<const SCEV *> Sizes, enum MemoryKind Kind, + ArrayRef<const SCEV *> Sizes, MemoryKind Kind, const DataLayout &DL, Scop *S, const char *BaseName) : BasePtr(BasePtr), ElementType(ElementType), Kind(Kind), DL(DL), S(*S) { |

