aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard-Qin-X <richard.qin.001@gmail.com>2026-08-28 23:53:31 +0800
committerRichard-Qin-X <richard.qin.001@gmail.com>2026-08-28 23:53:31 +0800
commitf0cfb240d80cb9f4444fb996350c1f88bc69a142 (patch)
tree05969db95385367f34c09690e50977dce1aa1fcf
parentb91913184946e8381dc2d632ce37563913d5ce5f (diff)
downloadrcc-project-f0cfb240d80cb9f4444fb996350c1f88bc69a142.tar.gz
rcc-project-f0cfb240d80cb9f4444fb996350c1f88bc69a142.tar.xz
[CMake] Remove unused clang-tidy file registration
-rw-r--r--backend/cmake/modules/RCCBackendBuild.cmake4
-rw-r--r--backend/cmake/modules/RCCBackendDeveloperTools.cmake93
-rw-r--r--backend/include/rcc/CodeGen/GlobalISel/Combiner.h7
-rw-r--r--backend/include/rcc/CodeGen/GlobalISel/InstructionSelect.h7
-rw-r--r--backend/include/rcc/CodeGen/GlobalISel/Legalizer.h7
-rw-r--r--backend/include/rcc/CodeGen/MachineBranchRelaxation.h7
-rw-r--r--backend/include/rcc/CodeGen/MachineCombiner.h7
-rw-r--r--backend/include/rcc/CodeGen/MachineCopyPropagation.h7
-rw-r--r--backend/include/rcc/CodeGen/PHIElimination.h7
-rw-r--r--backend/include/rcc/CodeGen/TwoAddressInstructionPass.h7
-rw-r--r--backend/lib/AsmParser/CMakeLists.txt1
-rw-r--r--backend/lib/AsmPrinter/CMakeLists.txt1
-rw-r--r--backend/lib/CodeGen/CMakeLists.txt1
-rw-r--r--backend/lib/CodeGen/GlobalISel/CMakeLists.txt15
-rw-r--r--backend/lib/CodeGen/MachineBlockPlacement.cpp7
-rw-r--r--backend/lib/CodeGen/MachineBranchRelaxation.cpp3
-rw-r--r--backend/lib/CodeGen/MachinePseudoExpansion.cpp7
-rw-r--r--backend/lib/CodeGen/MachineSchedulerInternal.h3
-rw-r--r--backend/lib/CodeGen/RegAllocBase.h3
-rw-r--r--backend/lib/CodeGen/RegAllocPBQP.cpp3
-rw-r--r--backend/lib/IR/CMakeLists.txt5
-rw-r--r--backend/lib/MC/CMakeLists.txt1
-rw-r--r--backend/lib/MIR/CMakeLists.txt9
-rw-r--r--backend/lib/Support/CMakeLists.txt8
-rw-r--r--backend/lib/TableGen/CMakeLists.txt1
-rw-r--r--backend/lib/Target/CMakeLists.txt1
-rw-r--r--backend/lib/Target/RISCV/CMakeLists.txt33
-rw-r--r--backend/lib/Tooling/CMakeLists.txt9
-rw-r--r--backend/tools/MIRTool/CMakeLists.txt1
-rw-r--r--backend/unittests/AsmParser/CMakeLists.txt1
-rw-r--r--backend/unittests/CodeGen/CMakeLists.txt50
-rw-r--r--backend/unittests/CodeGen/GlobalISel/CMakeLists.txt6
-rw-r--r--backend/unittests/MC/CMakeLists.txt4
-rw-r--r--backend/unittests/MIR/CMakeLists.txt6
-rw-r--r--backend/unittests/Support/CMakeLists.txt6
-rw-r--r--backend/unittests/Target/CMakeLists.txt14
-rw-r--r--backend/unittests/Tooling/CMakeLists.txt6
-rw-r--r--backend/utils/TableGen/CMakeLists.txt4
38 files changed, 81 insertions, 281 deletions
diff --git a/backend/cmake/modules/RCCBackendBuild.cmake b/backend/cmake/modules/RCCBackendBuild.cmake
index 9ecc41b..36809ec 100644
--- a/backend/cmake/modules/RCCBackendBuild.cmake
+++ b/backend/cmake/modules/RCCBackendBuild.cmake
@@ -114,7 +114,3 @@ endfunction()
function(rcc_backend_register_format_files)
set_property(GLOBAL APPEND PROPERTY RCC_BACKEND_FORMAT_FILES ${ARGN})
endfunction()
-
-function(rcc_backend_register_tidy_files)
- set_property(GLOBAL APPEND PROPERTY RCC_BACKEND_TIDY_FILES ${ARGN})
-endfunction()
diff --git a/backend/cmake/modules/RCCBackendDeveloperTools.cmake b/backend/cmake/modules/RCCBackendDeveloperTools.cmake
index 4c328f9..7ad99c2 100644
--- a/backend/cmake/modules/RCCBackendDeveloperTools.cmake
+++ b/backend/cmake/modules/RCCBackendDeveloperTools.cmake
@@ -2,7 +2,6 @@
function(rcc_backend_add_developer_targets)
get_property(FormatFiles GLOBAL PROPERTY RCC_BACKEND_FORMAT_FILES)
- get_property(TidyFiles GLOBAL PROPERTY RCC_BACKEND_TIDY_FILES)
if(FormatFiles)
list(REMOVE_DUPLICATES FormatFiles)
@@ -24,54 +23,50 @@ function(rcc_backend_add_developer_targets)
)
endif()
- if(TidyFiles)
- list(REMOVE_DUPLICATES TidyFiles)
+ # Match LLVM's normal lint path: pass the changed backend lines to its
+ # clang-tidy-diff.py driver, which runs independent translation units in parallel.
+ add_custom_target(
+ rcc-backend-tidy
+ COMMAND
+ "${CMAKE_COMMAND}"
+ "-DRCC_TIDY_GIT=${RCC_BACKEND_GIT}"
+ "-DRCC_TIDY_SOURCE_DIR=${RCC_BACKEND_SOURCE_DIR}"
+ "-DRCC_TIDY_BINARY_DIR=${CMAKE_BINARY_DIR}"
+ "-DRCC_TIDY_BASE=${RCC_BACKEND_TIDY_BASE}"
+ "-DRCC_TIDY_JOBS=${RCC_BACKEND_TIDY_JOBS}"
+ "-DRCC_TIDY_DIFF=${RCC_BACKEND_CLANG_TIDY_DIFF}"
+ -P "${CMAKE_CURRENT_FUNCTION_LIST_DIR}/RCCBackendClangTidy.cmake"
+ COMMENT "Running incremental clang-tidy on RCC Backend"
+ USES_TERMINAL
+ VERBATIM
+ )
- # Match LLVM's normal lint path: pass the changed backend lines to its
- # clang-tidy-diff.py driver, which runs independent translation units in parallel.
- add_custom_target(
- rcc-backend-tidy
- COMMAND
- "${CMAKE_COMMAND}"
- "-DRCC_TIDY_GIT=${RCC_BACKEND_GIT}"
- "-DRCC_TIDY_SOURCE_DIR=${RCC_BACKEND_SOURCE_DIR}"
- "-DRCC_TIDY_BINARY_DIR=${CMAKE_BINARY_DIR}"
- "-DRCC_TIDY_BASE=${RCC_BACKEND_TIDY_BASE}"
- "-DRCC_TIDY_JOBS=${RCC_BACKEND_TIDY_JOBS}"
- "-DRCC_TIDY_DIFF=${RCC_BACKEND_CLANG_TIDY_DIFF}"
- -P "${CMAKE_CURRENT_FUNCTION_LIST_DIR}/RCCBackendClangTidy.cmake"
- COMMENT "Running incremental clang-tidy on RCC Backend"
- USES_TERMINAL
- VERBATIM
- )
+ add_custom_target(
+ rcc-backend-tidy-all
+ COMMAND
+ "${RCC_BACKEND_RUN_CLANG_TIDY}"
+ "-p=${CMAKE_BINARY_DIR}"
+ -j "${RCC_BACKEND_TIDY_JOBS}"
+ -quiet
+ "-warnings-as-errors=*"
+ "${RCC_BACKEND_SOURCE_DIR}/.*"
+ COMMENT "Running full parallel clang-tidy audit on RCC Backend"
+ USES_TERMINAL
+ VERBATIM
+ )
- add_custom_target(
- rcc-backend-tidy-all
- COMMAND
- "${RCC_BACKEND_RUN_CLANG_TIDY}"
- "-p=${CMAKE_BINARY_DIR}"
- -j "${RCC_BACKEND_TIDY_JOBS}"
- -quiet
- "-warnings-as-errors=*"
- "${RCC_BACKEND_SOURCE_DIR}/.*"
- COMMENT "Running full parallel clang-tidy audit on RCC Backend"
- USES_TERMINAL
- VERBATIM
- )
-
- add_custom_target(
- rcc-backend-analyze
- COMMAND
- "${RCC_BACKEND_RUN_CLANG_TIDY}"
- "-p=${CMAKE_BINARY_DIR}"
- -j "${RCC_BACKEND_TIDY_JOBS}"
- -quiet
- "-checks=-*,clang-analyzer-*"
- "-warnings-as-errors=*"
- "${RCC_BACKEND_SOURCE_DIR}/.*"
- COMMENT "Running full parallel Clang Static Analyzer audit on RCC Backend"
- USES_TERMINAL
- VERBATIM
- )
- endif()
+ add_custom_target(
+ rcc-backend-analyze
+ COMMAND
+ "${RCC_BACKEND_RUN_CLANG_TIDY}"
+ "-p=${CMAKE_BINARY_DIR}"
+ -j "${RCC_BACKEND_TIDY_JOBS}"
+ -quiet
+ "-checks=-*,clang-analyzer-*"
+ "-warnings-as-errors=*"
+ "${RCC_BACKEND_SOURCE_DIR}/.*"
+ COMMENT "Running full parallel Clang Static Analyzer audit on RCC Backend"
+ USES_TERMINAL
+ VERBATIM
+ )
endfunction()
diff --git a/backend/include/rcc/CodeGen/GlobalISel/Combiner.h b/backend/include/rcc/CodeGen/GlobalISel/Combiner.h
index 85b68d1..9ef7ed7 100644
--- a/backend/include/rcc/CodeGen/GlobalISel/Combiner.h
+++ b/backend/include/rcc/CodeGen/GlobalISel/Combiner.h
@@ -33,10 +33,9 @@ public:
MachineFunctionAnalysisManager &Analyses) override;
private:
- [[nodiscard]] Expected<MachinePassResult> runImplementation(MachineFunction &Function,
- const TargetDescription &Target,
- MachineFunctionAnalysisManager
- &Analyses) const;
+ [[nodiscard]] Expected<MachinePassResult>
+ runImplementation(MachineFunction &Function, const TargetDescription &Target,
+ MachineFunctionAnalysisManager &Analyses) const;
const GIMatchTable *Table;
const GIMatchTableExecutor *Executor;
diff --git a/backend/include/rcc/CodeGen/GlobalISel/InstructionSelect.h b/backend/include/rcc/CodeGen/GlobalISel/InstructionSelect.h
index 174a943..33b1659 100644
--- a/backend/include/rcc/CodeGen/GlobalISel/InstructionSelect.h
+++ b/backend/include/rcc/CodeGen/GlobalISel/InstructionSelect.h
@@ -19,10 +19,9 @@ public:
MachineFunctionAnalysisManager &Analyses) override;
private:
- [[nodiscard]] Expected<MachinePassResult> runImplementation(MachineFunction &Function,
- const TargetDescription &Target,
- MachineFunctionAnalysisManager
- &Analyses);
+ [[nodiscard]] Expected<MachinePassResult>
+ runImplementation(MachineFunction &Function, const TargetDescription &Target,
+ MachineFunctionAnalysisManager &Analyses);
const InstructionSelector *Info;
};
diff --git a/backend/include/rcc/CodeGen/GlobalISel/Legalizer.h b/backend/include/rcc/CodeGen/GlobalISel/Legalizer.h
index e75d71e..8f2f3f7 100644
--- a/backend/include/rcc/CodeGen/GlobalISel/Legalizer.h
+++ b/backend/include/rcc/CodeGen/GlobalISel/Legalizer.h
@@ -34,10 +34,9 @@ public:
MachineFunctionAnalysisManager &Analyses) override;
private:
- [[nodiscard]] Expected<MachinePassResult> runImplementation(MachineFunction &Function,
- const TargetDescription &Target,
- MachineFunctionAnalysisManager
- &Analyses);
+ [[nodiscard]] Expected<MachinePassResult>
+ runImplementation(MachineFunction &Function, const TargetDescription &Target,
+ MachineFunctionAnalysisManager &Analyses);
std::unique_ptr<LegalizerInfo> OwnedInfo;
const LegalizerInfo *Info = nullptr;
diff --git a/backend/include/rcc/CodeGen/MachineBranchRelaxation.h b/backend/include/rcc/CodeGen/MachineBranchRelaxation.h
index db3d03f..64687eb 100644
--- a/backend/include/rcc/CodeGen/MachineBranchRelaxation.h
+++ b/backend/include/rcc/CodeGen/MachineBranchRelaxation.h
@@ -27,10 +27,9 @@ public:
MachineFunctionAnalysisManager &Analyses) override;
private:
- [[nodiscard]] Expected<MachinePassResult> runImplementation(MachineFunction &Function,
- const TargetDescription &Target,
- MachineFunctionAnalysisManager
- &Analyses) const;
+ [[nodiscard]] Expected<MachinePassResult>
+ runImplementation(MachineFunction &Function, const TargetDescription &Target,
+ MachineFunctionAnalysisManager &Analyses) const;
const TargetInstrInfo *Info;
MachineBranchRelaxationOptions Options;
diff --git a/backend/include/rcc/CodeGen/MachineCombiner.h b/backend/include/rcc/CodeGen/MachineCombiner.h
index d9df1d1..eba7ab5 100644
--- a/backend/include/rcc/CodeGen/MachineCombiner.h
+++ b/backend/include/rcc/CodeGen/MachineCombiner.h
@@ -27,10 +27,9 @@ public:
MachineFunctionAnalysisManager &Analyses) override;
private:
- [[nodiscard]] Expected<MachinePassResult> runImplementation(MachineFunction &Function,
- const TargetDescription &Target,
- MachineFunctionAnalysisManager
- &Analyses) const;
+ [[nodiscard]] Expected<MachinePassResult>
+ runImplementation(MachineFunction &Function, const TargetDescription &Target,
+ MachineFunctionAnalysisManager &Analyses) const;
const TargetMachineCombinerInfo *Info;
MachineCombinerOptions Options;
diff --git a/backend/include/rcc/CodeGen/MachineCopyPropagation.h b/backend/include/rcc/CodeGen/MachineCopyPropagation.h
index e689632..61b562e 100644
--- a/backend/include/rcc/CodeGen/MachineCopyPropagation.h
+++ b/backend/include/rcc/CodeGen/MachineCopyPropagation.h
@@ -28,10 +28,9 @@ public:
MachineFunctionAnalysisManager &Analyses) override;
private:
- [[nodiscard]] Expected<MachinePassResult> runImplementation(MachineFunction &Function,
- const TargetDescription &Target,
- MachineFunctionAnalysisManager
- &Analyses) const;
+ [[nodiscard]] Expected<MachinePassResult>
+ runImplementation(MachineFunction &Function, const TargetDescription &Target,
+ MachineFunctionAnalysisManager &Analyses) const;
const TargetInstrInfo *Info;
MachineCopyPropagationOptions Options;
diff --git a/backend/include/rcc/CodeGen/PHIElimination.h b/backend/include/rcc/CodeGen/PHIElimination.h
index fc95037..244ce04 100644
--- a/backend/include/rcc/CodeGen/PHIElimination.h
+++ b/backend/include/rcc/CodeGen/PHIElimination.h
@@ -19,10 +19,9 @@ public:
MachineFunctionAnalysisManager &Analyses) override;
private:
- [[nodiscard]] Expected<MachinePassResult> runImplementation(MachineFunction &Function,
- const TargetDescription &Target,
- MachineFunctionAnalysisManager
- &Analyses);
+ [[nodiscard]] Expected<MachinePassResult>
+ runImplementation(MachineFunction &Function, const TargetDescription &Target,
+ MachineFunctionAnalysisManager &Analyses);
const TargetInstrInfo &Info;
};
diff --git a/backend/include/rcc/CodeGen/TwoAddressInstructionPass.h b/backend/include/rcc/CodeGen/TwoAddressInstructionPass.h
index 9016bd5..3b3bdd1 100644
--- a/backend/include/rcc/CodeGen/TwoAddressInstructionPass.h
+++ b/backend/include/rcc/CodeGen/TwoAddressInstructionPass.h
@@ -19,10 +19,9 @@ public:
MachineFunctionAnalysisManager &Analyses) override;
private:
- [[nodiscard]] Expected<MachinePassResult> runImplementation(MachineFunction &Function,
- const TargetDescription &Target,
- MachineFunctionAnalysisManager
- &Analyses);
+ [[nodiscard]] Expected<MachinePassResult>
+ runImplementation(MachineFunction &Function, const TargetDescription &Target,
+ MachineFunctionAnalysisManager &Analyses);
const TargetInstrInfo &Info;
};
diff --git a/backend/lib/AsmParser/CMakeLists.txt b/backend/lib/AsmParser/CMakeLists.txt
index d35fa24..24e7a46 100644
--- a/backend/lib/AsmParser/CMakeLists.txt
+++ b/backend/lib/AsmParser/CMakeLists.txt
@@ -38,4 +38,3 @@ rcc_backend_register_format_files(
"${CMAKE_CURRENT_SOURCE_DIR}/LLParser.cpp"
${RCCBackendAsmParserHeaders}
)
-rcc_backend_register_tidy_files("${CMAKE_CURRENT_SOURCE_DIR}/LLParser.cpp")
diff --git a/backend/lib/AsmPrinter/CMakeLists.txt b/backend/lib/AsmPrinter/CMakeLists.txt
index 4b6a711..f046e3a 100644
--- a/backend/lib/AsmPrinter/CMakeLists.txt
+++ b/backend/lib/AsmPrinter/CMakeLists.txt
@@ -56,4 +56,3 @@ rcc_backend_register_format_files(
${RCCBackendAsmPrinterSourcePaths}
${RCCBackendAsmPrinterHeaders}
)
-rcc_backend_register_tidy_files(${RCCBackendAsmPrinterSourcePaths})
diff --git a/backend/lib/CodeGen/CMakeLists.txt b/backend/lib/CodeGen/CMakeLists.txt
index 8185d34..ccbf131 100644
--- a/backend/lib/CodeGen/CMakeLists.txt
+++ b/backend/lib/CodeGen/CMakeLists.txt
@@ -248,4 +248,3 @@ rcc_backend_register_format_files(
${RCCBackendCodeGenHeaders}
${RCCBackendCodeGenPrivateHeaders}
)
-rcc_backend_register_tidy_files(${RCCBackendCodeGenSourcePaths})
diff --git a/backend/lib/CodeGen/GlobalISel/CMakeLists.txt b/backend/lib/CodeGen/GlobalISel/CMakeLists.txt
index 4a96d3a..cd336cb 100644
--- a/backend/lib/CodeGen/GlobalISel/CMakeLists.txt
+++ b/backend/lib/CodeGen/GlobalISel/CMakeLists.txt
@@ -53,18 +53,3 @@ rcc_backend_register_format_files(
"${CMAKE_CURRENT_SOURCE_DIR}/Utils.cpp"
${RCCBackendGlobalISelHeaders}
)
-
-rcc_backend_register_tidy_files(
- "${CMAKE_CURRENT_SOURCE_DIR}/CSEInfo.cpp"
- "${CMAKE_CURRENT_SOURCE_DIR}/CSEMIRBuilder.cpp"
- "${CMAKE_CURRENT_SOURCE_DIR}/Combiner.cpp"
- "${CMAKE_CURRENT_SOURCE_DIR}/GIMatchTableExecutor.cpp"
- "${CMAKE_CURRENT_SOURCE_DIR}/GISelChangeObserver.cpp"
- "${CMAKE_CURRENT_SOURCE_DIR}/GISelValueTracking.cpp"
- "${CMAKE_CURRENT_SOURCE_DIR}/InstructionSelect.cpp"
- "${CMAKE_CURRENT_SOURCE_DIR}/Legalizer.cpp"
- "${CMAKE_CURRENT_SOURCE_DIR}/LegalizerHelper.cpp"
- "${CMAKE_CURRENT_SOURCE_DIR}/LegalizerInfo.cpp"
- "${CMAKE_CURRENT_SOURCE_DIR}/RegBankSelect.cpp"
- "${CMAKE_CURRENT_SOURCE_DIR}/Utils.cpp"
-)
diff --git a/backend/lib/CodeGen/MachineBlockPlacement.cpp b/backend/lib/CodeGen/MachineBlockPlacement.cpp
index 76e44d0..1b09f7d 100644
--- a/backend/lib/CodeGen/MachineBlockPlacement.cpp
+++ b/backend/lib/CodeGen/MachineBlockPlacement.cpp
@@ -101,9 +101,10 @@ MachineBlockPlacementPass::run(MachineFunction &Function, const TargetDescriptio
return runImplementation(Function, Target, Analyses);
}
-Expected<MachinePassResult> MachineBlockPlacementPass::runImplementation(
- MachineFunction &Function, const TargetDescription &Target,
- MachineFunctionAnalysisManager &Analyses) const {
+Expected<MachinePassResult>
+MachineBlockPlacementPass::runImplementation(MachineFunction &Function,
+ const TargetDescription &Target,
+ MachineFunctionAnalysisManager &Analyses) const {
auto Probabilities = Analyses.getResult<MachineBranchProbabilityAnalysis>(Function, Target);
if (!Probabilities)
return std::unexpected(Probabilities.error());
diff --git a/backend/lib/CodeGen/MachineBranchRelaxation.cpp b/backend/lib/CodeGen/MachineBranchRelaxation.cpp
index 2abc1a1..f6c7df1 100644
--- a/backend/lib/CodeGen/MachineBranchRelaxation.cpp
+++ b/backend/lib/CodeGen/MachineBranchRelaxation.cpp
@@ -135,8 +135,7 @@ MachineBranchRelaxationPass::runImplementation(MachineFunction &Function,
return std::unexpected(Offset.error());
if (Info->isBranchOffsetInRange(*Instruction, *Offset))
continue;
- auto Accepted =
- Analyses.requestAction("relax-branch", Function, Instruction->stableID());
+ auto Accepted = Analyses.requestAction("relax-branch", Function, Instruction->stableID());
if (!Accepted)
return std::unexpected(Accepted.error());
if (!*Accepted) {
diff --git a/backend/lib/CodeGen/MachinePseudoExpansion.cpp b/backend/lib/CodeGen/MachinePseudoExpansion.cpp
index 21bcf29..1115cd3 100644
--- a/backend/lib/CodeGen/MachinePseudoExpansion.cpp
+++ b/backend/lib/CodeGen/MachinePseudoExpansion.cpp
@@ -239,8 +239,7 @@ prepareImplementation(MachineFunction &Function, const TargetDescription &Target
[[nodiscard]] Expected<MachinePassResult>
expandImplementation(MachineFunction &Function, const TargetDescription &Target,
const TargetPseudoExpansionInfo &Info, MachinePseudoExpansionPhase Phase,
- const TargetInstrInfo *BranchInfo,
- MachineFunctionAnalysisManager &Analyses) {
+ const TargetInstrInfo *BranchInfo, MachineFunctionAnalysisManager &Analyses) {
const ResourceSnapshot Before = snapshotResources(Function);
std::optional<BlockSizeSnapshot> SizesBefore;
if (Phase == MachinePseudoExpansionPhase::TargetLate) {
@@ -376,8 +375,8 @@ const MachinePassContract &ExpandPostRAPseudosPass::contract() const noexcept {
Expected<MachinePassResult> ExpandPostRAPseudosPass::run(MachineFunction &Function,
const TargetDescription &Target,
MachineFunctionAnalysisManager &Analyses) {
- return expandImplementation(Function, Target, *Info, MachinePseudoExpansionPhase::PostRA,
- nullptr, Analyses);
+ return expandImplementation(Function, Target, *Info, MachinePseudoExpansionPhase::PostRA, nullptr,
+ Analyses);
}
const MachinePassContract &TargetLatePseudoExpansionPass::contract() const noexcept {
diff --git a/backend/lib/CodeGen/MachineSchedulerInternal.h b/backend/lib/CodeGen/MachineSchedulerInternal.h
index 999937c..a2815ad 100644
--- a/backend/lib/CodeGen/MachineSchedulerInternal.h
+++ b/backend/lib/CodeGen/MachineSchedulerInternal.h
@@ -29,8 +29,7 @@ runMachineScheduler(MachineFunction &Function, const TargetDescription &Target,
const TargetSchedulingModel &Model, ScheduleDAGMode Mode,
const LiveVariablesAnalysis::Result &Liveness,
const MachineBlockFrequencyAnalysis::Result &Frequencies,
- MachineSchedulerOptions Options,
- MachineFunctionAnalysisManager &Analyses);
+ MachineSchedulerOptions Options, MachineFunctionAnalysisManager &Analyses);
} // namespace rcc
diff --git a/backend/lib/CodeGen/RegAllocBase.h b/backend/lib/CodeGen/RegAllocBase.h
index fd1c739..10759f1 100644
--- a/backend/lib/CodeGen/RegAllocBase.h
+++ b/backend/lib/CodeGen/RegAllocBase.h
@@ -28,8 +28,7 @@ public:
protected:
RegAllocBase(MachineFunction &Function, const TargetDescription &Target,
const TargetRegisterAllocationInfo &TargetInfo,
- MachineFunctionAnalysisManager &Analyses,
- RegisterAllocationOptions Options) noexcept
+ MachineFunctionAnalysisManager &Analyses, RegisterAllocationOptions Options) noexcept
: Function(Function), Target(Target), TargetInfo(TargetInfo), Analyses(Analyses),
Options(Options) {}
diff --git a/backend/lib/CodeGen/RegAllocPBQP.cpp b/backend/lib/CodeGen/RegAllocPBQP.cpp
index 9081c37..59f07da 100644
--- a/backend/lib/CodeGen/RegAllocPBQP.cpp
+++ b/backend/lib/CodeGen/RegAllocPBQP.cpp
@@ -177,8 +177,7 @@ private:
const auto CopyPosition = CopyPairs.find({LeftKey, RightKey});
bool CopyRelated = Options.EnableCopyCoalescing && CopyPosition != CopyPairs.end();
if (CopyRelated) {
- auto Accepted =
- Analyses.requestAction("coalesce-copy", Function, CopyPosition->second);
+ auto Accepted = Analyses.requestAction("coalesce-copy", Function, CopyPosition->second);
if (!Accepted)
return std::unexpected(Accepted.error());
CopyRelated = *Accepted;
diff --git a/backend/lib/IR/CMakeLists.txt b/backend/lib/IR/CMakeLists.txt
index b903164..de5e777 100644
--- a/backend/lib/IR/CMakeLists.txt
+++ b/backend/lib/IR/CMakeLists.txt
@@ -42,8 +42,3 @@ rcc_backend_register_format_files(
"${CMAKE_CURRENT_SOURCE_DIR}/DataLayout.cpp"
${RCCBackendIRHeaders}
)
-rcc_backend_register_tidy_files(
- "${CMAKE_CURRENT_SOURCE_DIR}/AsmWriter.cpp"
- "${CMAKE_CURRENT_SOURCE_DIR}/Constants.cpp"
- "${CMAKE_CURRENT_SOURCE_DIR}/DataLayout.cpp"
-)
diff --git a/backend/lib/MC/CMakeLists.txt b/backend/lib/MC/CMakeLists.txt
index b314c58..0a5dd43 100644
--- a/backend/lib/MC/CMakeLists.txt
+++ b/backend/lib/MC/CMakeLists.txt
@@ -71,4 +71,3 @@ foreach(Source IN LISTS RCCBackendMCSources)
endforeach()
rcc_backend_register_format_files(${RCCBackendMCSourcePaths} ${RCCBackendMCHeaders})
-rcc_backend_register_tidy_files(${RCCBackendMCSourcePaths})
diff --git a/backend/lib/MIR/CMakeLists.txt b/backend/lib/MIR/CMakeLists.txt
index a93917b..1d5165f 100644
--- a/backend/lib/MIR/CMakeLists.txt
+++ b/backend/lib/MIR/CMakeLists.txt
@@ -65,12 +65,3 @@ rcc_backend_register_format_files(
"${RCC_BACKEND_SOURCE_DIR}/lib/CodeGen/MIRYamlMapping.cpp"
${RCCBackendMIRHeaders}
)
-rcc_backend_register_tidy_files(
- "${CMAKE_CURRENT_SOURCE_DIR}/EmbeddedIR.cpp"
- "${CMAKE_CURRENT_SOURCE_DIR}/ReachingDefPrinter.cpp"
- "${RCC_BACKEND_SOURCE_DIR}/lib/CodeGen/MIRParser/MILexer.cpp"
- "${RCC_BACKEND_SOURCE_DIR}/lib/CodeGen/MIRParser/MIParser.cpp"
- "${RCC_BACKEND_SOURCE_DIR}/lib/CodeGen/MIRParser/MIRParser.cpp"
- "${RCC_BACKEND_SOURCE_DIR}/lib/CodeGen/MIRPrinter.cpp"
- "${RCC_BACKEND_SOURCE_DIR}/lib/CodeGen/MIRYamlMapping.cpp"
-)
diff --git a/backend/lib/Support/CMakeLists.txt b/backend/lib/Support/CMakeLists.txt
index 48bcb09..9a9fc53 100644
--- a/backend/lib/Support/CMakeLists.txt
+++ b/backend/lib/Support/CMakeLists.txt
@@ -47,11 +47,3 @@ rcc_backend_register_format_files(
"${CMAKE_CURRENT_SOURCE_DIR}/YAML.cpp"
${RCCBackendSupportHeaders}
)
-rcc_backend_register_tidy_files(
- "${CMAKE_CURRENT_SOURCE_DIR}/APFloat.cpp"
- "${CMAKE_CURRENT_SOURCE_DIR}/APInt.cpp"
- "${CMAKE_CURRENT_SOURCE_DIR}/Error.cpp"
- "${CMAKE_CURRENT_SOURCE_DIR}/SHA256.cpp"
- "${CMAKE_CURRENT_SOURCE_DIR}/TextDiagnostic.cpp"
- "${CMAKE_CURRENT_SOURCE_DIR}/YAML.cpp"
-)
diff --git a/backend/lib/TableGen/CMakeLists.txt b/backend/lib/TableGen/CMakeLists.txt
index 9115fd3..4033e67 100644
--- a/backend/lib/TableGen/CMakeLists.txt
+++ b/backend/lib/TableGen/CMakeLists.txt
@@ -21,4 +21,3 @@ rcc_backend_register_format_files(
${RCCBackendTableGenSources}
${RCCBackendTableGenHeaders}
)
-rcc_backend_register_tidy_files(${RCCBackendTableGenSources})
diff --git a/backend/lib/Target/CMakeLists.txt b/backend/lib/Target/CMakeLists.txt
index 0c61f57..f0c3ff7 100644
--- a/backend/lib/Target/CMakeLists.txt
+++ b/backend/lib/Target/CMakeLists.txt
@@ -34,6 +34,5 @@ rcc_backend_register_format_files(
"${RCC_BACKEND_SOURCE_DIR}/include/rcc/Target/TargetOptions.h"
"${RCC_BACKEND_SOURCE_DIR}/include/rcc/Support/TargetSelect.h"
)
-rcc_backend_register_tidy_files("${CMAKE_CURRENT_SOURCE_DIR}/TargetMachine.cpp")
add_subdirectory(RISCV)
diff --git a/backend/lib/Target/RISCV/CMakeLists.txt b/backend/lib/Target/RISCV/CMakeLists.txt
index 6d44c06..dd11f3d 100644
--- a/backend/lib/Target/RISCV/CMakeLists.txt
+++ b/backend/lib/Target/RISCV/CMakeLists.txt
@@ -227,7 +227,9 @@ rcc_backend_register_format_files(
"${CMAKE_CURRENT_SOURCE_DIR}/RISCVMakeCompressible.cpp"
"${CMAKE_CURRENT_SOURCE_DIR}/RISCVMergeBaseOffset.cpp"
"${CMAKE_CURRENT_SOURCE_DIR}/RISCVMoveMerger.cpp"
+ "${CMAKE_CURRENT_SOURCE_DIR}/RISCVOptWInstrs.cpp"
"${CMAKE_CURRENT_SOURCE_DIR}/RISCVOptimizationPipeline.cpp"
+ "${CMAKE_CURRENT_SOURCE_DIR}/RISCVOutliner.cpp"
"${CMAKE_CURRENT_SOURCE_DIR}/RISCVPipeline.cpp"
"${CMAKE_CURRENT_SOURCE_DIR}/RISCVPseudoExpansion.cpp"
"${CMAKE_CURRENT_SOURCE_DIR}/RISCVPushPopOptimizer.cpp"
@@ -254,34 +256,3 @@ rcc_backend_register_format_files(
"${RCC_BACKEND_SOURCE_DIR}/include/rcc/Target/RISCV/RISCVTargetConstant.h"
"${RCC_BACKEND_SOURCE_DIR}/include/rcc/Target/RISCV/RISCVTargetRelocationKinds.h"
)
-rcc_backend_register_tidy_files(
- "${CMAKE_CURRENT_SOURCE_DIR}/GISel/RISCVCallLowering.cpp"
- "${CMAKE_CURRENT_SOURCE_DIR}/RISCVCallingConv.cpp"
- "${CMAKE_CURRENT_SOURCE_DIR}/GISel/RISCVInstructionSelector.cpp"
- "${CMAKE_CURRENT_SOURCE_DIR}/GISel/RISCVGISelCombiner.cpp"
- "${CMAKE_CURRENT_SOURCE_DIR}/GISel/RISCVLegalizerInfo.cpp"
- "${CMAKE_CURRENT_SOURCE_DIR}/GISel/RISCVRegisterBankInfo.cpp"
- "${CMAKE_CURRENT_SOURCE_DIR}/RISCVInstrInfo.cpp"
- "${CMAKE_CURRENT_SOURCE_DIR}/RISCVAssemblyPrinter.cpp"
- "${CMAKE_CURRENT_SOURCE_DIR}/RISCVFrameLowering.cpp"
- "${CMAKE_CURRENT_SOURCE_DIR}/RISCVFinalizeISel.cpp"
- "${CMAKE_CURRENT_SOURCE_DIR}/RISCVFunctionInfo.cpp"
- "${CMAKE_CURRENT_SOURCE_DIR}/RISCVImmediateMaterialization.cpp"
- "${CMAKE_CURRENT_SOURCE_DIR}/RISCVInstPrinter.cpp"
- "${CMAKE_CURRENT_SOURCE_DIR}/RISCVAsmBackend.cpp"
- "${CMAKE_CURRENT_SOURCE_DIR}/RISCVMCCodeEmitter.cpp"
- "${CMAKE_CURRENT_SOURCE_DIR}/RISCVObjectFile.cpp"
- "${CMAKE_CURRENT_SOURCE_DIR}/RISCVMCTargetLowering.cpp"
- "${CMAKE_CURRENT_SOURCE_DIR}/RISCVMachineCombiner.cpp"
- "${CMAKE_CURRENT_SOURCE_DIR}/RISCVMachineMemoryFolding.cpp"
- "${CMAKE_CURRENT_SOURCE_DIR}/RISCVMakeCompressible.cpp"
- "${CMAKE_CURRENT_SOURCE_DIR}/RISCVOptimizationPipeline.cpp"
- "${CMAKE_CURRENT_SOURCE_DIR}/RISCVPipeline.cpp"
- "${CMAKE_CURRENT_SOURCE_DIR}/RISCVPseudoExpansion.cpp"
- "${CMAKE_CURRENT_SOURCE_DIR}/RISCVPushPopOptimizer.cpp"
- "${CMAKE_CURRENT_SOURCE_DIR}/RISCVRegisterAllocation.cpp"
- "${CMAKE_CURRENT_SOURCE_DIR}/RISCVScheduling.cpp"
- "${CMAKE_CURRENT_SOURCE_DIR}/RISCVSubtarget.cpp"
- "${CMAKE_CURRENT_SOURCE_DIR}/RISCVTarget.cpp"
- "${CMAKE_CURRENT_SOURCE_DIR}/RISCVTargetConstant.cpp"
-)
diff --git a/backend/lib/Tooling/CMakeLists.txt b/backend/lib/Tooling/CMakeLists.txt
index 361a776..4fbf45a 100644
--- a/backend/lib/Tooling/CMakeLists.txt
+++ b/backend/lib/Tooling/CMakeLists.txt
@@ -66,12 +66,3 @@ rcc_backend_register_format_files(
"${CMAKE_CURRENT_SOURCE_DIR}/PipelineDriver.cpp"
${RCCBackendToolingHeaders}
)
-rcc_backend_register_tidy_files(
- "${CMAKE_CURRENT_SOURCE_DIR}/BackendInvocation.cpp"
- "${CMAKE_CURRENT_SOURCE_DIR}/BackendManifest.cpp"
- "${CMAKE_CURRENT_SOURCE_DIR}/BackendDriver.cpp"
- "${CMAKE_CURRENT_SOURCE_DIR}/ArtifactStore.cpp"
- "${CMAKE_CURRENT_SOURCE_DIR}/MIRFuzzer.cpp"
- "${CMAKE_CURRENT_SOURCE_DIR}/MIRReducer.cpp"
- "${CMAKE_CURRENT_SOURCE_DIR}/PipelineDriver.cpp"
-)
diff --git a/backend/tools/MIRTool/CMakeLists.txt b/backend/tools/MIRTool/CMakeLists.txt
index 37738c1..4f84df7 100644
--- a/backend/tools/MIRTool/CMakeLists.txt
+++ b/backend/tools/MIRTool/CMakeLists.txt
@@ -88,4 +88,3 @@ set_tests_properties(
)
rcc_backend_register_format_files("${CMAKE_CURRENT_SOURCE_DIR}/MIRToolMain.cpp")
-rcc_backend_register_tidy_files("${CMAKE_CURRENT_SOURCE_DIR}/MIRToolMain.cpp")
diff --git a/backend/unittests/AsmParser/CMakeLists.txt b/backend/unittests/AsmParser/CMakeLists.txt
index 00e7429..df6fa12 100644
--- a/backend/unittests/AsmParser/CMakeLists.txt
+++ b/backend/unittests/AsmParser/CMakeLists.txt
@@ -12,4 +12,3 @@ target_link_libraries(
add_test(NAME RCCBackend.AsmParser.LLParser COMMAND RCCBackendLLParserTests)
rcc_backend_register_format_files("${CMAKE_CURRENT_SOURCE_DIR}/LLParserTest.cpp")
-rcc_backend_register_tidy_files("${CMAKE_CURRENT_SOURCE_DIR}/LLParserTest.cpp")
diff --git a/backend/unittests/CodeGen/CMakeLists.txt b/backend/unittests/CodeGen/CMakeLists.txt
index ac6ab36..62a5025 100644
--- a/backend/unittests/CodeGen/CMakeLists.txt
+++ b/backend/unittests/CodeGen/CMakeLists.txt
@@ -543,53 +543,3 @@ rcc_backend_register_format_files(
"${CMAKE_CURRENT_SOURCE_DIR}/RegAllocFastTest.cpp"
"${CMAKE_CURRENT_SOURCE_DIR}/RegAllocPBQPTest.cpp"
)
-rcc_backend_register_tidy_files(
- "${CMAKE_CURRENT_SOURCE_DIR}/CompilationUnitTest.cpp"
- "${CMAKE_CURRENT_SOURCE_DIR}/CoreTypesTest.cpp"
- "${CMAKE_CURRENT_SOURCE_DIR}/GenericOpcodesTest.cpp"
- "${CMAKE_CURRENT_SOURCE_DIR}/InstructionDescriptorTest.cpp"
- "${CMAKE_CURRENT_SOURCE_DIR}/MachineCompilationStatusTest.cpp"
- "${CMAKE_CURRENT_SOURCE_DIR}/MachineConstantPoolTest.cpp"
- "${CMAKE_CURRENT_SOURCE_DIR}/MachineDebugInfoTest.cpp"
- "${CMAKE_CURRENT_SOURCE_DIR}/MachineFrameInfoTest.cpp"
- "${CMAKE_CURRENT_SOURCE_DIR}/MachineFunctionClonerTest.cpp"
- "${CMAKE_CURRENT_SOURCE_DIR}/MachineFunctionRecordsTest.cpp"
- "${CMAKE_CURRENT_SOURCE_DIR}/MachineIRAttributesTest.cpp"
- "${CMAKE_CURRENT_SOURCE_DIR}/MachineIRBuilderTest.cpp"
- "${CMAKE_CURRENT_SOURCE_DIR}/MachineIRCoreTest.cpp"
- "${CMAKE_CURRENT_SOURCE_DIR}/MachineAnalysesTest.cpp"
- "${CMAKE_CURRENT_SOURCE_DIR}/MachineJumpTableInfoTest.cpp"
- "${CMAKE_CURRENT_SOURCE_DIR}/SlotIndexesTest.cpp"
- "${CMAKE_CURRENT_SOURCE_DIR}/LiveVariablesTest.cpp"
- "${CMAKE_CURRENT_SOURCE_DIR}/LiveIntervalTest.cpp"
- "${CMAKE_CURRENT_SOURCE_DIR}/LiveIntervalsTest.cpp"
- "${CMAKE_CURRENT_SOURCE_DIR}/LivePhysRegsTest.cpp"
- "${CMAKE_CURRENT_SOURCE_DIR}/LiveRegUnitsTest.cpp"
- "${CMAKE_CURRENT_SOURCE_DIR}/LiveTestSupport.h"
- "${CMAKE_CURRENT_SOURCE_DIR}/MachineMetadataTest.cpp"
- "${CMAKE_CURRENT_SOURCE_DIR}/MachineOperandTest.cpp"
- "${CMAKE_CURRENT_SOURCE_DIR}/MachineOptimizationTest.cpp"
- "${CMAKE_CURRENT_SOURCE_DIR}/PassManagerTest.cpp"
- "${CMAKE_CURRENT_SOURCE_DIR}/PassInstrumentationTest.cpp"
- "${CMAKE_CURRENT_SOURCE_DIR}/MachinePassManagerTest.cpp"
- "${CMAKE_CURRENT_SOURCE_DIR}/MachineSchedulingTest.cpp"
- "${CMAKE_CURRENT_SOURCE_DIR}/PBQPTest.cpp"
- "${CMAKE_CURRENT_SOURCE_DIR}/RegisterAllocationTest.cpp"
- "${CMAKE_CURRENT_SOURCE_DIR}/PHIEliminationTest.cpp"
- "${CMAKE_CURRENT_SOURCE_DIR}/SSAExitTestSupport.h"
- "${CMAKE_CURRENT_SOURCE_DIR}/TwoAddressInstructionPassTest.cpp"
- "${CMAKE_CURRENT_SOURCE_DIR}/MachineVerifierTest.cpp"
- "${CMAKE_CURRENT_SOURCE_DIR}/MachineVerifierTargetTest.cpp"
- "${CMAKE_CURRENT_SOURCE_DIR}/MachineValueTypesTest.cpp"
- "${CMAKE_CURRENT_SOURCE_DIR}/TargetConstantTest.cpp"
- "${CMAKE_CURRENT_SOURCE_DIR}/TargetCallLoweringTest.cpp"
- "${CMAKE_CURRENT_SOURCE_DIR}/TargetFunctionStateTest.cpp"
- "${CMAKE_CURRENT_SOURCE_DIR}/TargetMIRTextInfoTest.cpp"
- "${CMAKE_CURRENT_SOURCE_DIR}/TargetRegisterInfoTest.cpp"
- "${CMAKE_CURRENT_SOURCE_DIR}/LiveRegMatrixTest.cpp"
- "${CMAKE_CURRENT_SOURCE_DIR}/VirtRegMapTest.cpp"
- "${CMAKE_CURRENT_SOURCE_DIR}/SpillerTest.cpp"
- "${CMAKE_CURRENT_SOURCE_DIR}/RegAllocBasicTest.cpp"
- "${CMAKE_CURRENT_SOURCE_DIR}/RegAllocFastTest.cpp"
- "${CMAKE_CURRENT_SOURCE_DIR}/RegAllocPBQPTest.cpp"
-)
diff --git a/backend/unittests/CodeGen/GlobalISel/CMakeLists.txt b/backend/unittests/CodeGen/GlobalISel/CMakeLists.txt
index 0ff962b..ba38de1 100644
--- a/backend/unittests/CodeGen/GlobalISel/CMakeLists.txt
+++ b/backend/unittests/CodeGen/GlobalISel/CMakeLists.txt
@@ -38,9 +38,3 @@ rcc_backend_register_format_files(
"${CMAKE_CURRENT_SOURCE_DIR}/LegalizerTest.cpp"
"${CMAKE_CURRENT_SOURCE_DIR}/RegBankSelectTest.cpp"
)
-
-rcc_backend_register_tidy_files(
- "${CMAKE_CURRENT_SOURCE_DIR}/InstructionSelectTest.cpp"
- "${CMAKE_CURRENT_SOURCE_DIR}/LegalizerTest.cpp"
- "${CMAKE_CURRENT_SOURCE_DIR}/RegBankSelectTest.cpp"
-)
diff --git a/backend/unittests/MC/CMakeLists.txt b/backend/unittests/MC/CMakeLists.txt
index 3c18b36..5dfb6d0 100644
--- a/backend/unittests/MC/CMakeLists.txt
+++ b/backend/unittests/MC/CMakeLists.txt
@@ -14,7 +14,3 @@ rcc_backend_register_format_files(
"${CMAKE_CURRENT_SOURCE_DIR}/MCTest.cpp"
"${CMAKE_CURRENT_SOURCE_DIR}/MCObjectTest.cpp"
)
-rcc_backend_register_tidy_files(
- "${CMAKE_CURRENT_SOURCE_DIR}/MCTest.cpp"
- "${CMAKE_CURRENT_SOURCE_DIR}/MCObjectTest.cpp"
-)
diff --git a/backend/unittests/MIR/CMakeLists.txt b/backend/unittests/MIR/CMakeLists.txt
index 8a8a8b4..8ff0527 100644
--- a/backend/unittests/MIR/CMakeLists.txt
+++ b/backend/unittests/MIR/CMakeLists.txt
@@ -44,9 +44,3 @@ rcc_backend_register_format_files(
"${CMAKE_CURRENT_SOURCE_DIR}/MIRDocumentTest.cpp"
"${CMAKE_CURRENT_SOURCE_DIR}/MIParserTest.cpp"
)
-rcc_backend_register_tidy_files(
- "${CMAKE_CURRENT_SOURCE_DIR}/EmbeddedIRTest.cpp"
- "${CMAKE_CURRENT_SOURCE_DIR}/MILexerTest.cpp"
- "${CMAKE_CURRENT_SOURCE_DIR}/MIRDocumentTest.cpp"
- "${CMAKE_CURRENT_SOURCE_DIR}/MIParserTest.cpp"
-)
diff --git a/backend/unittests/Support/CMakeLists.txt b/backend/unittests/Support/CMakeLists.txt
index c41c438..8c79340 100644
--- a/backend/unittests/Support/CMakeLists.txt
+++ b/backend/unittests/Support/CMakeLists.txt
@@ -30,9 +30,3 @@ rcc_backend_register_format_files(
"${CMAKE_CURRENT_SOURCE_DIR}/TextDiagnosticTest.cpp"
"${CMAKE_CURRENT_SOURCE_DIR}/YAMLTest.cpp"
)
-rcc_backend_register_tidy_files(
- "${CMAKE_CURRENT_SOURCE_DIR}/ErrorTest.cpp"
- "${CMAKE_CURRENT_SOURCE_DIR}/SHA256Test.cpp"
- "${CMAKE_CURRENT_SOURCE_DIR}/TextDiagnosticTest.cpp"
- "${CMAKE_CURRENT_SOURCE_DIR}/YAMLTest.cpp"
-)
diff --git a/backend/unittests/Target/CMakeLists.txt b/backend/unittests/Target/CMakeLists.txt
index 3558088..31b48d5 100644
--- a/backend/unittests/Target/CMakeLists.txt
+++ b/backend/unittests/Target/CMakeLists.txt
@@ -115,17 +115,3 @@ rcc_backend_register_format_files(
"${CMAKE_CURRENT_SOURCE_DIR}/TestTarget.cpp"
"${CMAKE_CURRENT_SOURCE_DIR}/TestTarget.h"
)
-rcc_backend_register_tidy_files(
- "${CMAKE_CURRENT_SOURCE_DIR}/TableGenTest.cpp"
- "${CMAKE_CURRENT_SOURCE_DIR}/RISCVCallLoweringTest.cpp"
- "${CMAKE_CURRENT_SOURCE_DIR}/RISCVTargetTest.cpp"
- "${CMAKE_CURRENT_SOURCE_DIR}/RISCVSSAExitTest.cpp"
- "${CMAKE_CURRENT_SOURCE_DIR}/RISCVRegisterAllocationTest.cpp"
- "${CMAKE_CURRENT_SOURCE_DIR}/RISCVFrameLoweringTest.cpp"
- "${CMAKE_CURRENT_SOURCE_DIR}/RISCVLateCodeGenTest.cpp"
- "${CMAKE_CURRENT_SOURCE_DIR}/RISCVAssemblyPrinterTest.cpp"
- "${CMAKE_CURRENT_SOURCE_DIR}/RISCVMCTest.cpp"
- "${CMAKE_CURRENT_SOURCE_DIR}/RISCVMCEncodingCoverageTest.cpp"
- "${CMAKE_CURRENT_SOURCE_DIR}/RISCVObjectFileTest.cpp"
- "${CMAKE_CURRENT_SOURCE_DIR}/TestTarget.cpp"
-)
diff --git a/backend/unittests/Tooling/CMakeLists.txt b/backend/unittests/Tooling/CMakeLists.txt
index 3d637ec..8c3ac78 100644
--- a/backend/unittests/Tooling/CMakeLists.txt
+++ b/backend/unittests/Tooling/CMakeLists.txt
@@ -40,9 +40,3 @@ rcc_backend_register_format_files(
"${CMAKE_CURRENT_SOURCE_DIR}/MIRReducerFuzzerTest.cpp"
"${CMAKE_CURRENT_SOURCE_DIR}/ToolingTestSupport.h"
)
-rcc_backend_register_tidy_files(
- "${CMAKE_CURRENT_SOURCE_DIR}/BackendManifestTest.cpp"
- "${CMAKE_CURRENT_SOURCE_DIR}/ArtifactStoreTest.cpp"
- "${CMAKE_CURRENT_SOURCE_DIR}/PipelineDriverTest.cpp"
- "${CMAKE_CURRENT_SOURCE_DIR}/MIRReducerFuzzerTest.cpp"
-)
diff --git a/backend/utils/TableGen/CMakeLists.txt b/backend/utils/TableGen/CMakeLists.txt
index 48c1632..ae305b4 100644
--- a/backend/utils/TableGen/CMakeLists.txt
+++ b/backend/utils/TableGen/CMakeLists.txt
@@ -48,7 +48,3 @@ rcc_backend_register_format_files(
${RCCBackendTableGenBackendSources}
${RCCBackendTableGenBackendHeaders}
)
-rcc_backend_register_tidy_files(
- "${CMAKE_CURRENT_SOURCE_DIR}/rcc-tblgen.cpp"
- ${RCCBackendTableGenBackendSources}
-)