diff options
author | Chris Lattner <sabre@nondot.org> | 2001-10-29 16:36:49 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2001-10-29 16:36:49 +0000 |
commit | a828014adfb0937825eb50ee6aa935a17782ded3 (patch) | |
tree | 68bcac9d2cffa2a0624dbcb5eca740068be0afad /include/llvm/Assembly | |
parent | c1824996451d5ea93864fcd34ba8ea5e5f03e368 (diff) | |
download | llvm-a828014adfb0937825eb50ee6aa935a17782ded3.tar.gz llvm-a828014adfb0937825eb50ee6aa935a17782ded3.tar.bz2 llvm-a828014adfb0937825eb50ee6aa935a17782ded3.tar.xz |
Expose some more printing functionality from the assembly writer library
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@1030 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Assembly')
-rw-r--r-- | include/llvm/Assembly/Writer.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/llvm/Assembly/Writer.h b/include/llvm/Assembly/Writer.h index bcda38b90d..1db5cd3689 100644 --- a/include/llvm/Assembly/Writer.h +++ b/include/llvm/Assembly/Writer.h @@ -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. |