summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTobias Grosser <tobias@grosser.es>2017-02-16 18:39:18 +0000
committerTobias Grosser <tobias@grosser.es>2017-02-16 18:39:18 +0000
commit98a3aa4f1937c524b980373733b391463ad981a6 (patch)
tree369726a3a145721c3acdf1afb167946f8769423c
parent3281f601bb9d279d4569fa958290c945cb0cd62c (diff)
downloadbcm5719-llvm-98a3aa4f1937c524b980373733b391463ad981a6.tar.gz
bcm5719-llvm-98a3aa4f1937c524b980373733b391463ad981a6.zip
[ScopInfo] Use uppercase variable name [NFC]
llvm-svn: 295350
-rw-r--r--polly/lib/Analysis/ScopInfo.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/polly/lib/Analysis/ScopInfo.cpp b/polly/lib/Analysis/ScopInfo.cpp
index a0e117149b9..60e73b01703 100644
--- a/polly/lib/Analysis/ScopInfo.cpp
+++ b/polly/lib/Analysis/ScopInfo.cpp
@@ -143,14 +143,14 @@ static __isl_give isl_set *addRangeBoundsToSet(__isl_take isl_set *S,
int dim,
enum isl_dim_type type) {
isl_val *V;
- isl_ctx *ctx = isl_set_get_ctx(S);
+ isl_ctx *Ctx = isl_set_get_ctx(S);
// The upper and lower bound for a parameter value is derived either from
// the data type of the parameter or from the - possibly more restrictive -
// range metadata.
- V = isl_valFromAPInt(ctx, Range.getSignedMin(), true);
+ V = isl_valFromAPInt(Ctx, Range.getSignedMin(), true);
S = isl_set_lower_bound_val(S, type, dim, V);
- V = isl_valFromAPInt(ctx, Range.getSignedMax(), true);
+ V = isl_valFromAPInt(Ctx, Range.getSignedMax(), true);
S = isl_set_upper_bound_val(S, type, dim, V);
if (Range.isFullSet())
@@ -159,10 +159,10 @@ static __isl_give isl_set *addRangeBoundsToSet(__isl_take isl_set *S,
// In case of signed wrapping, we can refine the set of valid values by
// excluding the part not covered by the wrapping range.
if (Range.isSignWrappedSet()) {
- V = isl_valFromAPInt(ctx, Range.getLower(), true);
+ V = isl_valFromAPInt(Ctx, Range.getLower(), true);
isl_set *SLB = isl_set_lower_bound_val(isl_set_copy(S), type, dim, V);
- V = isl_valFromAPInt(ctx, Range.getUpper(), true);
+ V = isl_valFromAPInt(Ctx, Range.getUpper(), true);
V = isl_val_sub_ui(V, 1);
isl_set *SUB = isl_set_upper_bound_val(S, type, dim, V);
S = isl_set_union(SLB, SUB);
OpenPOWER on IntegriCloud