summaryrefslogtreecommitdiff
path: root/utils/TableGen/TableGenBackends.h
diff options
context:
space:
mode:
authorSebastian Pop <spop@codeaurora.org>2012-10-25 15:54:06 +0000
committerSebastian Pop <spop@codeaurora.org>2012-10-25 15:54:06 +0000
commitbecdf4d7cd0d5a3079339b6e177066b143d2f84c (patch)
tree5a847ef4568ea6aa317758c4c4c59c5a014101dd /utils/TableGen/TableGenBackends.h
parent18560fae0bb122857a61bb36f22628901cdc3dde (diff)
downloadllvm-becdf4d7cd0d5a3079339b6e177066b143d2f84c.tar.gz
llvm-becdf4d7cd0d5a3079339b6e177066b143d2f84c.tar.bz2
llvm-becdf4d7cd0d5a3079339b6e177066b143d2f84c.tar.xz
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
Diffstat (limited to 'utils/TableGen/TableGenBackends.h')
-rw-r--r--utils/TableGen/TableGenBackends.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/utils/TableGen/TableGenBackends.h b/utils/TableGen/TableGenBackends.h
index 2c00c40cfe..f0d25d8a2c 100644
--- a/utils/TableGen/TableGenBackends.h
+++ b/utils/TableGen/TableGenBackends.h
@@ -74,5 +74,6 @@ void EmitInstrInfo(RecordKeeper &RK, raw_ostream &OS);
void EmitPseudoLowering(RecordKeeper &RK, raw_ostream &OS);
void EmitRegisterInfo(RecordKeeper &RK, raw_ostream &OS);
void EmitSubtarget(RecordKeeper &RK, raw_ostream &OS);
+void EmitMapTable(RecordKeeper &RK, raw_ostream &OS);
} // End llvm namespace