[llvm-commits] [polly] r144086 - in /polly/trunk: include/polly/ScopInfo.h lib/Analysis/ScopInfo.cpp
Tobias Grosser
grosser at fim.uni-passau.de
Tue Nov 8 07:41:19 PST 2011
Author: grosser
Date: Tue Nov 8 09:41:19 2011
New Revision: 144086
URL: http://llvm.org/viewvc/llvm-project?rev=144086&view=rev
Log:
Remove const
Modified:
polly/trunk/include/polly/ScopInfo.h
polly/trunk/lib/Analysis/ScopInfo.cpp
Modified: polly/trunk/include/polly/ScopInfo.h
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/include/polly/ScopInfo.h?rev=144086&r1=144085&r2=144086&view=diff
==============================================================================
--- polly/trunk/include/polly/ScopInfo.h (original)
+++ polly/trunk/include/polly/ScopInfo.h Tue Nov 8 09:41:19 2011
@@ -261,14 +261,14 @@
/// Build the statment.
//@{
- __isl_give isl_set *buildConditionSet(const Comparison &Cmp) const;
+ __isl_give isl_set *buildConditionSet(const Comparison &Cmp);
__isl_give isl_set *addConditionsToDomain(__isl_take isl_set *Domain,
TempScop &tempScop,
- const Region &CurRegion) const;
+ const Region &CurRegion);
__isl_give isl_set *addLoopBoundsToDomain(__isl_take isl_set *Domain,
TempScop &tempScop) const;
__isl_give isl_set *buildDomain(TempScop &tempScop,
- const Region &CurRegion) const;
+ const Region &CurRegion);
void buildScattering(SmallVectorImpl<unsigned> &Scatter);
void buildAccesses(TempScop &tempScop, const Region &CurRegion);
//@}
Modified: polly/trunk/lib/Analysis/ScopInfo.cpp
URL: http://llvm.org/viewvc/llvm-project/polly/trunk/lib/Analysis/ScopInfo.cpp?rev=144086&r1=144085&r2=144086&view=diff
==============================================================================
--- polly/trunk/lib/Analysis/ScopInfo.cpp (original)
+++ polly/trunk/lib/Analysis/ScopInfo.cpp Tue Nov 8 09:41:19 2011
@@ -597,7 +597,7 @@
Scattering = isl_map_align_params(Scattering, Parent.getParamSpace());
}
-__isl_give isl_set *ScopStmt::buildConditionSet(const Comparison &Comp) const {
+__isl_give isl_set *ScopStmt::buildConditionSet(const Comparison &Comp) {
isl_pw_aff *L = SCEVAffinator::getPwAff(this, Comp.getLHS()->OriginalSCEV, 0);
isl_pw_aff *R = SCEVAffinator::getPwAff(this, Comp.getRHS()->OriginalSCEV, 0);
@@ -656,8 +656,7 @@
__isl_give isl_set *ScopStmt::addConditionsToDomain(__isl_take isl_set *Domain,
TempScop &tempScop,
- const Region &CurRegion)
- const {
+ const Region &CurRegion) {
const Region *TopRegion = tempScop.getMaxRegion().getParent(),
*CurrentRegion = &CurRegion;
const BasicBlock *BranchingBB = BB;
@@ -679,7 +678,7 @@
}
__isl_give isl_set *ScopStmt::buildDomain(TempScop &tempScop,
- const Region &CurRegion) const {
+ const Region &CurRegion) {
isl_space *Space;
isl_set *Domain;
More information about the llvm-commits
mailing list