From 685c2add65a264d5e972a8dec1be9c943c362546 Mon Sep 17 00:00:00 2001 From: Chandler Carruth Date: Sun, 1 Feb 2015 00:22:15 +0000 Subject: [PATCH] [PM] Remove a bunch of stale TTI creation method declarations. I nuked their definitions, but forgot to clean up all the declarations which are in different files. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@227698 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/CodeGen/Passes.h | 7 ------- lib/Target/AArch64/AArch64.h | 3 --- lib/Target/ARM/ARM.h | 3 --- lib/Target/NVPTX/NVPTX.h | 1 - lib/Target/PowerPC/PPC.h | 3 --- lib/Target/R600/AMDGPU.h | 4 ---- lib/Target/X86/X86.h | 3 --- lib/Target/XCore/XCore.h | 2 -- 8 files changed, 26 deletions(-) diff --git a/include/llvm/CodeGen/Passes.h b/include/llvm/CodeGen/Passes.h index 7e5e9008320..65b17d370c6 100644 --- a/include/llvm/CodeGen/Passes.h +++ b/include/llvm/CodeGen/Passes.h @@ -354,13 +354,6 @@ protected: namespace llvm { FunctionPass *createAtomicExpandPass(const TargetMachine *TM); - /// \brief Create a basic TargetTransformInfo analysis pass. - /// - /// This pass implements the target transform info analysis using the target - /// independent information available to the LLVM code generator. - ImmutablePass * - createBasicTargetTransformInfoPass(const TargetMachine *TM); - /// createUnreachableBlockEliminationPass - The LLVM code generator does not /// work well with unreachable basic blocks (what live ranges make sense for a /// block that cannot be reached?). As such, a code generator should either diff --git a/lib/Target/AArch64/AArch64.h b/lib/Target/AArch64/AArch64.h index e96d18bdef0..21106c9ad29 100644 --- a/lib/Target/AArch64/AArch64.h +++ b/lib/Target/AArch64/AArch64.h @@ -40,9 +40,6 @@ FunctionPass *createAArch64ConditionOptimizerPass(); FunctionPass *createAArch64AddressTypePromotionPass(); FunctionPass *createAArch64A57FPLoadBalancing(); FunctionPass *createAArch64A53Fix835769(); -/// \brief Creates an ARM-specific Target Transformation Info pass. -ImmutablePass * -createAArch64TargetTransformInfoPass(const AArch64TargetMachine *TM); FunctionPass *createAArch64CleanupLocalDynamicTLSPass(); diff --git a/lib/Target/ARM/ARM.h b/lib/Target/ARM/ARM.h index 02db53a2745..0703b1869a1 100644 --- a/lib/Target/ARM/ARM.h +++ b/lib/Target/ARM/ARM.h @@ -41,9 +41,6 @@ FunctionPass *createThumb2ITBlockPass(); FunctionPass *createARMOptimizeBarriersPass(); FunctionPass *createThumb2SizeReductionPass(); -/// \brief Creates an ARM-specific Target Transformation Info pass. -ImmutablePass *createARMTargetTransformInfoPass(const ARMBaseTargetMachine *TM); - void LowerARMMachineInstrToMCInst(const MachineInstr *MI, MCInst &OutMI, ARMAsmPrinter &AP); diff --git a/lib/Target/NVPTX/NVPTX.h b/lib/Target/NVPTX/NVPTX.h index a3382eb0000..382525d27a2 100644 --- a/lib/Target/NVPTX/NVPTX.h +++ b/lib/Target/NVPTX/NVPTX.h @@ -59,7 +59,6 @@ inline static const char *NVPTXCondCodeToString(NVPTXCC::CondCodes CC) { llvm_unreachable("Unknown condition code"); } -ImmutablePass *createNVPTXTargetTransformInfoPass(const NVPTXTargetMachine *TM); FunctionPass *createNVPTXISelDag(NVPTXTargetMachine &TM, llvm::CodeGenOpt::Level OptLevel); ModulePass *createNVPTXAssignValidGlobalNamesPass(); diff --git a/lib/Target/PowerPC/PPC.h b/lib/Target/PowerPC/PPC.h index 8fb33df3fe9..7912464d1ac 100644 --- a/lib/Target/PowerPC/PPC.h +++ b/lib/Target/PowerPC/PPC.h @@ -43,9 +43,6 @@ namespace llvm { void LowerPPCMachineInstrToMCInst(const MachineInstr *MI, MCInst &OutMI, AsmPrinter &AP, bool isDarwin); - /// \brief Creates an PPC-specific Target Transformation Info pass. - ImmutablePass *createPPCTargetTransformInfoPass(const PPCTargetMachine *TM); - void initializePPCVSXFMAMutatePass(PassRegistry&); extern char &PPCVSXFMAMutateID; diff --git a/lib/Target/R600/AMDGPU.h b/lib/Target/R600/AMDGPU.h index c6600550126..fb87cc5c4f2 100644 --- a/lib/Target/R600/AMDGPU.h +++ b/lib/Target/R600/AMDGPU.h @@ -64,10 +64,6 @@ Pass *createAMDGPUStructurizeCFGPass(); FunctionPass *createAMDGPUISelDag(TargetMachine &tm); ModulePass *createAMDGPUAlwaysInlinePass(); -/// \brief Creates an AMDGPU-specific Target Transformation Info pass. -ImmutablePass * -createAMDGPUTargetTransformInfoPass(const AMDGPUTargetMachine *TM); - void initializeSIFixSGPRLiveRangesPass(PassRegistry&); extern char &SIFixSGPRLiveRangesID; diff --git a/lib/Target/X86/X86.h b/lib/Target/X86/X86.h index 8bd5817e528..71fc567cb55 100644 --- a/lib/Target/X86/X86.h +++ b/lib/Target/X86/X86.h @@ -55,9 +55,6 @@ FunctionPass *createX86IssueVZeroUpperPass(); /// FunctionPass *createEmitX86CodeToMemory(); -/// \brief Creates an X86-specific Target Transformation Info pass. -ImmutablePass *createX86TargetTransformInfoPass(const X86TargetMachine *TM); - /// createX86PadShortFunctions - Return a pass that pads short functions /// with NOOPs. This will prevent a stall when returning on the Atom. FunctionPass *createX86PadShortFunctions(); diff --git a/lib/Target/XCore/XCore.h b/lib/Target/XCore/XCore.h index 140ba2a4a80..ba6ca843671 100644 --- a/lib/Target/XCore/XCore.h +++ b/lib/Target/XCore/XCore.h @@ -32,8 +32,6 @@ namespace llvm { CodeGenOpt::Level OptLevel); ModulePass *createXCoreLowerThreadLocalPass(); - ImmutablePass *createXCoreTargetTransformInfoPass(const XCoreTargetMachine *TM); - } // end namespace llvm; #endif -- 2.34.1