From ac20beb546010cd7bf5cd99f6312cb48fc4607e6 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Wed, 24 Jul 2002 17:10:24 +0000 Subject: [PATCH] Move contents of these files into IPO.h git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3041 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/Transforms/IPO/GlobalDCE.h | 13 ------------- include/llvm/Transforms/IPO/Internalize.h | 15 --------------- include/llvm/Transforms/IPO/PoolAllocate.h | 15 --------------- .../llvm/Transforms/IPO/SimpleStructMutation.h | 16 ---------------- 4 files changed, 59 deletions(-) delete mode 100644 include/llvm/Transforms/IPO/GlobalDCE.h delete mode 100644 include/llvm/Transforms/IPO/Internalize.h delete mode 100644 include/llvm/Transforms/IPO/PoolAllocate.h delete mode 100644 include/llvm/Transforms/IPO/SimpleStructMutation.h diff --git a/include/llvm/Transforms/IPO/GlobalDCE.h b/include/llvm/Transforms/IPO/GlobalDCE.h deleted file mode 100644 index 8956fc37e6c..00000000000 --- a/include/llvm/Transforms/IPO/GlobalDCE.h +++ /dev/null @@ -1,13 +0,0 @@ -//===-- Transforms/IPO/GlobalDCE.h - DCE global values -----------*- C++ -*--=// -// -// This transform is designed to eliminate unreachable internal globals -// -//===----------------------------------------------------------------------===// - -#ifndef LLVM_TRANSFORM_IPO_GLOBALDCE_H -#define LLVM_TRANSFORM_IPO_GLOBALDCE_H - -class Pass; -Pass *createGlobalDCEPass(); - -#endif diff --git a/include/llvm/Transforms/IPO/Internalize.h b/include/llvm/Transforms/IPO/Internalize.h deleted file mode 100644 index e512dfc3280..00000000000 --- a/include/llvm/Transforms/IPO/Internalize.h +++ /dev/null @@ -1,15 +0,0 @@ -//===-- Transforms/IPO/Internalize.h - Mark functions internal ---*- C++ -*--=// -// -// This pass loops over all of the functions in the input module, looking for a -// main function. If a main function is found, all other functions are marked -// as internal. -// -//===----------------------------------------------------------------------===// - -#ifndef LLVM_TRANSFORM_IPO_INTERNALIZE_H -#define LLVM_TRANSFORM_IPO_INTERNALIZE_H - -class Pass; -Pass *createInternalizePass(); - -#endif diff --git a/include/llvm/Transforms/IPO/PoolAllocate.h b/include/llvm/Transforms/IPO/PoolAllocate.h deleted file mode 100644 index f503549fc86..00000000000 --- a/include/llvm/Transforms/IPO/PoolAllocate.h +++ /dev/null @@ -1,15 +0,0 @@ -//===-- Transforms/IPO/PoolAllocate.h - Pool Allocation Pass -----*- C++ -*--=// -// -// This transform changes programs so that disjoint data structures are -// allocated out of different pools of memory, increasing locality and shrinking -// pointer size. -// -//===----------------------------------------------------------------------===// - -#ifndef LLVM_TRANSFORM_IPO_POOLALLOCATE_H -#define LLVM_TRANSFORM_IPO_POOLALLOCATE_H - -class Pass; -Pass *createPoolAllocatePass(); - -#endif diff --git a/include/llvm/Transforms/IPO/SimpleStructMutation.h b/include/llvm/Transforms/IPO/SimpleStructMutation.h deleted file mode 100644 index 518b6a6128c..00000000000 --- a/include/llvm/Transforms/IPO/SimpleStructMutation.h +++ /dev/null @@ -1,16 +0,0 @@ -//===- llvm/Transforms/SimpleStructMutation.h - Permute Structs --*- C++ -*--=// -// -// This pass does is a wrapper that can do a few simple structure mutation -// transformations. -// -//===----------------------------------------------------------------------===// - -#ifndef LLVM_TRANSFORMS_SIMPLESTRUCTMUTATION_H -#define LLVM_TRANSFORMS_SIMPLESTRUCTMUTATION_H - -class Pass; -class TargetData; -Pass *createSwapElementsPass(const TargetData &); -Pass *createSortElementsPass(const TargetData &); - -#endif