aboutsummaryrefslogtreecommitdiff
path: root/llvm/tools
diff options
context:
space:
mode:
authorStephen Tozer <stephen.tozer@sony.com>2024-03-11 12:08:13 +0000
committerGitHub <noreply@github.com>2024-03-11 12:08:13 +0000
commit5ff672045a97cf7f9d7f3a93d3a02e76994d50fb (patch)
tree8fc869cb5742d25efca2ee06077a191c5ac96076 /llvm/tools
parent878097dff3ea4bad6b7f50017224a84bbf2af406 (diff)
downloadllvm-5ff672045a97cf7f9d7f3a93d3a02e76994d50fb.zip
llvm-5ff672045a97cf7f9d7f3a93d3a02e76994d50fb.tar.gz
llvm-5ff672045a97cf7f9d7f3a93d3a02e76994d50fb.tar.bz2
[RemoveDIs][NFC] Rename DPValues->DbgRecords in llvm-reduce's ReduceDPValues (#84506)
llvm-reduce currently has a file `ReduceDPValues`, which really is concerned with DbgRecords. Therefore, we rename the file and its function accordingly.
Diffstat (limited to 'llvm/tools')
-rw-r--r--llvm/tools/llvm-reduce/CMakeLists.txt2
-rw-r--r--llvm/tools/llvm-reduce/DeltaManager.cpp2
-rw-r--r--llvm/tools/llvm-reduce/deltas/ReduceDbgRecords.cpp (renamed from llvm/tools/llvm-reduce/deltas/ReduceDPValues.cpp)8
-rw-r--r--llvm/tools/llvm-reduce/deltas/ReduceDbgRecords.h (renamed from llvm/tools/llvm-reduce/deltas/ReduceDPValues.h)6
4 files changed, 9 insertions, 9 deletions
diff --git a/llvm/tools/llvm-reduce/CMakeLists.txt b/llvm/tools/llvm-reduce/CMakeLists.txt
index 2f1164b..a4c605f 100644
--- a/llvm/tools/llvm-reduce/CMakeLists.txt
+++ b/llvm/tools/llvm-reduce/CMakeLists.txt
@@ -31,7 +31,7 @@ add_llvm_tool(llvm-reduce
deltas/ReduceAttributes.cpp
deltas/ReduceBasicBlocks.cpp
deltas/ReduceDIMetadata.cpp
- deltas/ReduceDPValues.cpp
+ deltas/ReduceDbgRecords.cpp
deltas/ReduceFunctionBodies.cpp
deltas/ReduceFunctions.cpp
deltas/ReduceGlobalObjects.cpp
diff --git a/llvm/tools/llvm-reduce/DeltaManager.cpp b/llvm/tools/llvm-reduce/DeltaManager.cpp
index fa42920..67fbc2f 100644
--- a/llvm/tools/llvm-reduce/DeltaManager.cpp
+++ b/llvm/tools/llvm-reduce/DeltaManager.cpp
@@ -20,7 +20,7 @@
#include "deltas/ReduceAttributes.h"
#include "deltas/ReduceBasicBlocks.h"
#include "deltas/ReduceDIMetadata.h"
-#include "deltas/ReduceDPValues.h"
+#include "deltas/ReduceDbgRecords.h"
#include "deltas/ReduceFunctionBodies.h"
#include "deltas/ReduceFunctions.h"
#include "deltas/ReduceGlobalObjects.h"
diff --git a/llvm/tools/llvm-reduce/deltas/ReduceDPValues.cpp b/llvm/tools/llvm-reduce/deltas/ReduceDbgRecords.cpp
index f0d02a7..94b12eb 100644
--- a/llvm/tools/llvm-reduce/deltas/ReduceDPValues.cpp
+++ b/llvm/tools/llvm-reduce/deltas/ReduceDbgRecords.cpp
@@ -1,4 +1,4 @@
-//===- ReduceDPValues.cpp - Specialized Delta Pass ------------------------===//
+//===- ReduceDbgRecords.cpp - Specialized Delta Pass ----------------------===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
@@ -17,13 +17,13 @@
//
//===----------------------------------------------------------------------===//
-#include "ReduceDPValues.h"
+#include "ReduceDbgRecords.h"
#include "Utils.h"
#include "llvm/ADT/STLExtras.h"
using namespace llvm;
-static void extractDPValuesFromModule(Oracle &O, ReducerWorkItem &WorkItem) {
+static void extractDbgRecordsFromModule(Oracle &O, ReducerWorkItem &WorkItem) {
Module &M = WorkItem.getModule();
for (auto &F : M)
@@ -35,5 +35,5 @@ static void extractDPValuesFromModule(Oracle &O, ReducerWorkItem &WorkItem) {
}
void llvm::reduceDbgRecordDeltaPass(TestRunner &Test) {
- runDeltaPass(Test, extractDPValuesFromModule, "Reducing DbgRecords");
+ runDeltaPass(Test, extractDbgRecordsFromModule, "Reducing DbgRecords");
}
diff --git a/llvm/tools/llvm-reduce/deltas/ReduceDPValues.h b/llvm/tools/llvm-reduce/deltas/ReduceDbgRecords.h
index 1d3b8a3..6a8f621 100644
--- a/llvm/tools/llvm-reduce/deltas/ReduceDPValues.h
+++ b/llvm/tools/llvm-reduce/deltas/ReduceDbgRecords.h
@@ -1,4 +1,4 @@
-//===- ReduceDPValues.h -----------------------------------------*- C++ -*-===//
+//===- ReduceDbgRecords.h ---------------------------------------*- C++ -*-===//
//
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
// See https://llvm.org/LICENSE.txt for license information.
@@ -11,8 +11,8 @@
//
//===----------------------------------------------------------------------===//
-#ifndef LLVM_TOOLS_LLVM_REDUCE_DELTAS_REDUCEDPVALUES_H
-#define LLVM_TOOLS_LLVM_REDUCE_DELTAS_REDUCEDPVALUES_H
+#ifndef LLVM_TOOLS_LLVM_REDUCE_DELTAS_REDUCEDBGRECORDS_H
+#define LLVM_TOOLS_LLVM_REDUCE_DELTAS_REDUCEDBGRECORDS_H
#include "Delta.h"
#include "llvm/IR/BasicBlock.h"