add TableGen support to create relationship maps between instructions
authorSebastian Pop <spop@codeaurora.org>
Thu, 25 Oct 2012 15:54:06 +0000 (15:54 +0000)
committerSebastian Pop <spop@codeaurora.org>
Thu, 25 Oct 2012 15:54:06 +0000 (15:54 +0000)
commitbecdf4d7cd0d5a3079339b6e177066b143d2f84c
tree5a847ef4568ea6aa317758c4c4c59c5a014101dd
parent18560fae0bb122857a61bb36f22628901cdc3dde
add TableGen support to create relationship maps between instructions

Relationship maps are represented as InstrMapping records which are parsed by
TableGen and the information is used to construct mapping tables to represent
appropriate relations between instructions. These tables are emitted into
XXXGenInstrInfo.inc file along with the functions to query them.

Patch by Jyotsna Verma <jverma@codeaurora.org>.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@166685 91177308-0d34-0410-b5e6-96231b3b80d8
docs/HowToUseInstrMappings.rst [new file with mode: 0755]
docs/WritingAnLLVMBackend.html
include/llvm/Target/Target.td
utils/TableGen/CodeGenMapTable.cpp [new file with mode: 0644]
utils/TableGen/InstrInfoEmitter.cpp
utils/TableGen/TableGenBackends.h