Register Writer passes

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3017 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2002-07-23 18:07:49 +00:00
parent f629309f74
commit f082b80828

View File

@ -10,6 +10,7 @@
#include "llvm/Assembly/CachedWriter.h"
#include "llvm/Assembly/Writer.h"
#include "llvm/Assembly/PrintModulePass.h"
#include "llvm/SlotCalculator.h"
#include "llvm/DerivedTypes.h"
#include "llvm/Instruction.h"
@ -28,6 +29,9 @@ using std::map;
using std::vector;
using std::ostream;
static RegisterPass<PrintModulePass> X("printm", "Print module to stderr");
static RegisterPass<PrintFunctionPass> Y("print", "Print function to stderr");
static void WriteAsOperandInternal(ostream &Out, const Value *V, bool PrintName,
map<const Type *, string> &TypeTable,
SlotCalculator *Table);