Allow targets to optionally specify custom binary encoder functions for
authorJim Grosbach <grosbach@apple.com>
Tue, 12 Oct 2010 22:21:57 +0000 (22:21 +0000)
committerJim Grosbach <grosbach@apple.com>
Tue, 12 Oct 2010 22:21:57 +0000 (22:21 +0000)
commit5013f7469ec44adba127de65517e699180ee532f
treeddf704f7ba1a25a5b3c1b7bdad0f34dced014f9a
parent174777bb2b0a1896afb5dc5ff96a91d162d00149
Allow targets to optionally specify custom binary encoder functions for
operand values. This is useful for operands which require additional trickery
to encode into the instruction. For example, the ARM shifted immediate and
shifted register operands.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@116353 91177308-0d34-0410-b5e6-96231b3b80d8
utils/TableGen/CodeEmitterGen.cpp
utils/TableGen/CodeGenInstruction.cpp
utils/TableGen/CodeGenInstruction.h