Move instruction flag inference out of InstrInfoEmitter and into
authorDan Gohman <gohman@apple.com>
Thu, 3 Apr 2008 00:02:49 +0000 (00:02 +0000)
committerDan Gohman <gohman@apple.com>
Thu, 3 Apr 2008 00:02:49 +0000 (00:02 +0000)
commitee4fa1977dd3a495a8857eef924ee5961db765c6
treeb915aca8885f38aa53adbffbbbf6d9750d19506c
parent271515a46d265f9dea123797d20a2140f54d35d3
Move instruction flag inference out of InstrInfoEmitter and into
CodeGenDAGPatterns, where it can be used in other tablegen backends.
This allows the inference to be done for DAGISelEmitter so that it
gets accurate mayLoad/mayStore/isSimpleLoad flags.

This brings MemOperand functionality back to where it was before
48329. However, it doesn't solve the problem of anonymous patterns
which expand to code that does loads or stores.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@49123 91177308-0d34-0410-b5e6-96231b3b80d8
utils/TableGen/CodeGenDAGPatterns.cpp
utils/TableGen/CodeGenDAGPatterns.h
utils/TableGen/CodeGenIntrinsics.h
utils/TableGen/CodeGenTarget.cpp
utils/TableGen/CodeGenTarget.h
utils/TableGen/DAGISelEmitter.h
utils/TableGen/InstrInfoEmitter.cpp
utils/TableGen/InstrInfoEmitter.h