diff options
author | Evan Cheng <evan.cheng@apple.com> | 2007-12-13 00:42:35 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2007-12-13 00:42:35 +0000 |
commit | 687567bca52588729a10a324316aa758fe9ea0b2 (patch) | |
tree | 2b92739828a29feb80e01565ee5257da1e4f79b5 /llvm | |
parent | 70efff25be7273ad69f5309b26fc378bf040a7ab (diff) | |
download | bcm5719-llvm-687567bca52588729a10a324316aa758fe9ea0b2.tar.gz bcm5719-llvm-687567bca52588729a10a324316aa758fe9ea0b2.zip |
Oops. Forgot these.
llvm-svn: 44969
Diffstat (limited to 'llvm')
-rw-r--r-- | llvm/utils/TableGen/CodeGenInstruction.h | 1 | ||||
-rw-r--r-- | llvm/utils/TableGen/CodeGenTarget.cpp | 1 | ||||
-rw-r--r-- | llvm/utils/TableGen/InstrInfoEmitter.cpp | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/llvm/utils/TableGen/CodeGenInstruction.h b/llvm/utils/TableGen/CodeGenInstruction.h index 245b38e0493..c209b1342f6 100644 --- a/llvm/utils/TableGen/CodeGenInstruction.h +++ b/llvm/utils/TableGen/CodeGenInstruction.h @@ -92,6 +92,7 @@ namespace llvm { bool isCall; bool isLoad; bool isStore; + bool isImplicitDef; bool isPredicable; bool isConvertibleToThreeAddress; bool isCommutable; diff --git a/llvm/utils/TableGen/CodeGenTarget.cpp b/llvm/utils/TableGen/CodeGenTarget.cpp index 4de05b2f83d..47bbecb87e9 100644 --- a/llvm/utils/TableGen/CodeGenTarget.cpp +++ b/llvm/utils/TableGen/CodeGenTarget.cpp @@ -384,6 +384,7 @@ CodeGenInstruction::CodeGenInstruction(Record *R, const std::string &AsmStr) isCall = R->getValueAsBit("isCall"); isLoad = R->getValueAsBit("isLoad"); isStore = R->getValueAsBit("isStore"); + isImplicitDef= R->getValueAsBit("isImplicitDef"); bool isTwoAddress = R->getValueAsBit("isTwoAddress"); isPredicable = R->getValueAsBit("isPredicable"); isConvertibleToThreeAddress = R->getValueAsBit("isConvertibleToThreeAddress"); diff --git a/llvm/utils/TableGen/InstrInfoEmitter.cpp b/llvm/utils/TableGen/InstrInfoEmitter.cpp index d371934bbbe..855a0f090ae 100644 --- a/llvm/utils/TableGen/InstrInfoEmitter.cpp +++ b/llvm/utils/TableGen/InstrInfoEmitter.cpp @@ -243,6 +243,7 @@ void InstrInfoEmitter::emitRecord(const CodeGenInstruction &Inst, unsigned Num, if (Inst.isCall) OS << "|M_CALL_FLAG"; if (Inst.isLoad) OS << "|M_LOAD_FLAG"; if (Inst.isStore || isStore) OS << "|M_STORE_FLAG"; + if (Inst.isImplicitDef)OS << "|M_IMPLICIT_DEF_FLAG"; if (Inst.isPredicable) OS << "|M_PREDICABLE"; if (Inst.isConvertibleToThreeAddress) OS << "|M_CONVERTIBLE_TO_3_ADDR"; if (Inst.isCommutable) OS << "|M_COMMUTABLE"; |