introduce a new X86II::getMemoryOperandNo method, which
authorChris Lattner <sabre@nondot.org>
Thu, 8 Jul 2010 22:27:06 +0000 (22:27 +0000)
committerChris Lattner <sabre@nondot.org>
Thu, 8 Jul 2010 22:27:06 +0000 (22:27 +0000)
commit751e1123cecc4b5c2a86849bb39de317b396c303
treee75dc251e35c401c711f28360703fc302199901e
parentd258c49589f3befd161a5ab27fd635b1dbdafc10
introduce a new X86II::getMemoryOperandNo method, which
returns the start of the memory operand for an instruction.

Introduce a new "X86AddrSegment" enum to reduce # magic numbers
referring to X86 memory operand layout.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@107916 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86InstrInfo.h