diff options
author | Sergey Kachkov <sergey.kachkov@syntacore.com> | 2023-02-02 12:49:04 +0300 |
---|---|---|
committer | Sergey Kachkov <sergey.kachkov@syntacore.com> | 2023-02-02 16:38:39 +0300 |
commit | 6f9e3f3b339e4a595da9304f299c07c276cec93c (patch) | |
tree | 92e13060210acf3d20ff8384a8f1336df12a92b5 /llvm/lib/Analysis/MemoryDependenceAnalysis.cpp | |
parent | d65c3bf39aa49eda0f5a6bff02c9292895a37e26 (diff) | |
download | llvm-6f9e3f3b339e4a595da9304f299c07c276cec93c.zip llvm-6f9e3f3b339e4a595da9304f299c07c276cec93c.tar.gz llvm-6f9e3f3b339e4a595da9304f299c07c276cec93c.tar.bz2 |
[NFC] Fix function naming conventions in PHITransAddr methods
Differential Revision: https://reviews.llvm.org/D143166
Diffstat (limited to 'llvm/lib/Analysis/MemoryDependenceAnalysis.cpp')
-rw-r--r-- | llvm/lib/Analysis/MemoryDependenceAnalysis.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/Analysis/MemoryDependenceAnalysis.cpp b/llvm/lib/Analysis/MemoryDependenceAnalysis.cpp index 93c388a..aeed5a0 100644 --- a/llvm/lib/Analysis/MemoryDependenceAnalysis.cpp +++ b/llvm/lib/Analysis/MemoryDependenceAnalysis.cpp @@ -1238,7 +1238,7 @@ bool MemoryDependenceResults::getNonLocalPointerDepFromBB( // phi translation to change it into a value live in the predecessor block. // If not, we just add the predecessors to the worklist and scan them with // the same Pointer. - if (!Pointer.NeedsPHITranslationFromBlock(BB)) { + if (!Pointer.needsPHITranslationFromBlock(BB)) { SkipFirstBlock = false; SmallVector<BasicBlock *, 16> NewBlocks; for (BasicBlock *Pred : PredCache.get(BB)) { @@ -1277,7 +1277,7 @@ bool MemoryDependenceResults::getNonLocalPointerDepFromBB( // We do need to do phi translation, if we know ahead of time we can't phi // translate this value, don't even try. - if (!Pointer.IsPotentiallyPHITranslatable()) + if (!Pointer.isPotentiallyPHITranslatable()) goto PredTranslationFailure; // We may have added values to the cache list before this PHI translation. @@ -1298,7 +1298,7 @@ bool MemoryDependenceResults::getNonLocalPointerDepFromBB( // Get the PHI translated pointer in this predecessor. This can fail if // not translatable, in which case the getAddr() returns null. PHITransAddr &PredPointer = PredList.back().second; - PredPointer.PHITranslateValue(BB, Pred, &DT, /*MustDominate=*/false); + PredPointer.translateValue(BB, Pred, &DT, /*MustDominate=*/false); Value *PredPtrVal = PredPointer.getAddr(); // Check to see if we have already visited this pred block with another |