summaryrefslogtreecommitdiff
path: root/utils/TableGen/CodeGenInstruction.h
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2007-12-14 01:48:59 +0000
committerBill Wendling <isanbard@gmail.com>2007-12-14 01:48:59 +0000
commit6b1da9c39f0731d15cb743441bea6d4089efd9f8 (patch)
treef8f8de60ae14ed7f1ef4bb61528593e0f522693b /utils/TableGen/CodeGenInstruction.h
parentfd80072059bcbbcaa559cfb5bab999ca5a73e5e9 (diff)
downloadllvm-6b1da9c39f0731d15cb743441bea6d4089efd9f8.tar.gz
llvm-6b1da9c39f0731d15cb743441bea6d4089efd9f8.tar.bz2
llvm-6b1da9c39f0731d15cb743441bea6d4089efd9f8.tar.xz
Add flags to indicate that there are "never" side effects or that there "may be"
side effects for machine instructions. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@45022 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils/TableGen/CodeGenInstruction.h')
-rw-r--r--utils/TableGen/CodeGenInstruction.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/utils/TableGen/CodeGenInstruction.h b/utils/TableGen/CodeGenInstruction.h
index c209b1342f..8f1bf5406d 100644
--- a/utils/TableGen/CodeGenInstruction.h
+++ b/utils/TableGen/CodeGenInstruction.h
@@ -104,6 +104,8 @@ namespace llvm {
bool hasCtrlDep;
bool isNotDuplicable;
bool hasOptionalDef;
+ bool mayHaveSideEffects;
+ bool neverHasSideEffects;
/// ParseOperandName - Parse an operand name like "$foo" or "$foo.bar",
/// where $foo is a whole operand and $foo.bar refers to a suboperand.