]> granicus.if.org Git - llvm/commit
[RegisterBankInfo] Uniquely generate OperandsMapping.
authorQuentin Colombet <qcolombet@apple.com>
Wed, 28 Sep 2016 22:20:49 +0000 (22:20 +0000)
committerQuentin Colombet <qcolombet@apple.com>
Wed, 28 Sep 2016 22:20:49 +0000 (22:20 +0000)
commit1deea86d16bea336c6bc1b759db3dbfb6c7e3953
treeae3ed89abf9948e30b4daa2cca22a3452649e424
parent5c6805e527681f6e67c06f0b0dcc0aa66ec8cd02
[RegisterBankInfo] Uniquely generate OperandsMapping.

This is a step toward statically allocate InstructionMapping. Like the
previous few commits, the goal is to move toward a TableGen'ed like
structure with no dynamic allocation at all.

This should already improve compile time by getting rid of a bunch of
memmove of SmallVectors.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@282643 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/CodeGen/GlobalISel/RegisterBankInfo.h
lib/CodeGen/GlobalISel/RegisterBankInfo.cpp
lib/Target/AArch64/AArch64RegisterBankInfo.cpp