Rename SwapStructureContents -> IPO/SimpleStructMutation

Move MutateStructTypes.(cpp|h) -> IPO/MutateStructTypes.(cpp|h)

llvm-svn: 1510
This commit is contained in:
Chris Lattner 2002-01-21 07:52:35 +00:00
parent 4be3babdba
commit bbb4dcdcd1
3 changed files with 7 additions and 6 deletions

View File

@ -11,7 +11,7 @@
//
//===----------------------------------------------------------------------===//
#include "llvm/Transforms/MutateStructTypes.h"
#include "llvm/Transforms/IPO/MutateStructTypes.h"
#include "llvm/DerivedTypes.h"
#include "llvm/Method.h"
#include "llvm/GlobalVariable.h"
@ -513,4 +513,5 @@ bool MutateStructTypes::run(Module *M) {
bind_obj(this, &MutateStructTypes::transformMethod));
removeDeadGlobals(M);
return true;
}

View File

@ -1,4 +1,4 @@
//===- SwapStructContents.cpp - Swap structure elements around ---*- C++ -*--=//
//===- SimpleStructMutation.cpp - Swap structure elements around ---*- C++ -*--=//
//
// This pass does a simple transformation that swaps all of the elements of the
// struct types in the program around.
@ -6,11 +6,11 @@
//===----------------------------------------------------------------------===//
#include "llvm/Transforms/SwapStructContents.h"
#include "llvm/Transforms/MutateStructTypes.h"
#include "llvm/Transforms/IPO/SimpleStructMutation.h"
#include "llvm/Transforms/IPO/MutateStructTypes.h"
#include "llvm/Analysis/FindUsedTypes.h"
#include "llvm/Analysis/FindUnsafePointerTypes.h"
#include "TransformInternals.h"
#include "../TransformInternals.h"
#include <algorithm>
#include <iostream>
using std::vector;

View File

@ -15,7 +15,7 @@
#include "llvm/Transforms/ConstantMerge.h"
#include "llvm/Transforms/CleanupGCCOutput.h"
#include "llvm/Transforms/LevelChange.h"
#include "llvm/Transforms/SwapStructContents.h"
#include "llvm/Transforms/IPO/SimpleStructMutation.h"
#include "llvm/Transforms/IPO/GlobalDCE.h"
#include "llvm/Transforms/Scalar/IndVarSimplify.h"
#include "llvm/Transforms/Scalar/InstructionCombining.h"