[PowerPC][NFC] rename file for PPCCTRLoopsVerify pass.
authorChen Zheng <czhengsz@cn.ibm.com>
Mon, 21 Mar 2022 07:38:46 +0000 (03:38 -0400)
committerChen Zheng <czhengsz@cn.ibm.com>
Mon, 21 Mar 2022 07:42:14 +0000 (03:42 -0400)
Rename file for PPCCTRLoopsVerify pass from PPCCTRLoops.cpp
to PPCCTRLoopsVerify.cpp.

There will be a new file PPCCTRLoops.cpp for PPC CTR loops
generation later.

llvm/lib/Target/PowerPC/CMakeLists.txt
llvm/lib/Target/PowerPC/PPC.h
llvm/lib/Target/PowerPC/PPCCTRLoopsVerify.cpp [moved from llvm/lib/Target/PowerPC/PPCCTRLoops.cpp with 100% similarity]

index b74a8bc..02dc246 100644 (file)
@@ -26,7 +26,7 @@ add_llvm_target(PowerPCCodeGen
   PPCBranchCoalescing.cpp
   PPCCallingConv.cpp
   PPCCCState.cpp
-  PPCCTRLoops.cpp
+  PPCCTRLoopsVerify.cpp
   PPCExpandAtomicPseudoInsts.cpp
   PPCHazardRecognizers.cpp
   PPCInstrInfo.cpp
index acb4e1a..cc7af54 100644 (file)
@@ -33,7 +33,6 @@ class MCInst;
 class MCOperand;
 class ModulePass;
 
-FunctionPass *createPPCCTRLoops();
 #ifndef NDEBUG
   FunctionPass *createPPCCTRLoopsVerify();
 #endif
@@ -58,7 +57,6 @@ FunctionPass *createPPCCTRLoops();
   bool LowerPPCMachineOperandToMCOperand(const MachineOperand &MO,
                                          MCOperand &OutMO, AsmPrinter &AP);
 
-  void initializePPCCTRLoopsPass(PassRegistry&);
 #ifndef NDEBUG
   void initializePPCCTRLoopsVerifyPass(PassRegistry&);
 #endif