summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Analysis
diff options
context:
space:
mode:
authorSanjoy Das <sanjoy@playingwithpointers.com>2016-03-01 19:28:01 +0000
committerSanjoy Das <sanjoy@playingwithpointers.com>2016-03-01 19:28:01 +0000
commitf1e9cae00e2322756324b5489dc48d533e5dd41d (patch)
tree01d568f40c3151c3aea3fa86d3ffdb9a792e943e /llvm/lib/Analysis
parentb5ca00a58de52d33c1935f49ce104f9d90cda67c (diff)
downloadbcm5719-llvm-f1e9cae00e2322756324b5489dc48d533e5dd41d.tar.gz
bcm5719-llvm-f1e9cae00e2322756324b5489dc48d533e5dd41d.zip
[SCEV] Minor cleanup: rename method, C++11'ify; NFC
llvm-svn: 262374
Diffstat (limited to 'llvm/lib/Analysis')
-rw-r--r--llvm/lib/Analysis/ScalarEvolution.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/llvm/lib/Analysis/ScalarEvolution.cpp b/llvm/lib/Analysis/ScalarEvolution.cpp
index e493a28a145..f61fa09a56e 100644
--- a/llvm/lib/Analysis/ScalarEvolution.cpp
+++ b/llvm/lib/Analysis/ScalarEvolution.cpp
@@ -3650,8 +3650,7 @@ PushDefUseChildren(Instruction *I,
/// instructions that depend on the given instruction and removes them from
/// the ValueExprMapType map if they reference SymName. This is used during PHI
/// resolution.
-void
-ScalarEvolution::ForgetSymbolicName(Instruction *PN, const SCEV *SymName) {
+void ScalarEvolution::forgetSymbolicName(Instruction *PN, const SCEV *SymName) {
SmallVector<Instruction *, 16> Worklist;
PushDefUseChildren(PN, Worklist);
@@ -3864,7 +3863,7 @@ const SCEV *ScalarEvolution::createAddRecFromPHI(PHINode *PN) {
// Okay, for the entire analysis of this edge we assumed the PHI
// to be symbolic. We now need to go back and purge all of the
// entries for the scalars that use the symbolic expression.
- ForgetSymbolicName(PN, SymbolicName);
+ forgetSymbolicName(PN, SymbolicName);
ValueExprMap[SCEVCallbackVH(PN, this)] = PHISCEV;
return PHISCEV;
}
@@ -3888,7 +3887,7 @@ const SCEV *ScalarEvolution::createAddRecFromPHI(PHINode *PN) {
// Okay, for the entire analysis of this edge we assumed the PHI
// to be symbolic. We now need to go back and purge all of the
// entries for the scalars that use the symbolic expression.
- ForgetSymbolicName(PN, SymbolicName);
+ forgetSymbolicName(PN, SymbolicName);
ValueExprMap[SCEVCallbackVH(PN, this)] = Shifted;
return Shifted;
}
OpenPOWER on IntegriCloud