mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-17 21:29:20 +00:00
Rename SwapStructureContents -> IPO/SimpleStructMutation
Move MutateStructTypes.(cpp|h) -> IPO/MutateStructTypes.(cpp|h) git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1510 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
24d5c6a0cc
commit
04c85dcad8
@ -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;
|
||||
}
|
||||
|
@ -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;
|
||||
|
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user