aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/CodeGen
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-04-04 20:20:50 +0000
committerChris Lattner <sabre@nondot.org>2010-04-04 20:20:50 +0000
commitd2af7853e377bce40cbf3e0632a4608484b6aba4 (patch)
treec80d96c050c8256916d84f07b4f488f1d8c69ff7 /include/llvm/CodeGen
parent9be49131363f79ad58a5deb4daf175a7b1c0ec66 (diff)
downloadexternal_llvm-d2af7853e377bce40cbf3e0632a4608484b6aba4.zip
external_llvm-d2af7853e377bce40cbf3e0632a4608484b6aba4.tar.gz
external_llvm-d2af7853e377bce40cbf3e0632a4608484b6aba4.tar.bz2
move some more stuff to asmprinter.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@100351 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen')
-rw-r--r--include/llvm/CodeGen/AsmPrinter.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/llvm/CodeGen/AsmPrinter.h b/include/llvm/CodeGen/AsmPrinter.h
index 4cdd117..2ad1e18 100644
--- a/include/llvm/CodeGen/AsmPrinter.h
+++ b/include/llvm/CodeGen/AsmPrinter.h
@@ -343,6 +343,15 @@ namespace llvm {
/// specifying (e.g. "LSDA").
void EmitEncodingByte(unsigned Val, const char *Desc = 0);
+ /// GetSizeOfEncodedValue - Return the size of the encoding in bytes.
+ unsigned GetSizeOfEncodedValue(unsigned Encoding) const;
+
+ /// EmitReference - Emit a reference to a label with a specified encoding.
+ ///
+ void EmitReference(const MCSymbol *Sym, unsigned Encoding) const;
+ void EmitReference(const GlobalValue *GV, unsigned Encoding) const;
+
+
//===------------------------------------------------------------------===//
// Inline Asm Support
//===------------------------------------------------------------------===//