summaryrefslogtreecommitdiffstats
path: root/polly/lib/Support
diff options
context:
space:
mode:
Diffstat (limited to 'polly/lib/Support')
-rw-r--r--polly/lib/Support/GICHelper.cpp1
-rw-r--r--polly/lib/Support/SCEVValidator.cpp28
2 files changed, 9 insertions, 20 deletions
diff --git a/polly/lib/Support/GICHelper.cpp b/polly/lib/Support/GICHelper.cpp
index 3959cd014a5..d01c4eeeb43 100644
--- a/polly/lib/Support/GICHelper.cpp
+++ b/polly/lib/Support/GICHelper.cpp
@@ -121,4 +121,3 @@ std::string polly::stringFromIslObj(__isl_keep isl_pw_aff *pwaff) {
return stringFromIslObjInternal(pwaff, isl_pw_aff_get_ctx,
isl_printer_print_pw_aff);
}
-
diff --git a/polly/lib/Support/SCEVValidator.cpp b/polly/lib/Support/SCEVValidator.cpp
index ffaf3dcddc6..d5b4a34ae13 100644
--- a/polly/lib/Support/SCEVValidator.cpp
+++ b/polly/lib/Support/SCEVValidator.cpp
@@ -437,30 +437,22 @@ private:
};
namespace polly {
- bool hasScalarDepsInsideRegion(const SCEV *Expr, const Region *R) {
- return SCEVInRegionDependences::hasDependences(Expr, R);
- }
+bool hasScalarDepsInsideRegion(const SCEV *Expr, const Region *R) {
+ return SCEVInRegionDependences::hasDependences(Expr, R);
+}
- bool isAffineExpr(const Region *R, const SCEV *Expr, ScalarEvolution &SE,
- const Value *BaseAddress) {
- if (isa<SCEVCouldNotCompute>(Expr))
+bool isAffineExpr(const Region *R, const SCEV *Expr, ScalarEvolution &SE,
+ const Value *BaseAddress) {
+ if (isa<SCEVCouldNotCompute>(Expr))
return false;
SCEVValidator Validator(R, SE, BaseAddress);
- DEBUG(
- dbgs() << "\n";
- dbgs() << "Expr: " << *Expr << "\n";
- dbgs() << "Region: " << R->getNameStr() << "\n";
- dbgs() << " -> "
- );
+ DEBUG(dbgs() << "\n"; dbgs() << "Expr: " << *Expr << "\n";
+ dbgs() << "Region: " << R->getNameStr() << "\n"; dbgs() << " -> ");
ValidatorResult Result = Validator.visit(Expr);
- DEBUG(
- if (Result.isValid())
- dbgs() << "VALID\n";
- dbgs() << "\n";
- );
+ DEBUG(if (Result.isValid()) dbgs() << "VALID\n"; dbgs() << "\n";);
return Result.isValid();
}
@@ -477,5 +469,3 @@ getParamsInAffineExpr(const Region *R, const SCEV *Expr, ScalarEvolution &SE,
return Result.getParameters();
}
}
-
-
OpenPOWER on IntegriCloud