mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-03-06 05:33:28 +00:00
Trivial cleanups
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2617 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
ef704a23b4
commit
2172db04e7
@ -17,16 +17,16 @@
|
||||
#include "llvm/Instruction.h"
|
||||
#include "llvm/Pass.h"
|
||||
#include "llvm/Support/InstIterator.h"
|
||||
#include "Support/StatisticReporter.h"
|
||||
#include <set>
|
||||
|
||||
#include "Support/StatisticReporter.h"
|
||||
static Statistic<> NumInstKilled("constprop - Number of instructions killed");
|
||||
|
||||
namespace {
|
||||
struct ConstantPropogation : public FunctionPass {
|
||||
const char *getPassName() const { return "Simple Constant Propogation"; }
|
||||
|
||||
inline bool runOnFunction(Function *F);
|
||||
bool runOnFunction(Function *F);
|
||||
|
||||
virtual void getAnalysisUsage(AnalysisUsage &AU) const {
|
||||
AU.preservesCFG();
|
||||
|
Loading…
x
Reference in New Issue
Block a user