[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)
commit40cbc27ff398b425c3dde1270cadd39d7ef9c5bf
treecd675e8f7d8d8df765a6dfb3f2a98ca01a9dc8f1
parent97d2d21d652115363a2b2437b06643e6accbe183
[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.

llvm-svn: 282643
llvm/include/llvm/CodeGen/GlobalISel/RegisterBankInfo.h
llvm/lib/CodeGen/GlobalISel/RegisterBankInfo.cpp
llvm/lib/Target/AArch64/AArch64RegisterBankInfo.cpp