mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 11:42:57 +01:00
Expose some more printing functionality from the assembly writer library
llvm-svn: 1030
This commit is contained in:
parent
29a0fa2839
commit
ad6e4d8ca7
@ -37,6 +37,13 @@ void WriteToAssembly(const BasicBlock *BB, ostream &o);
|
||||
void WriteToAssembly(const Instruction *In, ostream &o);
|
||||
void WriteToAssembly(const ConstPoolVal *V, ostream &o);
|
||||
|
||||
// WriteTypeSymbolic - This attempts to write the specified type as a symbolic
|
||||
// type, iff there is an entry in the modules symbol table for the specified
|
||||
// type or one of it's component types. This is slower than a simple x << Type;
|
||||
//
|
||||
ostream &WriteTypeSymbolic(ostream &o, const Type *Ty, const Module *Module);
|
||||
|
||||
|
||||
// WriteAsOperand - Write the name of the specified value out to the specified
|
||||
// ostream. This can be useful when you just want to print int %reg126, not the
|
||||
// whole instruction that generated it.
|
||||
|
Loading…
Reference in New Issue
Block a user