blob: 6bab837b5544d131cc514c4ce8ac676829465c78 [file] [log] [blame]
//===-- SimplifyInsertValue.cpp - Remove extraneous insertvalue insts------===//
//
// The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
//
// Simplify insertvalue
// Replace insertvalue by storess where possible
//
//===----------------------------------------------------------------------===//
#include "llvm/Instructions.h"
#include "llvm/Module.h"
#include "llvm/Pass.h"
namespace llvm {
//
// Class: SimplifyIV
//
class SimplifyIV : public ModulePass {
public:
static char ID;
SimplifyIV() : ModulePass(ID) {}
virtual bool runOnModule(Module& M);
};
}