MC: Add MCInstrDesc::mayAffectControlFlow() method.
authorJim Grosbach <grosbach@apple.com>
Wed, 19 Dec 2012 23:38:53 +0000 (23:38 +0000)
committerJim Grosbach <grosbach@apple.com>
Wed, 19 Dec 2012 23:38:53 +0000 (23:38 +0000)
commitfbf3b4a07690751f72302757058ab0298dfb832e
tree3b0d8408bdb2e0ebe9e5aa6eec4edadda31e8182
parent16f3204b95c952a70c9d2aa3b423162215beb6ae
MC: Add MCInstrDesc::mayAffectControlFlow() method.

MC disassembler clients (LLDB) are interested in querying if an
instruction may affect control flow other than by virtue of being
an explicit branch instruction. For example, instructions which
write directly to the PC on some architectures.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@170610 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/MC/MCInstrDesc.h
include/llvm/MC/MCRegisterInfo.h
lib/Target/ARM/ARMBaseRegisterInfo.cpp
lib/Target/ARM/MCTargetDesc/ARMMCTargetDesc.cpp
lib/Target/X86/MCTargetDesc/X86MCTargetDesc.cpp
lib/Target/X86/X86RegisterInfo.cpp
utils/TableGen/RegisterInfoEmitter.cpp