aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/LoopRotationUtils.cpp
diff options
context:
space:
mode:
authorStephen Tozer <stephen.tozer@sony.com>2024-03-20 16:00:10 +0000
committerGitHub <noreply@github.com>2024-03-20 16:00:10 +0000
commit75dfa58ea93aa93b97534906778cb3dd24ba841a (patch)
tree962b67c84b739046bdde255a09167547fa147834 /llvm/lib/Transforms/Utils/LoopRotationUtils.cpp
parenteb861acd49e4c6777e2fe09dd2004ac1f4731bba (diff)
downloadllvm-75dfa58ea93aa93b97534906778cb3dd24ba841a.zip
llvm-75dfa58ea93aa93b97534906778cb3dd24ba841a.tar.gz
llvm-75dfa58ea93aa93b97534906778cb3dd24ba841a.tar.bz2
[RemoveDIs][NFC] Rename DPMarker->DbgMarker (#85931)
Another trivial rename patch, the last big one for now, which renamed DPMarkers to DbgMarkers. This required the field `DbgMarker` in `Instruction` to be renamed to `DebugMarker` to avoid a clash, but otherwise was a simple string substitution of `s/DPMarker/DbgMarker` and a manual renaming of `DPM` to `DM` in the few places where that acronym was used for debug markers.
Diffstat (limited to 'llvm/lib/Transforms/Utils/LoopRotationUtils.cpp')
-rw-r--r--llvm/lib/Transforms/Utils/LoopRotationUtils.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Transforms/Utils/LoopRotationUtils.cpp b/llvm/lib/Transforms/Utils/LoopRotationUtils.cpp
index 4470c5a..bc67117 100644
--- a/llvm/lib/Transforms/Utils/LoopRotationUtils.cpp
+++ b/llvm/lib/Transforms/Utils/LoopRotationUtils.cpp
@@ -601,7 +601,7 @@ bool LoopRotate::rotateLoop(Loop *L, bool SimplifiedLatch) {
// a range because it gives us a natural way of testing whether
// there were DbgRecords on the next instruction before we hoisted things).
iterator_range<DbgRecord::self_iterator> NextDbgInsts =
- (I != E) ? I->getDbgRecordRange() : DPMarker::getEmptyDbgRecordRange();
+ (I != E) ? I->getDbgRecordRange() : DbgMarker::getEmptyDbgRecordRange();
while (I != E) {
Instruction *Inst = &*I++;
@@ -659,7 +659,7 @@ bool LoopRotate::rotateLoop(Loop *L, bool SimplifiedLatch) {
RemapDbgVariableRecordRange(M, Range, ValueMap,
RF_NoModuleLevelChanges |
RF_IgnoreMissingLocals);
- NextDbgInsts = DPMarker::getEmptyDbgRecordRange();
+ NextDbgInsts = DbgMarker::getEmptyDbgRecordRange();
// Erase anything we've seen before.
for (DbgVariableRecord &DVR :
make_early_inc_range(filterDbgVars(Range)))