start adding logic in isel to determine asm printer semantics, step N of M.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@74246 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Target/X86/X86InstrInfo.h b/lib/Target/X86/X86InstrInfo.h
index f8b5e5e..b4ba5f0 100644
--- a/lib/Target/X86/X86InstrInfo.h
+++ b/lib/Target/X86/X86InstrInfo.h
@@ -77,9 +77,19 @@
/// MO_GOT_ABSOLUTE_ADDRESS - On a symbol operand, this represents a
/// relocation of:
- /// $SYMBOL_LABEL + [. - PICBASELABEL]
+ /// SYMBOL_LABEL + [. - PICBASELABEL]
MO_GOT_ABSOLUTE_ADDRESS = 1,
+ /// MO_PIC_BASE_OFFSET - On a symbol operand this indicates that the
+ /// immediate should get the value of the symbol minus the PIC base label:
+ /// SYMBOL_LABEL - PICBASELABEL
+ MO_PIC_BASE_OFFSET = 2,
+
+ /// MO_GOTOFF - On a symbol operand this indicates that the immediate should
+ /// the offset to the location of the symbol name from the base of the GOT.
+ /// SYMBOL_LABEL @GOTOFF
+ MO_GOTOFF = 3,
+
//===------------------------------------------------------------------===//
// Instruction encodings. These are the standard/most common forms for X86